Commit 43340e6
revert(metacognitive-guard): remove session observer Stop hook (#147)
Prompt hooks on Stop only accept {decision, reason} — no additionalContext,
no systemMessage. Every other JSON field fails validation. The Stop event
is a gate (continue/stop), not a context injector.
Lesson learned: only PreToolUse, PostToolUse, UserPromptSubmit, and
SessionStart support additionalContext. Stop/SubagentStop are binary.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1b534f4 commit 43340e6
File tree
3 files changed
+2
-13
lines changed- .claude-plugin
- plugins/metacognitive-guard
- .claude-plugin
- hooks
3 files changed
+2
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 62 | | |
74 | 63 | | |
75 | 64 | | |
| |||
0 commit comments