Skip to content
Philippos Melikidis

2026 · open source

judicata

Decide once when something is done. Every agent then judges by that, and a new session starts with what you already decided.

Diagram. A frozen contract lists the criteria. Commands and patterns are checked by script, judgments by two independent reviewers. Each finding goes to a ledger in the repository with your decision, fix, reject or accept the risk. A new session reads the ledger. After every round the stop rule says done, not converged or round limit reached.FrozenContractcriterion · requiredcriterion · requiredcriterion · optionalCommand · patternScriptJudgmentReviewerReviewertwo, independentFindingYour decisionfixrejectaccept the riskLedgerin the repoNew sessionreads itStop rule after each rounddonenot convergedround limit reachedDiagram. A frozen contract lists the criteria. Commands and patterns are checked by script, judgments by two independent reviewers. Each finding goes to a ledger in the repository with your decision, fix, reject or accept the risk. A new session reads the ledger. After every round the stop rule says done, not converged or round limit reached.FrozenContractcriterion · requiredcriterion · requiredcriterion · optionalCommand · patternScriptJudgmentReviewerReviewertwo, independentFindingYour decisionfixrejectaccept the riskLedgerin the repoNew sessionreads itStop rule after each rounddonenot convergedround limit reached
How a review round runs

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.

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

  2. 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.

  3. 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@judicata

Codex CLI

codex plugin marketplace add philippmelikidis/judicata
codex plugin add judicata@judicata

Other 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

  • Python
  • Claude Code
  • Codex
  • Agent Skills

Source on GitHub

Needs Python 3.11 or newer. Res judicata, what has been decided is not argued again.

← All work