Files
recordingtest/.claude/hooks/session-start-progress.sh
minsung 7ffbb1f757 Set up AI dev environment for recordingtest (#2)
- CLAUDE.md with collaboration rules and Planner/Generator/Evaluator cycle
- .claude/ agents, commands, skills, hooks per Claude Code conventions
- Sprint Contracts for sut-prober, normalizer, recorder, player, diff-reporter
- SUT catalog (EG-BIM Modeler, 187 plugins) and .gitignore excluding SUT tree
- PROGRESS.md / PLAN.md as shared agent handoff state
- Solution scaffold targeting sut-prober PoC

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 13:57:20 +09:00

27 lines
481 B
Bash

#!/usr/bin/env bash
# SessionStart hook: surface PROGRESS.md and PLAN.md so any agent can pick up work.
set -e
ctx=""
for f in PROGRESS.md PLAN.md; do
if [ -f "$f" ]; then
ctx="${ctx}
=== $f ===
$(head -80 "$f")"
else
ctx="${ctx}
=== $f ===
(missing — run /handoff to bootstrap)"
fi
done
# Emit JSON so Claude Code adds it as additionalContext.
jq -n --arg c "$ctx" '{
hookSpecificOutput: {
hookEventName: "SessionStart",
additionalContext: $c
}
}'