Summary
The latest make golint-custom run reports 659 function-length findings that should be tracked as a single shared backlog for pkg/workflow and pkg/cli.
pkg/workflow: 284 findings
pkg/cli: 375 findings
- Scope rule: treat all
largefunc / long-function findings in these paths as one consolidated topic
Representative diagnostics:
pkg/workflow/antigravity_engine.go:155: GetExecutionSteps is 204 lines long (limit: 60)
pkg/workflow/awf_helpers.go:229: BuildAWFCommand is 372 lines long (limit: 60)
pkg/workflow/compiler_safe_outputs_job.go:269: buildSafeOutputsHandlerOutputsAndActionSteps is 220 lines long (limit: 60)
pkg/cli/add_interactive_git.go:26: createWorkflowPRAndConfigureSecret is 171 lines long (limit: 60)
pkg/cli/audit_report.go:695: extractPreAgentStepErrors is 189 lines long (limit: 60)
Expected outcome
Refactor long functions into smaller helpers without changing behavior, while reducing the current 659-finding backlog over multiple slices.
Remediation checklist
Suggested next slices
Skill-fused guidance for the assignee
- Validate fixes by running
make golint-custom
- Keep remediation scoped to this lint group
- Prefer minimal, targeted code edits
- Follow repository file-organization guidance: extract small focused helpers/files rather than growing large monoliths
Generated by 🧌 LintMonster · gpt54 26.3 AIC · ⌖ 7.47 AIC · ⊞ 4.5K · ◷
Summary
The latest
make golint-customrun reports 659 function-length findings that should be tracked as a single shared backlog forpkg/workflowandpkg/cli.pkg/workflow: 284 findingspkg/cli: 375 findingslargefunc/ long-function findings in these paths as one consolidated topicRepresentative diagnostics:
pkg/workflow/antigravity_engine.go:155:GetExecutionStepsis 204 lines long (limit: 60)pkg/workflow/awf_helpers.go:229:BuildAWFCommandis 372 lines long (limit: 60)pkg/workflow/compiler_safe_outputs_job.go:269:buildSafeOutputsHandlerOutputsAndActionStepsis 220 lines long (limit: 60)pkg/cli/add_interactive_git.go:26:createWorkflowPRAndConfigureSecretis 171 lines long (limit: 60)pkg/cli/audit_report.go:695:extractPreAgentStepErrorsis 189 lines long (limit: 60)Expected outcome
Refactor long functions into smaller helpers without changing behavior, while reducing the current 659-finding backlog over multiple slices.
Remediation checklist
make golint-customSuggested next slices
pkg/clientrypoints and bootstrap helperspkg/workflowpkg/workflowpkg/workflowSkill-fused guidance for the assignee
make golint-custom