Cache approved dynamic descriptors per operation

This commit is contained in:
2026-10-25 22:07:37 +00:00
parent 12d350a292
commit 08f2a8f3e9
3 changed files with 88 additions and 8 deletions

View File

@@ -461,6 +461,13 @@ Focused check: `go test ./internal/engine -run 'History|Explain|Inheritance|Over
Finding: **A05**; requires Stage 2.
Owners: `internal/engine/value_operation.go`, projection/clone tests.
Status: **complete** (A05). Prior completed commits: `2736ddf`, `deb9aa5`,
`ae3408a`, `ea27f17`, `08a8c25`, `877c497`, `8aba43d`, `7bf2f0c`,
`0f9ecf1`, `119b42c`, `247a12b`, `4fcff5f`, `12d350a`. Validation passed:
`env GOTOOLCHAIN=local GOPROXY=off GOTELEMETRY=off go test ./internal/engine -run 'Dynamic|Projection|Clone|Resolution' -count=1`,
`env GOTOOLCHAIN=local GOPROXY=off GOTELEMETRY=off go test ./internal/engine -count=1`,
and `git diff --check`.
Add an operation-local set of successfully approved concrete types/descriptors.
After a completed descriptor build and a full successful secret-eligibility walk,
record approval. Subsequent values of that type in the same `valueOperation` reuse