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 <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson
2026-01-16 11:54:37 -06:00
parent 3ca4f0a4fa
commit 1f8c112fe2
2 changed files with 3 additions and 21 deletions

View File

@@ -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:

View File

@@ -368,7 +368,6 @@ Your STACK.md feeds into roadmap creation. Be prescriptive:
<output>
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.
</output>
", subagent_type="gsd-project-researcher", description="Stack research")
@@ -408,7 +407,6 @@ Your FEATURES.md feeds into requirements definition. Categorize clearly:
<output>
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.
</output>
", subagent_type="gsd-project-researcher", description="Features research")
@@ -448,7 +446,6 @@ Your ARCHITECTURE.md informs phase structure in roadmap. Include:
<output>
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.
</output>
", subagent_type="gsd-project-researcher", description="Architecture research")
@@ -488,7 +485,6 @@ Your PITFALLS.md prevents mistakes in roadmap/planning. For each pitfall:
<output>
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.
</output>
", subagent_type="gsd-project-researcher", description="Pitfalls research")
```