Audit source version lifecycle agreement
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Implement shared source version checks
|
||||
|
||||
Status: Stages 1–10 complete; public source evidence remains private.
|
||||
Status: Stages 1–12 complete; adoption examples and documentation reconciliation remain.
|
||||
|
||||
Audience: a Luna coding agent implementing one numbered stage per prompt, in
|
||||
order. The [feature roadmap](source-version-checks.md) owns target behavior and
|
||||
@@ -573,7 +573,7 @@ These checks passed with Go `go1.26.8 linux/amd64`:
|
||||
|
||||
No environmental limitation affected validation; checks ran on Linux/amd64.
|
||||
|
||||
## Stage 12 — Audit lifecycle agreement and compatibility
|
||||
## Stage 12 — Audit lifecycle agreement and compatibility — Done
|
||||
|
||||
1. Map tests to every roadmap participation row/edge decision; add only missing
|
||||
cross-boundary regressions with one primary owner per behavior.
|
||||
@@ -594,6 +594,27 @@ No environmental limitation affected validation; checks ran on Linux/amd64.
|
||||
Done: all target behavior has public-boundary evidence and deterministic checks
|
||||
pass, without extra contract restrictions or redundant coverage.
|
||||
|
||||
Completion evidence: mapped source-local lookup, malformed/overlapping headers,
|
||||
consumption, roles, mounted protection, directives, and source participation to
|
||||
the focused `source_version_test.go` suite; mapped classification and historical
|
||||
propagation to `secret_classification_test.go`, `inheritance_secret_test.go`,
|
||||
and the recorded-dependency regression; and retained existing destination,
|
||||
accounting, resource-context, and default-mode suites as the owners for those
|
||||
boundaries. Added a public-facade lifecycle regression that accepts distinct
|
||||
main/underlay declarations while verifying exact large-integer decoding,
|
||||
zero/false/null, defaults, one resolved configuration, secret lookup, validation,
|
||||
evidence retention, and unchanged effective explanation/rendering/Diff. No
|
||||
source-order promise or additional policy was introduced. These checks passed
|
||||
with Go `go1.26.8 linux/amd64`:
|
||||
|
||||
- `GOTOOLCHAIN=local GOPROXY=off go test ./internal/engine -run 'SourceVersion|Version|Import|Underlay|Overlay|Destination|Secret|Sensitivity|History|Inheritance|Resolution' -count=1`
|
||||
- `GOTOOLCHAIN=local GOPROXY=off go test . -run 'SourceVersion|Version|Layered|SourceInfo|Destination|Diff|PublicFacadeBoundary|DependencyImportBoundary' -count=1`
|
||||
- `GOTOOLCHAIN=local ./scripts/check.sh`
|
||||
- `GOTOOLCHAIN=local GOPROXY=off go test -race ./...`
|
||||
- `git diff --check`
|
||||
|
||||
No environmental limitation affected validation; checks ran on Linux/amd64.
|
||||
|
||||
## Stage 13 — Add maintained adoption examples
|
||||
|
||||
1. Add a small executable example showing if-present and required adoption with
|
||||
|
||||
Reference in New Issue
Block a user