Overview
Daily make golint-custom found 363 function-length (largefunc) findings in pkg/cli.
Root cause grouping
This issue tracks the pkg/cli execution slice from the shared function-length refactoring backlog. Focus only on pkg/cli functions assigned from this slice.
High-concentration areas
- add/update/remove command helpers
- audit diff/render helpers
- dispatch/frontmatter/logging helpers
- MCP inspection and privileged tool helpers
Representative diagnostics
pkg/cli/add_wizard_command.go:15: NewAddWizardCommand is 123 lines long.
pkg/cli/add_package_manifest.go:207: parseRepositoryPackageManifest is 100 lines long.
pkg/cli/audit_diff.go:625: computeToolCallsDiff is 131 lines long.
pkg/cli/forecast_compute.go: 5 distinct findings in one file.
pkg/cli/mcp_tools_privileged.go: 6 distinct findings in one file.
Expected outcome
Land a minimal first slice of pkg/cli helper extractions that measurably reduces the shared backlog without broad rewrites.
Remediation checklist
Fused skill guidance
- From
go-linters: validate the final change with make golint-custom.
- From
developer: keep remediation targeted, prefer minimal edits, and run make fmt after Go changes.
Generated by 🧌 LintMonster · pi · lint-monster daily scan
Generated by 🧌 LintMonster · gpt54 · 29 AIC · ⌖ 4.44 AIC · ⊞ 5.7K · ◷
Overview
Daily
make golint-customfound 363 function-length (largefunc) findings inpkg/cli.Root cause grouping
This issue tracks the
pkg/cliexecution slice from the shared function-length refactoring backlog. Focus only onpkg/clifunctions assigned from this slice.High-concentration areas
Representative diagnostics
pkg/cli/add_wizard_command.go:15:NewAddWizardCommandis 123 lines long.pkg/cli/add_package_manifest.go:207:parseRepositoryPackageManifestis 100 lines long.pkg/cli/audit_diff.go:625:computeToolCallsDiffis 131 lines long.pkg/cli/forecast_compute.go: 5 distinct findings in one file.pkg/cli/mcp_tools_privileged.go: 6 distinct findings in one file.Expected outcome
Land a minimal first slice of
pkg/clihelper extractions that measurably reduces the shared backlog without broad rewrites.Remediation checklist
pkg/clifindings only.make golint-customafter changes.make fmt.Fused skill guidance
go-linters: validate the final change withmake golint-custom.developer: keep remediation targeted, prefer minimal edits, and runmake fmtafter Go changes.