Commit 94c03c9
chore: remove serena leftovers (hooks, permissions, docs, templates) (#8518)
## Summary
Serena MCP was removed from the project, but config and docs still
referenced it. The most visible symptom: every Claude Code session
failed on startup with
```
SessionStart:startup hook error
Failed with non-blocking status code: /bin/sh: 1: serena-hooks: not found
```
This completes the removal:
- **`.claude/settings.json`**: drop all `serena-hooks` hooks (PreToolUse
remind/auto-approve, SessionStart activate, Stop cleanup) and the
`mcp__serena__*` permission entry
- **`.serena/`**: delete the tracked project files and memories (were
already deleted locally, now committed)
- **`CLAUDE.md`**: remove the Serena tool section; Context7 guidance
kept
- **`agentic/commands/`**: replace Serena tool references
(`mcp__serena__*`, `list_dir`, `find_file`, `search_for_pattern`,
`think_about_collected_information`) with built-in Glob/Grep/Read/Edit
equivalents across the audit auditors, `audit.md`, `agentic.md`,
`prime.md`, `prime-deep.md`, and `audit.workflow.js`
Historical artifacts (`agentic/runs/`, `agentic/audits/`,
`agentic/specs/`) intentionally untouched.
## Verification
- `grep -rni serena` over the repo (excluding historical artifacts)
returns zero hits
- Both settings files validate as JSON
- The local untracked `.claude/settings.local.json` was cleaned
separately (not part of this PR)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent e2a5841 commit 94c03c9
25 files changed
Lines changed: 87 additions & 716 deletions
File tree
- .claude
- .serena
- memories
- agentic/commands
- audit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 19 | | |
65 | 20 | | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments