Skip to content

Turn Claude Code into a full game dev studio — 49 AI agents, 72 workflow skills, and a complete coordination system mirroring real studio hierarchy.

Fix: session-start preview shows most recent state instead of oldest (#43)

Donchitosa1697d670e56
diff --git a/.claude/hooks/session-start.sh b/.claude/hooks/session-start.sh
index eba3e164..05687d19 100644
--- a/.claude/hooks/session-start.sh
+++ b/.claude/hooks/session-start.sh
@@ -62,8 +62,8 @@ if [ -f "$STATE_FILE" ]; then
echo "A previous session left state at: $STATE_FILE"
echo "Read this file to recover context and continue where you left off."
echo ""
- echo "Quick summary:"
- head -20 "$STATE_FILE" 2>/dev/null
+ echo "Quick summary (last 20 lines):"
+ tail -20 "$STATE_FILE" 2>/dev/null
TOTAL_LINES=$(wc -l < "$STATE_FILE" 2>/dev/null)
if [ "$TOTAL_LINES" -gt 20 ]; then
echo " ... ($TOTAL_LINES total lines — read the full file to continue)"