Terminate pointer-only descriptor traversal

This commit is contained in:
2026-10-25 21:18:35 +00:00
parent 7889ebddfb
commit 2736ddfbf2
5 changed files with 165 additions and 30 deletions

View File

@@ -78,6 +78,9 @@ race, consumer, and documentation validation is specified in Stage 33.
Finding: **A01**; also the `schemaPath` portion of **F06**.
Owners: `internal/engine/schema.go`, `decode.go`, `secret.go`, and their tests.
Status: **complete** (A01; schema-path portion of F06). Validation passed:
`GOTOOLCHAIN=local GOPROXY=off GOTELEMETRY=off go test ./internal/engine -run 'Schema|Decode|Resolution|Secret|PointerOnly' -count=1`, the specified focused check, and `GOTOOLCHAIN=local GOPROXY=off GOTELEMETRY=off go test ./internal/engine -count=1`.
1. Introduce one private pointer-descriptor terminal lookup that detects a
repeated descriptor, using a traversal-local visited set. Return failure for
a pointer-only loop; do not reject that type during schema construction.