Repository navigation
feat: implement issue #1210 — [Phase 2] Switch feature-ideation-reusable.yml model default to the opus family and verify alias resolution #1245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
don-petry
wants to merge
64
commits into
main
Choose a base branch
from
dev-lead/issue-1210-20261003-2213
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
6a045cd
feat: implement issue #1210 — [Phase 2] Switch feature-ideation-reusa…
don-petry 5cebabe
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 88d912f
fix(reviews): restore sonnet/haiku in model description; harden model…
don-petry 2d642c9
fix(bot): install yq in feature-ideation test environment
don-petry 7568bb1
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 051479b
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry bc282fb
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 70e38bb
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry ce8acb0
fix(bot): pin mikefarah/yq to v4.44.3 in feature-ideation-tests
don-petry 6acab77
fix(reviews): hardcode yq sha256 and add curl timeouts
don-petry 5759303
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 8f66d9c
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry fcb811b
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 1a404e9
fix(reviews): align model input description with #1210 AC2 exact wording
don-petry ea8322e
fix(reviews): add final period to model input description per #1210 AC2
don-petry 58e9153
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry daba887
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 76bc433
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry ca64959
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 8d37617
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 9bb9be1
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 50f39f0
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 42daa3a
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry bccf21c
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 1d91de8
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 50c5f0f
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry e73eeb0
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 2837e2b
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry e0186bb
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry d6c40ad
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry d8b60f7
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry f3cf6f1
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry ee000d6
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry d40ed36
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 73cc7b2
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 78ea20c
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 762b020
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 810b7f5
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry f127635
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry b9fd734
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry df571a8
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 45b9ccc
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 7187a51
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry f8e6067
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 4f91f6d
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 33f9438
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry b471206
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry c06ff9a
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 739c1bd
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 15bb91f
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry dc038cf
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry ee4e516
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry b6ad643
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry ab4e992
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 01a10be
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry fc0f361
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry c19a903
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 27d04a9
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 3b5ac99
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 1c83244
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry a079452
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry ff0dafe
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry c4b2d82
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry 510d91e
Merge branch 'main' into dev-lead/issue-1210-20261003-2213
don-petry File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| #!/usr/bin/env bats | ||
| # Tests for the `model` input of the reusable feature-ideation workflow | ||
| # (issue #1210). The default must be the model FAMILY (`opus`) so the BMAD | ||
| # Analyst auto-tracks the current Opus via the Claude Code CLI's client-side | ||
| # alias resolution — a pinned version id must never be the default. | ||
|
|
||
| load 'helpers/setup' | ||
|
|
||
| WF="${TT_REPO_ROOT}/.github/workflows/feature-ideation-reusable.yml" | ||
|
|
||
| @test "model input: default is the opus family" { | ||
| run yq -r '.on.workflow_call.inputs.model.default' "$WF" | ||
| [ "$status" -eq 0 ] | ||
| [ "$output" = "opus" ] | ||
| } | ||
|
|
||
| @test "model input: default is not a pinned claude-* version id" { | ||
| run yq -r '.on.workflow_call.inputs.model.default' "$WF" | ||
| [ "$status" -eq 0 ] | ||
| [[ "$output" != claude-* ]] | ||
| } | ||
|
|
||
| @test "model input: description recommends the opus family with an id override" { | ||
| run yq -r '.on.workflow_call.inputs.model.description' "$WF" | ||
| [ "$status" -eq 0 ] | ||
| [ "$output" = 'Model family (`opus` recommended - Sonnet produces shallower adversarial passes) or an explicit model id override.' ] | ||
| } | ||
|
|
||
| @test "analyst step: model is passed via --model so the CLI resolves the family" { | ||
| run yq -r '.jobs[].steps[]? | select(.name == "Run Claude Code — BMAD Analyst") | .with.claude_args' "$WF" | ||
| [ "$status" -eq 0 ] | ||
| [[ "$output" == *'--model ${{ inputs.model }}'* ]] | ||
| } | ||
|
|
||
| @test "analyst step: no ANTHROPIC_MODEL env bypasses the CLI's alias resolver" { | ||
| run yq -r '.jobs[].steps[]? | select(.name == "Run Claude Code — BMAD Analyst") | .env // {} | has("ANTHROPIC_MODEL")' "$WF" | ||
|
don-petry marked this conversation as resolved.
|
||
| [ "$status" -eq 0 ] | ||
| [ "$output" = "false" ] | ||
| } | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.