Skip to content

v1.0.1 — Hook fixes and doc corrections

Latest

Choose a tag to compare

@roadhero roadhero released this 29 Jun 04:23

v1.0.1

Fixes to the commit-guard hook and documentation corrections.

Fixed

  • guard-commit.sh: AI-attribution check no longer scans the staged diff,
    which falsely blocked commits touching files that mention "Claude Code."
    It now checks the commit message only.
  • guard-commit.sh: human-committer check is anchored to whole tokens, so
    it no longer rejects real names (Aisha, Mikhail, Talbot, etc.).
  • guard-commit.sh: force-push detection now matches --force anywhere in a
    git push command, not only directly after "push."
  • guard-commit.sh: missing jq now fails loud instead of silently no-opping.
  • format.sh: dropped ruff check --fix so the formatter no longer rewrites
    code mid-edit.

Docs

  • Corrected the agent split in STRUCTURE.md (13 duplicate globals, 8 compute-specific).
  • Added compute to the rules list in CLAUDE.md.
  • Clarified that the guard is a Claude Code Bash hook, not a git pre-commit hook.
  • Scoped the scaffolder description to the stacks it actually ships.
  • Book line corrected: sample chapters on the site, full book on Amazon.