frame New Primitive

This commit is contained in:
lda
2026-04-28 12:41:16 +07:00 Verified
parent db2bc99ff2
commit 9f24c61889
4 changed files with 103 additions and 23 deletions
+6
View File
@@ -320,6 +320,12 @@ At minimum, run state should track:
This gives the engine a clean path toward checkpointing, interrupt, and resume later.
Run state should also carry execution frames.
- v1 may only have a root workflow frame
- future `foreach` and subgraph execution should attach work to child frames
- interrupts should belong to a frame, not just to the run globally
Two useful execution entry points fall out of this:
- `step_workflow(...)` for one-node advancement