fix(core): harden legacy Team recovery policy (#1559)
## Description Harden legacy Team recovery policy by excluding invalid local Project identities, preserving reviewed canonical mappings, and surfacing actionable repair metadata without treating peer-received state as local repair work. ## Type of Change - [ ] ๐ Feature (new functionality) - [x] ๐ Bug fix (fixes an issue) - [ ] ๐ Documentation (docs-only change) - [ ] ๐ง Maintenance (refactor, chore, CI, etc.) - [ ] ๐งช Testing (test-only changes) ## Testing - [x] Relevant checks pass locally (`pnpm run tsc`, `pnpm run lint`, `pnpm run test`) - [x] Added/updated tests for changes - [x] Manually verified changes work as expected ## Checklist - [x] Code follows project style (`pnpm run lint` passes for touched files) - [x] Self-review completed - [x] Documentation updated (if needed) - [x] No new warnings introduced
A
Adam Kunicki committed
5ccd7b20bdf3b110f976e1151dcc12c333c4a6f3
Parent: fbcfc35
Committed by GitHub <noreply@github.com>
on 9/1/2026, 4:32:31 PM