bc1330eebc
The tail clause was correct only by ordering (exit_code != 0 there meant exit_code is None). Name what it encodes: a stop_reason counts only when nothing vouched for success. Same truth table. The three literal-dict tests on the predicate collapse into one parametrized contract; the handoff-exit test binds to COMMAND_BOUNDARY_STOP_REASON instead of re-spelling it.