mirror of
https://github.com/Donchitos/Claude-Code-Game-Studios.git
synced 2026-06-27 04:51:46 +00:00
Model routing, PostCompact hook, parallel spawning, error recovery
Model tier assignment: - model: haiku → help, sprint-status, story-readiness, scope-check, project-stage-detect, changelog, patch-notes, onboard (read-only/format) - model: opus → review-all-gdds, architecture-review, gate-check (multi-doc synthesis, high-stakes verdicts) PostCompact hook: - New .claude/hooks/post-compact.sh — fires after compaction, reminds Claude to re-read production/session-state/active.md to restore context - Registered in settings.json between PreCompact and Stop Parallel Task spawning: - review-all-gdds: Phase 2 (consistency) and Phase 3 (design theory) now explicitly instructed to spawn as parallel Task agents simultaneously Error Recovery Protocol: - Standard BLOCKED-handling section added to: review-all-gdds, architecture-review, dev-story, team-combat, team-qa, team-narrative, team-level, team-ui, team-audio, team-release, team-polish - Pattern: surface blocker → assess dependencies → offer 3 options via AskUserQuestion → always produce partial report Coordination rules: - Added Model Tier Assignment table with routing rationale - Added Subagents vs Agent Teams section (experimental agent teams docs) - Added Parallel Task Protocol (when/how to spawn parallel agents) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,7 @@ user-invocable: true
|
||||
allowed-tools: Read, Glob, Grep, Write, Bash
|
||||
context: fork
|
||||
agent: game-designer
|
||||
model: opus
|
||||
---
|
||||
|
||||
# Review All GDDs
|
||||
@@ -81,6 +82,15 @@ If fewer than 2 system GDDs exist, stop:
|
||||
|
||||
---
|
||||
|
||||
### Parallel Execution
|
||||
|
||||
Phase 2 (Consistency) and Phase 3 (Design Theory) are independent — they read
|
||||
the same GDD inputs but produce separate reports. Spawn both as parallel Task
|
||||
agents simultaneously rather than waiting for Phase 2 to complete before
|
||||
starting Phase 3. Collect both results before writing the combined report.
|
||||
|
||||
---
|
||||
|
||||
## Phase 2: Cross-GDD Consistency
|
||||
|
||||
Work through every pair and group of GDDs to find contradictions and gaps.
|
||||
@@ -568,6 +578,20 @@ verdict from this review before architecture work can begin.
|
||||
|
||||
---
|
||||
|
||||
## Error Recovery Protocol
|
||||
|
||||
If any spawned agent returns BLOCKED, errors, or fails to complete:
|
||||
|
||||
1. **Surface immediately**: Report "[AgentName]: BLOCKED — [reason]" before continuing
|
||||
2. **Assess dependencies**: If the blocked agent's output is required by a later phase, do not proceed past that phase without user input
|
||||
3. **Offer options** via AskUserQuestion with three choices:
|
||||
- Skip this agent and note the gap in the final report
|
||||
- Retry with narrower scope (fewer GDDs, single-system focus)
|
||||
- Stop here and resolve the blocker first
|
||||
4. **Always produce a partial report** — output whatever was completed so work is not lost
|
||||
|
||||
---
|
||||
|
||||
## Collaborative Protocol
|
||||
|
||||
1. **Read silently** — load all GDDs before presenting anything
|
||||
|
||||
Reference in New Issue
Block a user