From 4ff316884e8aa7a2b5cc972b5841c18020d12635 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 1 Oct 2026 22:52:55 +0200 Subject: [PATCH 1/2] Port main's subagent rule and Opus 5.5 model into rebuild --- .claude/settings.json | 2 +- CLAUDE.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.claude/settings.json b/.claude/settings.json index c0b377ed..0f085e46 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -1,3 +1,3 @@ { - "model": "claude-fable-5-1" + "model": "claude-opus-5-5" } diff --git a/CLAUDE.md b/CLAUDE.md index f4554bf6..bf970f3a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -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 …`. - Tear down test containers after a run. -- 2.52.0 From 9f9bb7752421de6bbbfc77e0e9097952cbe8ee64 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 1 Oct 2026 22:53:49 +0200 Subject: [PATCH 2/2] Answer the prose review's first round --- CLAUDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index bf970f3a..d6c66900 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -103,10 +103,10 @@ 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 …`. - Tear down test containers after a run. +- Give a subagent only the access its job needs, and state the limits in its prompt. One that only reads, such as a prose review, gets no shell and no edits. One that probes a build tags the image as throwaway and removes it afterwards, writes only to the session scratchpad, and removes no image or file it did not create. - Check `README.md` first for build, test, install, and codegen commands; one that misbehaves is fixed per "A false claim is a bug". Refresh `README.md` whenever you change what it describes ("Refresh `README.md` to match"). - Sort wherever order carries no meaning (`~/.claude/principles/technical-principles.md`) — attributes, array and object keys, enum members, imports, table rows, and line-based file lists such as `.gitignore`/`.dockerignore`. Exception: `id` goes first. - Pin GitHub Actions to semver tags (`@v3`, `@v3.1.2`), not commit SHAs — including third-party actions. SHA-pin only in special pipelines that test our own specific builds. -- 2.52.0