Repository navigation
[terminal-stylist] Terminal Stylist report: console output consistency in pkg/ (Go) #76814
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Terminal Stylist. A newer discussion is available at Discussion #77113. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Overview
Scanned 1,936 non-test .go files under pkg/ (_test.go skipped, pkg/linters testdata fixtures excluded because they intentionally contain raw fmt.Print calls). Serena was activated (go, typescript, bash language servers) and used for reference checks.
The console layer is in good shape. Huh forms, the adaptive palette, and TTY and environment detection are centralized. The gaps are a few NO_COLOR bypass paths, doubled status markers, and a large verbose-logging pattern that should use console.LogVerbose.
Key metrics
Top findings
Strengths to keep
Recommended next actions
Method and limits
Method: ripgrep and awk pattern counts, reading of pkg/console and pkg/styles core files, and Serena activate_project and find_referencing_symbols. Counts are approximate for multi-line calls. The NO_COLOR behavior of Lipgloss was not runtime-verified because the module cache is not populated for offline reads. Linter testdata fixtures and _test.go files were excluded.
References: §42988700920
All reactions