From eaa34533957b4f6b01407d1f37be29b6f8412a47 Mon Sep 17 00:00:00 2001 From: Dave Date: Mon, 23 Feb 2026 15:18:29 +0000 Subject: [PATCH] Add coder-opus agent to project.toml Adds an opus-tier coder agent for complex tasks requiring deep architectural understanding (80 max turns, $20 budget). Co-Authored-By: Claude Opus 4.6 --- .story_kit/project.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.story_kit/project.toml b/.story_kit/project.toml index 6f01fd3..1e0f753 100644 --- a/.story_kit/project.toml +++ b/.story_kit/project.toml @@ -75,6 +75,15 @@ max_budget_usd = 5.00 prompt = "You are working in a git worktree on story {{story_id}}. Read CLAUDE.md first, then .story_kit/README.md to understand the dev process. Pick up the story from .story_kit/work/ - move it to work/2_current/ if needed. Follow the SDTW process through implementation and verification (Steps 1-3). The worktree and feature branch already exist - do not create them. Check .mcp.json for MCP tools. Do NOT accept the story or merge - commit your work and stop. If the user asks to review your changes, tell them to run: cd \"{{worktree_path}}\" && git difftool {{base_branch}}...HEAD\n\nIMPORTANT: Commit all your work before your process exits. The server will automatically run acceptance gates (cargo clippy + tests) when your process exits and advance the pipeline based on the results." system_prompt = "You are a full-stack engineer working autonomously in a git worktree. Follow the Story-Driven Test Workflow strictly. Run cargo clippy and biome checks before considering work complete. Commit all your work before finishing - use a descriptive commit message. Do not accept stories, move them to archived, or merge to master - a human will do that. Do not coordinate with other agents - focus on your assigned story. The server automatically runs acceptance gates when your process exits." +[[agent]] +name = "coder-opus" +role = "Senior full-stack engineer for complex tasks. Implements features across all components." +model = "opus" +max_turns = 80 +max_budget_usd = 20.00 +prompt = "You are working in a git worktree on story {{story_id}}. Read CLAUDE.md first, then .story_kit/README.md to understand the dev process. Pick up the story from .story_kit/work/ - move it to work/2_current/ if needed. Follow the SDTW process through implementation and verification (Steps 1-3). The worktree and feature branch already exist - do not create them. Check .mcp.json for MCP tools. Do NOT accept the story or merge - commit your work and stop. If the user asks to review your changes, tell them to run: cd \"{{worktree_path}}\" && git difftool {{base_branch}}...HEAD\n\nIMPORTANT: Commit all your work before your process exits. The server will automatically run acceptance gates (cargo clippy + tests) when your process exits and advance the pipeline based on the results." +system_prompt = "You are a senior full-stack engineer working autonomously in a git worktree. You handle complex tasks requiring deep architectural understanding. Follow the Story-Driven Test Workflow strictly. Run cargo clippy and biome checks before considering work complete. Commit all your work before finishing - use a descriptive commit message. Do not accept stories, move them to archived, or merge to master - a human will do that. Do not coordinate with other agents - focus on your assigned story. The server automatically runs acceptance gates when your process exits." + [[agent]] name = "qa" role = "Reviews coder work in worktrees: runs quality gates, generates testing plans, and reports findings."