refactor(config): delete the legacy config overlay, superseded by the control plane #1314

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

internal/infrastructure/configuration/overlay still opens its own SQLite file
(cfg.DBPath + "-config.sqlite") and internal/app/archied/bootstrap.go:87 still layers it
over the file config at boot and on every reload. internal/app/archied/main.go:485 opens it.

docs/prds/runtime-control-plane.md ("First implementation") says the control plane replaces
the old settings overlay instead of extending it. Both paths currently exist, which is the
duplicate-authority problem the PRD set out to remove.

Scope: delete the package and its wiring, including the --no-config-overlay flag and
ARCHIE_SKIP_CONFIG_OVERLAY escape hatch, and confirm nothing in internal/webui still
references configuration.DeniedKeys for overlay reasons.

Close reason

Closed


Imported from beads archie-core-f9nw · GitHub #961 · type task · priority P1 · created 2026-09-20 · closed 2026-09-20

internal/infrastructure/configuration/overlay still opens its own SQLite file (cfg.DBPath + "-config.sqlite") and internal/app/archied/bootstrap.go:87 still layers it over the file config at boot and on every reload. internal/app/archied/main.go:485 opens it. docs/prds/runtime-control-plane.md ("First implementation") says the control plane replaces the old settings overlay instead of extending it. Both paths currently exist, which is the duplicate-authority problem the PRD set out to remove. Scope: delete the package and its wiring, including the --no-config-overlay flag and ARCHIE_SKIP_CONFIG_OVERLAY escape hatch, and confirm nothing in internal/webui still references configuration.DeniedKeys for overlay reasons. ### Close reason Closed --- _Imported from beads `archie-core-f9nw` · GitHub #961 · type task · priority P1 · created 2026-09-20 · closed 2026-09-20_
sam added the hightask labels 2026-10-27 13:39:53 +00:00
sam self-assigned this 2026-10-27 13:39:53 +00:00
sam closed this issue 2026-10-27 13:39:53 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1314