T06 · System Persistence
- Location
references/troubleshooting.md:181- Finding
Global governance hooks persist across sessions and bypass project folder trust
- Content
View full analysis
/decisions`. ``` The associated behavior is described in `references/platform-knowledge.md:208-214`: ```markdown **Claude Code Hooks (`hooks/`)**: Three Python scripts for `PreToolUse`, `PostToolUse`, and `Stop` lifecycle events. Require only stdlib, no pip installs. Governed tools: Bash, Edit, Write, MultiEdit, sub-agent spawns (Agent/Task), and MCP tool calls (`mcp__*`) — so connector sends like Gmail/Stripe/Calendar are governed too. ``` ### Technical Analysis The instructions recommend installing governance hooks into the user-level Claude Code configuration at `~/.claude/settings.json`. They explicitly state that this installation: - Is not subject to project folder trust. - Fires in every project. - Survives the current Skill execution and loads in future sessions. - Intercepts Bash commands, file writes, e ...[truncated 2339 chars]- Remediation
View remediation
