Skip to content

docs: document pre-commit hook and coverage command in AGENTS.md - #224

Merged
edenreich merged 1 commit into
mainfrom
docs/agents-md-refresh
Sep 18, 2026
Merged

edenreich merged 1 commit into
mainfrom
docs/agents-md-refresh

Conversation

@edenreich

Copy link
Copy Markdown
Contributor

Summary

Refreshes AGENTS.md (the agents.md standard file; CLAUDE.md is a symlink to it) after verifying every claim against the actual project state.

Changes

  • Added task test:coverage to the command list — real task that prints the coverage total and writes cover.html.
  • Documented the opt-in pre-commit hook (.githooks/pre-commit, activated with task precommit:activate): it regenerates manifests/deepcopy, runs lint/fmt/vet plus the full test suite, and fails if regeneration leaves unstaged changes — so generated output must be committed together with the API change. This is a non-obvious gotcha that bites agents (and humans) making API changes.
  • Tightened the gci/importas conventions bullet to offset the added lines (same information, fewer words).

Verification

  • Every command and claim re-checked against Taskfile.yaml, .golangci.yml, .releaserc.yaml, and internal/providers/ (offline drift-test skip behavior confirmed in providers_test.go).
  • Still concise: 455 words, docs-only diff, no code changes.

@edenreich
edenreich requested a review from a team as a code owner September 17, 2026 16:40
@edenreich edenreich changed the title docs: Document pre-commit hook and coverage command in AGENTS.md docs: document pre-commit hook and coverage command in AGENTS.md Sep 17, 2026
@edenreich
edenreich merged commit aebbec0 into main Sep 18, 2026
1 check passed
@edenreich
edenreich deleted the docs/agents-md-refresh branch September 18, 2026 08:25
inference-gateway-releaser Bot added a commit that referenced this pull request Sep 24, 2026
## [0.25.1](v0.25.0...v0.25.1) (2026-09-24)

### ♻️ Improvements

* **gateway:** render MCP_SERVERS as name=url aliases ([#236](#236)) ([3bfb7ac](3bfb7ac))

### 👷 CI

* **claude:** centralize claude.yml via reusable workflow ([#232](#232)) ([4d2a583](4d2a583))
* **deps:** bump github.com/onsi/ginkgo/v2 in the gomod group ([#218](#218)) ([5eb52ff](5eb52ff))
* **deps:** bump go.opentelemetry.io/otel/exporters/otlp/otlptrace ([#225](#225)) ([e681bae](e681bae))
* **deps:** bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc ([#227](#227)) ([5674492](5674492))
* **deps:** bump rancher/k3s from v1.36.4-k3s1 to v1.37.0-k3s1 in the docker group ([#228](#228)) ([343e738](343e738))
* **deps:** bump rancher/k3s in the docker group ([#219](#219)) ([50089f7](50089f7))
* **deps:** bump the gomod group with 3 updates ([#229](#229)) ([e016a01](e016a01))

### 📚 Documentation

* Document pre-commit hook and coverage command in AGENTS.md ([#224](#224)) ([aebbec0](aebbec0))

### 🔧 Miscellaneous

* **deps:** bump claude-code 2.1.245 -> 2.1.266 ([#220](#220)) ([09b15b8](09b15b8))
* **deps:** bump claude-code 2.1.266 -> 2.1.278 ([#230](#230)) ([114a61e](114a61e))
* **deps:** bump infer CLI v0.183.0 -> v0.192.0 ([#221](#221)) ([5186c52](5186c52))
* **deps:** bump infer CLI v0.192.0 -> v0.205.3 ([#231](#231)) ([099c939](099c939))
* **lint:** enforce Go import grouping and named imports ([#223](#223)) ([7ae0d6d](7ae0d6d))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.25.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant