Skip to content

CI: Add source tree canary and large deletion guard#634

Merged
bradygaster merged 3 commits intodevfrom
squad/631-ci-deletion-guard
Mar 26, 2026
Merged

CI: Add source tree canary and large deletion guard#634
bradygaster merged 3 commits intodevfrom
squad/631-ci-deletion-guard

Conversation

@bradygaster
Copy link
Copy Markdown
Owner

Closes part of #631 — adds two CI safety steps to squad-ci.yml:

  1. Source tree canary check — fails if critical directories (lib/, packages/, test/) are missing
  2. Large deletion guard — blocks PRs that delete >50 files

Prevents a repeat of the 361-file deletion incident.

bradygaster and others added 3 commits March 26, 2026 10:14
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bradygaster bradygaster merged commit d1b9c13 into dev Mar 26, 2026
3 checks passed
larsontim12 pushed a commit to larsontim12/squad that referenced this pull request Mar 27, 2026
…r#633) (bradygaster#634)

- Governance check now validates ## Members has roster entries, not just
  that team.md exists
- Post-init message clarifies scaffold needs team casting
- Updated acceptance and journey tests for new messaging

Closes bradygaster#633

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.

1 participant