agentsclimarketplace

Review

Skill xiaolai/bureau/skills/review

The human double-check gate for AI-written memory. Show every cabinet claim not yet approved — with its provenance and automatic check result — and let the human promote it to canonical or reject it. Use when running bureau:review, or when the user asks to approve / vet / sign off on what the AI wrote to memory before it is trusted as fact.From its SKILL.md

Install
npx -y skills add xiaolai/bureau --skill review

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

10.3 KB, as published. Nobody here has run it

Review — the gate between AI memory and trusted fact

AI-written memory must never be recalled as fact until a human has checked it. This skill is that gate: a batch double-check that promotes vetted claims to canonical and discards the rest. The cabinets double as repo memory, so an un-reviewed claim is an unverified claim.

Trust tiers (the status: of every dossier)

tiermeaningwritten byrecalled as
proposedAI claim, uncheckedcompile"unverified — verify before relying"
verifiedpassed an automatic ground-truth checkcompile"checked against the repo on <date>"
canonicala human approved itreview (this skill) onlyfact
stalea verified source changed / a claim was supersededreview's staleness re-check; lint (--apply)"was true on <date> — re-verify"
contestedtwo claims disagreecompile (conflict); lint (--apply)"disputed — do not rely"

(Capture writes the logbook, never a dossier — only compile, lint, and review touch a page's status:.)

Only canonical is recalled as fact. Everything else carries its tier as a warning. The AI never writes canonical itself — that tier exists only on the far side of this gate.

What review does

  1. Locate the workspace (bureau.json; default canon). If none, tell the user to run bureau:init first and stop.
  2. Re-check staleness first. For each verified/canonical page, run node "${CLAUDE_PLUGIN_ROOT}/press/bin/gazette.mjs" ledger recheck --dir <workspace> --page "<title>". The press (in code) re-hashes every recorded artifact from <workspace>/_verify.json — path-jailed inside the repo (absolute paths, .. escapes, and symlinks pointing outside are rejected/reported, never read). Any page reporting DRIFTED (or an unreadable artifact) is demoted to stale and added to the queue. If the page has no recorded fingerprints, skip it.
  3. Build the queue — use the engine's typed order. Run node "${CLAUDE_PLUGIN_ROOT}/press/bin/gazette.mjs" review --dir <workspace> (ADR-0005): it returns the review work items in DEPENDENCY order (upstream-first), each typed by the action that clears it — approve (a new claim), reapprove (approved then edited), confirm-dependencies (canonical but its upstream span changed → confirm, not approve), resolve-conflict (a contested component — decide which claim stands, do NOT approve both sides), repair-edge (a broken rests_on). Review upstream pages first. If the queue is empty, report "nothing to review — the canon is approved and current" and stop. Also surface any ADR-0006 finding from gazette fsck: a supersedes-cycle BLOCKS (two approved ADRs retire each other — it must be resolved before the canon is clean), while broken-supersedes (dangling target) and supersedes-ineligible-target (the target was never an effective decision) are advisory.
  4. Present a batch digest. Review is page-level — a page is one claim (compile keeps it so), and its status: is the page's tier. For each queued page show, in one compact block:
    • the page and its claim;
    • its provenance — the [[session …]] it traces to (and whether that link resolves);
    • its check result — verified against <artifact> for an auto-checked fact, or unverifiable (judgment — needs your eye) for rationale/design claims;
    • if the item carries a supersedes target (the queue names it on an ADR's approve item), warn "approving this retires <target>" — approving this ADR demotes that prior decision to superseded (ADR-0006). Make sure the human intends to retire it. Group facts (auto-verified) apart from judgments (need human reasoning) — the judgments are the ones that actually need the human.
  5. Prepare the decisions — the HUMAN commits them. This is the human-authority gate: per BUREAU.md and ADR-0004 the AI must NEVER commit a human-authority event — never run gazette approve, never assert --by human. So present the queue in batches and, for each page the human approves, hand them the exact command to run themselves: node "${CLAUDE_PLUGIN_ROOT}/press/bin/gazette.mjs" approve "<title>" --dir <workspace> --by human The press appends an approve event to the decision log; canonical is a projection of that event, not the frontmatter — so do NOT author status: canonical yourself (gazette fsck flags an authored canonical no approval backs, and ADR-0004 makes effective trust log-only). reviewed: is likewise projected from the approve event, not stamped by you.
    • A reviewed backlog, applied at once (ADR-0005). For many pages, the human can author a JSON manifest while reading and apply it in one command — still per-page judgment, and a reviewable artifact. Seed it with gazette review --json (each approvable item carries its current digest); keep the pages you vetted, move the rest to reject with a because, then approve --from decisions.json --by human (each approval pins the reviewed page digest; a page that drifted since is refused, and the batch commits atomically). approve --all --by human bulk-approves the whole approvable queue after a warning — a deliberate weakening of the human gate (the log marks it as a bulk batch_id); it is the human's call to run, never yours.
    • reject → hand the human … reject "<title>" --dir <workspace> --by human [--reason "…"] (an unauthorized reject is inert, so naming the human authority is what makes it stick). Once they confirm, remove the claim — delete the page only if it holds no other claim, else strike just this claim, never unrelated content — and append a NEW review minute naming what was rejected (the logbook is append-only; never rewrite a minute).
  6. Structural check. Run bureau:inspect; report the gazette state.
  7. Report. Counts approved / rejected / left pending, and the path to anything still contested (those are resolved by re-deciding in a session, not by review).

Ground-truth, honestly

  • A fact about an artifact (a path, a build command, a function signature, a config value, a dependency version, a commit) is mechanically checkable — compile marks it verified and review confirms. The fingerprint in _verify.json lets staleness auto-demote it later.
  • A judgment ("we chose X because Y", "this module is fragile") cannot be verified, only provenanced and read by a human. Do not label a judgment verified; route it to the human in step 4. This is the split the gate exists for.

Recall convention (how memory is read back)

Whoever reads the cabinets as memory MUST honor the tier on each claim: treat canonical as fact; treat verified as checked-but-not-approved; treat proposed, stale, and contested as claims to confirm before relying, never as fact. The tier travels on every recalled line so an unverified claim can never masquerade as truth.

Rules

  1. Human-gated; the AI never commits. canonical is a projection of a human-run approve event. The AI presents and prepares the decisions but NEVER runs gazette approve/reject, never asserts --by human, and never authors status: canonical — the human runs the commands (ADR-0004).
  2. Reject is guarded and logged, never silent erasure. Confirm before removing; delete a page only when it holds no other claim; otherwise strike just the rejected claim. Record the rejection by appending a NEW minute — existing entries are never rewritten.
  3. No prose invention. Review promotes, demotes, or removes claims — it does not author new ones. New claims come from compile.
  4. Stale before approve. Re-check fingerprints (step 2) before presenting the queue, so the human never approves something the repo already moved past.

Examples

<example> Context: After a compile run, three dossiers sit at `proposed`/`verified`. user: "bureau:review" assistant: "I'll re-check staleness, then show the queue. 3 claims pending — 2 facts auto-verified against the repo (build command, dep version), 1 judgment ('the queue module is fragile') that needs your call. Approve the two facts and the judgment? You approved the facts; I set them canonical. You rejected the judgment; I removed it and logged the rejection to today's minute." <commentary>The gate promotes vetted claims to canonical and logs rejections — facts and judgments are presented apart because only the judgment needs human reasoning.</commentary> </example> <example> Context: A page `Build command` was `verified` last week; src has changed since. user: "Vet what the AI remembered before I trust it." assistant: "Running bureau:review. Staleness re-check first: `Build command`'s source fingerprint changed, so I demoted it to `stale` and added it to the queue rather than letting you approve a claim the repo already moved past." <commentary>Step 2 re-checks fingerprints before presenting the queue, so a stale claim can't be approved as current.</commentary> </example>

Scope note

This skill covers ONLY the human approval gate and staleness re-check. It does not capture sessions (capture / bureau:file-session), does not distil the logbook (compile / bureau:compile), and does not run the semantic sweep (lint / bureau:lint). It acts on the cabinets those produce and is invoked by the bureau:review command.

To have Codex pre-screen the same queue as your representative — recommending approve/hold, then either handing you the --by human command or (only where the workspace opted the codex authority in) committing --by codex — reach for bureau:codex-review (codex-review) instead. It drives the identical gazette review --json / approve --from surface; this skill stays the human-only gate.

Keep looking

Skills are one crate of 613,531. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.