@codyswann/lisa 4.37.3 → 4.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/all/copy-contents/.gitattributes +9 -0
- package/dist/core/learnings-merge-driver.d.ts +8 -0
- package/dist/core/learnings-merge-driver.d.ts.map +1 -1
- package/dist/core/learnings-merge-driver.js +17 -0
- package/dist/core/learnings-merge-driver.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +28 -2
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +5 -4
- package/plugins/lisa/.claude-plugin/plugin.json +28 -1
- package/plugins/lisa/.codex-plugin/hooks.json +27 -0
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/hooks/withdrawn-rulings.mjs +525 -0
- package/plugins/lisa/hooks/withdrawn-rulings.sh +24 -0
- package/plugins/lisa/rules/eager/withdrawn-rulings.md +69 -0
- package/plugins/lisa/rules/reference/withdrawn-rulings.md +114 -0
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +19 -1
- package/plugins/lisa-copilot/hooks/withdrawn-rulings.mjs +525 -0
- package/plugins/lisa-copilot/hooks/withdrawn-rulings.sh +24 -0
- package/plugins/lisa-copilot/rules/eager/withdrawn-rulings.md +69 -0
- package/plugins/lisa-copilot/rules/reference/withdrawn-rulings.md +114 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/hooks/hooks.json +10 -0
- package/plugins/lisa-cursor/hooks/withdrawn-rulings.mjs +525 -0
- package/plugins/lisa-cursor/hooks/withdrawn-rulings.sh +24 -0
- package/plugins/lisa-cursor/rules/withdrawn-rulings-reference.mdc +119 -0
- package/plugins/lisa-cursor/rules/withdrawn-rulings.mdc +74 -0
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/src/base/.claude-plugin/plugin.json +27 -0
- package/plugins/src/base/hooks/withdrawn-rulings.mjs +525 -0
- package/plugins/src/base/hooks/withdrawn-rulings.sh +24 -0
- package/plugins/src/base/rules/eager/withdrawn-rulings.md +69 -0
- package/plugins/src/base/rules/reference/withdrawn-rulings.md +114 -0
- package/scripts/lib/hook-registration-audit.mjs +612 -0
- package/typescript/copy-contents/.husky/pre-push +98 -26
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Hook wrapper for the withdrawn-rulings ledger (CodySwannGT/lisa#3752).
|
|
3
|
+
#
|
|
4
|
+
# Two events, one script:
|
|
5
|
+
# --session-start SessionStart / SubagentStart — stamp what this session is
|
|
6
|
+
# born knowing, and replay the recent withdrawals.
|
|
7
|
+
# --hook PostToolUse — announce ONLY what was withdrawn since this
|
|
8
|
+
# session started, once each.
|
|
9
|
+
#
|
|
10
|
+
# Advisory by construction — ALWAYS exit 0. A session that cannot read the
|
|
11
|
+
# ledger must keep working; a broken hook that wedges every tool call would be a
|
|
12
|
+
# far worse defect than the one this closes. Every infrastructure gap (no node,
|
|
13
|
+
# unreadable stdin) is also exit 0, and `bun run check:withdrawn-rulings` is
|
|
14
|
+
# what guarantees the ledger itself still parses.
|
|
15
|
+
set -uo pipefail
|
|
16
|
+
|
|
17
|
+
input="$(cat 2>/dev/null || true)"
|
|
18
|
+
|
|
19
|
+
command -v node >/dev/null 2>&1 || exit 0
|
|
20
|
+
|
|
21
|
+
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
22
|
+
|
|
23
|
+
printf '%s' "$input" | node "$script_dir/withdrawn-rulings.mjs" "$@" || true
|
|
24
|
+
exit 0
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Withdrawn Rulings — reference"
|
|
3
|
+
alwaysApply: false
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Withdrawn Rulings — reference
|
|
7
|
+
|
|
8
|
+
Long-form body for the eager rule `withdrawn-rulings`. Origin: CodySwannGT/lisa#3752.
|
|
9
|
+
|
|
10
|
+
## The general property
|
|
11
|
+
|
|
12
|
+
A session is a snapshot. Three independent instances of it were measured on one day:
|
|
13
|
+
|
|
14
|
+
1. **Plugin version.** A session executes the plugin cache directory resolved *when the session
|
|
15
|
+
started*. A session roughly eleven hours old was running one version while the default branch and
|
|
16
|
+
the marketplace clone were two releases ahead — with the newer version already sitting in that
|
|
17
|
+
cache. Not a distribution failure: updating the cache does not help a running session, only a
|
|
18
|
+
restart re-resolves. That session reported an already-fixed defect as live, persuasively, because
|
|
19
|
+
it really had observed the behaviour. It was reporting the truth about a stale binary.
|
|
20
|
+
2. **Rules injection.** The rule injector reads `rules/eager/*.md` and concatenates them into
|
|
21
|
+
context at SessionStart and SubagentStart. No metadata, no expiry, no filter — a rule withdrawn
|
|
22
|
+
upstream stays in the context of every session that started before the withdrawal, for that
|
|
23
|
+
session's whole life.
|
|
24
|
+
3. **Shipped versus in effect.** A fix merged to the default branch is not in effect for any session
|
|
25
|
+
already running.
|
|
26
|
+
|
|
27
|
+
**A fix has two facts behind it: that it exists, and that it is in effect.** Testing either one and
|
|
28
|
+
reporting "fixed" is the error. Two agents made opposite halves of that mistake in a single evening,
|
|
29
|
+
neither carelessly, each holding a real measurement.
|
|
30
|
+
|
|
31
|
+
## The two instances that produced this rule
|
|
32
|
+
|
|
33
|
+
**A correction that was itself wrong, published.** A claim was refuted with specific file-and-line
|
|
34
|
+
evidence. The refutation was propagated to two agents and into a public work-item comment before a
|
|
35
|
+
third agent, reading the source directly, established that the original claim was right and the
|
|
36
|
+
refutation had been produced by grepping a stale checkout. The wrong correction stood for roughly
|
|
37
|
+
forty minutes. Anyone who read that item in the interval holds the wrong version and has no signal
|
|
38
|
+
it changed — the retraction is a later comment, which a reader who has already formed a conclusion
|
|
39
|
+
will not necessarily see.
|
|
40
|
+
|
|
41
|
+
**A workaround circulated, then retracted.** A technique was recommended to three agents, then
|
|
42
|
+
disproved by measurement and withdrawn. The three had no mechanism to learn it was withdrawn.
|
|
43
|
+
|
|
44
|
+
And the technique had **zero observed successes but still read as having worked**: the agent
|
|
45
|
+
performed it, the very next operation was refused, it worked around the failure by other means, and
|
|
46
|
+
later the condition the technique was supposed to create arrived on its own for unrelated reasons.
|
|
47
|
+
Nothing about that sequence looks like a failure from outside.
|
|
48
|
+
|
|
49
|
+
## Why durable memory is the worst case
|
|
50
|
+
|
|
51
|
+
A superseded finding survives longest exactly where it was best recorded. A claim made in passing
|
|
52
|
+
decays with the conversation; a claim written to a memory file persists and is re-read
|
|
53
|
+
authoritatively by future sessions. **The more responsibly a finding was captured, the more durable
|
|
54
|
+
its error becomes** — and the retraction, being conversational, decays while the claim does not.
|
|
55
|
+
|
|
56
|
+
## What makes this hard
|
|
57
|
+
|
|
58
|
+
- **A session cannot detect that its own context is stale.** Context completeness is not observable
|
|
59
|
+
from inside. Any fix that asks an agent to assess its own context is the trap, not the remedy.
|
|
60
|
+
- **A retraction is usually not written to any canonical surface.** It is a reply, produced under
|
|
61
|
+
exactly the conditions least likely to bear a chore.
|
|
62
|
+
- **The audience is not enumerable.** Whoever received the original may have relayed it onward, and
|
|
63
|
+
a session that has gone quiet is unreachable by any message.
|
|
64
|
+
|
|
65
|
+
The third point is why the mechanism is a **re-check by the reader**, not a broadcast by the
|
|
66
|
+
publisher. The publisher records once; every live session re-checks on its own.
|
|
67
|
+
|
|
68
|
+
## The ledger's two tiers
|
|
69
|
+
|
|
70
|
+
| tier | path | who it reaches |
|
|
71
|
+
|---|---|---|
|
|
72
|
+
| repository | `.lisa/WITHDRAWN.jsonl` (committed, union-merged) | every future reader of this project, forever |
|
|
73
|
+
| machine | `${LISA_STATE_HOME:-~/.lisa}/withdrawn-rulings.jsonl` | sibling sessions in **other worktrees on this machine, now** |
|
|
74
|
+
|
|
75
|
+
A withdrawal is written to both by one command; reads are the union, de-duplicated by id. The
|
|
76
|
+
machine tier exists because a committed file cannot reach a sibling agent until it is merged and
|
|
77
|
+
pulled, and the audience that needs the retraction soonest is the one working beside you.
|
|
78
|
+
|
|
79
|
+
JSONL rather than prose: each line is independent, so concurrent appends from many agents do not
|
|
80
|
+
collide and `merge=union` reconstructs the union exactly. A prose ledger would need a bespoke merge
|
|
81
|
+
driver to survive the same traffic.
|
|
82
|
+
|
|
83
|
+
## How a running session is reached
|
|
84
|
+
|
|
85
|
+
`--session-start` stamps a per-session mark recording the ids the session was born already knowing.
|
|
86
|
+
`--hook` runs after every tool result and announces exactly the entries that appeared **since**,
|
|
87
|
+
once each.
|
|
88
|
+
|
|
89
|
+
The common case is the cheap case: when neither ledger's `size:mtime` has moved, `--hook` returns
|
|
90
|
+
after two `stat` calls without parsing anything. It fires on every tool call in every session and
|
|
91
|
+
every subagent, so anything expensive multiplies.
|
|
92
|
+
|
|
93
|
+
A **missing mark is deliberately silent**. A session with no mark is one whose starting knowledge is
|
|
94
|
+
unknown; announcing every historical withdrawal to it would degrade the mechanism into distrusting
|
|
95
|
+
everything, which is the failure the control case in #3752 exists to prevent.
|
|
96
|
+
|
|
97
|
+
## Surface parity
|
|
98
|
+
|
|
99
|
+
| surface | session stamp | mid-session announcement | `--list` at the escalation boundary |
|
|
100
|
+
|---|---|---|---|
|
|
101
|
+
| Claude Code | yes — SessionStart and SubagentStart | yes — PostToolUse | yes |
|
|
102
|
+
| Codex | yes, interactive only | yes, interactive only | yes |
|
|
103
|
+
| Cursor | yes — both start events | yes | yes |
|
|
104
|
+
| Copilot | main sessions only — it has no subagent-start event, so a Copilot subagent is stamp-less and therefore silent | yes — `postToolUse` | yes |
|
|
105
|
+
| Antigravity | no — its plugin ships blocking `PreToolUse` guards only, and headless hooks do not fire | no | yes |
|
|
106
|
+
| OpenCode | no — it has no plugin hook runtime, only rules and skills | no | yes |
|
|
107
|
+
|
|
108
|
+
Where a surface cannot carry the automatic half, the eager rule's `--list` instruction is the
|
|
109
|
+
carried half: it is the same pointer shape #3592 shipped, which survives precisely because it does
|
|
110
|
+
not travel inside the thing it points at. `codex exec` runs no plugin hooks at all, so on that
|
|
111
|
+
surface the ledger is a read the agent performs, not one performed for it. Antigravity and OpenCode
|
|
112
|
+
are the same shape, permanently rather than per-invocation: neither carries a session-lifecycle hook
|
|
113
|
+
today, which is the identical accommodation `failure-signature-index` makes on those two surfaces.
|
|
114
|
+
|
|
115
|
+
## What deliberately does not belong here
|
|
116
|
+
|
|
117
|
+
A disagreement that has not been settled. The ledger is for a claim its own author has **withdrawn**
|
|
118
|
+
— not for a claim someone doubts. A tombstone for a live dispute converts the ledger into an
|
|
119
|
+
argument, and an argument is not something a session can act on in one line.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Withdrawn Rulings — a Retraction Travels by the Same Mechanism as the Finding (load-bearing)"
|
|
3
|
+
alwaysApply: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Withdrawn Rulings — a Retraction Travels by the Same Mechanism as the Finding (load-bearing)
|
|
7
|
+
|
|
8
|
+
**A session is a snapshot, and nothing reaches back into it.** Rules are injected once at session
|
|
9
|
+
start. The plugin version a session executes is resolved once at startup. A fix merged to the
|
|
10
|
+
default branch is not in effect for anything already running. So guidance that is **added** after a
|
|
11
|
+
session starts can at least be found on disk — `settled-decisions` sends you to re-read the
|
|
12
|
+
instruction file at the escalation boundary. Guidance that is **withdrawn** cannot be found at all:
|
|
13
|
+
deleting the source is a push, and a push reaches no existing reader.
|
|
14
|
+
|
|
15
|
+
The result is one-directional propagation. **New guidance travels; corrections do not.**
|
|
16
|
+
|
|
17
|
+
## The test for any correction
|
|
18
|
+
|
|
19
|
+
> Through which channel did the original claim reach its audience, and has the withdrawal gone
|
|
20
|
+
> through that same channel?
|
|
21
|
+
|
|
22
|
+
- Written to a durable file → the retraction is written to that file.
|
|
23
|
+
- Posted as a work-item comment → edit the original comment, do not only append. A reader who
|
|
24
|
+
arrives later and forms a conclusion never scrolls to the reply.
|
|
25
|
+
- Relayed in a message → it reaches the same recipients, which requires knowing who they were.
|
|
26
|
+
You usually do not, which is why the ledger below exists.
|
|
27
|
+
|
|
28
|
+
## Mandatory
|
|
29
|
+
|
|
30
|
+
- **Record every withdrawal in the ledger, with one command.** Retracting a claim you circulated,
|
|
31
|
+
wrote down, or published is not done until this has run:
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
node "$CLAUDE_PLUGIN_ROOT/hooks/withdrawn-rulings.mjs" --withdraw <id> \
|
|
35
|
+
--claim "<the withdrawn claim, verbatim>" \
|
|
36
|
+
--because "<what disproved it>" \
|
|
37
|
+
[--superseded-by <id>] [--reached <channel> ...]
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
The verbatim claim is required and the command refuses without it: **a tombstone the holder of the
|
|
41
|
+
claim cannot recognise reaches them without reaching them.**
|
|
42
|
+
|
|
43
|
+
- **The ledger is the retraction path, precisely because it is cheap.** Writing a finding feels
|
|
44
|
+
productive; writing a retraction is a chore produced mid-task, after being corrected, when
|
|
45
|
+
attention has moved on. A rule saying "always record retractions durably" is a discipline, and
|
|
46
|
+
disciplines do not reach that moment. One command does.
|
|
47
|
+
|
|
48
|
+
- **Check it at the escalation boundary**, alongside the instruction-file re-read
|
|
49
|
+
`settled-decisions` already requires: `node "$CLAUDE_PLUGIN_ROOT/hooks/withdrawn-rulings.mjs"
|
|
50
|
+
--list`. This is what harnesses with no PostToolUse hook rely on.
|
|
51
|
+
|
|
52
|
+
- **Verify before propagating.** Every retraction is a claim that was relayed before it was checked.
|
|
53
|
+
Relaying a finding makes you a publisher of it, and a publisher owes the correction.
|
|
54
|
+
|
|
55
|
+
## What arrives on its own
|
|
56
|
+
|
|
57
|
+
On Claude Code the ledger is read for you: it is stamped at session start and re-checked after every
|
|
58
|
+
tool call, so a ruling withdrawn **while you are running** arrives attached to your next tool result
|
|
59
|
+
— naming the claim, why it fell, and what replaced it. Two `stat` calls when nothing changed.
|
|
60
|
+
|
|
61
|
+
It announces only what was withdrawn **since this session started**, and only once each. An
|
|
62
|
+
un-withdrawn ruling is never flagged; a mechanism that made you distrust everything would be worse
|
|
63
|
+
than the gap it closes.
|
|
64
|
+
|
|
65
|
+
## The failure mode that makes this urgent
|
|
66
|
+
|
|
67
|
+
**A technique that never works can still look like it worked**, because the condition it was
|
|
68
|
+
supposed to create arrives later on its own. That is worse than intermittency: an intermittent
|
|
69
|
+
technique has a success rate an observer can become suspicious of; this has none, only a delayed
|
|
70
|
+
coincidence that reads as confirmation. Such a claim will not retract itself, and everyone holding
|
|
71
|
+
it believes they have seen it succeed.
|
|
72
|
+
|
|
73
|
+
Full prose, the two measured instances, and the ledger's two tiers:
|
|
74
|
+
[reference/withdrawn-rulings.md](withdrawn-rulings-reference.mdc).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.38.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.38.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, across Claude and Codex.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.38.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.38.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.38.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -89,6 +89,15 @@
|
|
|
89
89
|
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/enforce-team-first.sh"
|
|
90
90
|
}
|
|
91
91
|
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"matcher": "Bash|Edit|Write|Read|Task|Grep|Glob",
|
|
95
|
+
"hooks": [
|
|
96
|
+
{
|
|
97
|
+
"type": "command",
|
|
98
|
+
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/withdrawn-rulings.sh --hook"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
92
101
|
}
|
|
93
102
|
],
|
|
94
103
|
"PreToolUse": [
|
|
@@ -201,6 +210,15 @@
|
|
|
201
210
|
}
|
|
202
211
|
]
|
|
203
212
|
},
|
|
213
|
+
{
|
|
214
|
+
"matcher": "",
|
|
215
|
+
"hooks": [
|
|
216
|
+
{
|
|
217
|
+
"type": "command",
|
|
218
|
+
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/withdrawn-rulings.sh --session-start"
|
|
219
|
+
}
|
|
220
|
+
]
|
|
221
|
+
},
|
|
204
222
|
{
|
|
205
223
|
"matcher": "",
|
|
206
224
|
"hooks": [
|
|
@@ -248,6 +266,15 @@
|
|
|
248
266
|
}
|
|
249
267
|
]
|
|
250
268
|
},
|
|
269
|
+
{
|
|
270
|
+
"matcher": "",
|
|
271
|
+
"hooks": [
|
|
272
|
+
{
|
|
273
|
+
"type": "command",
|
|
274
|
+
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/withdrawn-rulings.sh --session-start"
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
},
|
|
251
278
|
{
|
|
252
279
|
"matcher": "",
|
|
253
280
|
"hooks": [
|