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

@@ -239,6 +239,11 @@ out-of-order coverage; incomplete lanes must still produce no artifacts/handoffs
### CAT-009 — Failure Finalization Hides Diagnostic Aggregation Errors
**Status:** Resolved. Diagnostic finalization runs once, retains the valid prefix,
and joins aggregation errors with execution, cancellation, or capture causes.
Regressions exercise genuine occurrence overflow on failure and success paths,
including prevention of output encoding. The prescribed package checks pass.
**Assessment:** Static composed failure-path defect; original P3.
**Sources:** [ERR-003](06-error-handling.md#err-003--failure-output-finalization-suppresses-aggregation-errors),
@@ -254,8 +259,8 @@ and failure semantics rather than silently truncating warnings into success.
**Subsequent decision:** [Discussion Item 1](discussion.md#1-diagnostic-capacity-and-pipeline-success)
selects removal of diagnostic group-count caps while retaining per-group sampling
and genuine failure causes. That accepted design replaces the warning-bound
preservation recommendation above. Group caps and truncation are removed; the
single failure-finalization boundary and preservation of causes remain pending.
preservation recommendation above. Group caps and truncation are removed, and
the selected single failure-finalization boundary preserves genuine causes.
### CAT-010 — Process Signals Do Not Reach Cooperative Cancellation