Fixes two linked bugs in devin -p (print mode) that surfaced running long automation on large repos — agents ran ~10 min, went "stable", and were killed with zero commits and empty content.
Fixed
- Premature stable-timeout kill. devin buffers its whole response and shows no incremental pane output during long operations (a big model turn, or a long tool call like running a test suite). The old stable-timeout treated that quiet-but-working state as idle and tore down the tmux session before devin committed. Now stability is gated on the pane returning to a shell — process-exit is the reliable completion signal for print mode; the thinking-timeout + 60-min
maxPollsremain as hang backstops. - Empty captured content. The final buffered summary lands only at exit and was dropped by the pane line-diff. devin's stdout (clean plain text when not a TTY) is now redirected to a file and read on completion; the pane is used only for liveness. Falls back to scraped lines if the file is empty.
Adds executor_test.go (first tests in the repo) covering the stdout redirect. README install now uses releases/latest/download.
Practical effect: long, silent devin sessions run to completion instead of being killed mid-task, and callers get devin's real response instead of an empty string. Downstream tools (e.g. roam's --provider debri) no longer need to crank a large stable-timeout to avoid the premature kill.
Install
```bash
curl -fsSL https://github.com/javimosch/debri/releases/latest/download/debri -o /usr/local/bin/debri && chmod +x /usr/local/bin/debri
```