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:
15
.claude/hooks/guard-sut-folder.sh
Normal file
15
.claude/hooks/guard-sut-folder.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# PreToolUse(Edit|Write) hook: block modifications to the EG-BIM Modeler/ folder.
|
||||
# The SUT binary tree is read-only from recordingtest's perspective.
|
||||
set -e
|
||||
|
||||
input=$(cat)
|
||||
path=$(echo "$input" | jq -r '.tool_input.file_path // ""')
|
||||
|
||||
case "$path" in
|
||||
*/EG-BIM\ Modeler/*|*"EG-BIM Modeler"*)
|
||||
>&2 echo "🚫 EG-BIM Modeler/ is the SUT binary tree and must not be modified by recordingtest. Use docs/sut-catalog/ for derived data."
|
||||
exit 2
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
Reference in New Issue
Block a user