АРЧ АП11 - Архитектура после регресса: Архитектура: централизовать anchor и temporal carryover в continuity policy и протянуть их в transition hot path

This commit is contained in:
2026-04-18 21:08:01 +03:00
parent d29fbba214
commit cf17404925
10 changed files with 348 additions and 204 deletions
@@ -341,6 +341,16 @@ Still open after the accepted phase12 replay:
- this matters because deterministic memory-recap and historical-inventory capability replies now depend on the same context interpretation as the rest of continuity policy, rather than on a separate local parser that could drift on root-frame-only turns;
- targeted continuity / memory-recap / living-chat tests now protect the root-frame fallback path explicitly;
- wide saved-session replay `address_truth_harness_phase12_wider_saved_session_pool_live_20260418_rerun6` remains accepted `20/20`, which is the critical proof that this context-helper convergence did not reopen the broader living-chat continuity path.
- the next cleanup pass also removes one more class of false owners from the living-chat adapter itself:
- `assistantLivingChatRuntimeAdapter` no longer keeps local dead history scanners for grounded inventory / selected-object / generic address debug lookup that are not part of the active execution path anymore;
- this does not change runtime behavior directly, but it reduces the chance that future fixes accidentally revive or patch a stale local owner instead of the shared continuity / memory-recap policy seam;
- targeted living-chat adapter tests and backend build remain green after the cleanup, which is the necessary proof that this was a structural owner-reduction pass rather than a hidden behavior change.
- the next continuity-authority pass now removes one more local `addressDebug -> carryover anchor/date` parser from the transition hot path:
- `assistantContinuityPolicy` now exposes shared helpers for `anchorType/anchorValue` resolution and raw temporal carryover scope (`as_of_date / period_from / period_to`) from grounded `addressDebug`, including root-frame fallback;
- `assistantTransitionPolicy` now consumes these helpers instead of rebuilding previous anchor selection from raw `anchor_value_*` and filter fields inline, and instead of reading carryover dates directly from `readAddressDebugFilters(...)` in multiple ad hoc places;
- this matters because follow-up carryover is now closer to the same continuity interpretation layer that already owns item / organization / scoped-date facts, rather than keeping a separate transition-local parser for the same runtime evidence;
- targeted continuity and transition regressions now protect inferred anchor carryover when explicit `anchor_type` is absent, plus root-frame temporal fallback at the helper layer;
- wide saved-session replay `address_truth_harness_phase12_wider_saved_session_pool_live_20260418_rerun7` remains accepted `20/20`, which is the critical proof that this transition-layer convergence did not reopen the broader saved-session path.
## Next Execution Slice (2026-04-18)