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>
This commit is contained in:
26
.claude/hooks/session-start-progress.sh
Normal file
26
.claude/hooks/session-start-progress.sh
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/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
|
||||
}
|
||||
}'
|
||||
Reference in New Issue
Block a user