Expand description
Task workspaces: where a task attempt works (the shared workspace, an isolated folder of its own, or a git worktree on its own branch), and what is kept of it when the attempt ends.
Structs§
Functions§
- preserve_
task_ workspace - Record what the task’s active workspace holds (its path, and for a worktree its HEAD and status) and mark it preserved.
- provision_
task_ workspace - The workspace for
attemptof tasktask_id, provisioned under the task’s workspace policy (reused while the same attempt’s is not failed).