{ "permissions": { "allow": [ "mcp__gitea__get_me", "mcp__gitea__create_repo", "mcp__gitea__issue_write", "mcp__gitea__issue_read", "Edit(/.claude/skills/golden-file-normalizer/**)", "Edit(/.claude/skills/flaui-cookbook/**)" ], "additionalDirectories": [ "C:\\Users\\nbright\\.claude" ] }, "hooks": { "SessionStart": [ { "hooks": [ { "type": "command", "command": "bash .claude/hooks/session-start-progress.sh" } ] } ], "PreToolUse": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "bash .claude/hooks/guard-sut-launch.sh" } ] }, { "matcher": "Edit|Write", "hooks": [ { "type": "command", "command": "bash .claude/hooks/guard-sut-folder.sh" } ] } ], "Stop": [ { "hooks": [ { "type": "command", "command": "bash .claude/hooks/stop-handoff-reminder.sh" } ] }, { "matcher": "*", "hooks": [ { "type": "command", "command": "bash .claude/hooks/aptabase-accumulate.sh" } ] }, { "hooks": [ { "type": "command", "command": "t=$(mktemp);cat>\"$t\";e=./.claude/hooks/token-usage/claude-hook.exe;[ -x \"$e\" ] && \"$e\" stop-record \"$t\";rm -f \"$t\"", "timeout": 5 } ] }, { "hooks": [ { "type": "command", "command": "t=$(mktemp);cat>\"$t\";e=./.claude/hooks/token-usage/claude-hook.exe;[ -x \"$e\" ] && \"$e\" stop-record \"$t\";rm -f \"$t\"", "timeout": 5 } ] }, { "hooks": [ { "type": "command", "command": "t=$(mktemp);cat>\"$t\";e=./.claude/hooks/token-usage/claude-hook.exe;[ -x \"$e\" ] && \"$e\" stop-record \"$t\";rm -f \"$t\"", "timeout": 5 } ] } ], "PostToolUse": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "bash .claude/hooks/aptabase-commit.sh" } ] }, { "hooks": [ { "type": "command", "command": "t=$(mktemp);cat>\"$t\";e=./.claude/hooks/token-usage/claude-hook.exe;[ -x \"$e\" ] && \"$e\" aptabase-commit \"$t\";rm -f \"$t\"", "timeout": 15 } ], "matcher": "Bash" }, { "hooks": [ { "type": "command", "command": "t=$(mktemp);cat>\"$t\";e=./.claude/hooks/token-usage/claude-hook.exe;[ -x \"$e\" ] && \"$e\" aptabase-commit \"$t\";rm -f \"$t\"", "timeout": 15 } ], "matcher": "Bash" }, { "hooks": [ { "type": "command", "command": "t=$(mktemp);cat>\"$t\";e=./.claude/hooks/token-usage/claude-hook.exe;[ -x \"$e\" ] && \"$e\" aptabase-commit \"$t\";rm -f \"$t\"", "timeout": 15 } ], "matcher": "Bash" } ], "UserPromptSubmit": [ { "hooks": [ { "type": "command", "command": "t=$(mktemp);cat>\"$t\";e=./.claude/hooks/token-usage/claude-hook.exe;[ -x \"$e\" ] && \"$e\" session-context \"$t\";rm -f \"$t\"", "timeout": 5 } ] }, { "hooks": [ { "type": "command", "command": "t=$(mktemp);cat>\"$t\";e=./.claude/hooks/token-usage/claude-hook.exe;[ -x \"$e\" ] && \"$e\" session-context \"$t\";rm -f \"$t\"", "timeout": 5 } ] }, { "hooks": [ { "type": "command", "command": "t=$(mktemp);cat>\"$t\";e=./.claude/hooks/token-usage/claude-hook.exe;[ -x \"$e\" ] && \"$e\" session-context \"$t\";rm -f \"$t\"", "timeout": 5 } ] } ] } }