Description
The 2026-08-05 Repository Quality Improvement Report found 51 error strings in pkg/ (26 fmt.Errorf, 25 errors.New) that start with an uppercase letter, violating Go's error-string convention (lowercase, no trailing punctuation) and the repo's own error-messages style guide. Concentrated examples include pkg/workflow/awf_config.go:124, pkg/cli/mcp_registry.go:99-107 (5 occurrences in a 10-line span), and pkg/cli/pr_helpers.go:20.
Expected Impact
Mechanical, low-risk cleanup that brings ~51 call sites into Go convention compliance and improves consistency when these errors are wrapped by callers.
Suggested Agent
General-purpose engineering agent — a repeatable pattern ("any string literal passed to errors.New/fmt.Errorf starting uppercase → lowercase first rune") makes this a good candidate for a scripted/codemod pass followed by manual review of the diff.
Estimated Effort
Quick (< 1 hour) for the mechanical fix; add a short review pass to confirm no strings are user-facing proper nouns that should stay capitalized.
Data Source
DeepReport Intelligence Briefing analysis, 2026-08-05, sourced from Repository Quality Improvement Report — Error Message Actionability & Consistency.
Generated by 🔬 Deep Report · agent · 160.4 AIC · ⌖ 36.9 AIC · ⊞ 11K · ◷
Description
The 2026-08-05 Repository Quality Improvement Report found 51 error strings in
pkg/(26fmt.Errorf, 25errors.New) that start with an uppercase letter, violating Go's error-string convention (lowercase, no trailing punctuation) and the repo's own error-messages style guide. Concentrated examples includepkg/workflow/awf_config.go:124,pkg/cli/mcp_registry.go:99-107(5 occurrences in a 10-line span), andpkg/cli/pr_helpers.go:20.Expected Impact
Mechanical, low-risk cleanup that brings ~51 call sites into Go convention compliance and improves consistency when these errors are wrapped by callers.
Suggested Agent
General-purpose engineering agent — a repeatable pattern ("any string literal passed to
errors.New/fmt.Errorfstarting uppercase → lowercase first rune") makes this a good candidate for a scripted/codemod pass followed by manual review of the diff.Estimated Effort
Quick (< 1 hour) for the mechanical fix; add a short review pass to confirm no strings are user-facing proper nouns that should stay capitalized.
Data Source
DeepReport Intelligence Briefing analysis, 2026-08-05, sourced from Repository Quality Improvement Report — Error Message Actionability & Consistency.