/rgv:rgv-sweepfrom Register-Gated Verification
Ledger application — a fresh-context agent executes an already-decided change set (an amendment ledger plus register-backed resolutions) across every affected document, with version bumps, one-line reasons citing D-IDs, and grep post-conditions proving application. Use when the user says "apply this ledger", "apply these resolutions", "execute the amendments", "sweep the docs", or when rgv-cycle (step 7) or rgv-close invokes it after a gate; the sweep decides nothing and has no human gates — it is mechanical and exits report-only. Requires a resolutions ledger and the register entries authorizing it.
Ships in Register-Gated Verification. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The sweep is the EXECUTE half of the two-phase commit for documents: a derivation or gate LISTED the amendments; the sweep applies them and PROVES it with grep post-conditions. It carries zero discretion — the ledger and the register-backed resolutions are authoritative, and anything that does not apply cleanly comes back flagged, never improvised around.
Requires on disk: a resolutions ledger (amendments with exact before → after) · the
register entries (D-IDs) authorizing the change set · the gate report, when the sweep
follows a gate. Missing the ledger or its authorizing entries → STOP and route to the
conductor (rgv) — a sweep without written authority is just editing.
Leaves on disk: the edited documents, each version-bumped with a changelog line citing D-IDs · recorded grep evidence (expected vs actual, verbatim). The sweep writes no report file of its own; its report returns to the caller.
Before anything else: evaluate references/entry-criteria.md — every MUST-HAVE and every
STRENGTHENER gets a per-criterion PASS/MISS — then issue the verdict per
references/gate-zero-verdicts.md (READY / IMPROVABLE / REJECTED) and write the run's
block to READINESS.md at the target project's repo root. On REJECTED: HARD STOP —
name each missing must-have and exactly what to assemble; proceed only on a recorded
register override. Never silently proceed on bad inputs.
The sweep is within-phase mechanics: every judgment it executes was already made at a gate. It therefore never asks the human anything. The human checkpoint that FOLLOWS a sweep — the forest check (rgv-cycle GATE 4) or a closing pass's ratification — belongs to the caller, not to this skill. Exit is report-only.
references/sweep-contract.md (placeholders: {LEDGER}, {NEW_IDS}, {DOC_LIST},
{GREP_LIST}, …) and launch a fresh-context agent with it, verbatim. Fresh context
is not optional: an agent that argued for an amendment will bend its application.Relay to the caller (or user), per item:
A sweep with flags is not failed — it is a sweep whose ledger met a drifted world, caught exactly as the two-phase design intends.
STATE: ledger executed — N docs edited + bumped, M greps recorded (E expected-met, F flagged)
NEXT: <caller's next gate — rgv-cycle GATE 4 forest check, or the closing pass's ratification;
standalone: rgv conductor> — the human checkpoint after a sweep belongs to the caller
(crosses a human gate → say "continue" or invoke directly)
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (smorinlabs/register-gated-verification) — no native marketplace selected
npx claudepluginhub p/smorinlabs-rgv8 skills in this plugin
/rgvRegister-Gated Verification (RGV) conductor — reads an RGV project's on-disk state cold and routes to the correct phase skill (rgv-intake, rgv-seed, rgv-cycle, rgv-close, rgv-derive). Use whenever the user says "run rgv", "continue the process", "continue the RGV process", "where are we", "what's next", or wants to resume, check the status of, or re-enter any RGV project — in a fresh session, after a crash, or at any point mid-cycle. Also use when unsure which RGV skill applies; the conductor diagnoses state and never routes past an unratified human gate./rgv-closeThe three closing passes that turn a fully-ratified corpus into a frozen design — (1) zoom-out, whole-corpus invariant checks with named-flag verdicts; (2) freshness, every parked verify-item re-checked against live oracles with CONFIRMED/CHANGED/UNRESOLVED verdicts; (3) freeze, the version manifest, register-gated upgrade catalog, watch list, and change policy — each pass ending at its own human ratification gate. Use when the user says "close the design", "run the zoom-out", "freshness pass", "freeze the corpus", "we're done with the areas — what now", or where the rgv conductor routes when all areas are ratified and no FREEZE.md exists. Requires every area's ratification entry in the register./rgv-cycleRun one full Register-Gated Verification cycle — 8 steps, 5 human gates — on a single area or topic; mine the corpus, author the decision document, run gated Q&A, register decisions, derive the area design doc, adversarially gate it, sweep the ledger, and obtain ratification. Use when the user says "run the cycle for X", "start area X", "do the next area", names an area to consolidate or design, or when the rgv conductor routes here with an area. Requires a seeded register (DECISIONS.md), PROCESS.md, and all prior areas ratified.