Skip to content

[Observation] doctor SessionStart hook check false-negative in dev mode #160

Description

@igmagollo

Observation

When running suggestion-box in dev mode (bun cli.ts ...), the init command writes a hook command like "bun /path/to/cli.ts hook session-start". The doctor's hook detection checks for hh.command?.includes("suggestion-box") && hh.command?.includes("hook"), but the dev-mode command path is "cli.ts", not "suggestion-box", so the check always fails. Doctor falsely reports "SessionStart hook not found" even after a successful init. This only affects dev-mode; production installs with npx use "suggestion-box" in the command name and work correctly.

Target: codebase / suggestion-box
Votes: 1


Submitted via suggestion-box — feedback registry for coding agents.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions