From bc819336c4c91ee0345d63aeb8d0a1493ac18d2b Mon Sep 17 00:00:00 2001 From: Tommaso Casaburi Date: Sat, 25 Jul 2026 15:07:01 +0700 Subject: [PATCH] chore(agents): inherit session model for judgment-tier subagents MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drop the pinned `model: sonnet` from the reasoning-heavy subagents so they follow the session model instead of being forced down to Sonnet. Running an Opus session now gets Opus subagents; deliberately dropping to a cheaper session model is respected too. Mechanical agents (browser-check, profiler, translator) keep their haiku pin — that pin is a capability statement, not a stale default, and should hold regardless of session model. --- .claude/agents/code-quality.md | 1 - .claude/agents/plan-implementer.md | 1 - .claude/agents/react-doctor-fixer.md | 1 - .claude/agents/react-patterns-enforcer.md | 1 - 4 files changed, 4 deletions(-) diff --git a/.claude/agents/code-quality.md b/.claude/agents/code-quality.md index a6f904ff..05946d50 100644 --- a/.claude/agents/code-quality.md +++ b/.claude/agents/code-quality.md @@ -1,6 +1,5 @@ --- name: code-quality -model: sonnet description: Code quality specialist that runs build, lint, and type-check, then fixes any errors it finds. Use proactively after code changes to verify nothing is broken. --- diff --git a/.claude/agents/plan-implementer.md b/.claude/agents/plan-implementer.md index 0a5e3931..b1f25101 100644 --- a/.claude/agents/plan-implementer.md +++ b/.claude/agents/plan-implementer.md @@ -1,6 +1,5 @@ --- name: plan-implementer -model: sonnet description: Implements assigned tasks from a plan. Receives specific tasks from the parent agent, implements them sequentially, verifies with a build check, and reports back. The parent agent handles parallelization by spawning multiple plan-implementer subagents with different task subsets. --- diff --git a/.claude/agents/react-doctor-fixer.md b/.claude/agents/react-doctor-fixer.md index 5c34f869..33115a2b 100644 --- a/.claude/agents/react-doctor-fixer.md +++ b/.claude/agents/react-doctor-fixer.md @@ -1,6 +1,5 @@ --- name: react-doctor-fixer -model: sonnet description: Fixes React issues identified by react-doctor. Use when the parent agent has validated a react-doctor diagnostic and has a detailed fix plan. The parent agent provides the plan; this subagent implements the fix and re-runs react-doctor to verify. --- diff --git a/.claude/agents/react-patterns-enforcer.md b/.claude/agents/react-patterns-enforcer.md index 26205957..26a07c40 100644 --- a/.claude/agents/react-patterns-enforcer.md +++ b/.claude/agents/react-patterns-enforcer.md @@ -1,6 +1,5 @@ --- name: react-patterns-enforcer -model: sonnet description: Reviews React code for anti-pattern violations specific to the 5chan project (useState/useEffect misuse, missing Zustand, copy-pasted logic) and fixes them. Use after writing or modifying React components, hooks, or state management code. ---