feat(template): CI workflow, Claude allowlist and a headless Bruno task #3

Merged
jonnxor merged 1 commit from jonnxor/feat/template-agent-gaps into main 2026-10-13 17:56:51 +00:00 AGit
Owner

Closes the gaps between what the desk sets up and what an agent or CI actually runs in a scaffolded project.

  • use_ci (new toggle, default on): .forgejo/workflows/ci.yml installs mise, then runs mise run lint and mise run test. Sets MISE_SOPS_STRICT=false when sops is on, because CI holds no age key.
  • use_claude_md also writes .claude/settings.json, pre-approving the mise verbs.
  • use_bruno pins @usebruno/cli and adds mise run test:api.

Tested by rendering the template with every toggle on and with every toggle off, then running the tasks in the output: bru 4.2.1 ran the health request, and mise run test got past env loading with no age key present.

Not tested: the workflow on the real runner — that needs a scaffolded project pushed to Forgejo.

Known: language: node still scaffolds no package.json, so lint and test fail on a fresh node project until one exists. Pre-existing, now visible as a red CI.

🤖 Generated with Claude Code

Closes the gaps between what the desk sets up and what an agent or CI actually runs in a scaffolded project. - **use_ci** (new toggle, default on): `.forgejo/workflows/ci.yml` installs mise, then runs `mise run lint` and `mise run test`. Sets `MISE_SOPS_STRICT=false` when sops is on, because CI holds no age key. - **use_claude_md** also writes `.claude/settings.json`, pre-approving the mise verbs. - **use_bruno** pins `@usebruno/cli` and adds `mise run test:api`. Tested by rendering the template with every toggle on and with every toggle off, then running the tasks in the output: `bru` 4.2.1 ran the health request, and `mise run test` got past env loading with no age key present. Not tested: the workflow on the real runner — that needs a scaffolded project pushed to Forgejo. Known: `language: node` still scaffolds no `package.json`, so lint and test fail on a fresh node project until one exists. Pre-existing, now visible as a red CI. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat(template): CI workflow, Claude allowlist and a headless Bruno task
All checks were successful
CI / sanity (pull_request) Successful in 6s
5714333966
A scaffolded project had the rules but nothing that made an agent, or CI,
actually run them:

- use_ci (new toggle, default on): .forgejo/workflows/ci.yml installs mise
  and runs `mise run lint` and `mise run test` — the same verbs as locally.
  MISE_SOPS_STRICT=false when sops is on, since CI holds no age key.
- use_claude_md now also writes .claude/settings.json, pre-approving the
  mise verbs so sessions stop prompting for them.
- use_bruno now pins @usebruno/cli (and node, if the language isn't node)
  and adds `mise run test:api`, so a collection runs without the GUI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
WAAAGH/_workdesk!3
No description provided.