mirror of
https://github.com/wassname/.tweakcc.git
synced 2026-06-27 16:58:37 +08:00
5801e299d5
- Resolve 8 upstream version conflicts (bump ccVersions to 2.1.63) - Merge askuserquestion "don't reference the plan" guidance from v2.1.47 - Move git guardrails to hooks: --no-verify, broad staging, interactive mode - Gut redundant prompt sub-files (destructive-ops, skip-hooks, sleep, computer) - Compress 10 system-prompt files 56% (1529w -> 672w) - Improve context compaction summary to preserve decision path - Update CLAUDE.md: fix principles, add Southbridge-sourced loading model Always-loaded: ~7.5k words (down from ~10.8k stock, ~31% total reduction) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
673 B
673 B
Hooks
Config: .claude/settings.json "hooks". Events: PreToolUse (can block), PostToolUse, PostToolUseFailure, PermissionRequest, Stop, PreCompact, UserPromptSubmit, SessionStart, Notification. Matcher: tool name.
Types: command (cmd+timeout), prompt (tool events), agent (tool events). Input (stdin JSON): session_id, tool_name, tool_input, tool_response. Output: {continue: false, stopReason: "..."} to block. PreToolUse: hookSpecificOutput.permissionDecision "allow"/"deny"/"ask", updatedInput.