Skip to content

praxis axioms ​

Axioms are the named, stable categories of recurring critique: a spec is prose for humans and the reviewer; axioms are the enumerable units metrics aggregate over. An axiom is a bucket, never a rule — the norm lives in the spec its derived_from points at; the axiom names the issue the reviewers keep finding against it. They are born from real critiques, accepted by a human at curate (where each is validated against the spec's own text), and carry durable identity — an id (AX- + 6 random hex, collision-safe across contributors and branches) that is never reused or renumbered. They live as markdown in .praxis/axioms/, committed like everything Praxis owns.

The lifecycle ​

LLM proposes, a human accepts — and acceptance activates. Reviewers produce raw critiques — the reviewer sees only the spec, never the axioms. triage labels recurring critiques under active axioms, so reports cite the same id and the same words every time; curate is the interactive session that clusters the unlabeled residue into drafts, and accepting a draft activates it after one machine check: the category's norm must trace to a spec passage. Removal is deprecation — history stays frozen.

Concretely, on Scoop Society: a week of runs produces the same complaint about five services' error messages. Triage — with no active axiom that matches — sends them to the curation queue; curate clusters them; you accept the drafted category, the traceability check pins it to src/services/README.md#behavior, and AX-b951db is live — "Error messages written for the implementer, not the API consumer." From then on triage labels every recurrence under the id, axioms show AX-b951db shows the statement, the spec passage the rule lives in, and the labeled critiques as live examples, and eval report --axiom AX-b951db charts it. The full walkthrough is The Evidence Loop.

The curator ​

Triage labeling and the curate session (traceability check included) run on the curator — a dedicated model configured beside your reviewers, worth pointing at a frontier model since it does the taxonomy's thinking:

json
"curator": {
  "model": "<model slug>",
  "apiKeyEnvVar": "OPENROUTER_API_KEY"
}

The curator organizes; you decide. Nothing it suggests takes effect without a human accepting it.

praxis axioms triage ​

The labeling pass — async, non-interactive, working the untriaged critiques only. The curator considers each one against every active axiom — 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 — one critique per call (temperature 0, a few in flight at a time, each verdict streamed as it lands), so no critique's verdict is biased by its neighbors or its position in a list. A critique squarely an instance of exactly one axiom gets a machine label — an assignment record whose provenance (matcher) reports carry; the assignment is settled, and when two axioms later collapse into one, praxis axioms merge re-labels the evidence. A no-match writes an unmatched record pinning the axiom set considered: the critique moves to curate's queue, and when the active set later changes it re-queues for triage automatically. An axiom id the curator invents is a failed call — the critique stays untriaged for retry. A project with no active axioms needs no calls at all: every critique is trivially unmatched against the empty set and goes straight to curate.

--dry-run proposes without writing. Without a curator configured, triage warns and defers — critiques simply stay pending; nothing is ever labeled silently.

praxis axioms curate ​

The deliberately interactive session, working only the unmatched residue — critiques triage considered against the current axioms and couldn't label. It refuses to start while any critique is still untriaged (exit 2, naming praxis axioms triage): the one still in triage's queue may be the one that completes a pattern, so curating past it is curating on partial evidence. A clean triage is the precondition. The curator groups the still-pending critiques per spec — identical texts deduped into one member with its duplicates counted, at most a cohort of ~30 distinct critiques per call, with the session's accepted proposals carried into later cohorts as fold targets — and suggests folding each cluster into an existing axiom (the session's own activations included), naming a new issue category, or holding it — no category emerges yet. You decide, cluster by cluster: [a]ccept / [s]kip / [r]eview; a decision on a deduped member applies to every duplicate behind it. A cluster the curator suggests holding asks a different pair — [h]old / [r]eview — because accepting and skipping a hold both write nothing and leave the critiques queued, so offering the choice implied a consequence it did not have. [r]eview is for a cluster that is not merely uncategorized but wrong — it holds the cluster exactly like a skip, writes nothing, and prints the ids ready to paste into praxis eval review --dismiss, which is the one command that judges validity.

Curate never dismisses. Every critique here is taken as valid evidence — validity is praxis eval review's question — so a held cluster writes nothing: its critiques stay unmatched and ride into the next session's cohort, where new critiques may complete the pattern. Critiques the curator leaves out of every cluster are named and held the same way; nothing falls through silently.

The guidance on what makes a good axiom is given where the draft is written: the curator's prompt carries the category framing — the statement names the observed issue ("Type definitions placed outside the feature's dedicated home"), never restates the spec's rule; one category covers one convention a team decides as a unit — plus the judgment boundary: if you can write the check, write the check. A mechanical cluster is suggested as held and a mixed one is drafted as its judgment half alone. Your acceptance is the decision, and acceptance activates. One machine check runs first: the category's norm must trace to a spec passage (recorded as derived_from). Traceable → the axiom lands active and the next triage labels against it — no cache effect, since the reviewer sees only the spec. Untraceable → the cluster is held with the honest instruction: extend the spec, then re-curate. A category whose norm no spec states never starts counting.

The waits are long, and the terminal says so. A clustering call reads a whole spec, up to thirty critiques and every active axiom, so 30-90 seconds is normal; the traceability check that runs the moment you accept a draft is another. While either is in flight, a line holds the terminal with a spinner and a clock counting up:

⣻ Clustering 30 critique(s) for src/services/README.md — 1:12

It repaints in place and disappears when the call lands, leaving nothing in the scrollback. The session names the cost once before the first call. Outside a terminal — piped, redirected, in CI, or under --yes in a script — there is no spinner and nothing on stdout.

Every assignment and activation is appended to .praxis/ledger/triage/ with full provenance — who decided, which model suggested. Scriptable with --yes (accept everything; recorded as such).

praxis axioms reassign <id> ​

reassign <critique-id> --to <axiom> is the per-critique human override: a matcher label that looks wrong, or evidence that belongs under a different category. A dismissed critique is refused — reinstate it with praxis eval review --reinstate first; invalid evidence is never categorized. The reverse also holds: a labeled critique that turns out to be untrue is dismissed with praxis eval review --dismiss — the label stays in the ledger beneath the dismissal, and reports recompute. The new assignment is appended and wins at read time — the prior record stays in the ledger beneath it. Browse ids with praxis eval critiques.

praxis axioms deprecate <id> · merge ​

deprecate <id> --reason "<why>" retires an active axiom: the file flips to deprecated, the reason lands in the ledger, and history stays frozen — the id and every record under it remain readable forever.

merge <ids...> --into <id> collapses over-split axioms — several near-twins dividing one category's evidence into separate rates. Every critique labeled under a merged-away axiom is re-labeled to the survivor (append-only: the prior label stays in the ledger beneath the merge record), the losers deprecate with the merge named, and the survivor's population clock moves to the earliest introduced among the merged. Reports recompute instantly — nothing is rewritten. A source may already be deprecated — a retirement that predates the merge left its evidence stranded under the dead id, and folding that history is exactly this command's job; only the survivor must be active.

Prevention runs ahead of the cure: the curate session offers every active axiom — the session's own activations included — as a fold target, so a cluster an existing category already names is suggested as an assignment rather than drafted as a twin.

praxis axioms list · show <id> ​

list is the store at a glance; show <id> is the drill-down every finding cites — the statement, the spec passage it derives from, and up to five of the category's labeled critiques as live examples (browse them all with praxis eval critiques --axiom <id>). Both take --json. When tooling catches up with an axiom — last year's judgment call is this year's lint rule — retire it with deprecate.

See also ​

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