Summary
Custom lint scan on 2026-07-26 found 6 largefunc findings outside the shared pkg/workflow / pkg/cli function-length backlog. These belong to the same linter rule but live in non-shared subsystems and should be handled separately.
Findings
pkg/parser/remote_download_file.go:383 — downloadFileViaGitClone is 68 lines long
cmd/gh-aw/main.go:288 — func literal is 129 lines long
cmd/gh-aw/main.go:516 — init is 447 lines long
cmd/gh-aw/main.go:577 — func literal is 72 lines long
pkg/linters/stringbytesroundtrip/stringbytesroundtrip.go:55 — analyzeRoundTrip is 76 lines long
pkg/linters/registry.go:72 — All is 61 lines long
Expected outcome
Break up the reported functions into smaller helpers without changing behavior and clear this non-workflow/non-cli subset of largefunc diagnostics.
Remediation checklist
Fused guidance for the assignee
- Keep remediation scoped to findings in this assigned lint group.
- Prefer minimal, targeted helper extraction over broad rewrites.
- Validate with
make golint-custom before handoff.
Generated by 🧌 LintMonster · gpt54 · 19.2 AIC · ⌖ 4.72 AIC · ⊞ 4.6K · ◷
Summary
Custom lint scan on 2026-07-26 found 6
largefuncfindings outside the sharedpkg/workflow/pkg/clifunction-length backlog. These belong to the same linter rule but live in non-shared subsystems and should be handled separately.Findings
pkg/parser/remote_download_file.go:383—downloadFileViaGitCloneis 68 lines longcmd/gh-aw/main.go:288— func literal is 129 lines longcmd/gh-aw/main.go:516—initis 447 lines longcmd/gh-aw/main.go:577— func literal is 72 lines longpkg/linters/stringbytesroundtrip/stringbytesroundtrip.go:55—analyzeRoundTripis 76 lines longpkg/linters/registry.go:72—Allis 61 lines longExpected outcome
Break up the reported functions into smaller helpers without changing behavior and clear this non-workflow/non-cli subset of largefunc diagnostics.
Remediation checklist
pkg/workflow/pkg/clifunction-length backlogmake golint-customFused guidance for the assignee
make golint-custombefore handoff.