ae4526d87c
- turn.RenderPreviousAttempt: bounded "# Previous attempt" section (attempt number, failing stage, bounded diagnostic, partial-edits note). - In-stage retries (stage/model_run.go) append it instead of resending an identical prompt; run retries (resume and restart) add it to the first model visit's input.md, numbering attempts along the retry chain. - --input-file retry overrides render only the override keys in input.md, labelled "# Operator correction" (the step row keeps the merged input). - Essential memory (memory.md) inlines a revisiting stage's own last handoff, bounded, besides the previous stage's handoff. - Interrupted runs can be retried: resume reruns the interrupted visit, or starts the next stage after the last completed visit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>