Skip to content

chore: add per-repo docs sync reminder - #118

Merged
hyldmo merged 1 commit into
mainfrom
hyldmo/per-repo-docs-hook
Sep 1, 2026
Merged

hyldmo merged 1 commit into
mainfrom
hyldmo/per-repo-docs-hook

Conversation

@hyldmo

@hyldmo hyldmo commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • add an executable per-repo PreToolUse Bash hook for numux documentation mirrors
  • fire only for actual git commit commands when relevant dirty source/tooling paths lack README.md or CLAUDE.md changes
  • preserve the existing Stop hook and emit additionalContext only, never permissionDecision

Payload proof

  • plain commit: silent
  • CLI source without README.md: specific docs reminder
  • same source with README.md dirty: silent
  • git log | grep commit: silent
  • fired output contains no permissionDecision

Validation

  • bun run fix
  • bun run docs
  • bun run typecheck
  • bun run lint
  • bun test
  • bash -n .claude/hooks/docs-sync-reminder.sh
  • jq empty .claude/settings.json

@hyldmo
hyldmo merged commit e47f681 into main Sep 1, 2026
2 checks passed
@hyldmo
hyldmo deleted the hyldmo/per-repo-docs-hook branch September 1, 2026 16:19
@hyldmo
hyldmo restored the hyldmo/per-repo-docs-hook branch September 1, 2026 16:19
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.19.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant