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:
22
.claude/hooks/stop-handoff-reminder.sh
Normal file
22
.claude/hooks/stop-handoff-reminder.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
# Stop hook: remind the agent to run /handoff if PROGRESS.md / PLAN.md / today's
|
||||
# history file look stale. Informational only — never blocks.
|
||||
set -e
|
||||
|
||||
today=$(date +%Y-%m-%d)
|
||||
msg=""
|
||||
|
||||
if [ ! -f PROGRESS.md ]; then msg="${msg}\n- PROGRESS.md missing"; fi
|
||||
if [ ! -f PLAN.md ]; then msg="${msg}\n- PLAN.md missing"; fi
|
||||
if ! ls "docs/history/${today}_"*.md >/dev/null 2>&1; then
|
||||
msg="${msg}\n- 오늘 날짜의 history 파일이 없습니다 (${today})"
|
||||
fi
|
||||
|
||||
if [ -n "$msg" ]; then
|
||||
jq -n --arg m "작업 종료 전 확인:${msg}\n→ /handoff 실행 권장" '{
|
||||
hookSpecificOutput: {
|
||||
hookEventName: "Stop",
|
||||
additionalContext: $m
|
||||
}
|
||||
}'
|
||||
fi
|
||||
Reference in New Issue
Block a user