ASH-220: gofmt the repo + add a gofmt CI gate#13
Merged
Conversation
The repo had accumulated gofmt drift across 71 files — struct-field and map-key alignment, and Go 1.19+ doc-comment list/bullet reformatting. ci.yml had no gofmt step, so it went unnoticed. - gofmt -w . — pure formatting, no behavior change. Full test suite (54 packages) passes unchanged. - ci.yml: add a gofmt gate (`test -z "$(gofmt -l .)"`) after `vet`, so formatting drift cannot re-accumulate. - Regenerate docs/vocab/inventory.json — it records source file:line locations, which shifted when gofmt re-flowed blank lines. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
cstaszak
force-pushed
the
cstaszak/ash-220-gofmt
branch
from
May 22, 2026 00:36
b04e655 to
9d5884d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The repo had accumulated
gofmtdrift across 71 files — struct-field and map-key alignment, and Go 1.19+ doc-comment list/bullet reformatting.ci.ymlhad no gofmt step, so it went unnoticed (surfaced while wrapping the post-public-release review).gofmt -w .— pure formatting, no behavior change. Full test suite (54 packages) passes unchanged;go vetclean.ci.yml: a gofmt gate aftervet(test -z "$(gofmt -l .)") so drift cannot re-accumulate.Large diff, but it is entirely mechanical formatting — kept as its own PR so it doesn't bury substantive changes (per the plan in ASH-220).
🤖 Generated with Claude Code