Closes the documentation audit. All four lower-priority surfaces from the earlier scan now reflect the post-ADR-0110 reality. New: - docs/sessions/SESSION-2026-05-22-contract-layer-arc.md: full narrative of the ADR-0103 -> ADR-0110 arc, including the refused/amended/succeeded narrative, infrastructure bridges, and ledger state at session close. Pairs with the 2026-05-21 articulation-arc session log. Extended (additive, no rewrites): - docs/runtime_contracts.md: new 'Expert-Demo Promotion Contract (ADR-0106 + ADR-0109)' section. Surfaces ledger_report() shape, reviewer-yaml schema, lane-shape registry, replay invariant, fail-closed registry behavior, and trust boundary. - docs/eval_methodology.md: new 'Lane-shape registry (ADR-0109)' section. Documents what to do when adding a new eval lane: pick a shape or amend ADR-0109. Notes the holdout-runner gating (cases_plaintext.jsonl vs sealed). Header bumped to 2026-05-22. - docs/Whitepaper.md: new section XIII 'Evidence-Governed Domain Layer' between XII (Forward Semantic Control) and the Extensions/closing. Narrates the contract chain at the philosophical / external-reader level. The original §XIII becomes §XIV. - docs/Yellowpaper.md: new section XII 'Ratification Contract (ADR-0091 + ADR-0106 + ADR-0109)'. Formal specification of the nine predicates, the promotion predicate (with explicit logical form), the digest function, and the lane-shape registry table. The original §XII becomes §XIII. No code, no tests, no contract changes.
7.9 KiB
Session 2026-05-22 — Contract Layer Arc (ADR-0103 → ADR-0110)
Date: 2026-05-22
Owner: Joshua Shay (shay-j)
Pair: Claude (Opus 4.7)
Outcome: Evidence-Governed Domain Layer demonstrated end-to-end; first expert_demo promotion landed.
Arc summary
The session opened with three in-flight Codex-drafted PRs (ADR-0103 fluency-lane attachment, ADR-0104 curriculum-sourced proposals, ADR-0105 sealed-holdout encryption) needing reconciliation and merge. It closed with the entire ADR-0091 evidence-governed domain chain demonstrated end-to-end, the first reviewer-signed expert_demo promotion landed on mathematics_logic, and the docs backfilled to reflect the work.
Net merged: 15 PRs (106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121).
Chronological sequence
- Codex reconciliation (PRs #106 / #107 / #108). Fixed stale
curriculum_loop_closureSHA pin; corrected pyrage API misuse (Identity.from_str, notfrom_file); resolved README rebase conflicts. All three merged. - ADR-0106 — Expert-Demo Promotion Contract (proposed → accepted). Domain-aware, reviewer-signed, replay-deterministic gate. Closes the cognition-lane bleed at
core/capability/reporting.py:418. PRs #109 (proposed) + #113 (implementation). - ADR-0108 — Proposed-ADR sequencing (meta). Made the post-ADR-0105 frontier ordering explicit and revisable. PRs #111 + #112.
- ADR-0107 —
mathematics_logicexpert-demo deferred. First worked attempt at the new contract; honestly refused on two named blockers (metric-shape uniformity assumption +inference_closuresubstantively failing at 40%). PR #114. - ADR-0109 — Lane-shape-aware threshold amendment. Five shapes (
cognition_shape,accuracy_shape,inference_shape,refusal_shape,symbolic_logic_shape), 8 lane ids in the registry, unknown lanes fail-closed; cognition-shape thresholds preserved bit-identical. PRs #115 + #116. - PR #117 —
_CORRECTION_CUE_PREFIX_REguard. Investigation revealedinference_closurehad regressed from 100% to 40% between 2026-05-17 and 2026-05-22; root cause was the declarative-relation regex swallowing "Actually X precedes Y." into VERIFICATION instead of CORRECTION. Premise-emit path is gated on CORRECTION, so non-isrelations stopped producingPackMutationProposalrecords. - ADR-0110 —
mathematics_logicexpert-demo promotion. Surfaced and bridged a third transition gap (sealed-holdout dev-mode fallback files missing;fabrication_controlholdout cases absent; top-levelby_classnot folded into metrics). Signedexpert_demo_claimsentry added todocs/reviewers.yamlwith digest94d74781e103854230c1a71590e4df2287f5d2e87832f1c29b8ec4618853c04b. First domain atexpert_demo=true. PR #118. - ADR-0080 — Contemplation Loop Phase 1. Delegated to Codex during ADR-0107/0109 investigation; merged in parallel as PR #119. Read-only frontier-compare miner,
SPECULATIVE-only findings. - Documentation audit (#1 + #2). PR #120 fixed the README broken
evals/CLAIMS.mdlink and added an Evidence-Governed Domain Layer section. PR #121 backfilleddocs/PROGRESS.md+docs/capability_roadmap.mdwith Phase 6 plus retroactive coverage of ADR-0027..0089.
The contract demonstration narrative
ADR-0106's value is precisely that it can refuse. Two refusals happened in this session:
- First refusal (ADR-0107). The contract as written required cognition-pack-shape metrics uniformly across every attached lane. Math lanes produce
accuracy/all_pass_rate/by_class, notsurface_groundedness. The contract refused promotion by absence-of-key. This was the right answer; the wrong contract would have either silently failed-true or been mis-stretched to fit. - Amendment (ADR-0109). Lane-shape registry dispatches thresholds by shape. Unknown lanes fail-closed (introducing a new shape requires an ADR amendment, not a silent broadening). The amendment was small and self-contained because ADR-0106's other invariants (§1.1/§1.3/§1.4/§1.5) didn't need to move.
- First successful promotion (ADR-0110). Math passes the now-amended contract honestly. Public + holdout meet thresholds across all three attached lanes; signed claim digest reproduces byte-for-byte; production ledger shows
mathematics_logicatstatus=expert-demo.
The arc is intentionally visible. "ADR-0106 → refused → amended → succeeded" is the legibility upgrade.
Infrastructure bridges landed under ADR-0110 (not contract changes)
ADR-0107 named two blockers; ADR-0110 surfaced a third — the sealed-holdout transition gap. Three small bridges:
cases_plaintext.jsonldev-mode fallback copied intoevals/elementary_mathematics_ood/holdouts/v1/andevals/inference_closure/holdouts/v1/(matches ADR-0105 dev-mode convention exactly).- Authored 9
fabrication_controlholdout cases across all three refusal classes (phantom_endpoint,cross_pack_non_bridge,sibling_collapse) — the lane's holdout file had previously been empty. core/capability/reporting.py:_fetch_lane_splitfolds top-levelby_classinto the metrics dict sorefusal_shapesees a canonical layout regardless of lane-internal result-file shape.
These are not contract changes. ADR-0106 + ADR-0109 contract bodies are untouched.
Tests / invariants pinned
tests/test_adr_0110_math_expert_demo.py(4 cases): math at expert-demo, signed claim present, replay digest byte-equal, other domains unaffected.tests/test_lane_shape_thresholds.py(13 cases): lane-shape explicit, shape thresholds named, unknown lane fails closed, cognition shape unchanged under amendment, plus dead-shape and threshold-value gates.tests/test_expert_demo_contract.py::TestProductionLedgerPromotionsAreSignedOnly: rewritten from "no domain promoted" to "every promoted domain has a signed claim." Load-bearing invariant preserved.tests/test_correction_cue_prefix_routing.py(10 cases): pin the intent-classifier regression fix from PR #117 in both directions.tests/test_adr_0107_deferral.pyretired (deferral resolved by ADR-0110).tests/test_contemplation_loop.py(41 cases, Codex): pin Phase 1 read-only emission invariants.
Ledger state at session close
| Domain | Status |
|---|---|
mathematics_logic |
expert-demo ✓ (ADR-0110) |
physics |
reasoning-capable |
systems_software |
reasoning-capable |
hebrew_greek_textual_reasoning |
reasoning-capable |
philosophy_theology |
reasoning-capable |
What this session does NOT do
- Promote any domain other than
mathematics_logic. The other three ratified domains are eligible under the now-amended contract but each needs its own signed claim + promotion ADR. - Implement ADR-0084 (definitional layer) or ADR-0087 (rhetorical style axis). Both remain Proposed per ADR-0108 sequencing.
- Migrate from labeled
evidence_revision(adr-0110:reviewed:2026-05-22) to raw git-sha form. The labeled form is acceptable under ADR-0106; tightening to git-sha-only would be a future ADR amendment. - Replace the plaintext holdout dev-mode fallback with sealed encryption. The dev-mode fallback is acceptable per ADR-0105's own §"Dev-mode fallback preserved" clause.
References
docs/decisions/ADR-0103-fluency-lane-attachment-for-adr-0102.mddocs/decisions/ADR-0104-curriculum-sourced-teaching-proposals.mddocs/decisions/ADR-0105-sealed-holdout-encryption.mddocs/decisions/ADR-0106-expert-demo-promotion-contract.mddocs/decisions/ADR-0107-mathematics-logic-expert-demo-deferred.mddocs/decisions/ADR-0108-proposed-adr-sequencing.mddocs/decisions/ADR-0109-lane-shape-aware-thresholds.mddocs/decisions/ADR-0110-mathematics-logic-expert-demo-promotion.mddocs/decisions/ADR-0080-contemplation-loop.mddocs/reviewers.yaml(first signedexpert_demo_claimsentry)core/capability/expert_demo.pycore/capability/reviewers.pytests/test_adr_0110_math_expert_demo.py