docs(dev-doctor): archive the run's workspace every time
Summary
The Dev doctor automations boot a fresh cloud workspace per run. The skill archived it only when every step worked and slept it when a step failed, "so the evidence stays". Failed runs therefore left boxes behind: 20 runs from Oct 30 20:18 to Oct 31 15:18 stayed up for as long as 20 hours, and 3 runs on Oct 31 for about 30 hours, until they were deleted by hand.
Now the last command of every run archives the workspace. When a step fails, the command, its output and the ids go into the notebook and the final message instead.
Summary by cubic
Dev-doctor runs now always archive their workspace, so failed runs no longer leave cloud boxes behind.
Previously, runs slept the workspace on failure to preserve evidence, which left stale boxes for up to 30 hours. Now the final command archives the workspace every run, and failed steps record the command, output, and IDs in the notebook and final message instead.
Summary by CodeRabbit
- Documentation
- Updated the run instructions to require archiving the workspace as the final command, including when a step fails.
- Failure details must still be recorded in the notebook and final message.