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
|`budget`| Stub: `total: null`, `remaining(): Infinity` — do not loop on budget alone |
61
63
|`workflow(name\|{scriptPath}, args?)`| Nested, depth 1, shared call index |
62
64
63
65
**No `writeMode`.** Teach read-only vs write in the prompt. Use `isolation: 'worktree'` when parallel mutators would conflict (git required).
@@ -86,7 +88,25 @@ Default: first **enabled ∩ available** provider (`agentProviders.enabled` in c
86
88
87
89
### Resume
88
90
89
-
`devspace workflow run --resume <runId>` creates a **new** run that replays completed agent calls by cache key (callIndex+key, then consume-once by key).
91
+
Failed and cancelled runs are terminal. Recovery creates a **new** run:
92
+
93
+
1. Inspect the prior run with `workflow status`, `workflow calls`, and
94
+
`workflow call`.
95
+
2. Edit the persisted `scriptPath` reported by the run, or pass a different
96
+
`--script-path`.
97
+
3. Keep prompts and agent options stable for completed calls whose return values
98
+
should be reused.
99
+
4. Run `devspace workflow run --resume <runId>` (optionally with
100
+
`--script-path <path>`).
101
+
102
+
Replay first matches the same call index and cache key, then consumes one
103
+
compatible prior cache key after reordering. The new run records whether each
104
+
call was reused by same-index or compatible-key matching, and where it came
105
+
from. Failed, interrupted, changed, or unmatched calls execute live.
106
+
107
+
Replay restores an agent's **return value**. It does not recreate shared-checkout
108
+
edits or reapply a prior worktree diff. Verify required filesystem state before
0 commit comments