Parent: #817 (FR-2, FR-3)
The Fix
Add tests that validate the init ↔ upgrade contract:
- Parity test: programmatically compare what init creates vs what ENSURE_DIRECTORIES covers — fail if they differ
- Workflow test: init → delete .squad/casting/ → upgrade → doctor passes
- Parametric test: for each ENSURE dir, delete it, upgrade, verify recreated
Why
The casting directory was added to init but not upgrade because no test crossed both paths. This prevents future init/upgrade drift.
Acceptance Criteria
Effort: 2-3 hrs
Parent: #817 (FR-2, FR-3)
The Fix
Add tests that validate the init ↔ upgrade contract:
Why
The casting directory was added to init but not upgrade because no test crossed both paths. This prevents future init/upgrade drift.
Acceptance Criteria
Effort: 2-3 hrs