judging
Skill0 starsChanged 7 months agoMITView on GitHub
Dispatch the Court on evidence-only inputs (contract + diff + verify output + confidence). The Court is not a persona; it is a structured adjudicator.
In this repository7 other files it gives its agents.
- authoring-skillsSkill
- contractingSkill
- executingSkill
- planningSkill
- resettingSkill
- using-anvilSkill
- verifyingSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Read the worktree's captured diff at <worktreePath>/anvil/diff.patch.
- Very specific: line 20
Read the Verify result at <worktreePath>/anvil/verify/verify-result.json.
- Distinctive: line 36
If any of these conditions obtain, the Court dispatch is rejected:
≈ “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
Overview
This skill dispatches the Court to adjudicate a task's verification result. The Court is not a persona; it is parameterized by the contract's check types. Inputs are the contract, the captured diff, the four-level Verify output, and a confidence score. Plan, commit messages, ledger, and prior verdicts are structurally withheld.
When to Use
Invoked by the orchestrator after verifying returns allGreen on a task, or after any criterion reports suspicious. Not invoked by user prompts directly. Called exactly once per task per loop iteration.
Process
Numbered steps the orchestrator follows:
- Load the contract via
cli/lib/contract.jsand confirm it was the contract used for the task. - Read the worktree's captured diff at
<worktreePath>/anvil/diff.patch. - Read the Verify result at
<worktreePath>/anvil/verify/verify-result.json. - Build the briefing with
composeBriefing. The module structurally refuses the commit message, the plan, the ledger, and any prior Court verdict. These are inputs the Court must not see. - Dispatch a fresh subagent as the Court. The Court returns a per-criterion status (pass | fail | suspicious) plus an action (merge | request-changes | request-clarification).
- Validate the returned verdict with
validateVerdict. Reject any out-of-schema action or per-criterion status withE_INVALID_VERDICT. - Return the verdict plus
briefingHash. The orchestrator persists the verdict record via<worktreePath>/anvil/verify/verify-result.jsonalongside the Verify result; the Court verdict is NEVER carried back into the next task's briefing.
Rationalizations
Reject the following shortcuts:
- "The commit message explains the rationale; let me include it." The Court does not read narration; rationale is an adversarial vector (failure-taxonomy row 2: Convincing rationale inflation).
- "The ledger has prior verdicts that would save time; pass them in." Prior verdicts are not evidence; they are context that can be pattern-matched rather than adjudicated (failure-taxonomy row 2).
- "Three criteria passed; surely the fourth is close enough." Three of four is a fail; the Court adjudicates all criteria, not a majority (failure-taxonomy row 8: Claim-without-evidence).
Red Flags
If any of these conditions obtain, the Court dispatch is rejected:
- The caller tries to pass
commit_message,plan,ledger, orprior_verdictsintocomposeBriefing(failure-taxonomy row 2). - The returned verdict has an unknown action or an out-of-schema per-criterion status (structural guard;
E_INVALID_VERDICT). - The Court subagent references the task's commit history or prior verdicts (structural guard; the briefing does not expose these).
Verification
Each Court dispatch checks:
composeBriefingrejects every key inFORBIDDEN_COURT_INPUT_KEYSwithE_COURT_INPUT_VIOLATION.validateVerdictrejects every out-of-schema verdict withE_INVALID_VERDICT.- The
judgereturn value includesbriefingHashmatching sha256 of the briefing. MUTABLE_STATEis frozen and empty both before and after the call.
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.

