Add shape-aware history selection core

This commit is contained in:
2026-10-26 14:47:18 +00:00
parent a893c7716c
commit 2419e63717
4 changed files with 573 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# Interface Contract Remediation Implementation Plan
Status: in progress. Stages 1–2 are complete; Stages 3–18 remain pending.
Status: in progress. Stages 1–3 are complete; Stages 4–18 remain pending.
Baseline: `f6d54a094a2b5ada5748686620659399dce7ebf0`.
Audience: a Luna coding agent executing the stages sequentially.
@@ -337,7 +337,11 @@ input remains explicit. Focused check:
## Stage 3 — Introduce The Shared Evidence And Selection Core
Finding 3 architecture. Owners: new `history_model.go` and `history_select.go`,
existing path/lookup helpers, focused history-selection tests. Status: pending.
existing path/lookup helpers, focused history-selection tests. Status: complete.
Validation:
`GOTOOLCHAIN=local GOPROXY=off GOTELEMETRY=off go test ./internal/engine -run 'History.*Select|History.*Shape|Path' -count=1`,
`GOTOOLCHAIN=local GOPROXY=off GOTELEMETRY=off go test ./internal/engine -count=1`,
and `git diff --check`.
1. Implement the selected model, builder, phase/role enums, payload ID references,
and semantic observation types. Keep phase producers in later stages; do not