resolve_ticket printed the candidate list to stdout and called
process::exit(1) from inside a helper. That combination is the one thing
the opencode wrapper cannot relay: it throws on the non-zero exit and
keeps stderr, so the list was thrown away and the agent saw a bare exit
code with nothing to choose from.
Return an error carrying the rendered list instead. It reaches stderr the
way every other error does, the exit code stays non-zero so `show x && ...`
still fails, and no process::exit remains in util.rs.
The wrapper half, which was dropping stderr on the floor regardless,
follows in 3e8b6fa.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>