Six layers, in depth.
Each layer answers one question an auditor will eventually ask — and each is an independent property with its own repository, tests, and license posture. What follows is the honest state of each one.
wherefore Shipped
The decision ledger. Six months from now, someone will ask why a guard, a magic number, or an odd special case exists. wherefore makes the answer recoverable instead of archaeological.
- Git-native storage. Reasons live as commit trailers and git notes — no external database, nothing to migrate, travels with every clone.
- Quoted or silent. A lookup returns a cited reason from the ledger, or exits "not recorded." It never synthesizes a plausible-sounding why.
- Anchored to code. Reasons attach to specific line ranges and are drift-tracked as the file evolves.
- Fleet-searchable. One command searches every repository's ledger at once when you remember the decision but not its home.
Why: sweep writes real `incorrect` rows on
horizon expiry — the view must never special-case
time, or replay breaks.
— recorded 2026-07-09 · anchored, drift-tracked
$ why show src/engine/retry.ts:18
not recorded (exit 2 — the ledger never guesses)
pandect Live
Legal and compliance rules as cited, versioned, dated data — served as an API, with a fail-closed machine-audit pipeline standing behind every rule. The model is never the source of a rule.
- 679 rules in production. Consumer-protection and legal rules served live at pandectai.com, each carrying its citation and jurisdiction.
- Fail-closed audit. Every rule is source-audited with verbatim anchoring: the quoted rule text must match the controlling source, or the rule fails.
- The machine ceiling. Automated audit promotes a rule to "needs review" at best. Trust-class promotion beyond that requires human attestation — models cannot self-certify.
- Wave-scale throughput. 418 rules machine-audited in a single orchestrated wave, with resumable manifests and per-rule audit trails.
- Independent cross-review. Audited rules can be sent to external models for blind adversarial review, with structured verdicts recorded in the trail.
- Computable downstream — Nexus. The corpus compiles into machine-executable deadline and amount specs, each pinned to its rule by content hash and verified against a live evaluator. nexus-isonomia.vercel.app ↗
source Cal. Civ. Code § 1950.5(g)(1)
anchor verbatim ✓ effective 2024-07-01
machine needs_review (ceiling — by design)
cross-review 2 external models · concur
promotion awaiting attorney attestation
rulecore Shipped · verticals dry-run
A deterministic compliance engine with a typed boundary around AI. The pipeline is Intake → Assist → Gate → Engine → Guard → Audit — and the types make the safety property structural, not procedural.
- AI is boxed at the type level. The model can only ever return Suggestion<T>. Nothing downstream accepts it.
- One path to real. Only an authorized human review converts a suggestion to Reviewed<T> — the sole input the engine takes.
- Deterministic core. No clock, no randomness, no I/O inside the engine. Every decision reproduces exactly from (ruleset version, table version, inputs).
- Dry-run by default. Real-world effects — bind, transmit, file, release — execute only with a logged, explicit live token.
- Deterministic money math. Dollar amounts never touch floating-point arithmetic — replay requires exact, not approximate.
- Immutable audit. Every stage emits content-hashed, tamper-evident events.
extract(doc) → Suggestion<Wage>
gate.review(s, who) → Reviewed<Wage> // human, logged
engine.decide(r) → Decision // pure, replayable
guard.execute(d) → DRY-RUN // default
guard.execute(d, LiveToken) → LIVE // logged
touchstone · groundwork · claimcheck Shipped
Prove it or break it. Three instruments at three altitudes, sharing one rule: a verdict is computed from executed, hash-sealed evidence — never from a model's opinion of itself.
- touchstone — the general engine. Plans checks, executes them in a controlled runner (the model never touches the shell), and gates on sealed evidence. Ships claim-batch@0, an open interchange format for anchored claims.
- groundwork — the zero-dependency grounding library. Deterministically verifies that quotes, amounts, and dates appear verbatim in their source. No LLM in the loop at all.
- claimcheck — the drift scanner. Reads what your docs claim (commands, flags, behaviors) and checks it against what the code actually defines. MIT-licensed.
- UNVERIFIABLE is a verdict. A claim that can't be checked is flagged as unverifiable — never quietly passed, never falsely refuted.
[1] "43 tests pass" SUPPORTED exit 0, executed
[2] "README cmd runs" REFUTED script undefined
[3] "quote matches source" SUPPORTED verbatim ✓
[4] "faster than v1" UNVERIFIABLE no anchor — flagged
evidence sealed · sha256 · replayable
agent-exchange · proof-layer Shipped · prototype
One cryptographic atom, applied consistently: Ed25519 signatures over canonical JSON, hash chains and Merkle trees, offline public-key verification. Timestamps are passed in and signed — never read from a clock you'd have to trust.
- Identity is a public key. In agent-exchange, an operator is its Ed25519 key — twelve packages, an identity registry, and a Merkle transparency log with a standalone verifier.
- Cross-language parity. TypeScript and Python implementations are held to byte-identical signatures by parity tests.
- Signed media manifests. proof-layer verifies content as MATCH, TAMPERED, or UNSIGNED — and documents its own current gaps (identity binding, trusted timestamps) rather than papering over them. Prototype status, labeled as such.
- Verify without us. Every artifact checks out from hashes and public keys alone — no API call to our systems, no trust in our uptime or our word.
signature VALID
merkle path VALID (log root 03ef…c884)
canonical VALID (deterministic JSON)
verified offline — no network, no trust required
aletheia Live
The outcome ledger — the ground truth every other layer answers to. Systems emit claims about the future; reality gets observed; resolution rules decide who was right. Calibration becomes a measurement, not a marketing sentence.
- Append-only, enforced in the database. Updates and deletes raise errors at the trigger level. History cannot be edited, only extended.
- Hash-chained. Every event links to its predecessor; a verifier walks the chain and flags tampering or gaps deterministically.
- Bitemporal. When it happened and when we learned it are recorded separately — so hindsight can't be laundered into foresight.
- Three verbs only. Emit, observe, resolve. The ledger stores references and hashes, never copies — and computes nothing about law or scoring.
- Already in use, not hypothetical. External systems write real claims to the ledger in production today.
metric hit_rate base n
checkout-conv-14d measured, not asserted
outbound-reply-21d measured, not asserted
grouped by engine + watch_version · median TTO
chain verify: OK — 0 gaps, 0 tamper flags
"The verifier must stay independent of the verified. So the layers share formats — never code, never a database, never a deployment."