WorkflowStorage
WorkflowStorage is the durable persistence contract used by WorkflowRuntime. It owns atomic run/history/command transitions and the lease contract. It does not own workflow-domain branching.
Implementations:
InMemoryWorkflowStoragefor tests and the inspector labSupabaseWorkflowStoragefor PostgreSQL
The graph InMemoryStorage / SupabaseStorage pair that stored workflow_instances is the legacy adapter.