Skip to content

docs: refresh stale docs after Homebrew formula and action changes - #42

Merged
blairham merged 1 commit into
mainfrom
docs/refresh-stale-docs
Aug 15, 2026
Merged

docs: refresh stale docs after Homebrew formula and action changes#42
blairham merged 1 commit into
mainfrom
docs/refresh-stale-docs

Conversation

@blairham

Copy link
Copy Markdown
Owner

Audit of README.md / AGENTS.md / CLAUDE.md against the current state of the repo. Most claims checked out (language count, hook types, commands table, CI job table, toolchain pins, action consumers); this fixes what had drifted.

README.md

  • Add the Homebrew install method (brew install blairham/tap/pre-commit) — the formula shipped in build: publish a Homebrew formula instead of a cask #36 but was never documented
  • Document the install-only action input (feat(action): add install-only input #31) alongside the other inputs
  • Note that go install .../v4@latest names the binary go-pre-commit, while the installed hook script execs pre-commit by name
  • Fix the benchmark path (bash .github/bench.sh), refresh stale version examples, expand the release section (signing/notarization, tap update, upstream-parity versioning), and note that make check does not lint

AGENTS.md

  • Add the missing internal/fsutil/ directory to the project structure
  • Drop the hardcoded goreleaser version — .tool-versions is the pin and the number is drift bait

Related fixes

  • action.yml: refresh the version input's example string (description only)
  • .github/bench.sh: the script was moved from the repo root into .github/ without updating its cd, so it looked for the binary at .github/build/pre-commit — cd to the repo root instead

CLAUDE.md was audited and needed no changes. The performance table (benchmarked against Python pre-commit v4.5.1) is left as a historical measurement record.

The README predated several shipped changes: the Homebrew formula (#36),
the action's install-only input (#31), and the bench script's move into
.github/. It also pointed users at go install without warning that the
binary lands as go-pre-commit while the installed hooks exec pre-commit
by name.

- README: add Homebrew install, document install-only, fix bench path,
  refresh version examples, note the go install binary-name gotcha, and
  document that make check does not lint
- AGENTS.md: add missing internal/fsutil/ to the structure; drop the
  hardcoded goreleaser version (drift bait — .tool-versions is the pin)
- action.yml: refresh the version input's example string
- bench.sh: cd to the repo root, not .github/ — the script was moved
  there without updating its paths, so it could never find the binary
@blairham
blairham merged commit 33d5086 into main Aug 15, 2026
5 checks passed
@blairham
blairham deleted the docs/refresh-stale-docs branch August 15, 2026 16:03
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.

1 participant