fc3bb5a004
Add references/chat.md (pipelines MCP chat tools incl. show_diff, sent references, question forms, chat RPCs with send_at) and install it. SKILL.md: run worktrees, retry modes and failed-only retry, wait through human stages, server skill library, chat tools pointer. operations/debugging: retry resumes the failed stage by default; interrupted and canceled runs cannot retry; runs rm; search --debug-files; per-run worktrees no longer future; session export for OpenCode/Claude/Pi and repair. access: hashed web password, ./password, server-token, current proxy routes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
30 lines
1.8 KiB
Markdown
30 lines
1.8 KiB
Markdown
# Recover a failed run
|
|
|
|
1. Read `pipelines inspect ID --json`, the failed stage's actual input/result,
|
|
retained tool evidence, artifacts and Git diff. A timeout is not proof of lost work.
|
|
2. Separate code failure, environment/setup failure and result-format failure.
|
|
Missing evidence is not a passing check; a failed result does not erase edits.
|
|
3. Fix the specific cause directly or continue the original pipeline from the
|
|
necessary stage. Preserve completed work and original history. Do not create
|
|
another pipeline simply to merge a prepared commit.
|
|
4. Verify the repair with a focused regression; run broader checks once relevant
|
|
inputs settle. Do not raise retry/time budgets to hide a reproducible defect.
|
|
|
|
`pipelines retry ID` resumes the failed stage; `--stage KEY [--visit N]` picks a
|
|
recorded stage, `--input-file FILE|-` merges a bounded JSON correction,
|
|
`--version N` a published version of the same pipeline, `--mode=restart` starts
|
|
at entry (say so). Only `failed` runs retry; an `interrupted` run (server stopped
|
|
mid-stage) or a `canceled` one needs a new run or direct work on its preserved
|
|
branch. Verify the retry's actual stage input, not merely its admission.
|
|
|
|
A clean preparation stage succeeds without an empty commit. A `land` stage with a
|
|
delivery gate succeeds with a clean checked candidate; the server lands afterward.
|
|
Read-only, nonvisual work does not require device screenshots. Visual acceptance
|
|
requires a ready fixture, verified connection and actual captured interactions.
|
|
|
|
Preserve exclusive fixture ownership; inspect tool/process termination before
|
|
reuse. Stop and await exact owned fixture processes, not just a go-run parent. Do
|
|
not disrupt another active fixture or restart a shared service over running work.
|
|
|
|
Report the exact blocker and next action briefly. Keep independent work moving.
|