eda: workflows call workflows #467

Closed
opened 2026-10-27 13:36:27 +00:00 by sam · 0 comments
Owner

workflow.call step with inputs and wait true|false; callee runs under its own profile; call inputs checked at save; self-calls refused at save; runtime depth limit; callee must be enabled for the caller's org. Design: docs/prds/event-automation.md (Approved).

Close reason

Shipped. workflow.call with inputs and wait true|false: internal/domain/workflow/workflow_call.go (step type, wait semantics, MaxCallDepth, call StepExecution recording), task/caller.go (StartCall/CallStatus scoped to the caller own callees), save-time input and cycle checks (validateWorkflowCalls), and the callee running under its own pinned definition and profile. Verified: TestWorkflowCallWaitTrue*/WaitFalse/DepthLimit/RefusesWithoutCapability and TestValidateCollectionWorkflowCalls pass; merged as crew/t2db-41. One clause rides on other work: callee-must-be-enabled-for-the-callers-org is the same org-scoped enablement owned by t2db.42 (still open), not implemented by this bead.


Imported from beads archie-core-t2db.41 · GitHub #1033 · type task · priority P1 · created 2026-09-23 · closed 2026-09-29

workflow.call step with inputs and wait true|false; callee runs under its own profile; call inputs checked at save; self-calls refused at save; runtime depth limit; callee must be enabled for the caller's org. Design: docs/prds/event-automation.md (Approved). ### Close reason Shipped. workflow.call with inputs and wait true|false: internal/domain/workflow/workflow_call.go (step type, wait semantics, MaxCallDepth, call StepExecution recording), task/caller.go (StartCall/CallStatus scoped to the caller own callees), save-time input and cycle checks (validateWorkflowCalls), and the callee running under its own pinned definition and profile. Verified: TestWorkflowCallWaitTrue*/WaitFalse/DepthLimit/RefusesWithoutCapability and TestValidateCollectionWorkflowCalls pass; merged as crew/t2db-41. One clause rides on other work: callee-must-be-enabled-for-the-callers-org is the same org-scoped enablement owned by t2db.42 (still open), not implemented by this bead. --- _Imported from beads `archie-core-t2db.41` · GitHub #1033 · type task · priority P1 · created 2026-09-23 · closed 2026-09-29_
sam added the hightask labels 2026-10-27 13:36:27 +00:00
sam self-assigned this 2026-10-27 13:36:27 +00:00
sam closed this issue 2026-10-27 13:36:27 +00:00
sam added a new dependency 2026-10-27 13:42:05 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#467