fanout-verify-synth
Skill0 starsChanged 4 months agoMITView on GitHub
Read the collected result of a fanned-out, adversarially verified claim set (verify.json) and decide DETERMINISTICALLY whether every claim is really verified, so synthesis is gated on data instead of eyeballing. A stop primitive in the goal-loop family whose verdict is an exit code, not the model's self-report. Triggers: fan-out verification, verify.json gate, synthesis gate, claim verification stop, adversarial verify, multi-agent verification.
In this repository46 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- a11y-standardsSkill
- a11y-static-gateSkill
- adversarial-refute-voteSkill
- antigravity-buildSkill
- architecture-parity-gateSkill
- ci-required-check-installerSkill
- codex-buildSkill
- codex-imagegenSkill
- codex-spark-delegateSkill
- commit-convention-gateSkill
- commit-msg-quality-scoreSkill
- consumer-finding-ledgerSkill
- context-bloat-trackerSkill
- coverage-floor-lockSkill
- destructive-env-guardSkill
- dev-standardsSkill
- eval-dataset-buildSkill
- eval-regression-guardSkill
- gate-forgeSkill
- hallucination-rate-meterSkill
- harness-kpi-ledgerSkill
- judge-rubric-voteSkill
- knowledge-citation-coverageSkill
- knowledge-dedup-scanSkill
- knowledge-index-guardSkill
- live-state-verify-guardSkill
- maker-checker-relaySkill
- memory-distillSkill
- mistake-rule-distillSkill
- oneshotSkill
- prompt-ab-evalSkill
- report-shapeSkill
- retry-failure-classifierSkill
- review-finding-reproSkill
- rule-dedup-scanSkill
- rule-promote-auditSkill
- rule-promotion-extractSkill
- secret-scan-hardeningSkill
- self-heal-ciSkill
- session-length-compact-auditSkill
- startSkill
- subagent-usage-analyzerSkill
- task-success-rate-trackSkill
- token-codegen-gateSkill
- trigger-vocab-dedupSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 69
Use --json to get a machine-readable verdict (verdict, exit, counts, plus held_ids and refuted_ids) so you can open a re-verification task …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
fanout-verify-synth
A deterministic go/no-go gate for synthesis after a fanned-out verification. In a
deep-research / multi-agent fan-out, several agents each emit claims, and each claim is
verified adversarially. Before you synthesize the final artifact you must answer one
question — is every claim actually verified? — and the reliable way to answer it is a
machine gate, not eyeballing a list. This script reads the collected verify.json and
returns the answer as an exit code.
It is not the part that runs the fan-out (spawning agents, executing verification). Like
scripts/goal-loop.sh, it is the stop / verify primitive: it only decides whether to STOP
and synthesize. "Done" is decided by the gate's exit code, never by the model reporting
"everything checked out".
The decision forbids self-report: a bare verified label is not enough. A claim is counted
as effectively verified only if it also carries at least --min-sources pieces of evidence —
a label is self-report; the evidence count is data.
When to use / not
- ✅ A fan-out produced claims, each adversarially verified, and you need a deterministic go/no-go before synthesizing the report.
- ✅ You want "is everything backed up?" settled by a gate, not by reading down a list.
- ❌ There is no per-claim status/evidence to gate on, or a single unverified assertion you can just check by hand.
verify.json schema
{
"topic": "the research question",
"claims": [
{ "id": "c1", "claim": "one-line summary", "status": "verified",
"sources": ["https://...", "https://..."], "agent": "agent-a" },
{ "id": "c2", "claim": "...", "status": "refuted", "sources": ["..."] }
]
}status: one ofverified|refuted|unverified|pending.sources: evidence URLs for the verification. Averifiedclaim with fewer than--min-sources(default 1) sources is demoted to held — a label without evidence is treated as self-report, not as verified.
How to run
Aggregate each verification agent's result into a single verify.json (record status and
sources for every claim), then judge:
bash "${CLAUDE_PLUGIN_ROOT:-.}/scripts/fanout-verify-synth.sh" --in verify.json [--min-sources 1] [--json]Branch on the exit code:
| exit | verdict | meaning | what the caller does |
0 | ✅ ADOPT | every claim is effectively verified | synthesize the final artifact |
1 | 🔁 HOLD | unverified / pending / under-sourced claims present, no refutations (zero claims is also HOLD, fail-safe) | re-verify the held claims or fan out more, then re-judge |
2 | 🛑 CONFLICT | at least one refuted claim | do not synthesize — escalate to a human |
3 | — | usage / JSON parse error (missing file, broken JSON, claims not an array) | fail-safe to non-adoption; fix the input |
Use --json to get a machine-readable verdict (verdict, exit, counts, plus held_ids
and refuted_ids) so you can open a re-verification task for exactly the claims that failed.
The evidence rule
The verified label alone never adopts a claim. --min-sources N (default 1) sets how many
evidence URLs a verified claim must carry; below that it is demoted to held and the whole
set falls to HOLD. Setting --min-sources 0 relaxes the rule (a bare label counts) — useful
only when evidence lives elsewhere. This is the same "a label is self-report, evidence is
data" principle the sibling gates enforce.
Deterministic --check (self-test)
bash "${CLAUDE_PLUGIN_ROOT:-.}/scripts/fanout-verify-synth.sh" --self-test- exit 0 = PASS. It exercises the real
decide()path on hermeticmktempfixtures (no hardcoded success) across 9 cases: all-verified→ADOPT, unverified-mixed→HOLD, refuted→CONFLICT, verified-but-under-sourced→HOLD,--min-sources 0relaxes the same input→ADOPT, empty-claims→HOLD (fail-safe), broken-JSON→error, claims-not-array→error, and missing-file→error. - non-zero: a gap in the verdict truth table or syntax.
Sibling gates
Same stop-primitive family — all deterministic, all "a label is self-report, evidence is data", all delegating the terminate decision to an exit code:
adversarial-refute-vote— puts a single claim to N independent refute votes and stops adoption when a majority refutes it.judge-rubric-vote— disciplines multiple judges' verdicts by majority + vote spread and calls a hung decision when agreement is below threshold.scripts/goal-loop.sh— the underlying stop primitive (exit 0=GOAL MET / 1=CONTINUE / 2=CAP REACHED) that this gate's exit-code contract mirrors.
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
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.

