Implements the 4-phase documentation reorganization master plan. - Consolidation: Merged brief/, handoff/, planning/, and decisions/ into briefs/, handoffs/, plans/, and adr/ respectively (101 ADRs relocated) - Root Cleanup: Relocated HANDOFF-gpt55-*.md and key top-level docs (runtime_contracts.md, etc.) to canonical folders. Added superseded alerts. - Indices & Navigation: Created docs/README.md navigation document, docs/sessions/README.md index, docs/adr/README.md index - Note: Also includes prior commit adding ADR-0200+ corpus hygiene governance (ADR-0225, dependency map, backfilled cross-references)
2.7 KiB
2.7 KiB
ADR-0078 Phase 1 — Pre-Implementation Planning Note
- Where composer atoms come from.
- On DEFINITION/RECALL pack-grounded paths, composer provenance is available from existing pack candidate metadata (
build_pack_surface_candidate(...).semantic_domains) and from the existing_maybe_pack_grounded_surface(...)->pack_semantic_domainsreturn channel. - Other composer paths do not always expose explicit atom provenance today; those will report
composer_no_atomswhen telemetry is applicable and grounded but atom provenance is absent.
- Where graph-side atoms/indices are derived.
- Graph topology comes from
build_graph_from_input(text, articulation)and forward constraints frombuild_graph_constraint(graph, vocab). - Phase 1 graph atom telemetry will be observational and derived by resolving graph node surfaces (
subject/predicate/obj) throughchat.pack_resolver.resolve_lemma, unioning resolved semantic domains. - If no graph nodes resolve to atoms (or graph constraint is unconstrained), graph hash remains empty and status can become
graph_unconstrained.
- Exact telemetry hook location.
- Hook in
chat/runtime.pyafter final composer surface / grounding source are known (cold/stub and warm paths) and after pre-generation graph context is known, but beforeTurnEventandChatResponseare finalized. - Keep this observational only: compute status/hash/overlap and attach fields; do not alter surface selection, guard outcomes, grounding source, or trace behavior.
- Why register variation does not affect atom hashes.
- Register decoration/substantive transforms operate on rendered surface layers (
register_canonical_surface-> pre-decoration -> decorated surface). - Composer atom provenance and graph atoms come from pack/graph structures, not register text transforms; therefore register changes should not perturb atom-set hashes/status for same prompt/lens/runtime state.
- Why anchor-lens engagement may affect substantive/proposition telemetry.
- Anchor-lens changes composer proposition selection by engaging substrate-aligned semantic preferences (ADR-0073c/0073d), so resulting semantic domains and graph realization can legitimately differ when lens changes.
- This is substantive-axis movement, not register-style presentation variation; telemetry must allow divergence/equivalence outcomes without forcing false invariants.
- Confirmation that no final surface prose parsing will be added.
- No parsing of
ChatResponse.surface/final prose will be introduced for atom inference. - No helpers like
extract_candidate_surface_lemmas,surface_lemma, orparse_surface_atomswill be added. - If a grounded composer path lacks explicit atom provenance, status will be
composer_no_atoms.