Skip to content

Align squad model and roster guidance#25

Merged
mpaulosky merged 4 commits into
devfrom
squad/20-align-squad-model-and-roster-docs
Apr 19, 2026
Merged

Align squad model and roster guidance#25
mpaulosky merged 4 commits into
devfrom
squad/20-align-squad-model-and-roster-docs

Conversation

@mpaulosky

Copy link
Copy Markdown
Owner

Related to #20

Summary

  • align squad model-selection docs with the current task-aware guidance
  • update roster, routing, and casting metadata to match the active charters
  • keep historical logs untouched while fixing current source-of-truth files

Validation

  • dotnet restore MyBlog.slnx
  • dotnet build MyBlog.slnx --configuration Release
  • dotnet test tests/Architecture.Tests/Architecture.Tests.csproj --configuration Release --no-build
  • dotnet test tests/Unit.Tests/Unit.Tests.csproj --configuration Release --no-build
  • dotnet test tests/Integration.Tests/Integration.Tests.csproj --configuration Release --no-build

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>
Copilot AI review requested due to automatic review settings April 19, 2026 16:40
@github-actions

github-actions Bot commented Apr 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Summary
Generated on: 04/19/2026 - 17:17:39
Coverage date: 04/19/2026 - 17:17:07 - 04/19/2026 - 17:17:24
Parser: MultiReport (4x Cobertura)
Assemblies: 4
Classes: 35
Files: 34
Line coverage: 65.3% (474 of 725)
Covered lines: 474
Uncovered lines: 251
Coverable lines: 725
Total lines: 2054
Branch coverage: 67.2% (179 of 266)
Covered branches: 179
Total branches: 266
Method coverage: Feature is only available for sponsors
Tag: 47_24634673006

Coverage

AppHost - 0%
Name Line Branch
AppHost 0% ****
Program 0%
Domain - 93.4%
Name Line Branch
Domain 93.4% 50%
Domain.Abstractions.Result 95% 50%
Domain.Abstractions.Result`1 75% 50%
MyBlog.Domain.Entities.BlogPost 100%
ServiceDefaults - 0%
Name Line Branch
ServiceDefaults 0% 0%
Microsoft.Extensions.Hosting.Extensions 0% 0%
Web - 69.5%
Name Line Branch
Web 69.5% 72.5%
MyBlog.Web.Components.Layout.MainLayout 100%
MyBlog.Web.Components.Layout.NavMenu 82.8% 71.4%
MyBlog.Web.Components.Pages.Error 100% 75%
MyBlog.Web.Components.Routes 0% 0%
MyBlog.Web.Components.Shared.RedirectToLogin 100%
MyBlog.Web.Data.BlogDbContext 100%
MyBlog.Web.Data.BlogPostDto 100%
MyBlog.Web.Data.BlogPostMappings 100%
MyBlog.Web.Data.MongoDbBlogPostRepository 100% 100%
MyBlog.Web.Features.BlogPosts.Create.Create 75% 50%
MyBlog.Web.Features.BlogPosts.Create.CreateBlogPostCommand 100%
MyBlog.Web.Features.BlogPosts.Create.CreateBlogPostHandler 100%
MyBlog.Web.Features.BlogPosts.Delete.ConfirmDeleteDialog 100% 100%
MyBlog.Web.Features.BlogPosts.Delete.DeleteBlogPostCommand 100%
MyBlog.Web.Features.BlogPosts.Delete.DeleteBlogPostHandler 100%
MyBlog.Web.Features.BlogPosts.Edit.Edit 88% 75%
MyBlog.Web.Features.BlogPosts.Edit.EditBlogPostCommand 100%
MyBlog.Web.Features.BlogPosts.Edit.EditBlogPostHandler 84% 90%
MyBlog.Web.Features.BlogPosts.Edit.GetBlogPostByIdQuery 100%
MyBlog.Web.Features.BlogPosts.List.GetBlogPostsHandler 100% 100%
MyBlog.Web.Features.BlogPosts.List.Index 86.8% 84.6%
MyBlog.Web.Features.UserManagement.AssignRoleCommand 100%
MyBlog.Web.Features.UserManagement.ManageRoles 90.4% 75%
MyBlog.Web.Features.UserManagement.Profile 97.2% 82%
MyBlog.Web.Features.UserManagement.RemoveRoleCommand 100%
MyBlog.Web.Features.UserManagement.RoleDto 100%
MyBlog.Web.Features.UserManagement.UserManagementHandler 0% 0%
MyBlog.Web.Features.UserManagement.UserWithRolesDto 100%
MyBlog.Web.Security.RoleClaimsHelper 91.8% 91.1%
Program 0% 0%

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 auto with 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.

Comment thread .squad/templates/squad.agent.md Outdated
Comment thread .squad/templates/squad.agent.md Outdated
Comment thread .github/agents/squad.agent.md Outdated
Comment thread .github/agents/squad.agent.md Outdated
Comment thread .copilot/skills/model-selection/SKILL.md
Comment thread .copilot/skills/economy-mode/SKILL.md Outdated
Comment thread .squad/templates/squad.agent.md Outdated
Comment thread .github/agents/squad.agent.md Outdated
Comment thread .squad/templates/squad.agent.md
mpaulosky and others added 3 commits April 19, 2026 09:58
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>
@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Branch Rate Complexity Health
Domain 0% 0% 38
Web 0% 0% 333
ServiceDefaults 0% 0% 18
Domain 0% 0% 38
Web 0% 0% 333
ServiceDefaults 0% 0% 18
AppHost 0% 100% 1
Domain 43% 0% 38
Web 6% 5% 333
ServiceDefaults 0% 0% 18
AppHost 0% 100% 1
Domain 43% 0% 38
Web 6% 5% 333
ServiceDefaults 0% 0% 18
Domain 93% 50% 38
Web 64% 65% 333
ServiceDefaults 0% 0% 18
Domain 93% 50% 38
Web 64% 65% 333
ServiceDefaults 0% 0% 18
Summary 23% (1000 / 4310) 22% (358 / 1656) 2336

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 19 out of 19 changed files in this pull request and generated 8 comments.

Comment on lines 409 to +412
```
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.4claude-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)

Copilot AI Apr 19, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
Comment on lines +154 to +155
GitHub MCP tools when available; otherwise use `gh issue list` or
`gh issue search`.

Copilot AI Apr 19, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
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 ...`.

Copilot uses AI. Check for mistakes.
Comment on lines +154 to +155
GitHub MCP tools when available; otherwise use `gh issue list` or
`gh issue search`.

Copilot AI Apr 19, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
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 ...`.

Copilot uses AI. Check for mistakes.
Comment on lines +109 to +115
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

Copilot AI Apr 19, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
Comment on lines 409 to +412
```
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.4claude-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)

Copilot AI Apr 19, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
- 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}"

Copilot AI Apr 19, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
gh issue search "repo:{owner}/{repo} state:open {keywords}"
gh search issues "repo:{owner}/{repo} state:open {keywords}"

Copilot uses AI. Check for mistakes.
```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}"

Copilot AI Apr 19, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
gh issue search "repo:{owner}/{repo} state:open {keywords}"
gh search issues "repo:{owner}/{repo} state:open {keywords}"

Copilot uses AI. Check for mistakes.
Comment on lines +109 to +115
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

Copilot AI Apr 19, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
@mpaulosky
mpaulosky merged commit 5cd78ab into dev Apr 19, 2026
10 checks passed
@mpaulosky
mpaulosky deleted the squad/20-align-squad-model-and-roster-docs branch April 19, 2026 17:35
mpaulosky added a commit that referenced this pull request May 8, 2026
## 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants