mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 04:47:03 -06:00
fix(webhooks): keep TaskFlow child actions within the owning session (#129633)
* fix(webhooks): bind TaskFlow child actions to owning runs * fix(tasks): preserve task flow import boundaries * test(tasks): cover exact-run cancellation callers * test(webhooks): prove ACP replacement cancellation fence * fix(tasks): preserve authority across lifecycle races * fix(tasks): bind TaskFlow children to runtime instances * fix(acp): revalidate queued cancellation authority
This commit is contained in:
@@ -142,10 +142,15 @@ with any other status returns `400 invalid_request`.
|
||||
"flowId": "flow_123",
|
||||
"runtime": "acp",
|
||||
"childSessionKey": "agent:main:acp:worker",
|
||||
"runId": "run_123",
|
||||
"task": "Inspect the next message batch"
|
||||
}
|
||||
```
|
||||
|
||||
`childSessionKey` identifies the backing run but does not grant authority over it. For automatic
|
||||
lifecycle tracking and cancellation, include the exact `runId`; the backing task must be owned by
|
||||
the route's configured session. Foreign, stale, or replaced runs are rejected at use time.
|
||||
|
||||
## Response shape
|
||||
|
||||
```json
|
||||
|
||||
Reference in New Issue
Block a user