Skip to content

Commit 63793b2

Browse files
committed
tool updates
1 parent e4788be commit 63793b2

25 files changed

Lines changed: 2790 additions & 12 deletions

File tree

‎.claude/CLAUDE.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Alison Haire (Wonderland). Documentation lead. Decision authority. Not a babysit
5050
| `/dispatch` | Parallel batch work | Parallel agent coordinator; batch audits, multi-directory scans |
5151
| `/agent-brief` | Every agent spawn | Standard instruction template; quality contract, return format, failure protocol |
5252
| `/diagnose` | Something is broken or a fix has failed twice | Systematic debugging: reproduce, gather facts, hypothesise from evidence, test one at a time, fix root cause |
53+
| `/close` | End of any session | Verify tasks against repo, write completion report, update session log and work streams table |
5354

5455
**The workflow:** `/thread` → `/pm` → `/research` → `/design` → `/build` → `/iterate` → loop as needed.
5556

@@ -68,6 +69,7 @@ Alison Haire (Wonderland). Documentation lead. Decision authority. Not a babysit
6869
- Decisions made in chat that are not written to the decision registry do not exist.
6970
- After 2 failed attempts at the same approach: STOP. Root-cause analyse. Propose a different approach. Do not retry.
7071
- Ignore IDE-opened file context (messages like "The user opened the file X in the IDE") unless the file is explicitly referenced in the message.
72+
- Use TodoWrite to track session tasks. Create the task list immediately after defining the session outcome in `/thread`. Update status in real time. At `/close`, the task list is the source of truth for what was attempted.
7173

7274
---
7375

‎.claude/settings.json‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,18 @@
4141
]
4242
}
4343
],
44+
"PostToolUse": [
45+
{
46+
"matcher": "Grep",
47+
"hooks": [
48+
{
49+
"type": "command",
50+
"command": "node operations/scripts/dispatch/governance/grep-loop-guard.js",
51+
"statusMessage": "Checking for search loops..."
52+
}
53+
]
54+
}
55+
],
4456
"PostToolUseFailure": [
4557
{
4658
"hooks": [

0 commit comments

Comments
 (0)