Skip to content

docs: update hooks reference from wildcard patterns to explicit event names.#2135

Open
DIYA73 wants to merge 1 commit into
ruvnet:mainfrom
DIYA73:fix/743-update-hooks-docs-wildcard
Open

docs: update hooks reference from wildcard patterns to explicit event names.#2135
DIYA73 wants to merge 1 commit into
ruvnet:mainfrom
DIYA73:fix/743-update-hooks-docs-wildcard

Conversation

@DIYA73
Copy link
Copy Markdown

@DIYA73 DIYA73 commented May 25, 2026

Summary

  • Updated stale wildcard hook references in USERGUIDE.md to reflect current Claude Code hook event names

Issue / motivation

Closes #743

Approach

The USERGUIDE.md referenced old-style wildcard hook patterns (hooks/pre-*, hooks/post-*, etc.) that no longer match how hooks are configured. The actual settings.json uses explicit Claude Code lifecycle events (PreToolUse, PostToolUse, SessionStart, etc.). Updated line 1797 to reflect the current hook event names.

Test plan

  • Verified against .claude/settings.json which uses the explicit event names
  • No functional code changes — documentation only

Risks / open questions

None — documentation-only change.

@DIYA73 DIYA73 requested a review from ruvnet as a code owner May 25, 2026 18:57
@ruvnet
Copy link
Copy Markdown
Owner

ruvnet commented May 26, 2026

Reviewing; will return after PR #2139 merges. The hooks documentation correction (wildcard patterns → explicit event names) is a targeted doc fix.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

macOS: settings.json hooks break due to wildcard/bash differences

2 participants