Align squad model and roster guidance#25
Conversation
Align squad model-selection guidance with the active task-aware policy, then reconcile roster, routing, and casting metadata with the current charters and review workflow. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
SummarySummary
CoverageAppHost - 0%
Domain - 93.4%
ServiceDefaults - 0%
Web - 69.5%
|
There was a problem hiding this comment.
Pull request overview
This PR updates Squad’s “source-of-truth” docs and metadata to reflect the current roster, routing ownership, and task-aware model selection guidance across the repo’s templates, GitHub agent instructions, and Copilot skills.
Changes:
- Updated model-selection guidance (defaults, fallback chains, and examples) to the current model set (e.g., Sonnet 4.6 / Opus 4.6 / GPT 5.4 variants).
- Reassigned roster roles and routing ownership (notably Gandalf ↔ Frodo, and code review routing to Aragorn) and aligned casting registry metadata.
- Adjusted multiple agent charters to use
autowith updated per-task model expectations.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| .squad/templates/squad.agent.md | Updates template agent model-selection guidance, fallback chains, and catalog list. |
| .github/agents/squad.agent.md | Mirrors the template’s model-selection guidance for GitHub agent usage. |
| .copilot/skills/model-selection/SKILL.md | Updates fallback chain guidance inside the Copilot skill. |
| .copilot/skills/economy-mode/SKILL.md | Updates “normal mode” model references used by economy-mode routing. |
| .copilot/skills/client-compatibility/SKILL.md | Updates CLI spawn example to Sonnet 4.6. |
| .squad/team.md | Updates active roster roles to match current charters/intent. |
| .squad/routing.md | Re-routes security/auth ownership and assigns code review routing to Aragorn. |
| .squad/casting/registry.json | Aligns casting registry roles/notes with updated roster. |
| .squad/agents/sam/charter.md | Moves model guidance to auto with updated resolution note. |
| .squad/agents/legolas/charter.md | Moves model guidance to auto with updated resolution note. |
| .squad/agents/gimli/charter.md | Moves model guidance to auto with updated resolution note. |
| .squad/agents/gandalf/charter.md | Refines auto model guidance by task category (premium/standard/fast). |
| .squad/agents/boromir/charter.md | Switches model guidance to auto with task-based notes. |
| .squad/agents/aragorn/charter.md | Updates model guidance for reviewer gates/architecture vs review/triage. |
Update the squad workflow so push-capable work resolves an existing open issue first and only creates a new issue when no open match exists. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
| ``` | ||
| Premium: claude-opus-4.6 → claude-opus-4.6-fast → claude-opus-4.5 → claude-sonnet-4.5 → (omit model param) | ||
| Standard: claude-sonnet-4.5 → gpt-5.2-codex → claude-sonnet-4 → gpt-5.2 → (omit model param) | ||
| Fast: claude-haiku-4.5 → gpt-5.1-codex-mini → gpt-4.1 → gpt-5-mini → (omit model param) | ||
| Premium: claude-opus-4.6 → claude-opus-4.5 → claude-sonnet-4.6 → claude-sonnet-4.5 → (omit model param) | ||
| Standard: claude-sonnet-4.6 → gpt-5.4 → claude-sonnet-4.5 → gpt-5.3-codex → claude-sonnet-4 → gpt-5.2 → (omit model param) | ||
| Fast: claude-haiku-4.5 → gpt-5.4-mini → gpt-4.1 → gpt-5-mini → (omit model param) |
There was a problem hiding this comment.
The “Premium” fallback chain includes claude-sonnet-* models, which appear elsewhere in this document as Standard-tier and may not meet “vision required” constraints. Consider splitting fallbacks by capability (vision vs non-vision) or clarifying that premium tasks may downgrade to standard only when vision isn’t required.
| GitHub MCP tools when available; otherwise use `gh issue list` or | ||
| `gh issue search`. |
There was a problem hiding this comment.
gh issue search is not a standard GitHub CLI subcommand; this guidance will fail when users follow it. Use gh search issues ... or gh issue list --search "..." as the CLI fallback when MCP tools aren’t available.
| GitHub MCP tools when available; otherwise use `gh issue list` or | |
| `gh issue search`. | |
| GitHub MCP tools when available; otherwise use `gh issue list --search "..."` | |
| or `gh search issues ...`. |
| GitHub MCP tools when available; otherwise use `gh issue list` or | ||
| `gh issue search`. |
There was a problem hiding this comment.
gh issue search is not a standard GitHub CLI subcommand; this guidance will fail when users follow it. Use gh search issues ... or gh issue list --search "..." as the CLI fallback when MCP tools aren’t available.
| GitHub MCP tools when available; otherwise use `gh issue list` or | |
| `gh issue search`. | |
| GitHub MCP tools when available; otherwise use | |
| `gh issue list --search "..."` or `gh search issues ...`. |
| If a model is unavailable (rate limit, plan restriction), retry within the same | ||
| tier until the documented chain is exhausted: | ||
|
|
||
| ``` | ||
| Premium: claude-opus-4.6 → claude-opus-4.6-fast → claude-opus-4.5 → claude-sonnet-4.6 | ||
| Premium: claude-opus-4.6 → claude-opus-4.5 → claude-sonnet-4.6 → claude-sonnet-4.5 | ||
| Standard: claude-sonnet-4.6 → gpt-5.4 → claude-sonnet-4.5 → gpt-5.3-codex → claude-sonnet-4 | ||
| Fast: claude-haiku-4.5 → gpt-5.1-codex-mini → gpt-4.1 → gpt-5-mini | ||
| Fast: claude-haiku-4.5 → gpt-5.4-mini → gpt-4.1 → gpt-5-mini |
There was a problem hiding this comment.
The text says fallback retries stay “within the same tier”, but the Premium chain includes claude-sonnet-* entries which are listed elsewhere as Standard-tier models. Either adjust the wording (e.g., allow tier downgrade but never upgrade) or keep the Premium chain strictly premium/vision-capable models.
| ``` | ||
| Premium: claude-opus-4.6 → claude-opus-4.6-fast → claude-opus-4.5 → claude-sonnet-4.5 → (omit model param) | ||
| Standard: claude-sonnet-4.5 → gpt-5.2-codex → claude-sonnet-4 → gpt-5.2 → (omit model param) | ||
| Fast: claude-haiku-4.5 → gpt-5.1-codex-mini → gpt-4.1 → gpt-5-mini → (omit model param) | ||
| Premium: claude-opus-4.6 → claude-opus-4.5 → claude-sonnet-4.6 → claude-sonnet-4.5 → (omit model param) | ||
| Standard: claude-sonnet-4.6 → gpt-5.4 → claude-sonnet-4.5 → gpt-5.3-codex → claude-sonnet-4 → gpt-5.2 → (omit model param) | ||
| Fast: claude-haiku-4.5 → gpt-5.4-mini → gpt-4.1 → gpt-5-mini → (omit model param) |
There was a problem hiding this comment.
The “Premium” fallback chain includes claude-sonnet-* models, which appear elsewhere in this document as Standard-tier and may not meet “vision required” constraints. Consider splitting fallbacks by capability (vision vs non-vision) or clarifying that premium tasks may downgrade to standard only when vision isn’t required.
| - Ask the user only when multiple open issues are plausible matches. | ||
| ```bash | ||
| gh issue list --state open --limit 50 --json number,title,body,labels | ||
| gh issue search "repo:{owner}/{repo} state:open {keywords}" |
There was a problem hiding this comment.
The workflow examples use gh issue search ..., which is not a standard GitHub CLI command. Replace with gh search issues ... (or gh issue list --search "...") so the documented commands work on a stock gh install.
| gh issue search "repo:{owner}/{repo} state:open {keywords}" | |
| gh search issues "repo:{owner}/{repo} state:open {keywords}" |
| ```bash | ||
| # Prefer MCP/server integrations when available. CLI fallback: | ||
| gh issue list --state open --limit 50 --json number,title,body,labels | ||
| gh issue search "repo:{owner}/{repo} state:open {keywords}" |
There was a problem hiding this comment.
The issue lookup block uses gh issue search ..., which is not a standard GitHub CLI command. Replace with gh search issues ... (or gh issue list --search "...") so the documented fallback works.
| gh issue search "repo:{owner}/{repo} state:open {keywords}" | |
| gh search issues "repo:{owner}/{repo} state:open {keywords}" |
| If a model is unavailable (rate limit, plan restriction), retry within the same | ||
| tier until the documented chain is exhausted: | ||
|
|
||
| ``` | ||
| Premium: claude-opus-4.6 → claude-opus-4.6-fast → claude-opus-4.5 → claude-sonnet-4.6 | ||
| Premium: claude-opus-4.6 → claude-opus-4.5 → claude-sonnet-4.6 → claude-sonnet-4.5 | ||
| Standard: claude-sonnet-4.6 → gpt-5.4 → claude-sonnet-4.5 → gpt-5.3-codex → claude-sonnet-4 | ||
| Fast: claude-haiku-4.5 → gpt-5.1-codex-mini → gpt-4.1 → gpt-5-mini | ||
| Fast: claude-haiku-4.5 → gpt-5.4-mini → gpt-4.1 → gpt-5-mini |
There was a problem hiding this comment.
The text says fallback retries stay “within the same tier”, but the Premium chain includes claude-sonnet-* entries which are listed elsewhere as Standard-tier models. Either adjust the wording (e.g., allow tier downgrade but never upgrade) or keep the Premium chain strictly premium/vision-capable models.
## Summary Merges 4 pending inbox decisions into `.squad/decisions.md`: - **Decision #22:** Aragorn gate — PR #272 Release Sprint 18 approved - **Decision #23:** Aragorn gate — PR #273 AppHost.Tests flake hardening approved - **Decision #24:** Gimli — Two-tier test strategy for AppHost Clear Command (#248) - **Decision #25:** Gimli — TDD as default approach (charter supplement) Also updates agent history files for Aragorn, Boromir, Sam, and Scribe. No source code changes. Squad docs only. --- _Opened by Scribe (squad automation)_ --------- Co-authored-by: Boromir <boromir@squad.dev> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Related to #20
Summary
Validation