- 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>
16 lines
483 B
Bash
16 lines
483 B
Bash
#!/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
|