This repository was archived by the owner on May 2, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhooks.json
More file actions
91 lines (91 loc) · 2.06 KB
/
Copy pathhooks.json
File metadata and controls
91 lines (91 loc) · 2.06 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"version": 2,
"hooks": {
"preToolUse": [
{
"type": "command",
"bash": "~/.claude/hooks/enforce-standards.sh",
"timeoutSec": 10
},
{
"type": "command",
"bash": "~/.claude/hooks/worktree-guard.sh",
"timeoutSec": 10
},
{
"type": "command",
"bash": "~/.claude/hooks/session-file-lock.sh",
"timeoutSec": 10
},
{
"type": "command",
"bash": "~/.claude/hooks/warn-bash-antipatterns.sh",
"timeoutSec": 5
},
{
"type": "command",
"bash": "~/.claude/hooks/prefer-ci-summary.sh",
"timeoutSec": 5
},
{
"type": "command",
"bash": "~/.claude/hooks/warn-infra-plan-drift.sh",
"timeoutSec": 5
},
{
"type": "command",
"bash": "~/.claude/hooks/guard-plan-mode.sh",
"timeoutSec": 5
},
{
"type": "command",
"bash": "~/.claude/hooks/enforce-plan-db-safe.sh",
"timeoutSec": 5
},
{
"type": "command",
"bash": "~/.claude/hooks/enforce-plan-edit.sh",
"timeoutSec": 10
}
],
"postToolUse": [
{
"type": "command",
"bash": "~/.claude/hooks/enforce-line-limit.sh",
"timeoutSec": 10
},
{
"type": "command",
"bash": "~/.claude/hooks/auto-format.sh",
"timeoutSec": 10
},
{
"type": "command",
"bash": "~/.claude/hooks/guard-settings.sh",
"timeoutSec": 5
},
{
"type": "command",
"bash": "~/.claude/hooks/verify-before-claim.sh",
"timeoutSec": 5
}
],
"sessionEnd": [
{
"type": "command",
"bash": "~/.claude/hooks/session-task-recovery.sh",
"timeoutSec": 30
},
{
"type": "command",
"bash": "~/.claude/hooks/session-tokens.sh",
"timeoutSec": 15
},
{
"type": "command",
"bash": "~/.claude/hooks/session-file-unlock.sh",
"timeoutSec": 10
}
]
}
}