aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-23 23:43:33 -0400
committerCraig Jennings <c@cjennings.net>2026-06-23 23:43:33 -0400
commit96cd34f78e0751d1adabef87201a6592563c2b91 (patch)
tree13dcb71af8d943ba61f08d8b25e4f6620952bd88
parentf87f59cc9eb1dd492be5b55870271d67245c1fdd (diff)
downloadrulesets-96cd34f78e0751d1adabef87201a6592563c2b91.tar.gz
rulesets-96cd34f78e0751d1adabef87201a6592563c2b91.zip
feat(wrap): wire the ai-wrap-teardown Stop hook in settings.json
The hooks/settings-snippet.json doc carried the Stop block, but the live tracked .claude/settings.json (symlinked to ~/.claude/settings.json) needed it too for the teardown to actually fire. Activates next session, when the harness reads hooks. Claude-Session: https://claude.ai/code/session_017PtX1nt1rtYVATuzmzBS4f
-rw-r--r--.claude/settings.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/.claude/settings.json b/.claude/settings.json
index 5ed33e9..33ed7e6 100644
--- a/.claude/settings.json
+++ b/.claude/settings.json
@@ -48,6 +48,16 @@
}
]
}
+ ],
+ "Stop": [
+ {
+ "hooks": [
+ {
+ "type": "command",
+ "command": "~/.claude/hooks/ai-wrap-teardown.sh"
+ }
+ ]
+ }
]
},
"statusLine": {