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
fix(cli): add .squad/casting to ENSURE_DIRECTORIES in upgrade.ts #820
Add .squad/casting\ to the \ENSURE_DIRECTORIES\ array in \packages/squad-cli/src/cli/commands/upgrade.ts\ (around line 282).
Also scaffold default casting files (registry.json, policy.json, history.json) if they don't exist after creating the directory. See how \initSquad()\ in the SDK creates these for reference.
Why
\squad upgrade\ doesn't create .squad/casting/, causing \squad doctor\ to fail on repos that were init'd before casting was added.
Acceptance Criteria
.squad/casting\ in ENSURE_DIRECTORIES
Default casting files scaffolded if missing
Existing tests still pass
\squad doctor\ passes after upgrade on a pre-casting repo
Activity