Stand up archie-state-store binary and own archie.db #1143

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

Add cmd/archie-state-store and application composition that opens the existing single archie.db SQLite file exactly once for service ownership, registers all State Store gRPC handlers, starts with configured NATS/transport/security semantics where applicable, and shuts down cleanly. Keep Gateway session SQLite separate and untouched. Add deployment profiles and startup/readiness behavior for the new process.

Close reason

Re-closed after bd github sync reverted status (2026-09-07); same evidence as the original close: cmd/archie-state-store exists, openStateStore opens archie.db exactly once, RegisterServer wires every surface, graceful shutdown on ctx cancellation, gateway session SQLite untouched, readiness surface + deployment profiles present.


Imported from beads archie-core-8cda.4.3 · GitHub #761 · type task · priority P2 · created 2026-09-06 · closed 2026-09-07

Add cmd/archie-state-store and application composition that opens the existing single archie.db SQLite file exactly once for service ownership, registers all State Store gRPC handlers, starts with configured NATS/transport/security semantics where applicable, and shuts down cleanly. Keep Gateway session SQLite separate and untouched. Add deployment profiles and startup/readiness behavior for the new process. ### Close reason Re-closed after bd github sync reverted status (2026-09-07); same evidence as the original close: cmd/archie-state-store exists, openStateStore opens archie.db exactly once, RegisterServer wires every surface, graceful shutdown on ctx cancellation, gateway session SQLite untouched, readiness surface + deployment profiles present. --- _Imported from beads `archie-core-8cda.4.3` · GitHub #761 · type task · priority P2 · created 2026-09-06 · closed 2026-09-07_
sam added the mediumtask labels 2026-10-27 13:39:12 +00:00
sam self-assigned this 2026-10-27 13:39:12 +00:00
sam closed this issue 2026-10-27 13:39:12 +00:00
sam added a new dependency 2026-10-27 13:42:15 +00:00
sam added a new dependency 2026-10-27 13:42:15 +00:00
sam added a new dependency 2026-10-27 13:42:16 +00:00
sam added a new dependency 2026-10-27 13:42:16 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#1143