Skip to content

mempal-stop-hook.sh calls nonexistent hook subcommand #323

@rgregg

Description

@rgregg

Bug

The plugin stop hook (hooks/mempal-stop-hook.sh) runs:

python3 -m mempalace hook run --hook stop --harness claude-code

But the CLI has no hook subcommand. The CLI only supports {init, mine, search, compress, wake-up, split, status}.

This causes the following error on every conversation exit in Claude Code:

usage: __main__.py [-h] [--palace PALACE]
                   {init,mine,search,compress,wake-up,split,status} ...
__main__.py: error: argument command: invalid choice: 'hook' (choose from init, mine, search, compress, wake-up, split, status)

Environment

  • mempalace version: 3.0.14 (installed via Claude Code plugin)
  • Platform: Linux
  • Claude Code CLI

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliCLI commandsarea/hooksClaude Code hook scripts (Stop, PreCompact, SessionStart)bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions