Repository navigation
Commit 28502c6
committed
chore(ui/.claude): delete the nested guard hooks that no session loads
After the monorepo merge `ui/` is no session's project root, so Claude Code
reads the root `.claude/settings.json` and never the nested one. The four ui
guard hooks (guard-main-checkout, guard-main-checkout-bash,
guard-shared-stash, guard-tree-enum, each with its self-test) never fire, yet
they read as live guardrails. The root `.claude/hooks/` carries the same four
guards with identical verdict logic and wires them in the root settings.
Delete the eight files and the `hooks` block of `ui/.claude/settings.json`
that wired them; the file keeps its permissions block and stays valid JSON.
Move the `ui-claude-tree` specimen in check-governed-merges' self-test to
`ui/.claude/skills/verify/SKILL.md`, a surviving file under the row, so the
row's Tier H assertions keep their teeth.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4cxp4Fjwh9pEpn19fBR1 parent 8c7021d commit 28502c6
10 files changed
Lines changed: 1 addition & 2846 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4516 | 4516 | | |
4517 | 4517 | | |
4518 | 4518 | | |
4519 | | - | |
| 4519 | + | |
4520 | 4520 | | |
4521 | 4521 | | |
4522 | 4522 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments