Cut daemon and Gateway over to the remote State Store #1146
Notifications
Due Date
No due date set.
Blocks
Depends on
Reference: sam/archie#1146
Reference in new issue
Block a user
Once adapters and the service are proven, remove direct archie.db ownership from archied and Gateway. Wire configured local/remote State Store selection, ensure all task/capture/mapping/binding/workflow consumers use one endpoint, and delete in-process fallbacks in the same commit. Verify the Gateway session database remains independently Gateway-owned and no process opens archie.db outside archie-state-store.
Close reason
Re-closed after bd github sync reverted status (2026-09-07); same evidence as the original close: openProductionTaskStore is called exactly once, from state_store.go's openStateStore, never from daemon/gateway composition (guarded by TestOpenStoresNeverOwnsTaskDB); gateway session SQLite is independently owned; legacy NATS storerpc fully deleted.
Imported from beads
archie-core-8cda.4.6· GitHub #758 · type task · priority P2 · created 2026-09-06 · closed 2026-09-07