docs(rewrite-worker): require Haiku for the mechanism-3 rewrite subagent - #153
Merged
Merged
Conversation
added 4 commits
July 30, 2026 05:48
Makes it unmissable at three points (frontmatter description, the exact dispatch step, and the "what not to do" list) that the Agent subagent producing the actual rewrite text must always be dispatched on a small/ cheap model (Haiku) -- never the orchestrating /loop session's own model, and never omitted to "inherit." The task is a single bounded text transformation (rewrite one already-compiling C function into an alternate spelling); a real campaign can trigger this dispatch many times, so a larger model here is pure cost/latency waste with no quality upside. Also added the same guidance to the durable pattern doc (docs/solutions/architecture-patterns/rewrite-queue-subagent-fulfillment.md) so it isn't only discoverable by reading the skill file directly.
# Conflicts: # .claude/skills/agentdecompile-rewrite-worker/SKILL.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Requested: ensure the parent agent invoking the mechanism-3 rewrite-worker skill is thoroughly aware the actual rewrite-producing subagent must run on a small model (Haiku), not whatever model the orchestrating session happens to be on.
Made this unmissable at three separate points in
.claude/skills/agentdecompile-rewrite-worker/SKILL.md:Agenttool call happensAlso added the same guidance to
docs/solutions/architecture-patterns/rewrite-queue-subagent-fulfillment.mdso it's discoverable from the durable pattern doc, not just the skill file.Rationale: the subagent's task is a single bounded text transformation (rewrite one already-compiling C function into an alternate spelling) with no quality upside from a larger model, and a real
--autonomouscampaign can trigger this dispatch many times — the cost/latency difference compounds.Test plan
🤖 Generated with Claude Code
https://claude.ai/code/session_01Ros3797gzvmswnJudQ1Znk