CC hooks stripped to zero for performance
CC hooks stripped to zero for performance
Context
CC UserPromptSubmit hook (okf-prompt-lookup + cavemem) timing out at 60s on every prompt. Blocked entire terminal.
Decision
Settings.json stripped to:
- hooks: {} (empty)
- alwaysThinkingEnabled: false
- autoMemoryEnabled: false
- showThinkingSummaries: false
Removed: cavemem, okf-prompt-lookup, memory-pull, memory-push, mcp-orphan-guard, journal-cc-session-end, oriz-lint-file, rtk PreToolUse.
Rationale
- Hooks add latency on every action
- okf-prompt-lookup fired on every prompt with 60s timeout
- Cavemem/RTK/OKF benefits < startup cost for interactive use
Impact
- Startup: 3.58s → ~1s
- No more UserPromptSubmit blocks
- Skills/knowledge still accessible manually via mcp__foam__ + okf-index-lookup
Reversal path
Re-add specific hook if measurable value > latency cost. Prefer async hooks over sync.