Summary
Custom lint scan reports 677 largefunc findings across the shared pkg/workflow and pkg/cli backlog. Per repo policy, this backlog must be tracked as one shared topic with exactly one authoritative open issue.
Current run breakdown:
pkg/cli: 383 findings
pkg/workflow: 291 findings
cmd/gh-aw: 3 findings
Representative diagnostics:
pkg/workflow/awf_helpers.go:229 — BuildAWFCommand is 377 lines long
pkg/workflow/codex_engine.go:207 — GetExecutionSteps is 315 lines long
pkg/workflow/compiler_safe_outputs_job.go:269 — buildSafeOutputsHandlerOutputsAndActionSteps is 220 lines long
pkg/cli/add_interactive_git.go:26 — createWorkflowPRAndConfigureSecret is 171 lines long
pkg/cli/add_interactive_workflow.go:17 — checkStatusAndOfferRun is 146 lines long
Authoritative tracking
This issue is the single authoritative tracker for the current function-length refactoring backlog.
Duplicate issues linked/closed in this run:
Expected outcome
Reduce the largefunc backlog incrementally via small, reviewable slices without broad rewrites.
Next refactoring slices
Generated by 🧌 LintMonster · gpt54 · 35.3 AIC · ⌖ 7.93 AIC · ⊞ 5.3K · ◷
Summary
Custom lint scan reports 677
largefuncfindings across the sharedpkg/workflowandpkg/clibacklog. Per repo policy, this backlog must be tracked as one shared topic with exactly one authoritative open issue.Current run breakdown:
pkg/cli: 383 findingspkg/workflow: 291 findingscmd/gh-aw: 3 findingsRepresentative diagnostics:
pkg/workflow/awf_helpers.go:229—BuildAWFCommandis 377 lines longpkg/workflow/codex_engine.go:207—GetExecutionStepsis 315 lines longpkg/workflow/compiler_safe_outputs_job.go:269—buildSafeOutputsHandlerOutputsAndActionStepsis 220 lines longpkg/cli/add_interactive_git.go:26—createWorkflowPRAndConfigureSecretis 171 lines longpkg/cli/add_interactive_workflow.go:17—checkStatusAndOfferRunis 146 lines longAuthoritative tracking
This issue is the single authoritative tracker for the current function-length refactoring backlog.
Duplicate issues linked/closed in this run:
Expected outcome
Reduce the
largefuncbacklog incrementally via small, reviewable slices without broad rewrites.Next refactoring slices
pkg/cliinteractive workflow helpers (add_interactive_*,add_workflow_*)pkg/workflowengine step generators (*engine.go,*_logs.go)pkg/workflowcompiler/safe-output builders (compiler_*,safe_outputs_*)pkg/workflowparsing/validation hotspots (frontmatter_*,permissions_*,tools_*)make golint-custom