and-sweep
AND Sweep
Sweep audits GitHub workflow state for drift that can make delivery unsafe. Every finding is classified before mutation:
- Detect: the default; report authoritative drift without changing it.
- Normalize: when the user explicitly asks to fix or normalize, apply reported, unambiguous low-risk representation fixes without a second confirmation.
- Repair: changes to meaning or authority require explicit approval for the exact mutation, or route to the owning workflow skill.
Workflow Contract
Use and-workflow-contract before auditing, then read sweep-checks.md. Read deployment-handoff.md when the selected scope contains reviewed implementation or Finish evidence.
Use Locate Work, Read Work Record or Read Delivery Unit, and Audit Invariants, then apply the direct Sweep checklist. Those authorities own exact state, relationship, ownership, receipt, lifecycle, Wayfinding, and representation checks; Sweep owns finding classification and repair control.
If repository setup or the contract is unavailable, stop and route to setup-and or ask the user to install the missing skill.
Scope
Default to open work in the current repository. Respect a specific work ID, ready slate, stage, PRD, map, ownership condition, or other bounded subset supplied by the user. Use an explicit limit or pagination.