agentleFS
HesstasticHesstastic/fable-agent-orchestration/skills/two-critic-review-loop/SKILL.md

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.

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
  1. Distinctive:

    Do not merge until:

    line 52

≈ “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.

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

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_PASS
  • TEST_FAIL
  • TEST_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_PASS
  • CHANGE_FIX_FIRST
  • CHANGE_REJECT
  • CHANGE_SPLIT

Conductor Gate

Do not merge until:

  1. the test critic passes or an explicit partial-proof residual is accepted;
  2. the change critic passes or all blocking follow-ups are landed;
  3. the conductor spot-checks both critics against current code and CI;
  4. 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.

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.