Address code review findings from the subprocess enhancements

This commit is contained in:
2026-07-26 18:52:37 -05:00
parent 1da29e6788
commit fb1134e591
3 changed files with 8 additions and 6 deletions

View File

@@ -88,10 +88,12 @@ For `run --json`, the CLI constructs and encodes its private run-result receipt
after a successful runner result is available, before it publishes logical
output files. It writes the prepared receipt to standard output only after
output publication and requested debug terminalization succeed. A receipt-write
failure is a runtime command failure; output may be partial, the CLI reports a
bounded command-owned error, and it does not repeat terminal reporting. The
receipt remains a CLI reporting concern rather than a framework or output-module
responsibility; its public contract is the
failure exits with runtime status 1 and may leave partial standard-output bytes,
but the already-published output bundle remains complete and requested debug
reporting remains successfully terminalized. The CLI reports a bounded
command-owned error and does not repeat terminal reporting. The receipt remains
a CLI reporting concern rather than a framework or output-module responsibility;
its public contract is the
[run-result receipt](../integrations/run-result.md).
## Failure Mapping And Terminal Reporting