core/docs/analysis
Shay 8edafd04ac feat(determine): idle deductive consolidation — the loop learns from determined facts (Step D)
CLOSE the autonomous-loop spine: when idle, the engine consolidates each
soundly-derived determination back into the held self, so the next determine()
reaches it directly and can chain one hop further. The directly-answerable set
climbs monotonically across idle ticks to the deductive-closure fixed point.

Mechanism — generate/determine/consolidate.py::consolidate_once runs ONE
semi-naive layer of the member/subset deductive closure (member∘subset → member,
subset∘subset → subset; NEVER member∘member — instance-of is not transitive).
Each one-hop conclusion not yet realized is VERIFIED by the sound+complete
proof_chain ROBDD (reusing C's single verifier _verify_subsumption) and written
back via generate/realize::realize_derived as a SPECULATIVE realized record
carrying derived-provenance (premise structure_keys + rule + the ENTAILED
verdict). idle_tick gains a consolidation pass gated by the new
config.consolidate_determinations (default OFF); IdleTickResult.facts_consolidated
reports the layer.

Invariants held:
- wrong=0 — every consolidated fact is a sound-rule conclusion confirmed by the
  sound+complete decider; member∘member is structurally unreachable (a member fact
  is only ever extended by a subset edge). _verify_subsumption now refuses a
  mislabeled/wrong-arity path (belt-and-suspenders now that consolidation is a
  second caller), so the fallacy cannot be laundered through a corrupted chain.
- honesty — a fact derived from SPECULATIVE premises stays SPECULATIVE / as-told;
  the soundness of the inference never upgrades the standing of the premises.
  COHERENT is never minted.
- teaching-safety — SESSION memory (immediate), an extension of the realize path;
  NOT corpus mutation and NOT coupled to proposals. The HITL path is untouched.
- determinism/replay — pure function of the realized set; sorted write order;
  derived structure_key identical to a told fact's; provenance round-trips through
  the Shape B+ snapshot (consolidated facts resume the SAME life across reboot).
- no new normalization — writes reuse the INV-21-allowed vault writer;
  algebra/versor.py keeps closure.

Falsification — evals/determination_closure: a frozen replay seeds a deep is-a
chain and runs idle ticks; asserts the closure climbs monotonically to a complete
fixed point (no-op final tick), wrong=0 (member∘member canary never derived, no
fabricated membership), all derived facts SPECULATIVE, and every derived record
re-verifies ENTAILED from its recorded premises.

Verified green: smoke, runtime, cognition, architectural invariants, plus the new
D unit + lane tests and the determine/realize/persistence regression net. Five-lens
adversarial review: 4 lenses held; the 5th (normalization) was a misattribution
(pre-existing vault reproject, triggered identically by the merged realize path,
on sanctioned null-vector storage). Design + findings: docs/analysis/
D-close-consolidation-design-2026-06-06.md.
2026-06-06 12:28:09 -07:00
..
AGI-candidacy-autonomous-improvement-roadmap-2026-06-05.md docs(design): L10/L11 lived-spine design records + AGI-candidacy roadmap 2026-06-05 15:11:08 -07:00
composition-capability-scope.md docs: mark ADR-0174 Phase 5a shipped in composition-capability-scope 2026-06-03 16:23:53 -07:00
composition-wall-execution-plan-2026-06-03.md feat(r4): flip cv-0005 to serving — train_sample 6/44/0 -> 7/43/0 (ADR-0207 §5 step 2) 2026-06-03 22:20:12 -07:00
comprehension-primitive-inventory.md Add canonical composition analysis docs 2026-06-03 15:35:58 -07:00
D-close-consolidation-design-2026-06-06.md feat(determine): idle deductive consolidation — the loop learns from determined facts (Step D) 2026-06-06 12:28:09 -07:00
deductive-logic-phase-2-benchmark-runway-2026-06-04.md docs: session record (2026-06-04) + mark runway PR-1/PR-2 shipped 2026-06-04 16:54:03 -07:00
extraction-richness-audit-2026-06-03.md docs: ratify ADR-0207 — GSM8K comprehension/composition substrate 2026-06-03 19:42:47 -07:00
field-reasoner-wedge-design-and-falsification-2026-06-04.md docs: field-reasoner wedge design + falsification dossier 2026-06-04 19:22:16 -07:00
field-wedge-ablation-result-2026-06-04.md feat(field-wedge): ablation verdict — field is decoration on additive (C3) (Phase W.2) 2026-06-04 19:44:22 -07:00
gsm8k-lift-program-strategy-2026-06-04.md fix(gsm8k): disable unsound serving bridges — restore sealed wrong=0 (0/5 -> 0/0) 2026-06-04 01:55:05 -07:00
L10-continuity-spike-design-2026-06-05.md docs(design): L10/L11 lived-spine design records + AGI-candidacy roadmap 2026-06-05 15:11:08 -07:00
L10-runtime-scoping-2026-06-05.md docs(design): L10/L11 lived-spine design records + AGI-candidacy roadmap 2026-06-05 15:11:08 -07:00
L10-shapeBplus-persistence-scope-2026-06-05.md docs(design): L10/L11 lived-spine design records + AGI-candidacy roadmap 2026-06-05 15:11:08 -07:00
oov-grounding-determinism-morphology-affinity-collapse.md fix: derive oov grounding from token content 2026-06-06 05:46:01 -07:00
phase2-general-comprehension-organ-scope-2026-06-05.md docs(analysis): Phase 2 spike — syntax pack is not a parser; structural-decode fork 2026-06-05 15:41:36 -07:00
pivot-to-deductive-logic-2026-06-04.md feat: ratify independent-gold invariant (INV-25) + SHA-pin deductive lane 2026-06-04 15:56:28 -07:00
question-layer-gap-survey.md Harden no-reference n-times comparative guard 2026-06-03 15:22:42 -07:00
real-gsm8k-capability-measurement-2026-06-04.md docs: fourth lift attempt falsified (strict sum-reader 0/2) — exhaustive 2026-06-04 02:52:24 -07:00
REALIZE-R1-DETERMINE-scope-2026-06-06.md fix(realize): lookback hardening — defensive admissibility re-assertion + coverage 2026-06-06 06:31:54 -07:00
REALIZE-scope-2026-06-06.md docs(analysis): REALIZE phase scope (Step 3) — verified against the real substrate 2026-06-06 01:48:19 -07:00
relational-grounding-extension-2026-06-04.md feat(deductive): binary relations + multi-variable grounding (finite propositional) 2026-06-04 20:17:33 -07:00
solver-operation-coverage.md Harden no-reference n-times comparative guard 2026-06-03 15:22:42 -07:00
universal-structure-and-field-symbol-coherence-gate-2026-06-04.md feat: Phase 2 — finite-entity grounding compiler + Phase 1.5 finding 2026-06-04 16:32:03 -07:00
wiring-promotion-gate-brief-2026-06-03.md docs: composition-wall execution scope (ADR-0207 §5 step 2) 2026-06-03 21:14:02 -07:00