core/docs/analysis
Shay a1bdaa2ce5
feat(determine): consolidate declared relational transitive CLOSE facts (#788)
* test(determine): cover relational transitive CLOSE consolidation

- extend with rel_pack + _tell_rel/_ask_rel/_rel_facts helpers using comprehend_relational for strict-order facts
- positives: less_than(a,b)+less_than(b,c) -> consolidate less_than(a,c); before_event same; greater/after covered
- derived record shape: .derived=True, epistemic_status="speculative", derivation.rule="transitive", .verdict="entailed", premise_structure_keys from verified grounds
- direct recall (_rel_facts sees it) + determine() answers directly post-consolidate
- multi-hop climb: p(a,b) p(b,c) p(c,d); tick1 adds a-c/b-d; tick2 adds a-d; fixed point no-op
- negatives/wrong=0: parent_of/sibling_of/left_of chains refused (no derive, Undetermined); inverse mix (less+greater) does not leak; TRANSITIVE_PREDICATES set pinned to exactly the four declared; member/member fallacy test untouched
- existing is-a (member/subset) and idle_tick tests remain green

TDD: tests added first (RED observed), impl followed to GREEN. Targeted consolidation/relational/invariants pass.

* feat(determine): consolidate declared relational transitive derived facts

- import TRANSITIVE_PREDICATES and _relational_transitive (narrow reuse of Phase C verifier)
- add _relational_transitive_one_hop_candidates(ctx): for p in TRANSITIVE only, direct 2-hops p(a,c) from realized p(a,b)+p(b,c), no reflexive (a==c), dedup vs existing, same-pred only (no inverse/symmetric/cross-predicate), deterministic sort
- consolidate_once: recall member/subset as before + rel_cands via new helper; unify + global (predicate,subject,object) sort for determinism independent of recall
- processing loop: if predicate in TRANSITIVE_PREDICATES: det = _relational_transitive(...) ; if not Determined continue; realize_derived(..., rule="transitive", premise_structure_keys from det.grounds) ; else: original _verify_subsumption + _RULE...
- verification mandatory before any write (candidate construction insufficient); realize_derived produces SPECULATIVE record with replayable derivation metadata
- budget: per-p _TRANSITIVE_EDGE_BUDGET enforced inside the reused verifier (safe no-write on over); is-a subset budget unchanged
- no change to member/subset paths or _one_hop sig for is-a; member∨member fallacy structurally unreachable as before
- wrong_total=0, INV-30 (open-world, no answer=False), only the four declared preds, no FrameVerdict, no corpus/ratified mutation

Extends CLOSE (Step D) to climb declared relational transitive substrate (Phase C) exactly as specified. Existing subsumption behaviour preserved.

* docs(determine): document relational CLOSE extension + capability-slice PR workflow

- Extended the canonical "Idle consolidation (Step D — CLOSE)" section in runtime_contracts.md to name the new declared relational transitive support (less_than/greater_than/before/after) while re-stating every existing contract (SPECULATIVE honesty, wrong=0 by verifier, replayable provenance, session-only, no COHERENT, no parallel path, etc.).
- Added dated analysis note docs/analysis/close-relational-transitive-pr1-2026-06-16.md: the reusable, organized record of (a) what PR-1 delivered, (b) full evidence, (c) the 3-PR sequence with wait conditions, (d) exact branch/worktree starting discipline (clean origin/main reconcile + force-fresh feat/ creation to avoid hygiene mix), (e) finishing/PR discipline (logical slices, 9-section report format), and (f) the documentation obligation when design/capability changes land.
- Tiny accurate cross-ref in root README.md near the learning-loop demo (high-level only; contract details live in runtime_contracts.md).

This satisfies the "properly update README.md's / documentation etc." rule for a design/capability extension. The note itself is the "solid organized, clean plan" for future slices.
2026-06-16 15:15:59 -07:00
..
adr-0184-replay-provenance-equivalence-harness-2026-06-10.md test(derivation): add ADR-0184 semantic replay equivalence harness 2026-06-10 14:35:22 -07:00
adr-0184-s3-s5-candidate-source-boundary-2026-06-10.md feat(derivation): define semantic-ledger candidate source boundary 2026-06-10 13:17:53 -07:00
afferent-field-ingest-scope-2026-06-15.md feat(l10): autonomous idle frontier-contemplation — the always-on life learns on its own (#758) 2026-06-14 23:59:49 -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
AGI-spine-refined-sequencing-2026-06-06.md work done towards furthering comprehension, contemplation, learning, and also began working on fixing some failing tests 2026-06-16 12:27:59 -07:00
ask-runtime-wiring-missing-boundary-2026-06-10.md docs(ask): document missing runtime ASK provider boundary 2026-06-10 09:23:04 -07:00
ask-serving-integration-scoping-2026-06-08.md docs(epistemic): scope ASK and VERIFIED serving gates 2026-06-08 22:22:35 -07:00
ask-serving-integration-scoping-2026-06-09.md docs(epistemic): tighten pass_manager scoping wording and use relative links 2026-06-09 09:26:49 -07:00
b4-frameverdict-implementation-lookback-2026-06-15.md feat(frame-verdict): closed-world FrameVerdict substrate — PR-1..4 + hardening (ADR-0222 B4) (#787) 2026-06-16 06:23:03 -07:00
close-relational-transitive-pr1-2026-06-16.md feat(determine): consolidate declared relational transitive CLOSE facts (#788) 2026-06-16 15:15:59 -07:00
cmb-a-combined-rate-ruler-2026-06-08.md feat(combined-rate): CMB-a — combined-rate setup ruler (model + gold + oracle) 2026-06-08 06:58:17 -07:00
cmb-lookback-review-2026-06-08.md docs(cmb): lookback review + fix single-agent-attribution hygiene hazard (H3) 2026-06-08 13:27:17 -07:00
combined-rate-capability-ledger-2026-06-08.md docs(comprehension): freeze combined-rate (R4) v1 — capability ledger + non-claims (CMB-e) 2026-06-08 14:13:39 -07:00
composition-capability-scope.md
composition-wall-execution-plan-2026-06-03.md
comprehension-capability-ledger-2026-06-07.md docs(comprehension): whole-system organ capability ledger + fix ADR-0211 number collision 2026-06-08 06:15:51 -07:00
comprehension-coverage-wall-map-2026-06-14.md docs(analysis): wall map — the recognizer/coverage wall is COMPOSITION 2026-06-14 15:10:30 -07:00
comprehension-organ-capability-ledger-2026-06-08.md docs(comprehension): freeze combined-rate (R4) v1 — capability ledger + non-claims (CMB-e) 2026-06-08 14:13:39 -07:00
comprehension-primitive-inventory.md
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
E-estimation-design-2026-06-06.md feat(determine): calibrated disclosed estimation — the engine earns the right to guess (Step E) 2026-06-06 13:49:07 -07:00
epistemic-coherence-architecture-2026-06-14.md docs(analysis): finding — speculative epistemic ceiling does NOT blunt learning 2026-06-14 14:58:10 -07:00
extraction-richness-audit-2026-06-03.md
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
holonomy-resonance-proof-not-robust-2026-06-14.md fix(holonomy): downgrade non-robust resonance proof to honest tripwires + record finding 2026-06-14 14:06:51 -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
math-serving-seam-design-2026-06-06.md feat(derivation): math-serving reach seam — select_self_verified is policy-aware (ADR-0206 §5) 2026-06-06 15:46:14 -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
proposal-review-idle-integration-2026-06-08.md docs(proposal-review): idle-integration boundary ledger (IT-c) 2026-06-07 22:33:17 -07:00
proposal-review-reporter-2026-06-07.md docs(proposal-review): boundary ledger — read-only reporter, not idle_tick, not L10 (RPT-d) 2026-06-07 21:44:07 -07:00
q1-d-ask-bus-delivery-scoping-2026-06-08.md docs(epistemic): record accepted Q1-D delivery decisions 2026-06-09 09:16:24 -07:00
q1-epistemic-question-articulation-v1-scoping-2026-06-08.md docs(scoping): epistemic disclosure bus (Stage 2 / VERIFIED v1) + Q1 question-articulation briefs 2026-06-08 14:53:47 -07:00
question-layer-gap-survey.md
r1-inventory-ledger-2026-06-07.md feat(comprehension): inverse reader frame — base of a more/fewer-than (PR-7b / R2 C0) 2026-06-07 07:06:26 -07:00
r2-inventory-ledger-2026-06-07.md docs(comprehension): whole-system organ capability ledger + fix ADR-0211 number collision 2026-06-08 06:15:51 -07:00
r3-1-router-integration-2026-06-08.md feat(contemplation): wire R3 into the multi-organ router + pass manager (R3.1) 2026-06-08 02:05:34 -07:00
r3-2-unit-conversion-2026-06-08.md feat(rate): exact time-unit conversion for single-rate (R3.2b-e) 2026-06-08 05:43:51 -07:00
r3-rate-inventory-ledger-2026-06-08.md feat(rate): R3 inventory ledger + failure-family wiring (R3e) 2026-06-07 23:12:23 -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
replay-moment-backend-scoping-2026-06-12.md feat(workbench): sealed single-turn replay backend — GET /replay/{turn_id} (Wave R3) 2026-06-12 17:15:39 -07:00
router-organ-hygiene-invariant-2026-06-08.md test(contemplation): standing router-organ-hygiene invariant 2026-06-08 05:28:06 -07:00
solver-operation-coverage.md
stage2-disclosure-bus-implementation-map-2026-06-09.md docs(stage2): map disclosure-bus implementation state and next slices 2026-06-09 11:32:00 -07:00
stage2-epistemic-disclosure-bus-verified-v1-scoping-2026-06-08.md docs(scoping): lock VERIFIED as a distinct disclosure mode, not APPROXIMATE (review fix) 2026-06-08 15:00:38 -07:00
step3-relational-surface-lookback-2026-06-15.md docs(analysis): Step-3 relational-surface lookback (#775 + #781 + #783) (#784) 2026-06-15 16:56:03 -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
VERIFIED-canonical-comparison-scoping-2026-06-06.md docs(analysis): VERIFIED producer — validate-first verdict is DO NOT BUILD (comprehension-bound) 2026-06-06 16:09:41 -07:00
verified-serving-wiring-scoping-2026-06-08.md docs(epistemic): scope ASK and VERIFIED serving gates 2026-06-08 22:22:35 -07:00
verified-serving-wiring-scoping-2026-06-09.md docs(verified): scope serving-time verification gate 2026-06-09 09:41:34 -07:00
wiring-promotion-gate-brief-2026-06-03.md