Port main's subagent rule and Opus 5.5 model into rebuild

This commit is contained in:
2026-10-01 22:52:55 +02:00
parent 2a321aeaa8
commit 4ff316884e
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
{
"model": "claude-fable-5-1"
"model": "claude-opus-5-5"
}
+1
View File
@@ -103,6 +103,7 @@ Prose describing the code as it stands — a comment, a README, an `AGENTS.md`,
## Working with the codebase
- Always start a new git worktree when doing something in a codebase, and clean it up when done. Unless told otherwise, branch it off a freshly-updated default branch (`git fetch origin`, then base on `origin/main`), not whatever happens to be checked out.
- Give a subagent the least its job needs, stated in its prompt: one that only reads — a prose or doc review — uses the Read tool alone, no shell; one that probes builds under a throwaway image tag it removes, writes only to the session scratchpad, and never removes an image or file it did not create.
- Keep the project's main checkout (e.g. `~/code/log`, never a worktree) current: when it is behind `origin` — a merge landed, or a fetch shows it — run `git pull --ff-only` there instead of reporting the lag, never with `--autostash`: a dirty checkout is a finding to report, not to carry along.
- Run a project's language runtime, package manager, and task runner through its container/tooling setup, never directly on the host unless a decision puts them there. Example: `docker compose run --rm app <tool> …`.
- Tear down test containers after a run.