Daily lint scan summary
Custom lint scan on 2026-07-26 found 664 shared largefunc findings in the consolidated function-length refactoring backlog: 285 in pkg/workflow and 379 in pkg/cli. Per policy, all long-function findings under pkg/workflow and pkg/cli are tracked as one shared topic with exactly one authoritative open issue.
Current authoritative count
- Total findings: 664
pkg/workflow/**: 285
pkg/cli/**: 379
Representative diagnostics
pkg/workflow/antigravity_engine.go:155 — GetExecutionSteps is 204 lines long
pkg/workflow/awf_helpers.go:229 — BuildAWFCommand is 372 lines long
pkg/workflow/compiler_safe_outputs_job.go:269 — buildSafeOutputsHandlerOutputsAndActionSteps is 220 lines long
pkg/workflow/unified_prompt_step.go:266 — generateUnifiedPromptCreationStep is 259 lines long
pkg/cli/add_interactive_git.go:26 — createWorkflowPRAndConfigureSecret is 171 lines long
pkg/cli/audit_diff.go:67 — computeFirewallDiff is 144 lines long
pkg/cli/add_interactive_workflow.go:17 — checkStatusAndOfferRun is 146 lines long
Expected outcome
Reduce the pkg/workflow and pkg/cli largefunc backlog incrementally by extracting focused helpers and smaller phases while preserving behavior. Keep this issue authoritative for the shared function-length topic instead of opening separate pkg/workflow vs pkg/cli tracking issues.
Remediation checklist
Next slices to refactor
Fused guidance for the assignee
- Keep remediation scoped to findings in the assigned lint slice only.
- Prefer minimal, targeted code edits and helper extraction over broad rewrites.
- Validate with
make golint-custom before handoff.
Duplicate issues linked/closed
- None found; only historical closed
lint-monster function-length trackers were present at triage time.
Generated by 🧌 LintMonster · gpt54 · 19.2 AIC · ⌖ 4.72 AIC · ⊞ 4.6K · ◷
Daily lint scan summary
Custom lint scan on 2026-07-26 found 664 shared
largefuncfindings in the consolidatedfunction-length refactoringbacklog: 285 inpkg/workflowand 379 inpkg/cli. Per policy, all long-function findings underpkg/workflowandpkg/cliare tracked as one shared topic with exactly one authoritative open issue.Current authoritative count
pkg/workflow/**: 285pkg/cli/**: 379Representative diagnostics
pkg/workflow/antigravity_engine.go:155—GetExecutionStepsis 204 lines longpkg/workflow/awf_helpers.go:229—BuildAWFCommandis 372 lines longpkg/workflow/compiler_safe_outputs_job.go:269—buildSafeOutputsHandlerOutputsAndActionStepsis 220 lines longpkg/workflow/unified_prompt_step.go:266—generateUnifiedPromptCreationStepis 259 lines longpkg/cli/add_interactive_git.go:26—createWorkflowPRAndConfigureSecretis 171 lines longpkg/cli/audit_diff.go:67—computeFirewallDiffis 144 lines longpkg/cli/add_interactive_workflow.go:17—checkStatusAndOfferRunis 146 lines longExpected outcome
Reduce the
pkg/workflowandpkg/clilargefunc backlog incrementally by extracting focused helpers and smaller phases while preserving behavior. Keep this issue authoritative for the shared function-length topic instead of opening separate pkg/workflow vs pkg/cli tracking issues.Remediation checklist
make golint-customNext slices to refactor
pkg/workflow/compiler_*builders and YAML generation hotspotspkg/workflow/safe_outputs_*config and job builderspkg/workflow/frontmatter_*,tools*, andmcp_*clusterspkg/cli/audit_*reporting and diff/render helperspkg/cli/add_*interactive/setup flowspkg/cli/codemod_*helpers and related orchestration codeFused guidance for the assignee
make golint-custombefore handoff.Duplicate issues linked/closed
lint-monsterfunction-length trackers were present at triage time.