From 018b18548924712cbaee8161f81cd71054abb67c Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 7 Apr 2026 11:26:08 +0000 Subject: [PATCH] huskies: done 481_bug_scaffold_does_not_copy_agent_definitions_from_project_toml_to_new_projects --- ...tory_documentation_site_for_huskies_dev.md | 27 ------------------- ...tions_from_project_toml_to_new_projects.md | 8 +++--- 2 files changed, 5 insertions(+), 30 deletions(-) delete mode 100644 .huskies/work/1_backlog/485_story_documentation_site_for_huskies_dev.md rename .huskies/work/{1_backlog => 5_done}/481_bug_scaffold_does_not_copy_agent_definitions_from_project_toml_to_new_projects.md (64%) diff --git a/.huskies/work/1_backlog/485_story_documentation_site_for_huskies_dev.md b/.huskies/work/1_backlog/485_story_documentation_site_for_huskies_dev.md deleted file mode 100644 index ef08298a..00000000 --- a/.huskies/work/1_backlog/485_story_documentation_site_for_huskies_dev.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -name: "Documentation site for huskies.dev" ---- - -# Story 485: Documentation site for huskies.dev - -## User Story - -As a new user discovering huskies, I want documentation on huskies.dev so I can learn how to set up and use the tool without having to read the source code. - -## Acceptance Criteria - -- [ ] Docs site lives under website/ directory alongside the existing landing page -- [ ] Accessible from huskies.dev (e.g. huskies.dev/docs/ or docs.huskies.dev) -- [ ] Navigation link added to the main site header -- [ ] Getting started / quickstart guide (Docker setup, first story, first agent run) -- [ ] Configuration reference: project.toml, agents.toml, bot.toml -- [ ] Bot commands reference (auto-generated from command registry or manually maintained) -- [ ] Pipeline stages explained (backlog, current, QA, merge, done) -- [ ] Chat transports guide (Matrix, WhatsApp, Slack, web UI) -- [ ] CLI reference (huskies, huskies init, huskies agent) -- [ ] Matches the visual style of the existing landing page -- [ ] Static HTML — no build step required - -## Out of Scope - -- TBD diff --git a/.huskies/work/1_backlog/481_bug_scaffold_does_not_copy_agent_definitions_from_project_toml_to_new_projects.md b/.huskies/work/5_done/481_bug_scaffold_does_not_copy_agent_definitions_from_project_toml_to_new_projects.md similarity index 64% rename from .huskies/work/1_backlog/481_bug_scaffold_does_not_copy_agent_definitions_from_project_toml_to_new_projects.md rename to .huskies/work/5_done/481_bug_scaffold_does_not_copy_agent_definitions_from_project_toml_to_new_projects.md index 23d00a70..cd24c442 100644 --- a/.huskies/work/1_backlog/481_bug_scaffold_does_not_copy_agent_definitions_from_project_toml_to_new_projects.md +++ b/.huskies/work/5_done/481_bug_scaffold_does_not_copy_agent_definitions_from_project_toml_to_new_projects.md @@ -1,16 +1,18 @@ --- -name: "Scaffold does not copy agent definitions from project.toml to new projects" +name: "Scaffold does not generate agents.toml for new projects" --- # Bug 481: Scaffold does not copy agent definitions from project.toml to new projects ## Description -When scaffolding a new project with `huskies init`, the `[[agent]]` definitions from huskies' own `project.toml` are not included in the new project's config. The scaffold generates a minimal `project.toml` with basic settings (default_qa, max_coders, etc.) but no agent blocks. +When scaffolding a new project with `huskies init`, the `[[agent]]` definitions from huskies' own `agents.toml` are not included in the new project's config. The scaffold generates a minimal `project.toml` with basic settings (default_qa, max_coders, etc.) but no `agents.toml` file at all. Without agent definitions (prompts, system prompts, model, max_turns, budget), the agents run with no guidance — they don't know about the SDTW process, worktrees, feature branches, or the rule about not committing to master. Result: agents make changes directly in master. -The scaffold should include the battle-tested agent definitions (coder, QA, mergemaster) with their prompts and system prompts so new projects get sensible agent behaviour out of the box. +The scaffold should generate a default `agents.toml` with the battle-tested agent definitions (coder, QA, mergemaster) including their prompts and system prompts so new projects get sensible agent behaviour out of the box. + +Note: agent definitions were split from `project.toml` into `agents.toml` in story #482. ## How to Reproduce