From 4ff316884e8aa7a2b5cc972b5841c18020d12635 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 1 Oct 2026 22:52:55 +0200 Subject: [PATCH] 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.