two-critic-review-loop
Skill0 starsChanged 5 months agoApache-2.0View on GitHub
Validate an agent pull request with two separate critics: one test critic for the proof gate and one adversarial change critic for the implementation. Use before merging non-trivial agent-generated PRs or release claims.
In this repository20 other files it gives its agents.
- fableSkill
- adversarial-reviewerSkill
- agent-dispatch-packetSkill
- agent-pr-validatorSkill
- autonomous-finish-loopSkill
- easy-vs-right-checkSkill
- external-workflow-adapterSkill
- fable-orchestratorSkill
- fable-session-skill-minerSkill
- instruction-drift-controlSkill
- investigate-before-fixSkill
- long-run-continuitySkill
- one-slice-worker-cycleSkill
- orphaned-wip-adopterSkill
- peer-review-packetSkill
- periodic-retrospectSkill
- review-verifierSkill
- seal-both-typesSkill
- task-relative-test-gateSkill
- think-work-trySkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 52
Do not merge until:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Two Critic Review Loop
Strengthen the verifier, not the generator. One reviewer is not enough for non-trivial work because proof quality and implementation quality fail in different ways.
Critic 1: Test Gate Critic
This critic reviews the ruler.
Ask:
- What exact task trajectory is being tested?
- Would this gate fail under the old broken behavior?
- Does it exercise the production path rather than a reimplementation?
- Was the gate weakened to turn green?
- Is there a broken arm and a fixed arm, or only a partial proof?
Verdicts:
TEST_PASSTEST_FAILTEST_SPLIT
Critic 2: Adversarial Change Critic
This critic reviews the change.
Ask:
- Does the code actually close the claimed invariant?
- Does it introduce ownership, durability, security, compatibility, or product regressions?
- Does the property follow structurally, or only through a flag, timing sleep, cleanup ritual, or wrapper process?
- Are residual risks explicit and scoped?
Verdicts:
CHANGE_PASSCHANGE_FIX_FIRSTCHANGE_REJECTCHANGE_SPLIT
Conductor Gate
Do not merge until:
- the test critic passes or an explicit partial-proof residual is accepted;
- the change critic passes or all blocking follow-ups are landed;
- the conductor spot-checks both critics against current code and CI;
- the PR body records scope, non-scope, proof, and residuals.
Output
Return:
- test critic verdict;
- change critic verdict;
- conductor spot-check result;
- merge decision;
- smallest next follow-up.
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.

