fix: config search uses CoreRoot() — ~/Code/.core/agents.yaml
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 <virgil@lethean.io>
This commit is contained in:
parent
8c76f496ed
commit
327d78d08f
1 changed files with 1 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue