Cut every comment in the CLI to two lines (GRYT-1056) - #35
Merged
Conversation
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…n CI (GRYT-1056) Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
114 comment blocks in this repository ran past two lines. Every comment under
cmd,internaland.github/workflowsis now two lines of prose or fewer.The diff is comments only, and I checked that rather than saying it. For all 30 changed
files, the source with its comments stripped is identical before and after —
go/parserwith comments dropped and
go/printerfor the Go, a whole-line#filter for the YAML. Theonly lines of real code are the new comment-check step in
ci.yml.One thing to look at.
internal/app/theme.goopens with a Hallmark stamp, which wasthree lines. It is two now, with the same six scores and the same macrostructure, tone,
chrome and contrast fields — just folded onto one fewer line. If the stamp format has to be
exactly three lines, say so and I will carve it out of the check instead.
The check.
scripts/check-comment-length.mjsis the same script the client, the server,mobile, the UI library, the voice engine, the site and the docs run, with
.goadded to thefile types. It runs in the existing
verifyjob.Verified:
go build ./...,go vet ./...,gofmt -l .clean, andgo test ./...greenacross all five packages that have tests.
🤖 Generated with Claude Code