Repository navigation
fix(brief): make ticket lieutenants pick a model tier for every subagent - #4
Merged
Merged
Conversation
The generated `# Ticket` section told a lieutenant to "size each subagent to its work - model, reasoning effort, and how much of the ticket it is handed", but gave no tiers, and Claude's Agent tool inherits the parent model unless one is passed. A lieutenant running on the strongest model therefore fanned a read-only inventory (grep sweeps, template listings, per-component scans) out on that same model. The section now states the tiers and requires an explicit model on every call where the harness lets the worker choose: the cheapest tier (haiku) for search, grep, listing, and file-reading sweeps; the middle tier (sonnet) for per-item inventories, classification, and routine implementation; the strongest model only for synthesis, design, or genuinely ambiguous judgment, which the lieutenant usually keeps for itself. The ticket section stays the single owner of that worker-side rule; docs/configuration.md's dispatch-profile section and the ticket-lieutenant skill gain one-line pointers saying a profile sets only the crewmate's own model. Crewmate dispatch rules are unchanged. tests/fm-brief.test.sh asserts the generated ticket brief carries the explicit-model rule, each tier, and the harness scoping. Verified: bin/fm-test-run.sh tests/fm-brief.test.sh exits 0; bin/fm-lint.sh exits 0 with actionlint 1.7.12 on PATH; bin/fm-doc-audience-check.sh ok; a --ticket scaffold under stock /bin/bash 3.2.57 renders the new lines.
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.
Intent
Captain (dictated, 2026-10-12): "I checked the rebrand window and if I am not wrong every subagent is opus. Is it not overkill? Are you distributing subagents well enough - do we really need opus for running that kind of work? Can we improve our existing approach to choosing models?" Observed: the rebrand lieutenant (opus, high effort) launched every fan-out subagent on opus for a read-only inventory (grep sweeps, listing templates, per-component scans). The scaffold already says, in the ticket section of bin/fm-brief.sh around line 578, "Size each subagent to its work - model, reasoning effort, and how much of the ticket it is handed", but that wording gives no concrete tiers, and Claude Agent tool inherits the parent model unless a model is passed, so the guidance does not change behaviour.
What Changed
# Ticketsection generated bybin/fm-brief.shnow tells a lieutenant to name the model explicitly on every subagent call instead of inheriting its own. It sets three tiers: haiku for search, grep, listing, and file-reading sweeps; sonnet for per-item inventories, classification, and routine implementation; the strongest model only for synthesis, design, or ambiguous judgment. The model guidance is scoped to harnesses that let you choose a subagent's model. The old "size each subagent" sentence is split in two: when to use a subagent, and how to size it..agents/skills/ticket-lieutenant/SKILL.mdanddocs/configuration.mdstate that a dispatch profile sets only the lieutenant's own model. Subagent models are the lieutenant's call under the brief's tiering rule, so steers should not restate tiers.tests/fm-brief.test.shadds assertions intest_ticket_window_contractfor each tier sentence and for the harness-choice scoping.Risk Assessment
✅ Low: The change is a prompt-text edit to the generated ticket brief plus two doc notes, and it directly supplies the concrete model tiers (haiku, sonnet, strongest) and the explicit-model-on-every-call rule the intent asks for; the new tests assert on the emitted brief, which is generated output, consistent with the existing tests.
Testing
I ran the real fm-brief.sh generator in an isolated FM_HOME and read the emitted ticket brief, which has the tiering paragraph. The targeted tests/fm-brief.test.sh suite passed in full. Whether a lieutenant model then follows the guidance is model behaviour and was not tested.
Evidence: Emitted ticket brief excerpt
Source: Emitted ticket brief excerpt
Evidence: fm-brief test log
Source: fm-brief test log
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
bash tests/fm-brief.test.sh(26 ok, 0 not ok)FM_HOME=<tmp> bin/fm-brief.sh kd-1 tbcode --mode direct-PR --ticket KD-1and inspected the emitted brief.md✅ **Document** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.