Skip to content

The Evidence Loop ​

Most review tooling is amnesiac: it tells you what's wrong, you fix it, and the knowledge evaporates. That is a bad fit for quality problems, because the cost of a weak standard shows up over weeks and months — no single review can see it. Praxis is built around the opposite bet — every review is evidence, and evidence, kept honestly, compounds into a taxonomy of named standards and numbers you can actually trust.

This page follows one finding through the whole loop, using Scoop Society's service conventions.

1. A critique is born ​

A reviewer reads redeem-coupon.ts against src/services/README.md and fails it:

Error message 'bad input' tells the consumer nothing about what was wrong or what would be accepted.

Two things happen. The verdict lands in the cache (.praxis/cache/validation/), keyed by a content hash of everything the reviewer saw — the target, the spec's body, the spec's context: files — so the finding never has to be paid for twice. And a critique record lands in the ledger (.praxis/ledger/runs/), carrying full provenance: the run id, the exact content hashes of target and spec, and the reviewer's name, model, and behavioral hash. The run record it points to holds the rest — the commit, the branch, the costs and counts.

The cache answers "is this compliant now" and overwrites. The ledger answers "what has ever happened" and never does — run files are written once and never touched again, and both are committed to git.

2. Critiques recur, and triage sorts them ​

A week of runs produces the same complaint about five different services. Those critiques sit untriaged — raw reviewer prose, unassigned to any standard — until you run:

bash
praxis axioms triage

The curator (a dedicated model configured beside your reviewers — worth a frontier model, since it does the taxonomy's thinking) classifies each untriaged critique against all active axioms — an axiom is a category over all specs' evidence, never a child of one spec, so a critique from any spec can land in any axiom. A squarely-an-instance match becomes an assignment record; everything else is recorded unmatched and queued for curation. Early on, with no axioms accepted yet, that's every critique — triage is how raw evidence reaches the curation queue.

3. Curate names the pattern ​

bash
praxis axioms curate

The curator clusters the unmatched residue and suggests, cluster by cluster: fold these into an existing axiom, name a new issue category, or hold them because no category emerges yet. You decide — [a]ccept / [s]kip. Nothing the curator suggests takes effect without a human accepting it, and nothing here is ever dismissed: whether a critique is true is a different question, answered in praxis eval review. A held cluster simply waits for the next session.

An axiom is a category of recurring critique, never a rule. The norm — what the code should do — lives in the spec, and only there; the axiom names the issue the reviewers keep finding against it, so its rate reads as prevalence: here is an issue our specs would prefer not to exist. The curator's drafting prompt carries that framing plus the judgment boundary — if you can write the check, write the check — so a mechanical cluster comes back held, a mixed one as its judgment half, and no draft restates the spec's rule.

Acceptance activates. One machine check runs before anything lands: spec traceability — the curator quotes the passage the category's norm lives in. Traceable, and the axiom is live under a random-minted permanent id, its derivation recorded. Untraceable, and the cluster is held with the honest instruction: the spec is incomplete — extend it, then re-curate. A category whose norm no spec states never starts counting.

Active, the axiom is a markdown file in .praxis/axioms/:

markdown
---
id: AX-b951db
version: 1
status: active
derived_from: src/services/README.md#behavior
introduced: 2026-09-02
---

Error messages written for the implementer, not the API consumer.

That is the whole file: frontmatter plus the statement naming the issue. The rule itself stays in src/services/README.md — derived_from records where the accepting human traced it — and the category's real examples are its labeled critiques, live in the ledger.

4. The label pass closes the loop ​

The reviewer never sees the axioms — it reads only the spec, and every critique still arrives raw; run and verdict output keep showing the reviewer's own words. But the next praxis axioms triage labels every recurring instance under AX-b951db, and the assignment is written to the ledger with its provenance (matcher). A matcher assignment is settled — it never re-enters a queue — but never final: praxis axioms reassign <critique-id> --to <axiom> re-decides any single label by hand, and when two axioms turn out to be one category, praxis axioms merge re-labels the evidence in one move. From then on reports speak in the category's accepted words:

praxis eval report --axiom AX-b951db

  ╭─ AX-b951db v1 ───────────────────────────────────────────────────────────╮
  │ status        ● active                                                   │
  │ derives from  src/services/README.md#behavior                            │
  │ introduced    2026-09-02                                                 │
  │                                                                          │
  │ Error messages written for the implementer, not the API consumer.        │
  ╰──────────────────────────────────────────────────────────────────────────╯

  ┌──────────┬─────────────────────────────────┬───────┬──────────┬───────────┬─────────┐
  │ REVIEWER │ CURRENT STOCK                   │ FILES │ PRE-SPEC │ POST-SPEC │ UNKNOWN │
  ├──────────┼─────────────────────────────────┼───────┼──────────┼───────────┼─────────┤
  │ flash    │ 3/41 (7.32%) (as of 2026-09-05) │ 3     │ 2        │ 1         │ 0       │
  └──────────┴─────────────────────────────────┴───────┴──────────┴───────────┴─────────┘

Representative critiques

src/services/rank-parlors.ts [flash] 20260905T120055686Z-539cf1af:6
  The error message 'invalid input' violates the specification's requirement that error messages must name what was wrong and what would be accepted instead.

This is what naming buys you: a failure mode with an id can never recur quietly again — every new instance is labeled, counted, and visible. Whatever triage can't confidently label lands in the curation queue for the next human curate session — today's raw critique is tomorrow's category. And because axioms never enter the review, activating one costs nothing: no cache invalidation, no re-review — the reviewer's question changes only when the spec does.

For a developer or an agent, the label is a link, not a lecture: praxis axioms show AX-b951db is the drill-down — the statement, the spec passage it derives from, and the category's labeled critiques as live examples — and the category reads identically every run, on every machine.

5. Now — and only now — you can count ​

A raw critique can't be charted: its wording varies by run and by reviewer. An axiom can. praxis eval report computes over the ledger (never calling a reviewer):

  • Rates with denominators, always — 3/41 (7.32%) violations per applicable opportunity, to two decimals; any cell under the small-n floor renders insufficient data, never a number.
  • One reviewer, one series — reviewers are separate instruments; their numbers are never pooled.
  • Populations — every count is qualified pre-spec / post-spec against the axiom's introduced date, so old debt is never dressed up as new failure. praxis debt report charts that pre-spec backlog honestly: baseline stock, paydown, who paid it down, where it concentrates.
  • Epochs — a reviewer's behavioral identity (config + prompt surface) is hashed onto every run. Change the model and you've changed the instrument: praxis announces the boundary, the next full run opens a new baseline, and no trend line crosses it.

The division of labor ​

ActorDoesNever does
ReviewerReads targets against specs; every critique arrives rawSees an axiom, or checks anything a linter could
CuratorLabels critiques at triage; clusters, drafts, and checks traceability at curateDecides — every activation is a human acceptance
YouAccept (which activates), deprecate, merge; judge critique validity in eval review; own the specsManage cache or ledger files by hand
The ledgerRemembers everything, append-only, in gitGets edited

See also ​

Built for teams that want both humans and AI agents to operate from the same knowledge.