A run whose every failure was handled completes
The verdict is computed from unhandled failures, not from failures. One unrouted failure fails the run no matter how many routed ones accompany it.
The rule
Normative: this is the rule
- A run finishes with status completed when every failed unit of work in it carries the error-routed marker, and fails when any failed unit of work does not.
- A routed failure is still announced on the ordinary "unit of work finished" channel, so subscribers see it and discriminate on its status.
- A failed tool invocation always counts as handled: a tool failure is delivered to its consumer as a recoverable result.
Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0-draft · ERR-9 · changed in spec 1.0