Preserve diagnostic aggregation failures during finalization

This commit is contained in:
2026-11-26 02:11:41 +00:00
parent de2f4d9fde
commit 2d4a2c9c7a
6 changed files with 155 additions and 39 deletions

View File

@@ -521,6 +521,12 @@ completed work on cancellation. Preserve canonical error selection.
## Stage 17 — Finalize Once, Retaining Primary And Finalization Causes
**Completed.** One diagnostic finalization boundary retains the valid prefix and
joins aggregation errors with execution, cancellation, and capture causes. A
failed success-path aggregation prevents output encoding; work-only diagnostic
groups are retired. Genuine occurrence-overflow regressions and the specified
diagnostics, pipeline, and CLI checks pass. Runner decomposition follows later.
**Coverage:** CAT-009 correctness; CAT-022 foundation.
**Prerequisites:** Stages 14–16.