refactor(config): stop TOML blocking State Store startup after migration #1369

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

docs/prds/runtime-control-plane.md ("Bootstrap, migration, and recovery") says bootstrap
contains only the database path, listen addresses, credentials, TLS and encryption-key
references, and that after migration settings in TOML are ignored and cannot block State
Store startup.

Today internal/app/archied/control_plane.go:13 calls RuntimeConfig, which overlays database
resources onto a fully parsed and validated config.Config, then runs configuration.Validate
over the merged document. A stale or invalid TOML value in a field the database now owns can
still fail boot.

Scope: reduce the bootstrap document to the fields the PRD lists and stop validating the
migrated surface at startup.

Close reason

Closed


Imported from beads archie-core-i3qm · GitHub #973 · type task · priority P2 · created 2026-09-20 · closed 2026-09-21

docs/prds/runtime-control-plane.md ("Bootstrap, migration, and recovery") says bootstrap contains only the database path, listen addresses, credentials, TLS and encryption-key references, and that after migration settings in TOML are ignored and cannot block State Store startup. Today internal/app/archied/control_plane.go:13 calls RuntimeConfig, which overlays database resources onto a fully parsed and validated config.Config, then runs configuration.Validate over the merged document. A stale or invalid TOML value in a field the database now owns can still fail boot. Scope: reduce the bootstrap document to the fields the PRD lists and stop validating the migrated surface at startup. ### Close reason Closed --- _Imported from beads `archie-core-i3qm` · GitHub #973 · type task · priority P2 · created 2026-09-20 · closed 2026-09-21_
sam added the mediumtask labels 2026-10-27 13:40:06 +00:00
sam self-assigned this 2026-10-27 13:40:07 +00:00
sam closed this issue 2026-10-27 13:40:07 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1369