core/docs/plans
Shay c3b4d045f1 feat(adr-0243): flagship cognitive_lifecycle.py — ingress/relax/egress, Tier-2 off-serving
Implements ADR-0243 §2 honestly per the plan's deviations ledger, correcting
the §3 sketch's three pinned defects (SD-A/B/C):

- Ingress delegates superposition to sensorium_wave_feed, normalizes once at
  the owned construction boundary (D-3).
- Relaxation is the imaginary-time semigroup psi <- normalize(exp(-(H-lam0)*dt)*psi)
  (D-1) with a certified, never-assumed convergence certificate (D-2): exact
  ground energy, achieved Rayleigh energy, eigen-residual, spectral gap, and a
  psi_digest binding the certificate to the exact state it certifies.
- Two checkable problem domains: quadratic_well (convex target-decoding) and
  propositional (Cl(4,1) blade lattice = assignment lattice of <=5 atoms;
  diagonal penalty Hamiltonian; entailment via UNSAT(premises & !conclusion)
  scored against independent truth-table gold).
- Egress composes unit-amplitude-density + certificate-binding + versor
  closure (routes, does not admit, per the dual of SD-A) + ADR-0006 energy
  classes + E0/E1 crystallization policy. Cold states emit a
  CrystallizationProposal (epistemic_status pinned SPECULATIVE by the type;
  D-5/I-03) — never a vault write.
- Quarantined off-serving (A-04): lazy barrel export, banned in the
  transitive subprocess probe and the cohesion AST suite.

Adversarial verification (finder/verifier workflow; most verify agents lost
to a session limit, every surviving finding reproduced in-tree before acting)
surfaced and this closes two real defects beyond the plan text:

- egress_gate admitted any unit state paired with any converged certificate
  from an unrelated run, so CrystallizationProposal could package a foreign
  psi_digest next to an unrelated certificate_id as false provenance. Fixed
  by binding the certificate to its state (psi_digest) and refusing mismatches
  (certificate_state_mismatch).
- A state with a spectral gap below the requested tolerance could certify
  with ZERO ground-space overlap (energy window alone can't resolve it).
  Certification now also requires the excited weight (E-lam0)/gap <= tol
  (refusal spectral_gap_below_tolerance), and the degeneracy cluster is
  capped at the acceptance window so certificates report the honest
  rate-limiting gap instead of absorbing a hairline split.

38 tests (31 original + 7 hardening: certificate-binding must-reject,
gap-refusal + true-ground pair, dense-branch (eigh) refusals, iterate-collapse,
Hamiltonian/egress shape must-rejects, E2 hold route, hardcoded canonical
entailment verdicts independent of the gold function's code shape).

[Verification]: lifecycle+pins+cohesion+transitive 58 passed; in-worktree
smoke 176 passed (131s); fast lane 11750 passed, 108 skipped (574s, exit 0).
2026-07-17 06:19:33 -07:00
..
adr-0241-0242-mastery-close-status.md docs(adr-0243): commit ADR-0243 + implementation plan, pin sketch defects 2026-07-16 21:53:20 -07:00
adr-0241-0242-session-completion-summary-2026-07-15.md docs(governance): RATIFY — ADR-0241 and ADR-0242 → Accepted (Joshua Shay, 2026-07-15) 2026-07-15 15:25:47 -07:00
adr-0241-cohesion-mastery-plan-p0-p12.md docs(plans): archive Plan A/B + session completion summary (W2) 2026-07-15 12:49:00 -07:00
adr-0242-drive-complete-plan-d0-d10.md docs(plans): archive Plan A/B + session completion summary (W2) 2026-07-15 12:49:00 -07:00
adr-0243-implementation-plan.md feat(adr-0243): flagship cognitive_lifecycle.py — ingress/relax/egress, Tier-2 off-serving 2026-07-17 06:19:33 -07:00
audio-compiler-eval-plan.md chore: Refactor CLI and Governance Anchors (#926) 2026-07-03 12:34:56 -07:00
audio-compiler-spec.md chore: Refactor CLI and Governance Anchors (#926) 2026-07-03 12:34:56 -07:00
capability_roadmap.md Lane 4: Registry Consolidation (language_packs to packs) 2026-07-04 15:11:28 -07:00
core-general-advancement-plan.md docs(plan): add CORE general advancement path (#314) 2026-05-26 18:32:08 -07:00
DEMO-PACKAGING-CHECKLIST.md docs: reorganize docs landscape 2026-06-30 16:59:36 -07:00
formation_pipeline_plan.md chore: Refactor CLI and Governance Anchors (#926) 2026-07-03 12:34:56 -07:00
PUBLIC-DEMO-ROADMAP.md docs: reorganize docs landscape 2026-06-30 16:59:36 -07:00
vision-compiler-eval-plan.md chore: Refactor CLI and Governance Anchors (#926) 2026-07-03 12:34:56 -07:00
vision-compiler-spec.md chore: Refactor CLI and Governance Anchors (#926) 2026-07-03 12:34:56 -07:00