fix: remove duplicate hooks declaration from plugin.json

Fixes #103, #106, #108

Claude Code automatically loads hooks/hooks.json by convention.
Explicitly declaring it in plugin.json causes a duplicate detection
error: "Duplicate hooks file detected"

Added regression test to prevent this from being reintroduced.
This commit is contained in:
Affaan Mustafa
2026-01-28 23:02:05 -08:00
parent 81003b1ca6
commit e3a1306369
2 changed files with 17 additions and 2 deletions

View File

@@ -38,6 +38,5 @@
"./agents/refactor-cleaner.md",
"./agents/security-reviewer.md",
"./agents/tdd-guide.md"
],
"hooks": "./hooks/hooks.json"
]
}