Skip to content

fix(harness): remove explicit hooks path to avoid duplicate loading#11

Merged
moukrea merged 1 commit into
mainfrom
fix/harness-duplicate-hooks
Mar 19, 2026
Merged

fix(harness): remove explicit hooks path to avoid duplicate loading#11
moukrea merged 1 commit into
mainfrom
fix/harness-duplicate-hooks

Conversation

@moukrea
Copy link
Copy Markdown
Owner

@moukrea moukrea commented Mar 19, 2026

Summary

  • Remove "hooks": "./hooks/hooks.json" from harness plugin.json
  • Claude Code auto-loads hooks/hooks.json from the plugin directory, so declaring it explicitly causes a duplicate load error

Context

Error on install: Hook load failed: Duplicate hooks file detected: ./hooks/hooks.json resolves to already-loaded file

@moukrea moukrea merged commit 1dfba96 into main Mar 19, 2026
1 check passed
@moukrea moukrea deleted the fix/harness-duplicate-hooks branch March 19, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant