Build validation filter sets once per invocation

This commit is contained in:
2026-11-07 12:07:50 +00:00
parent 3223b5cb82
commit d72c9a788f
3 changed files with 59 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
# Shared reporting and PromptKit adoption remediation
Status: three open findings; R1–R4 complete. R1–R3 are from the architectural review of
Status: two open findings; R1–R5 complete. R1–R3 are from the architectural review of
`f83866e44a8a9066db52cbd2aa5cccde0d69a839`. R4–R7 are from the algorithmic
audit of `f5b2d1f80c4720b762f3301c29d5050710c210d0`; R4 is a correctness
issue and R5–R7 are efficiency opportunities for consideration.
@@ -211,6 +211,13 @@ on quoting style.
## R5 — P3: Validation filter membership rescans operator lists
**Complete.** Severity and code membership sets are built once per invocation
and shared by all reached scopes. Membership work is now expected O(C+V+D),
with O(C+V) storage, excluding string and existing projection costs. Expanded
public command checks preserve match-any/match-both semantics, duplicates, unknown
codes, ordering, evidence states, source references, and failure outcomes. The
independent ckconfig suite passes with Go 1.27.0.
**Location:** [validate.go](../../integrations/ckconfig/validate.go),
projectValidationDetails lines 128–133.