Flow Run
Manually advance flow steps for debugging purposes in a controlled manner.
/flow:run
Manually advance one flow step for debugging only.
- Read
.prompt-language/session-state.json. - Identify the current node at
currentNodePath. - Execute the next deterministic action for that node type:
prompt: provide the pending prompt text.run: execute the command and capture exit/stdout/stderr.- loop/branch nodes: evaluate condition and choose next path.
- Persist updated runtime state.
- Report the new node path and next required action.
Use this only when automatic hook advancement is not firing or when explicitly diagnosing a stuck flow.