agentleFS
all-source-osall-source-os/all-source/.agents/skills/prove-it/SKILL.md

prove-it

Skill4 starsChanged 7 days agoApache-2.0View on GitHub

Adversarial feature reviewer for the AllSource Chronos monorepo. Asks whether a change is real: right app or crate, reusing existing seams, weakening no guard, no cosmetic work, wired end to end across Core, Query Service, control plane and the four SDKs, and correct past the happy path. Reviews only what no CI job covers, reproduces every finding, and ends with the hand-checks a human still owes. Use for /prove-it, the ritual Review step, reviewing a PR or a commit range on main, or asking whether a feature actually works.

34 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use root-cause and grill.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Ingramradical235Skill

    root-cause

    Structured root cause analysis using WHERE (MECE decomposition) then WHY (causal structure diagrams) pipeline. Includes coin-flip detection, logical-leap detection, and vicious cycle intervention. Use when buffer enters YELLOW/RED, when metrics stall, or when Actions execute but don't produce results.

    Also in 4 projects that use this

  • renatorozasSkill

    grill

    Adversarial code review. Don't let me ship until the changes pass your scrutiny.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 1 is distinctive, and 9 are very specific to this project.

  • 0

    Common

    Most of the 32 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every fact in references/ carries the command that observed it.

    line 9
  2. Very specific:

    No argument: the open PR for the current branch.

    line 41
  3. Very specific:

    Hunk coverage: every changed hunk maps to at least one claim, or is listed unclaimed.

    line 72
  4. Very specific:

    Run every probe in references/cosmetic-probes.md and references/guard-ratchets.md at HEAD and at base, and report only the delta.

    line 79
  5. Very specific:

    Every finding carries a consequence: BLOCKS-CLAIM (a claim's own path fails now) · SILENT-RISK (works now, the next regression is …

    line 178
  6. Distinctive:

    Read the assembled report before printing it:

    line 200
  7. Very specific:

    every cited file:line re-read at HEAD this session.

    line 202
  8. Very specific:

    every quantifier (no, none, never, every, all, only, always, a superlative) carries the command that established it, or is rewritten to the …

    line 204
  9. Very specific:

    every run command resolves (command -v, test -x, or the target exists).

    line 207
  10. Very specific:

    Check for an existing review at this commit_id first.

    line 215

“Common” is measured: kept by at least 6 in 10 of the 32 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

prove-it — AllSource Chronos

Generated by forge-prove-it from a census of all-source-os/all-source at main@b6614086. Every fact in references/ carries the command that observed it. Re-run /forge-prove-it --update when a workflow, a filter key or a gate moves; a stale ledger delegates to a check that no longer looks.

The unit of review is a claim ("this ships X"), not a line. The question is always "is there a path where X does not happen?", never "is this code wrong?".

Two properties keep this above a generic opinion:

  1. It only reviews what no check covers. The un-gated set is computed from the ledger.
  2. A finding must be reproduced, and a kill must be evidenced. Neither side asserts.

Standing facts — print on every review

  • Nothing here can block a merge. gh api repos/all-source-os/all-source/branches/main/protection returned 404 Branch not protected; gh api …/rulesets returned []. A red run is visible and a human can merge past it. "CI would have caught it" is never an answer here.
  • The default workflow pushes straight to main (repo CLAUDE.md § Git Workflow). On that path CI runs after the code has landed, so a review of a commit range is the only check before it ships.
  • No hook is committed to this repo. git ls-files '.husky/*' '.githooks/*' 'lefthook*' '.pre-commit-config.yaml' returns nothing. On the census machine a global core.hooksPath=~/.git-hooks (from ~/.gitconfig) disables .git/hooks entirely. There is no pre-push gate behind CI.
  • Orphans — declared, run by no workflow: see references/coverage-ledger.md § Nowhere.

Arguments

/prove-it [<PR number> | <base>..<head>] [--deep] [--post]

No argument: the open PR for the current branch; on main with no PR, origin/main@{1}..HEAD when the reflog has it, otherwise ask for the range. Never guess a base.

Phases

PhaseMechanical / judgedAgents
0 — Frame: range, liveness, claims, hunk coveragemechanical + one echo0
1 — Ledger + owned probesfully mechanical0
1.5 — Size the run, a decision router advisingmechanical + one router call0
2 — Lenses, gated by diff surfacejudged0 inline; 1 per triggered lens when sized fan-out
3 — Counter-refutationjudged, evidence-bound0 inline; 0–2 when sized fan-out
4 — Manual routingmechanical table join0
5 — Emitmechanical0
5.5 — Self-audit of the assembled emissionfully mechanical0

Phase 0 — Frame

  1. Resolve the range. For a PR: gh pr view <n> --json baseRefOid,headRefOid,state. A MERGED branch is dead; review the merged commit on main instead.
  2. git diff --stat <base>..<head> and git diff -M --name-status <base>..<head>.
  3. Extract claims from the PR body or commit messages. Shapes:
ShapeLensesThe thing to refute
ships-behaviourall triggeredthe behaviour never happens on some path
fixes-defectguard, wiring, second-itemthe invariant is unasserted, or a sibling call site still has the bug
adds-guardguard, cosmeticthe guard is unwired, or its pattern matches nothing
refactor-no-behaviour-changereuse, guardthe absence of behaviour change
NOT A CLAIMnone"improves reliability" asserts nothing; say so rather than hunting it
  1. Hunk coverage: every changed hunk maps to at least one claim, or is listed unclaimed.

Phase 1 — Ledger and owned probes

Join the changed paths against references/coverage-ledger.md. Each changed path lands in exactly one bucket per check. Only FIRES, covers it silences the panel for that check's remit.

Run every probe in references/cosmetic-probes.md and references/guard-ratchets.md at HEAD and at base, and report only the delta. Nothing in this skill stores a count.

Phase 1.5 — Size the run

SizeWhat runsWhen
inline (default)The main thread attacks the 3–5 highest-risk hops the selected lenses name (removed-symbol callers, the runtime source of a config value, a gate's enforcement point, a new state's lifecycle triggers) with grep and file reads, and kills its own suspicions with evidence. No agents.every run, unless the row below applies
fan-outone refuter agent per selected lens, then counter-refuters--deep, or the router allows a subagent and the inline pass left a claim unsettled

Router: when the jev-decision-layer skill is installed, call the route command it names (resolve it from that skill on this machine, never from a path written here) with a goal that names no repository, customer, path or diff line:

Router actionDo
reuse_cachea review already exists at this head; print it and stop
allow_subagentfan-out allowed, for the unsettled claims' lenses only
stop_retrydo not re-run the failed lens set; route its claims to the hand-checks
ask_humanask before posting
anything elsestay inline

The router is advisory. A size that differs from its action is stated in one header line; an error or timeout means inline with router: unavailable; no skill installed means router: none. Header: size: inline|fan-out · router: <action|none|unavailable>.

Fan-out capability is tested, not assumed: if the host cannot spawn an agent, run the lenses sequentially in one context, each writing its findings to a scratch file before the next starts, and print sequential (no fan-out available) in the header.

Phase 2 — Lenses

Select every lens whose surface the diff touches. Err toward including a lens. Print each skipped lens with its reason.

LensAttacksSelected when the diff touchesReference
L1 placementwrong app / crate / SDK / service; Core doing Query Service workmore than one top-level unit, a new file, a new dependency, a Dockerfilereferences/placement-map.md
L2 reusea new abstraction that reinvents a shipped seama new file or a new exported symbolreferences/patterns-index.md
L3 guard-weakeninga gate loosened, a flag dropped, a filter narrowed, a suppression added.github/workflows/**, any manifest, deny.toml, .golangci.yml, .credo.exs, .dialyzer_ignore.exs, biome.json, rust-toolchain.toml, a suppression commentreferences/guard-ratchets.md
L4 cosmeticdead code, a test that cannot fail, an unwired gate, doc-only completionalwaysreferences/cosmetic-probes.md
L5 wiringthe missing hop, in both directions, across Core → gateways → SDKsa route, a handler, a wire type, an SDK method, a contract fixture, an env varreferences/wiring-and-second-item.md
L6 second itemthe 2nd element, the failing element, the exit paths, the re-runalways, plus any state decision: a returned status, an enum arm, an early return, an error armreferences/wiring-and-second-item.md

Phase 3 — Counter-refutation

inline: the main thread tries to kill each finding itself, at the same evidence bar. fan-out: zero findings spawns zero counter-refuters; one or two spawns one; three or more spawns two. Each counter-refuter gets the documented kill for the exact probe that produced the finding. Join verdicts to findings in code; hand the report step only the joined result.

Phase 4 — Manual routing

Join un-settled claims and bucket-3/4 paths against references/manual-verification-routes.md.

Phase 5 — Emit

Blocks, in this order. Order is load-bearing.

#BlockPrints when
0headeralways
1CLAIMS + UNCLAIMED HUNKSalways
2VERIFY BY HANDalways — "0 items, no hand-check owed" is a real outcome
3FINDINGSwhen any survived
4ATTACKS TRIEDalways
5LEDGERalways, with the standing facts above
6CONSIDERED AND DROPPEDalways
7NEXTwhen there is a finding worth tracking
8SELF-AUDITalways

Header: prove-it · <branch> · <base>..<head> · <n> lenses, inline|parallel|sequential · size: … · router: …

Per claim: HOLDS · REFUTED · UNVERIFIABLE HERE · NOT A CLAIM.

Verdict — the first line, exactly one of:

🔴 DON'T MERGE — <n> thing(s) broken, fix on this PR
  1. <what breaks, for whom, in plain words>
🟡 MERGE AFTER CHECK — <n> thing(s) nobody tested
  1. <what to check, in plain words>
🟢 MERGE — does what it says
  • 🔴 when any defect finding stands (BLOCKS-CLAIM or SILENT-RISK).
  • 🟡 when none does, but an outstanding hand-check or a WRONG-PLANE finding remains.
  • 🟢 otherwise.

On a direct-to-main range the verdict reads 🔴 BROKEN ON MAIN — fix forward / 🟡 CHECK ON MAIN / 🟢 HOLDS, since there is nothing left to merge.

Each numbered verdict line names the consequence, never the method: no lens names, tags, tiers or paths. Those belong in FINDINGS. Write terse: fragments fine, technical terms exact, one idea per line, an empty section is one line ("none").

Hand-checks carry two counts; only outstanding (a claim the panel could not settle) gates 🟡. Routine (owed because no check watches the path) never gates the verdict.

Every finding carries a consequence: BLOCKS-CLAIM (a claim's own path fails now) · SILENT-RISK (works now, the next regression is invisible) · WRONG-PLANE (works, will need re-landing in another app). And a tier: rock (reproduced; a defect) · sand (a hand-check with a pass criterion) · water (unmapped; say what would map it). Never a number, never a duration.

Hand-check item — every field resolves, or the item is refused:

N. <claim-id | check-id> · <what to verify>
   why    <why the repo cannot answer this>
   run    <command, verified to exist this session>
   then   <steps, or "no runbook exists — describe the run you did">
   read   <store or log, with the exact query, and WHICH Core: local Docker, Fly, or embedded>
   pass   <an observable criterion, never "looks right">
   caveat <where the runbook itself is unreliable>
   ask    <the substitute question, when `then` has no runbook>

Cap the list at 6, ranked by claim-criticality; print +N routed, not shown when it truncates.

Phase 5.5 — Self-audit

Read the assembled report before printing it:

  • every cited file:line re-read at HEAD this session; a citation that does not say what the finding claims drops the finding, and the drop is printed;
  • every quantifier (no, none, never, every, all, only, always, a superlative) carries the command that established it, or is rewritten to the bounded observation and the rewrite printed;
  • every run command resolves (command -v, test -x, or the target exists).

SELF-AUDIT · <n> citations re-read · <n> dropped · <n> quantifiers bounded

Posting (--post)

gh is on PATH and origin is GitHub, so posting is available. One review per head:

  1. Check for an existing review at this commit_id first; never duplicate.
  2. Body, in this order and nothing else: the verdict and its lines; VERIFY BY HAND whole; FINDINGS OUTSIDE THE DIFF (only findings with no line to anchor on; omit the heading when none); then one collapsed <details><summary>Panel record: <n> claims · <n> attacks · <n> dropped</summary> holding CLAIMS, ATTACKS TRIED, CONSIDERED AND DROPPED, LEDGER and the SELF-AUDIT line.
  3. An anchored finding lives in its inline comment only (RIGHT side, a line the diff adds).
  4. Never APPROVE. Approval is a person's call.
  5. This repo has one owner who authors most PRs. When the review account is the PR author, GitHub rejects REQUEST_CHANGES with a 422 and the whole call fails: post COMMENT and say in the body that the downgrade is the API's rule, not the verdict's.

Blocks 4–8 are terminal-only except inside the collapsed record.

Discipline

references/discipline.md — the false-positive controls. Read it before Phase 2.

Never in the output

  • A numeric confidence.
  • Any remark on the size of the diff, the file count, or how long anything takes.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.