Classify configuration loading errors

This commit is contained in:
2026-11-16 18:01:26 +00:00
parent 9d3ffff69f
commit b9cede22f9
3 changed files with 200 additions and 1 deletions

View File

@@ -28,7 +28,11 @@ when reporting validation.
## Stage 1 — Implement the shared classifier
Status — pending.
Status — complete. Added the shared classifier and focused tests for the
selected diagnostic codes, fallback evidence, wrappers, joins, cancellation,
and real ConfigKit loading errors. Verified with Go 1.27.0 using
`GOTOOLCHAIN=local GOPROXY=off go test ./integrations/ckconfig -run 'TestConfigurationDiagnosticClassification|TestClassifyConfigurationError' -count=1`
in the aligned workspace (with a temporary writable Go build cache).
Add `integrations/ckconfig/errors.go` with the following exported function and
GoDoc describing its CLI classification purpose, accepted evidence, fallback,