diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-11 07:40:48 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-11 07:40:48 +0000 |
| commit | 1b5e7177769c79f9e836a55f9c008a295e2ff975 (patch) | |
| tree | e0660a68884ed1309095e61b91b857b0cdb4005c /test/fixtures | |
| parent | 23f9b65bf65b3d3677350a456e57294a4df810b9 (diff) | |
fix: resume BLOCKED tasks in preserved sandbox so Claude finds its session
When a task ran in a sandbox (/tmp/claudomator-sandbox-*) and went BLOCKED,
Claude stored its session under the sandbox path as the project slug. The
resume execution was running in project_dir, causing Claude to look for the
session in the wrong project directory and fail with "No conversation found".
Fix: carry SandboxDir through BlockedError → Execution → resume execution,
and run the resume in that directory so the session lookup succeeds.
- BlockedError gains SandboxDir field; claude.go sets it on BLOCKED exit
- storage.Execution gains SandboxDir (persisted via new sandbox_dir column)
- executor.go stores blockedErr.SandboxDir in the execution record
- server.go copies SandboxDir from latest execution to the resume execution
- claude.go uses e.SandboxDir as working dir for resume when set
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'test/fixtures')
0 files changed, 0 insertions, 0 deletions
