From 08260e2c6fbb2afc199c0046c23ae9a58543b9db Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 4 Apr 2026 21:24:26 +0000 Subject: [PATCH] huskies: done 482_refactor_split_agent_definitions_from_project_toml_into_agents_toml --- ...ions_from_project_toml_into_agents_toml.md | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .huskies/work/5_done/482_refactor_split_agent_definitions_from_project_toml_into_agents_toml.md diff --git a/.huskies/work/5_done/482_refactor_split_agent_definitions_from_project_toml_into_agents_toml.md b/.huskies/work/5_done/482_refactor_split_agent_definitions_from_project_toml_into_agents_toml.md new file mode 100644 index 00000000..586d9105 --- /dev/null +++ b/.huskies/work/5_done/482_refactor_split_agent_definitions_from_project_toml_into_agents_toml.md @@ -0,0 +1,26 @@ +--- +name: "Split agent definitions from project.toml into agents.toml" +--- + +# Refactor 482: Split agent definitions from project.toml into agents.toml + +## Current State + +- TBD + +## Desired State + +Move all `[[agent]]` blocks from `.huskies/project.toml` into a separate `.huskies/agents.toml`. The server loads agents from agents.toml and merges with project.toml config. Falls back to inline `[[agent]]` blocks in project.toml for backwards compatibility. The watcher should detect changes to agents.toml and hot-reload. This is a prerequisite for bug 481 (scaffold copies default agents to new projects) — agents.toml becomes the embeddable template. + +## Acceptance Criteria + +- [ ] All [[agent]] blocks moved from .huskies/project.toml to .huskies/agents.toml +- [ ] Server loads agent config from agents.toml, falls back to inline [[agent]] in project.toml for backwards compat +- [ ] Watcher detects agents.toml changes and triggers hot-reload +- [ ] project.toml is significantly smaller (only project settings remain) +- [ ] agents.toml is the canonical default template for scaffolding (prerequisite for bug 481) +- [ ] All existing agent functionality unchanged + +## Out of Scope + +- TBD