You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Preserve Squad CLI version in compiled action workflows #1884
workflows/shared/squad.md declares SQUAD_CLI_VERSION at job level, but the generated squad.lock.yml does not retain that environment binding. The compiled invocation therefore becomes effectively:
npx --yes "@bradygaster/squad-cli@" health --json
npm resolves latest (0.12.0 at the time of the failed run), which lacks the health command.
This is not fundamentally an npx versus npm install -g problem: either mechanism exposes the features of the resolved package version. Switching to a global install without fixing version propagation would install the same incompatible version.
The source fallback is currently 0.14.0, which is unpublished; the pending release appears to be 0.13.0.
Proposed fix
Set SQUAD_CLI_VERSION using step-level env on every step that consumes it so gh-aw compilation preserves the value.
Pin the highest published release containing health—expected to be 0.13.0.
Recompile and inspect the generated lock workflow.
Rerun /squad cast only after npm and compiled-workflow validation succeeds.
Validation
npm view @bradygaster/squad-cli@0.13.0 version
gh aw compile squad --strict
gh aw audit <new-run-id> --repo bradygaster/ReadR --json
Scope note
Handle this after or in coordination with the active gh-aw/release work; do not patch generated lock files directly.
Issue:#1884 — Preserve Squad CLI version in compiled action workflows
Booster will pick this up in the next Copilot session.
For Copilot coding agent: If enabled, this issue will be worked automatically.
Otherwise, start a Copilot session and say: Booster, work on issue #1884
Activity
github-actions commentedon Aug 25, 2026
📋 Assigned to Booster (CI/CD Engineer)
Issue: #1884 — Preserve Squad CLI version in compiled action workflows
Booster will pick this up in the next Copilot session.
fix(gh-aw): preserve Squad CLI install contract (github#1887)