internal/app/controlplane holds a store-backed gRPC server, a layer organisation.md reserves for wiring #1164

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

Surfaced by the archie-core-1ng1 design doc (docs/architecture/migration-decisions.md, dated decision under section 2). Named there as a decision the severance does not require, deliberately not taken.

THE QUESTION
Whether the server half also leaves internal/app/. organisation.md reserves internal/app// for dependency injection, wiring and lifecycle, and a store-backed gRPC server is infrastructure by that definition.

WHY IT WAS NOT IN SCOPE FOR 1ng1
The architecture gate (8cda.6.5) does not measure it: the gate checks that cmd/archie-messaging links no banned runtime packages, and the server's location does not affect the messaging service's import graph. Moving it would also multiply the diff across archied's wiring AND the State Store binary for a purity gain nothing currently measures.

WHAT TO DO WHEN IT IS TAKEN
Decide from organisation.md's authority and the cost across the two consumers; do not fold it into a severance change.

Close reason

Moved to internal/infrastructure/controlplanestore; internal/app/controlplane removed


Imported from beads archie-core-8f4n · GitHub #1166 · type chore · priority P3 · created 2026-09-21 · closed 2026-10-25

Surfaced by the archie-core-1ng1 design doc (docs/architecture/migration-decisions.md, dated decision under section 2). Named there as a decision the severance does not require, deliberately not taken. THE QUESTION Whether the server half also leaves internal/app/. organisation.md reserves internal/app/<application>/ for dependency injection, wiring and lifecycle, and a store-backed gRPC server is infrastructure by that definition. WHY IT WAS NOT IN SCOPE FOR 1ng1 The architecture gate (8cda.6.5) does not measure it: the gate checks that cmd/archie-messaging links no banned runtime packages, and the server's location does not affect the messaging service's import graph. Moving it would also multiply the diff across archied's wiring AND the State Store binary for a purity gain nothing currently measures. WHAT TO DO WHEN IT IS TAKEN Decide from organisation.md's authority and the cost across the two consumers; do not fold it into a severance change. ### Close reason Moved to internal/infrastructure/controlplanestore; internal/app/controlplane removed --- _Imported from beads `archie-core-8f4n` · GitHub #1166 · type chore · priority P3 · created 2026-09-21 · closed 2026-10-25_
sam added the lowchore labels 2026-10-27 13:39:17 +00:00
sam self-assigned this 2026-10-27 13:39:17 +00:00
sam closed this issue 2026-10-27 13:39:17 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1164