fix(agentic): config path is ~/Code/.core/agents.yaml only

All .core/ config lives at codePath/.core/ — not in individual repos.

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Snider 2026-03-22 02:28:05 +00:00
parent 94cc1b9ed5
commit 72ba11b481

View file

@ -43,9 +43,7 @@ type AgentsConfig struct {
// loadAgentsConfig reads config/agents.yaml from the code path.
func (s *PrepSubsystem) loadAgentsConfig() *AgentsConfig {
paths := []string{
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"),
filepath.Join(s.codePath, ".core", "agents.yaml"),
}
for _, path := range paths {