From adb958d93cda0053c02544cb2bff874520ffd41e Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Mon, 31 Aug 2026 21:25:45 +1000 Subject: [PATCH] fix(app): repoint archied wiring contract test at internal/app/archied Follow-up to the cmd/archied -> internal/app/archied wiring extraction: the architecture test that greps main.go for required wiring strings still pointed at the old cmd/archied path. --- internal/tools/provider/contract_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/tools/provider/contract_test.go b/internal/tools/provider/contract_test.go index 31b5905f3..df5f56bb2 100644 --- a/internal/tools/provider/contract_test.go +++ b/internal/tools/provider/contract_test.go @@ -32,7 +32,7 @@ func TestToolProviderEngineContractExists(t *testing.T) { func TestArchiedWiresTypedProvidersAndExecutableConsumers(t *testing.T) { t.Parallel() - mainPath := filepath.Join("..", "..", "..", "cmd", "archied", "main.go") + mainPath := filepath.Join("..", "..", "..", "internal", "app", "archied", "main.go") source, err := os.ReadFile(mainPath) if err != nil { t.Fatalf("read archied main: %v", err) @@ -43,7 +43,7 @@ func TestArchiedWiresTypedProvidersAndExecutableConsumers(t *testing.T) { // Also check the chat composition files, which hold the chat-turn wiring // extracted from main.go during the structural refactor. for _, name := range []string{"telegram_setup.go", "chat_turn_model.go", "bootstrap.go"} { - path := filepath.Join("..", "..", "..", "cmd", "archied", name) + path := filepath.Join("..", "..", "..", "internal", "app", "archied", name) source, readErr := os.ReadFile(path) if readErr == nil { text.WriteString(string(source))