| 123456789101112131415161718192021222324252627282930313233343536373839 |
- {
- "description": "Lightweight webnovel-writer runtime guardrails: short project status on session start and best-effort blocking for direct writes to Story System/read-model files.",
- "hooks": {
- "SessionStart": [
- {
- "matcher": "*",
- "hooks": [
- {
- "type": "command",
- "command": "python -X utf8 \"${CLAUDE_PLUGIN_ROOT}/hooks/session_start.py\"",
- "timeout": 5
- }
- ]
- }
- ],
- "PreToolUse": [
- {
- "matcher": "Write|Edit|MultiEdit",
- "hooks": [
- {
- "type": "command",
- "command": "python -X utf8 \"${CLAUDE_PLUGIN_ROOT}/hooks/guard_runtime_write.py\"",
- "timeout": 5
- }
- ]
- },
- {
- "matcher": "Bash",
- "hooks": [
- {
- "type": "command",
- "command": "python -X utf8 \"${CLAUDE_PLUGIN_ROOT}/hooks/guard_runtime_write.py\"",
- "timeout": 5
- }
- ]
- }
- ]
- }
- }
|