You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Let a Task choose its snapshot scope, and document what survives a suspend #486
AX hardcodes the snapshot fidelity for every Task (PreferredFidelity: SNAPSHOT_FIDELITY_VOLUMES in internal/substrate/client.go). With Substrate main, a resume from a volumes-only snapshot starts the containers fresh from the image and restores only the durable directories. Anything running at suspend time is gone: an agent comes back with its files under /workspace, but the tool call it was running shows as interrupted.
A plain Substrate actor with full fidelity keeps its processes across suspends, including a wake on another node. AX tasks can't ask for that, and the docs don't say which behavior a Task gets.
#457 described volumes fidelity as equivalent to the previous behavior. On Substrate main it isn't: since agent-substrate/substrate#2105, the golden snapshot's memory no longer comes back on a data resume either. Combined with #428, the task command also starts again on every resume.
Reproduce
Apply a Task whose command is sleep 60, suspend it 20 s in, wait, and resume it. The command is not running after the resume.
Ask
Document what survives ax suspend and ax resume today: files, memory, processes.
Add a snapshot scope on the Task (volumes or full), passed to the ActorTemplate, defaulting to today's behavior.
The Substrate v0.5 bump (#484) changes the snapshot fields, so this should build on that.
Activity
siyuanfoundation commentedon Oct 23, 2026
/assign