huskies: accept 481_bug_scaffold_does_not_copy_agent_definitions_from_project_toml_to_new_projects

This commit is contained in:
dave
2026-04-07 15:11:57 +00:00
parent fa5885154b
commit 61a8f0edca
3 changed files with 0 additions and 68 deletions
@@ -1,35 +0,0 @@
---
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 `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 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
1. Run `huskies init` on a new project
2. Check the generated `.huskies/project.toml`
3. Note: no `[[agent]]` blocks present
4. Start a coder agent on a story
5. Agent works directly in master with no worktree, no feature branch, no process
## Actual Result
No agent definitions in scaffolded project.toml. Agents run with defaults and make changes directly in master.
## Expected Result
Scaffolded project.toml includes default agent definitions (coder, QA, mergemaster) with prompts that enforce the SDTW process, worktrees, and feature branches.
## Acceptance Criteria
- [ ] Bug is fixed and verified