Repository navigation
Expand file tree
/
Copy pathhooks.json
More file actions
51 lines (51 loc) · 2.57 KB
/
Copy pathhooks.json
File metadata and controls
51 lines (51 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"hooks": {
"PreToolUse": [
{ "matcher": "Write|Edit|MultiEdit|NotebookEdit", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/gate-supervisor-scope" } ] }
],
"UserPromptSubmit": [
{ "matcher": "*", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/transcripts prompt" } ] }
],
"SubagentStart": [
{ "matcher": "red-worker|scaffolder|green-worker|structural-reviewer|final-gate", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/gate-tooling" },
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/worktree-hygiene" } ] },
{ "matcher": "*", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/transcripts stage-in" } ] }
],
"PostToolUse": [
{ "matcher": "Write", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/gate-validate-artifact" } ] },
{ "matcher": "*", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/transcripts record" } ] }
],
"Stop": [
{ "matcher": "*", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/transcripts snapshot" } ] }
],
"SubagentStop": [
{ "matcher": "intake", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/gate-intake" } ] },
{ "matcher": "standards", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/gate-standards-cited" } ] },
{ "matcher": "planner", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/gate-stage2-complete" } ] },
{ "matcher": "archivist", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/gate-memory" } ] },
{ "matcher": "red-worker", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/gate-red-verify" } ] },
{ "matcher": "scaffolder", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/gate-scaffold-verify" } ] },
{ "matcher": "green-worker", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/gate-green-verify" } ] },
{ "matcher": "structural-reviewer", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/gate-structural-integrity" } ] },
{ "matcher": "final-gate", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/gate-final" } ] },
{ "matcher": "*", "hooks": [
{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/bin/transcripts stop" } ] }
]
}
}