Skip to content

Bug: hooks.json uses empty array [] instead of object, causing plugin load failure #58

@shanghaicellcenter

Description

@shanghaicellcenter

Problem

Four plugins fail to load with Hook load failed error:

  • financial-analysis
  • equity-research
  • private-equity
  • wealth-management

Root Cause

Their hooks/hooks.json contains [] (empty array), but Claude Code expects an object format like {"hooks": {}}.

Failing plugins (e.g. financial-analysis/hooks/hooks.json):

[]

Working plugins (e.g. investment-banking/hooks/hooks.json):

{
  "hooks": {}
}

Fix

Change the hooks.json in these 4 plugins from [] to {"hooks": {}}:

  • financial-analysis/hooks/hooks.json
  • equity-research/hooks/hooks.json
  • private-equity/hooks/hooks.json
  • wealth-management/hooks/hooks.json

Environment

  • Claude Code CLI (latest)
  • macOS Darwin 24.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions