Skip to content

Fix hooks.json schema in 4 plugins#39

Open
richardhsuuuu wants to merge 1 commit intoanthropics:mainfrom
richardhsuuuu:fix/hooks-json-schema
Open

Fix hooks.json schema in 4 plugins#39
richardhsuuuu wants to merge 1 commit intoanthropics:mainfrom
richardhsuuuu:fix/hooks-json-schema

Conversation

@richardhsuuuu
Copy link

Summary

  • equity-research, private-equity, financial-analysis, and wealth-management plugins have hooks.json files containing an empty array ([])
  • The plugin loader expects an object with a hooks key ({"hooks": {}})
  • This causes 2 load errors on every /reload-plugins: "Invalid input: expected record, received undefined"
  • The investment-banking plugin already had the correct format

Fix

Changed all 4 hooks.json files from [] to {"hooks": {}} to match the expected schema.

Test plan

  • Run /reload-plugins and verify 0 errors
  • Run /doctor and confirm no plugin load failures

🤖 Generated with Claude Code

…d of empty array

The plugin loader expects hooks.json to be an object with a `hooks` key
(e.g. `{"hooks": {}}`), but equity-research, private-equity,
financial-analysis, and wealth-management used an empty array `[]`.
This causes "Invalid input: expected record, received undefined" errors
on plugin load. The investment-banking plugin already had the correct format.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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