eda: workflows call workflows #467
Notifications
Due Date
No due date set.
Depends on
Reference: sam/archie#467
Reference in new issue
Block a user
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