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

@@ -174,6 +174,10 @@ continuation and, after dispatched work drains, assembles them in lane and chunk
order before merge and normalize diagnostics. Available operation diagnostics
are retained on failure or cancellation; an incomplete lane still publishes no
artifact or generated handoff.
The runner finalizes diagnostics once before output encoding, or on an earlier
failure. If aggregation fails, the result retains the successfully aggregated
prefix and the error includes both the aggregation failure and any run failure;
encoding does not proceed after unsuccessful aggregation.
The encoder receives owned normalized/auxiliary values and returns logical files.
It does not choose a directory, publish a report, or serialize execution ledgers.