aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/common
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-20 17:35:03 -0500
committerCraig Jennings <c@cjennings.net>2026-04-20 17:35:03 -0500
commit9ea97d5fd08b1756823da36a4417f6610927feea (patch)
tree2cce757887b092beb425356d51def870cf112d0c /dotfiles/common
parente391abc38fa741ce304c97cfdcb9e6df5e9dc41a (diff)
downloadarchsetup-9ea97d5fd08b1756823da36a4417f6610927feea.tar.gz
archsetup-9ea97d5fd08b1756823da36a4417f6610927feea.zip
claude/settings: sync archsetup source to live — hooks + plugins + attribution
Merges live ~/.claude/settings.json content (hooks: PreCompact + PreToolUse/Bash with git-commit-confirm, gh-pr-create-confirm, destructive-bash-confirm; enabledPlugins) into the archsetup source that velox was already symlinking. Previous state: velox symlinked archsetup source (attribution only, missing hooks/plugins). Ratio had a standalone file (hooks/plugins but no attribution). Both machines asymmetric and incomplete. Now: single source of truth in archsetup/dotfiles/common/.claude/ settings.json. Ratio needs to replace standalone file with symlink (manual step per-machine).
Diffstat (limited to 'dotfiles/common')
-rw-r--r--dotfiles/common/.claude/settings.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/dotfiles/common/.claude/settings.json b/dotfiles/common/.claude/settings.json
index aaf8b1b..542249b 100644
--- a/dotfiles/common/.claude/settings.json
+++ b/dotfiles/common/.claude/settings.json
@@ -17,5 +17,36 @@
"attribution": {
"commit": "",
"pr": ""
+ },
+ "hooks": {
+ "PreCompact": [
+ {
+ "hooks": [
+ {
+ "type": "command",
+ "command": "~/.claude/hooks/precompact-priorities.sh"
+ }
+ ]
+ }
+ ],
+ "PreToolUse": [
+ {
+ "matcher": "Bash",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "~/.claude/hooks/git-commit-confirm.py"
+ },
+ {
+ "type": "command",
+ "command": "~/.claude/hooks/gh-pr-create-confirm.py"
+ },
+ {
+ "type": "command",
+ "command": "~/.claude/hooks/destructive-bash-confirm.py"
+ }
+ ]
+ }
+ ]
}
}