Expose validation errors through the root API

This commit is contained in:
2026-10-07 18:34:34 +00:00
parent 5848307948
commit 8bac90a9a8
8 changed files with 275 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
# Validation model implementation plan
Status: In progress; the shared executor, diagnostics, committed-file reader, and destination resolver are complete.
Status: In progress; shared execution, committed-file inspection, destination resolution, and facade 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
@@ -280,6 +280,10 @@ syntax, anchors, and selected failure policy.
## Stage 5: Add facade declarations and shared request conversion
**Completion:** Complete. The root facade exposes its own validation
diagnostic types, and both `Check` and `Publish` convert shared failures while
preserving candidate context and the original error chain.
**Outcome:** The public model has an agreed representation, shared conversion,
and cause-preserving errors across `Check` and `Publish`.