From 1f8c112fe26dce023e5d3122e432757b8add2728 Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Fri, 16 Jan 2026 11:54:37 -0600 Subject: [PATCH] fix: remove commit capability from project researcher agent Researchers are always spawned in parallel (4 at once). Committing is now exclusively handled by the orchestrator or synthesizer agent after all researchers complete. Co-Authored-By: Claude Opus 4.5 --- agents/gsd-project-researcher.md | 20 +++----------------- commands/gsd/new-project.md | 4 ---- 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/agents/gsd-project-researcher.md b/agents/gsd-project-researcher.md index c066342cd..d964b0fbf 100644 --- a/agents/gsd-project-researcher.md +++ b/agents/gsd-project-researcher.md @@ -753,23 +753,9 @@ Create files in `.planning/research/`: 6. **COMPARISON.md** - If comparison mode 7. **FEASIBILITY.md** - If feasibility mode -## Step 6: Commit Research (if not in parallel mode) +## Step 6: Return Structured Result -**Check your prompt:** If it says "DO NOT commit", skip this step. Another agent handles committing. - -**If committing (standalone mode):** - -```bash -git add .planning/research/ -git commit -m "docs: research ${PROJECT_NAME} domain ecosystem - -Key findings: -- Stack: [one-liner] -- Architecture: [one-liner] -- Critical pitfall: [one-liner]" -``` - -## Step 7: Return Structured Result +**DO NOT commit.** You are always spawned in parallel with other researchers. The orchestrator or synthesizer agent commits all research files together after all researchers complete. Return to orchestrator with structured result. @@ -863,7 +849,7 @@ Research is complete when: - [ ] All findings have confidence levels - [ ] Output files created in `.planning/research/` - [ ] SUMMARY.md includes roadmap implications -- [ ] Research files committed to git (unless prompt says "DO NOT commit") +- [ ] Files written (DO NOT commit — orchestrator handles this) - [ ] Structured return provided to orchestrator Research quality indicators: diff --git a/commands/gsd/new-project.md b/commands/gsd/new-project.md index 600f18a1b..0518b14ec 100644 --- a/commands/gsd/new-project.md +++ b/commands/gsd/new-project.md @@ -368,7 +368,6 @@ Your STACK.md feeds into roadmap creation. Be prescriptive: Write to: .planning/research/STACK.md Use template: ~/.claude/get-shit-done/templates/research-project/STACK.md -DO NOT commit. The synthesizer agent commits all research files together. ", subagent_type="gsd-project-researcher", description="Stack research") @@ -408,7 +407,6 @@ Your FEATURES.md feeds into requirements definition. Categorize clearly: Write to: .planning/research/FEATURES.md Use template: ~/.claude/get-shit-done/templates/research-project/FEATURES.md -DO NOT commit. The synthesizer agent commits all research files together. ", subagent_type="gsd-project-researcher", description="Features research") @@ -448,7 +446,6 @@ Your ARCHITECTURE.md informs phase structure in roadmap. Include: Write to: .planning/research/ARCHITECTURE.md Use template: ~/.claude/get-shit-done/templates/research-project/ARCHITECTURE.md -DO NOT commit. The synthesizer agent commits all research files together. ", subagent_type="gsd-project-researcher", description="Architecture research") @@ -488,7 +485,6 @@ Your PITFALLS.md prevents mistakes in roadmap/planning. For each pitfall: Write to: .planning/research/PITFALLS.md Use template: ~/.claude/get-shit-done/templates/research-project/PITFALLS.md -DO NOT commit. The synthesizer agent commits all research files together. ", subagent_type="gsd-project-researcher", description="Pitfalls research") ```