What problem does it solve? Continuing work on an existing project plan risks acting on stale context, mismatched swarm identities, or outdated cached agent data, which can corrupt execution state. ## Core Features & Use Cases - Plan State Detection: Reads .swarm/plan.md to determine whether to resume an existing plan or start a new project via MODE: CLARIFY. - Swarm Identity Reconciliation: Detects mismatches between the plan's Swarm field and the active swarm id, purges stale memory blocks and SME cache entries, and updates plan.md and context.md accordingly. - New Project Risk Baseline: Runs complexity_hotspots, todo_extract, and sbom_generate to build a risk map, capture technical debt, and record a dependency inventory for new projects. - Use Case: An agent restarts a session where the plan was created under a different swarm; the protocol clears stale identity context, informs the user, and resumes at the current task safely. ## Quick Start Resume the current project from .swarm/plan.md and reconcile any stale swarm context before continuing.