Classify source version evidence at original paths
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Implement shared source version checks
|
||||
|
||||
Status: Stages 1–8 complete; evidence sensitivity classification has not started.
|
||||
Status: Stages 1–9 complete; historical and dependency sensitivity remains.
|
||||
|
||||
Audience: a Luna coding agent implementing one numbered stage per prompt, in
|
||||
order. The [feature roadmap](source-version-checks.md) owns target behavior and
|
||||
@@ -485,6 +485,22 @@ No environmental limitation affected validation; checks ran on Linux/amd64.
|
||||
Validate: source-version/sensitivity/rendering tests and everyday check. Done:
|
||||
direct/ancestor classification is correct without making headers payload history.
|
||||
|
||||
Completion evidence: carried private source-version evidence from per-load state
|
||||
into the resolved publication input, without adding consumed declarations to
|
||||
applications or metadata. Final classification now evaluates each declaration's
|
||||
original mounted semantic path and captured ancestors with the existing schema
|
||||
tag and predicate rules, then uses the existing sensitivity result for rendering.
|
||||
This covers dynamic map/slice paths, typed original sequence indices, and
|
||||
null/absent evidence while leaving unclassified evidence and shifted neighboring
|
||||
payload visible. Evidence remains private. These checks passed with Go
|
||||
`go1.26.8 linux/amd64`:
|
||||
|
||||
- `GOTOOLCHAIN=local GOPROXY=off go test ./internal/engine -run 'SourceVersion|Secret|Sensitivity|History|Inheritance|Resolution' -count=1`
|
||||
- `GOTOOLCHAIN=local ./scripts/check.sh`
|
||||
- `git diff --check`
|
||||
|
||||
No environmental limitation affected validation; checks ran on Linux/amd64.
|
||||
|
||||
## Stage 10 — Preserve historical and dependency sensitivity
|
||||
|
||||
1. Connect evidence candidates to existing historical, inheritance, and recorded
|
||||
|
||||
Reference in New Issue
Block a user