From 327d78d08f709cbd40842c3e0a5f6361116eb60f Mon Sep 17 00:00:00 2001 From: Snider Date: Tue, 17 Mar 2026 18:57:02 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20config=20search=20uses=20CoreRoot()=20?= =?UTF-8?q?=E2=80=94=20~/Code/.core/agents.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Config now found at: 1. ~/Code/.core/agents.yaml (shared, portable) 2. ~/Code/core/agent/config/agents.yaml (repo fallback) Both Cladius and Charon find the same config. Co-Authored-By: Virgil --- pkg/agentic/queue.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/agentic/queue.go b/pkg/agentic/queue.go index a5d4547..fb19f11 100644 --- a/pkg/agentic/queue.go +++ b/pkg/agentic/queue.go @@ -42,9 +42,8 @@ type AgentsConfig struct { // loadAgentsConfig reads config/agents.yaml from the code path. func (s *PrepSubsystem) loadAgentsConfig() *AgentsConfig { paths := []string{ + filepath.Join(CoreRoot(), "agents.yaml"), filepath.Join(s.codePath, "core", "agent", "config", "agents.yaml"), - filepath.Join(s.codePath, "core", "agent", ".core", "agents.yaml"), - filepath.Join(s.codePath, "host-uk", "core", ".core", "agents.yaml"), } for _, path := range paths {