Skip to content

Claude Code (Team/Enterprise): two transcript notices per session from hooks cc-plugin-sec-default skips #2159

Closed

Description

@spawnia

Under cc-plugin-sec-default, every session on our machines prints these two lines:

plannotator: its prompt.context hook was skipped. "cc-plugin-sec-default" runs first and sent the event on past it.
plannotator: its classic.PermissionRequest hook was skipped. "cc-plugin-sec-default" runs first and sent the event on past it.

Thanks to #2043 the plan flow works, so the lines report nothing users can act on.
They still read as a fault, and people ask about them.

The second line comes from the first permission prompt for any tool, not just ExitPlanMode.
The mod's classic.PermissionRequest hook is registered unfiltered (hooks/mod/register.ts) and returns next(e) for every tool except ExitPlanMode.

Two changes would end both lines:

  1. Send the Inbox reminder from a SessionStart command hook in hooks/hooks.json, next to the existing PermissionRequest and PreToolUse command hooks.
    The guard skips mod hooks but not command hooks, so the reminder would also reach these sessions again.
    Today the guard drops it.
  2. Filter the mod's classic.PermissionRequest hook to ExitPlanMode, so the guard only skips it during a plan approval.
    There the Claude Code mod: one plan approval when the plugin guard skips the mod's hook (#2007) #2043 record answers.

Seen with Plannotator 0.28.27.
0.28.30 registers both hooks the same way.

Follow-up to #2007.

Activity

  1. added
    bug
    on Oct 25, 2026
  2. added a commit that references this issue on Oct 25, 2026
  3. added 2 commits that reference this issue on Oct 25, 2026
  4. backnotprop commented on Oct 25, 2026

    @backnotprop
    Owner

    Fixed in #2167.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions