judicata
Decide once when something is done. Every agent then judges by that, and a new session starts with what you already decided.
The problem
Every chat finds something different in a review. Points you already settled come back in the next session, and nothing ever says the work is done.
What I built
A plugin for Claude Code and Codex, and plain Agent Skills for OpenCode, Cursor and others. It rests on three ideas.
A contract, up front
A short file lists what done means, each criterion required or optional, each with a fixed check. A command or a pattern decides by script, a judgment by two independent reviewers. After that the contract is frozen and changes only when you ask.
A ledger in the repo
Every round, finding and decision is written to a file that lives with your code. Findings are tied to an address that survives moved lines, so a point you rejected stays rejected, and a new session starts with what you already decided.
An honest stop rule
After every round judicata says where you stand, done, done with accepted risks, not converged or round limit reached. It does not stop while a required check still fails, and it does not run forever.
What came out
First exploratory run (4 cases, one trial each): rejected findings were re-raised 0 of 3 times with judicata vs. 4 of 4 for plain Claude. No convergence gain yet, within two rounds 0 of 2 seeded cases converged with judicata and 1 of 2 without. A direction, not a significant result.
Facts
- Runs in Claude Code, Codex, and as Agent Skills in OpenCode, Cursor and others
- More than 600 automated tests
- Six acceptance evals check plugin-specific behaviour such as the ledger. They are not a performance comparison
- Guarded against prompt injection
- Open source, MIT licence
My part
Designed and directed by me. Implementation largely by coding agents.
Install
Claude Code
/plugin marketplace add philippmelikidis/judicata
/plugin install judicata@judicataCodex CLI
codex plugin marketplace add philippmelikidis/judicata
codex plugin add judicata@judicataOther agents
npx skills@latest add philippmelikidis/judicata --skill '*' -a <agent>Next
Version 0.2 brings a stop gate and a verifier. Later come measurements of how quickly reviews converge.
Tech
Needs Python 3.11 or newer. Res judicata, what has been decided is not argued again.