workflow:apply-diff
workflow family
Apply a WorkflowDiff (add/remove/connect/disconnect/update). simulate=true validates the DAG without persisting
- Effect
- ask
- Awaits an outcome — the call returns the response below.
- Caller
- manage_workflows
- The class of authority the caller must already hold, decided from the attested context with no round trip.
- Cost
- free
- What one call costs, so you can budget before acting.
- Reversible
- yes
- The effect can be undone by a later call.
- Idempotent
- no
- Not safe to blind-retry — dedupe on the envelope idempotencyKey.
- Simulatable
- yes
- Accepts { simulate: true } — projects an outcome and commits nothing.