fix(app): repoint capability-host wiring contract test at internal/app/archied

Second architecture test (after contract_test.go) that still grepped
cmd/archied for wiring strings following the cmd/archied ->
internal/app/archied extraction. task check now passes clean.
This commit is contained in:
sam committed 2026-08-31 21:27:07 +10:00
1 parent fdb8d2269f
commit 9f2e332862
1 file changed
+2 -2
+2 -2
View File
@@ -85,11 +85,11 @@ func TestCapabilityHostContractHasNoGenericCapabilityHooks(t *testing.T) {
func TestArchiedWiresCapabilityHostLifecycle(t *testing.T) {
t.Parallel()
// The daemon composition lives in cmd/archied, whose wiring is now
// The daemon composition lives in internal/app/archied, whose wiring is
// split across main.go (driver) and bootstrap.go (phase methods); the
// contract reads the whole package so the enforcement survives that
// split.
archiedDir := filepath.Join("..", "..", "cmd", "archied")
archiedDir := filepath.Join("..", "..", "internal", "app", "archied")
var text strings.Builder
entries, err := os.ReadDir(archiedDir)
if err != nil {