Add structured validation failures

This commit is contained in:
2026-10-07 18:27:36 +00:00
parent 1de7555b3e
commit 136a97fb6c
6 changed files with 162 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
# Validation model implementation plan
Status: In progress; the shared validation executor is complete.
Status: In progress; the shared validation executor and internal diagnostics are complete.
This plan implements the enabling work in [model.md](model.md), guided by
[ADR 0003](../adr/0003-declarative-validation.md). It is written for a Luna
@@ -206,6 +206,10 @@ inventory to reflect the implemented executor.
## Stage 2: Introduce internal validation diagnostics
**Completion:** Complete. Shared Go setup and test failures carry the internal
`go-test` identity and preserve their underlying errors, including cancellation
and subprocess exit errors.
**Outcome:** The executor returns a small structured failure with an underlying
cause, independently of public error conversion.