Restore the archie-ui import-boundary check purged with the test suite #1006

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

What is wrong

The harness PRD and archie-core-h3s0 both require that the dashboard process not
link the container or daemon internals, because only the daemon owns containers.
The check that enforced it, cmd/archie-ui/architecture_test.go, was deleted in
ff424b70 ("a journey in 150k lines of tests to none"). Nothing enforces the
boundary now.

Current state

The boundary holds today: go list -deps ./cmd/archie-ui links none of
internal/container, internal/app/archied or internal/agentexec. A future import
would pass the gate silently.

Done when

A check fails when a forbidden package appears in the archie-ui build graph, and
it is cheap enough to run as part of the normal gate.

Acceptance criteria

the gate fails if cmd/archie-ui ever links internal/container, internal/app/archied or internal/agentexec.

Close reason

Verified: fixed in code or doc/file no longer exists (see burndown 2026-10-13)


Imported from beads archie-core-1rdp · GitHub #1572 · type chore · priority P3 · created 2026-10-08 · closed 2026-10-12

## What is wrong The harness PRD and archie-core-h3s0 both require that the dashboard process not link the container or daemon internals, because only the daemon owns containers. The check that enforced it, cmd/archie-ui/architecture_test.go, was deleted in ff424b70 ("a journey in 150k lines of tests to none"). Nothing enforces the boundary now. ## Current state The boundary holds today: `go list -deps ./cmd/archie-ui` links none of internal/container, internal/app/archied or internal/agentexec. A future import would pass the gate silently. ## Done when A check fails when a forbidden package appears in the archie-ui build graph, and it is cheap enough to run as part of the normal gate. ### Acceptance criteria the gate fails if cmd/archie-ui ever links internal/container, internal/app/archied or internal/agentexec. ### Close reason Verified: fixed in code or doc/file no longer exists (see burndown 2026-10-13) --- _Imported from beads `archie-core-1rdp` · GitHub #1572 · type chore · priority P3 · created 2026-10-08 · closed 2026-10-12_
sam added the lowchore labels 2026-10-27 13:38:39 +00:00
sam self-assigned this 2026-10-27 13:38:39 +00:00
sam closed this issue 2026-10-27 13:38:39 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#1006