Skip to content

v0.64.1

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Dec 02:44
· 1 commit to main since this release

A patch release with no new rules; the catalog stays at 786. It follows the review of spec drift #1963: five Claude Code documentation pages changed and the best-practices page was rewritten. It removes false positives on a skill's agent name and on a Notification hook matcher, and the emphasis note no longer gives advice that Claude Code's best practices retired. CC-HK-002 now also checks hooks in skill and subagent frontmatter and an mcp_tool hook on Setup, and Notification matcher values follow a pinned Claude Code version, so a configuration that was clean on 0.64.0 can get a new finding.

Fixed

  • CC-HK-025 no longer reports the Notification matcher auth_storage_failure,
    which the hooks reference documents for Claude Code v2.1.288 and later. A
    claude_code pin older than that still gets the finding, and a pin older
    than v2.1.234 now gets it for the three quota_auto_resume_* values,
    which that release does not know either.
  • CC-HK-002 now reports a type: "mcp_tool" hook on Setup. Claude Code runs
    only command hooks on that event and always skips an MCP tool hook there.
    SessionStart is not reported: its MCP tool hooks run after /clear or a
    compaction.
  • CC-HK-002 now also checks hooks in skill and subagent frontmatter, where a
    prompt, agent, http or mcp_tool hook on an event that does not support it
    went unreported. The rule covers settings files, a plugin's
    hooks/hooks.json and frontmatter; an inline hooks object in
    plugin.json is not checked.
  • CC-SK-005 no longer reports a skill agent that names a custom subagent
    outside kebab-case or longer than 64 characters, such as CodeReviewer or
    my-plugin:code-reviewer. Claude Code allows subagent names of up to 256
    characters that do not start with -. The rule now reports an empty value,
    a leading - and a part longer than 256 characters.

Changed

  • CC-MEM-017 (emphasis overuse) no longer advises keeping emphasis for the one
    line Claude keeps skipping. Claude Code's best practices now list "Add
    IMPORTANT or ALL CAPS to instructions Claude keeps missing" as advice to
    stop following. The message and suggestion say to write plainly, to turn a
    rule that cannot bend into a hook or a deny rule, and to shorten the file.
    Detection is unchanged.
  • The PE-002 suggestion points at the effort level instead of recommending a
    "think thoroughly" instruction, the CC-SK-005 message describes the names it
    accepts now, and the CC-AG-023 and CC-MEM-021 messages no longer repeat
    sentences the Claude Code pages dropped (the "filesystem read order" clause
    and the best-practices list of content to leave out).
  • CC-HK-002 is renamed "Hook Type on Unsupported Event", since it covers
    prompt, agent, http and mcp_tool hooks.
  • Rule texts for 25 rules quote the current pages: CC-HK-002, CC-HK-025,
    CC-HK-029, CC-MEM-010, CC-MEM-014, CC-MEM-015, CC-MEM-016, CC-MEM-017,
    CC-MEM-021, CC-PL-002, CC-PL-004, CC-PL-010, CC-PL-015, CC-PL-017,
    CC-PL-019, CC-MP-002, CC-MP-004, CC-AG-004, CC-AG-019, CC-AG-023, CC-SK-005,
    CC-SK-007, AS-003, PE-002 and PE-005.
  • The spec sentinel now tracks the Claude Code best-practices page, and its
    rule lists for the hooks, memory, plugins reference, skills and sub-agents
    pages name every rule that cites them (66 more rules). 133 rules were
    re-verified against the live pages (spec drift #1963). See the
    December 6 review.