mirror of
https://github.com/Donchitos/Claude-Code-Game-Studios.git
synced 2026-06-27 13:01:50 +00:00
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>
20 lines
740 B
Bash
20 lines
740 B
Bash
#!/usr/bin/env bash
|
|
# post-compact.sh — fires after conversation compaction
|
|
# Reminds Claude to restore session state from the file-backed checkpoint.
|
|
|
|
ACTIVE="production/session-state/active.md"
|
|
|
|
echo "=== Context Restored After Compaction ==="
|
|
|
|
if [ -f "$ACTIVE" ]; then
|
|
SIZE=$(wc -l < "$ACTIVE" 2>/dev/null || echo "?")
|
|
echo "Session state file exists: $ACTIVE ($SIZE lines)"
|
|
echo "IMPORTANT: Read this file now to restore your working context."
|
|
echo "It contains: current task, decisions made, files in progress, open questions."
|
|
else
|
|
echo "No session state file found at $ACTIVE"
|
|
echo "If you were mid-task, check production/session-logs/ for the last session audit."
|
|
fi
|
|
|
|
echo "========================================="
|