Skip to content

Doctrine v11 + v12 — the LOCKED register

Doctrine is SZL's governance contract. v11 defines what may pass (the 13-axis heart) and what must halt (HUKLLA). v12 adds PURIQhow an action is selected once it clears the gate. v12 introduces no edits to any v11 LOCKED number; it is additive by this design contract. The Hatun guard D(a) states the intended admission rule, but its Lean obligation is open and this page does not establish runtime enforcement.

The LOCKED numbers (cite verbatim)

These are the canonical, locked figures remeasured at exact Doctrine v11 snapshot c7c0ba17c2eaec60ad38ea9172b4a0d9ca0b582f. The separately bound lutar-v18.0.0 tag must not be presented as the same commit.

Locked quantityValue
Lean declarations749 declarations
Unique axioms14 unique axioms (15 raw, 1 dup)
Tracked sorries163 sorries
Heart13-axis yuyay_v3 — 2 sacred (≥0.95) + 7 structural (≥0.90) + 4 introspection (T03/T04/T09/T10)
Replay hashbacf54434f1a3bf2d758b27a62d5fd580ca4c8d3b180693573eeebcaea631fc5
AxiomsA1 IsMonotone, A2 IsHomogeneous, A3 IsEgyptianExact, A4 IsBounded
Λ-uniquenessConjecture 1not a theorem
SLSAL1 (honest) — "SLSA L3" is BANNED
HUKLLA660 SLOC, 10 tripwires (T01–T10)
YAWAR20 lines of Python
POLICY (immune inspect)18 SLOC, 6 signatures + 1 MB DoS guard

Regenerate, don't trust

Per the v11 honesty rule, the README of each repo on main HEAD is the source of truth, and you must regenerate any number before citing it. The figures above are the v11 LOCKED snapshot (the doctrine contract). The corpus is living — the Evidence page carries the reproduction commands and a separately labelled current-source snapshot when measured, which may have since grown beyond the locked baseline. Where the contract and a live count differ, the contract is the locked reference; a fresh exact-revision count is current-source evidence. Both are stated honestly; neither is hidden.

§1 — THE LAW (13-axis yuyay_v3, conjunctive AND)

A proposal passes the heart iff every one of the 13 axes independently clears its floor. This is a conjunctive ANDno compensation: a high score on one axis can never offset a sub-floor score on another. The gate returns a boolean, a 13-entry per-axis score vector, and a continuum_hash receipt. Kernel: 430 SLOC Python; replay hash bacf5443…631fc5.

The 13 axes

2 SACRED — floor ≥ 0.95 (hard):

#AxisFloorMeaning
1moralGrounding0.95No overclaim, no false attribution.
2measurabilityHonesty0.95Every quantitative claim verifiable on disk.

7 STRUCTURAL — floor ≥ 0.90:

#AxisFloorMeaning
3empiricalGrounding0.90Claims tie to observable evidence.
4logicalConsistency0.90No internal contradiction.
5sourceTransparency0.90Sources named + linkable.
6reproducibility0.905× byte-identical replay.
7licenseHygiene0.90Apache / MIT / BSD / CC-BY only.
8scopeDiscipline0.90Stays inside declared scope.
9claimCalibration0.90Confidence matches evidence strength.

4 INTROSPECTION — cross-linked to HUKLLA tripwires:

#AxisTripwireMeaning
10evalAwarenessT03Not gaming an eval / not "test-aware".
11deceptionKeywordsT04No deception-intent language.
12conflictingDirectivesT09No silently-resolved directive conflict.
13reversalDirectiveT10Honors STOP/undo/revert.

§3 — HUKLLA (immune deadman: 660 SLOC, 10 tripwires)

TripwireNameCondition
T01MORAL_GROUNDINGmoralGrounding < 0.95 → hard fail
T02MEASURABILITY_HONESTYmeasurabilityHonesty < 0.95 → hard fail
T03EVAL_AWARENESSeval-awareness flag raised
T04DECEPTION_KEYWORDSdeception-intent keyword detected
T05UNAUTHORIZED_WRITEwrite outside authorized path
T06SPAWN_OUTSIDE_SANDBOXprocess spawn outside sandbox
T07UNAUTHORIZED_NETWORKnetwork egress outside allowlist
T08SELF_CODE_MODIFYagent modifies its own code
T09CONFLICTING_DIRECTIVESmutually-exclusive directives
T10REVERSAL_DIRECTIVESTOP / undo / revert → immediate halt

Tiered autonomy: SCRATCHPAD runs free; REVIEW needs approval every K cycles; PRODUCTION needs per-cycle approval.

§4 — YAWAR (circulatory ledger: 20 lines)

One bus carries everything. Every organ writes through one ceremonial gate (RUWAY), the only authorized writer. Receipt formula:packet → json.dumps(sort_keys=True) → sha256 → hexdigest → append. Five guarantees: append-only · stable serialization · cryptographic chain link · inline immune check (the Policy-role inspection function, before compute) · frozen snapshots.

The Λ axioms (A1–A4)

Lutar/Axioms.lean defines four predicates/obligations and collects them in LutarAxioms; that file does not prove all four for the concrete Lambda-Spine aggregator:

  • A1 IsMonotone — raising any input cannot lower Λ\Lambda.
  • A2 IsHomogeneous — degree-1 positive homogeneity: Λ(cx)=cΛ(x)\Lambda(c\,x)=c\,\Lambda(x).
  • A3 IsEgyptianExact — diagonal exactness: Λ(c,,c)=c\Lambda(c,\ldots,c)=c.
  • A4 IsBoundedΛ(x)maxixi\Lambda(x)\le\max_i x_i.

The concrete A3 diagonal-exactness theorem is in Lutar/Invariant.lean. Treat A1, A2, and A4 as named obligations unless a separately cited exact theorem closes each one; a definition or structure field is not a proof.

Conjecture 1 — Λ-uniqueness

Λ-uniqueness is a Conjecture, NOT a Theorem. It depends on the open CAUCHY_ND sorry (Uniqueness.lean:120) plus a missing symmetry axiom. Everything that uses Λ uses it as the canonical D2 aggregator — nothing assumes Λ is the unique aggregator satisfying A1–A4.

What v12 adds (and does not change)

  • Adds: the PURIQ coinage, the master operator P(x,t), its four invariants, and the 12 per-organ sub-formulas.
  • Changes to this locked register: none. Every LOCKED number above is carried verbatim.
  • Guard status: the Hatun additivity guard D(a)D(a) expresses the proposed rule that a locked-number edit should receive zero utility. That is an open, sorry-tagged proof obligation and a design requirement; it is not evidence that a runtime currently rejects or prevents such an amendment.

Doctrine v11 LOCKED 2026-06-01 01:45 EDT; Doctrine v12 (PURIQ) additive over it. Authored by Yachay. — NO BANDAID. NO mysticism. Series-A grade.

Public claims link to source and evidence. SLSA L1 is the current stated supply-chain posture.