Run a full-repository sweep that starts with an adversarial no-edit audit, then the full review chain, and pauses for approval before fixes. Supports `--preserve-review-artifacts`.
Run a full-repository sweep that separates adversarial detection from repair. The sweep should expose production risks even when the repo "works" locally, cover the same review components and gates as the normal review chain, present a structured repo-wide report, and only then ask whether fixes should begin.
Invoke explicitly with $repo-sweep.
Supported modifier:
--preserve-review-artifactsLoad these files before running:
skills/shared/references/review/review-protocol.mdgit status, note whether the tree is dirty, and do not revert unrelated changes.main.py, server.js, framework boot files, compose services, or dev scripts that expose the public surface.POST/PUT/PATCH/DELETE endpoints: probe for missing auth, weak authz, missing CSRF protection when relevant, and absent rate limiting.review-protocol.md as required review components for the repo sweep.full-chain coverage: Prompt A through Prompt I, one prompt at a time.not applicable.none during no-edit phase.SecurityArchitecture and DesignLogic and StabilityTesting and VerificationCode Quality and MaintainabilityPerformance and OperationsNeeds Human DecisionResidual Risksnone verified.--preserve-review-artifacts is present, keep a concise working log under tasks/tmp/ when that directory exists and is already part of repo workflow. Otherwise preserve notes only when explicitly requested.Keep output compact and action-oriented.
While working:
Before any fixes, output the repo-wide report in this order:
After approved fixes, output only:
Success before fixes means the report is evidence-backed, broad enough to surface the major production risks on the reachable surface, and explicit about what remains unverified.
Success after fixes means the repository is measurably healthier, the approved in-scope issues were addressed or cleanly escalated, and no obvious production-safety regressions remain on the verified public surface.
For backend and API repos, do not mark the sweep successful while any of these remain true on the verified public surface: