You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .please/docs/tracks/active/gatekeeper-v2-20260331/plan.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,3 +120,28 @@ The PermissionRequest prompt is rewritten with the full auto-mode rule set from
120
120
- Decision: soft_deny returns null (passthrough) rather than a new decision type
121
121
Rationale: Claude Code hook protocol already supports null = passthrough to next hook. No SDK changes needed.
122
122
Date/Author: 2026-03-31 / Claude
123
+
124
+
## Surprises & Discoveries
125
+
126
+
- Observation: `\b` word boundary fails before `.` (non-word character) in regex patterns
127
+
Evidence: `/\b\.claude\/settings/` never matches because `\b` requires word↔non-word boundary, but `.` preceded by space/start is non-word↔non-word. Fixed by using `(?:^|\s)` instead.
128
+
129
+
## Outcomes & Retrospective
130
+
131
+
### What Was Shipped
132
+
- 3-tier decision system (hard_deny / soft_deny / allow) in PreToolUse hook
0 commit comments