Daily custom-linter backlog
Current make golint-custom run reports 724 function-length findings (largefunc max-lines=60). Per lint-monster policy, all long-function findings in pkg/workflow and pkg/cli are tracked under a single shared topic: function-length refactoring.
Current counts
pkg/workflow: 296 findings
pkg/cli: 398 findings
- other paths (
cmd/gh-aw, pkg/linters): 30 findings
Representative diagnostics
pkg/workflow/maintenance_workflow_yaml.go: buildMaintenanceWorkflowYAML is 961 lines
pkg/workflow/frontmatter_on_section_cleanup.go: commentOutProcessedFieldsInOnSection is 697 lines
pkg/cli/logs_orchestrator.go: DownloadWorkflowLogs is 455 lines
pkg/cli/run_workflow_execution.go: RunWorkflowOnGitHub is 438 lines
cmd/gh-aw/main.go: init is 440 lines
Expected outcome
Reduce the shared largefunc backlog with minimal, behavior-preserving refactors that split long functions into smaller helpers/files while keeping current tests and outputs stable.
Remediation checklist
Next suggested slices
Fused skill guidance for remediation agents
- Keep remediation scoped to the assigned lint slice only
- Prefer minimal, targeted code edits over broad rewrites
- Favor many small focused files/helpers instead of growing large monoliths
- Validate fixes by running
make golint-custom
No duplicate function-length tracking issue could be searched with gh issue list because the CLI returned malformed version; this issue is being created as the authoritative tracker for the current run.
Generated by 🧌 LintMonster · 22.9 AIC · ⌖ 10.7 AIC · ⊞ 4.4K · ◷
Daily custom-linter backlog
Current
make golint-customrun reports 724 function-length findings (largefunc max-lines=60). Per lint-monster policy, all long-function findings inpkg/workflowandpkg/cliare tracked under a single shared topic: function-length refactoring.Current counts
pkg/workflow: 296 findingspkg/cli: 398 findingscmd/gh-aw,pkg/linters): 30 findingsRepresentative diagnostics
pkg/workflow/maintenance_workflow_yaml.go:buildMaintenanceWorkflowYAMLis 961 linespkg/workflow/frontmatter_on_section_cleanup.go:commentOutProcessedFieldsInOnSectionis 697 linespkg/cli/logs_orchestrator.go:DownloadWorkflowLogsis 455 linespkg/cli/run_workflow_execution.go:RunWorkflowOnGitHubis 438 linescmd/gh-aw/main.go:initis 440 linesExpected outcome
Reduce the shared largefunc backlog with minimal, behavior-preserving refactors that split long functions into smaller helpers/files while keeping current tests and outputs stable.
Remediation checklist
make golint-customNext suggested slices
pkg/clilogs pipeline (logs_command.go,logs_orchestrator.go,logs_download.go,logs_report.go)pkg/cliaudit rendering/report pipeline (audit_report*.go,audit_diff*.go)pkg/workflowmaintenance/compiler YAML generators (maintenance_workflow_yaml.go,compiler_yaml*.go)pkg/workflowsafe outputs compilation (compiler_safe_outputs*.go,safe_outputs_config*.go)pkg/workflowengine execution builders (claude_engine.go,codex_engine.go,gemini_engine.go,pi_engine.go)cmd/gh-aw/main.gocommand wiring andpkg/linters/*analyzer internalsFused skill guidance for remediation agents
make golint-customNo duplicate function-length tracking issue could be searched with
gh issue listbecause the CLI returnedmalformed version; this issue is being created as the authoritative tracker for the current run.