Repository navigation
fix(init): scaffold casting files + silence no-remote errors (#579) - #583
Merged
Merged
Conversation
- Add stdio: ['pipe','pipe','pipe'] to all execFileSync('git remote get-url origin')
calls in SDK init so stderr doesn't leak when no remote is configured
- Scaffold .squad/casting/policy.json, registry.json, history.json from
SDK templates during init (falls back to inline defaults)
- Respect skipExisting: pre-existing casting files are never overwritten
- Add tests for casting file scaffolding and content validation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Verify that init produces a complete .squad/ directory, particularly: - casting/ subtree (registry.json, policy.json, history.json) - no-remote resilience (git repo without origin configured) - doctor validation passes after a fresh init 15 tests covering initSquad() SDK, runInit() CLI, and doctor checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
bradygaster
force-pushed
the
squad/579-init-scaffolding-hardening
branch
from
March 24, 2026 06:57
6b0e735 to
279b1a0
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fixes #579 — Init scaffolding gaps: missing casting files and noisy git remote errors.
Changes
EECOM (SDK fix):
FIDO (Tests):
Testing
npm run build— cleannpx vitest run— all passing including 15 new tests