- Refuse to run pi as root when DOCS_REVIEW_DRAFTER_USER is unset.
- Keep a record of the run: parse partial output on timeout, add the first
redacted stderr line to failures, and report summed output and peak
input tokens with turns in the log and step summary.
- Delete top-level .pi* entries from the sandbox before drafting and
refuse a draft that recreates one.
- Probe: an HTTP error, redirect or non-JSON answer is a hard failure;
only connection failures and an empty model list are soft. Refuse model
ids starting with "-" and pass --model=<id>.
- README: mid-run model swap note, hard-failure cases, rewrap.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>