Description
The linter registry authority moved to pkg/linters/registry.go func All(), and cmd/linters/main.go is now a one-line multichecker.Main(linters.All()...). The Sergo agent's historical new-linter detector grep -c 'Analyzer' cmd/linters/main.go is now dead (always returns the same value) and will silently miss future linter additions. Update the detector to grep -c '.Analyzer,' pkg/linters/registry.go (currently = 55).
Expected Impact
Restores accurate registry-delta detection for the Sergo audit so newly-added linters are actually audited; prevents silent coverage regressions in the largest-single-interval-growth linter family.
Suggested Agent
Sergo (Serena Go Expert) maintainer.
Estimated Effort
Fast (< 30 min)
Data Source
DeepReport 2026-07-22 analysis of Sergo report #47191 (detector authority moved; registry grew 43->55).
Generated by 🔬 Deep Report · age00 213.6 AIC · ⌖ 11 AIC · ⊞ 10.3K · ◷
Description
The linter registry authority moved to
pkg/linters/registry.go func All(), andcmd/linters/main.gois now a one-linemultichecker.Main(linters.All()...). The Sergo agent's historical new-linter detectorgrep -c 'Analyzer' cmd/linters/main.gois now dead (always returns the same value) and will silently miss future linter additions. Update the detector togrep -c '.Analyzer,' pkg/linters/registry.go(currently = 55).Expected Impact
Restores accurate registry-delta detection for the Sergo audit so newly-added linters are actually audited; prevents silent coverage regressions in the largest-single-interval-growth linter family.
Suggested Agent
Sergo (Serena Go Expert) maintainer.
Estimated Effort
Fast (< 30 min)
Data Source
DeepReport 2026-07-22 analysis of Sergo report #47191 (detector authority moved; registry grew 43->55).