Authoritative tracking issue for the shared function-length refactoring backlog from the daily custom-linter scan.
Current authoritative count
- 673 function-length findings total
pkg/cli: 385 findings
pkg/workflow: 288 findings
Scope
Treat all largefunc findings in pkg/workflow and pkg/cli as one shared backlog. Do not split into separate tracking issues by package, part number, or count snapshot.
Representative diagnostics
pkg/workflow/awf_helpers.go:229: BuildAWFCommand is 377 lines long.
pkg/workflow/safe_outputs_config_extraction.go:45: extractSafeOutputsConfig is 370 lines long.
pkg/workflow/awf_config.go:470: BuildAWFConfigJSON is 301 lines long.
pkg/cli/add_interactive_workflow.go:17: checkStatusAndOfferRun is 146 lines long.
pkg/cli/add_workflow_pr.go:53: addWorkflowsWithPR is 128 lines long.
pkg/cli/add_wizard_command.go:15: NewAddWizardCommand is 123 lines long.
Next slices to refactor
Remediation guidance
- Keep each PR scoped to a small batch of related functions.
- Prefer helper extraction over semantic rewrites.
- Validate with
make golint-custom.
Duplicate issue handling
- No authoritative duplicate issue could be confirmed from the current sandbox reads, so this issue is the consolidated tracker for today.
Generated by 🧌 LintMonster · gpt54 · 14.8 AIC · ⌖ 5.25 AIC · ⊞ 5.5K · ◷
Authoritative tracking issue for the shared function-length refactoring backlog from the daily custom-linter scan.
Current authoritative count
- 676 function-length findings total
pkg/cli: 385 findings
pkg/workflow: 291 findings
Scope
Treat all largefunc findings in pkg/workflow and pkg/cli as one shared backlog. Do not split into separate tracking issues by package, part number, or count snapshot.
Representative diagnostics
pkg/workflow/awf_helpers.go:229: BuildAWFCommand is 377 lines long.
pkg/workflow/safe_outputs_config_extraction.go:45: extractSafeOutputsConfig is 370 lines long.
pkg/workflow/awf_config.go:469: BuildAWFConfigJSON is 296 lines long.
pkg/cli/logs_download.go:138: downloadRunArtifacts is 321 lines long.
pkg/cli/logs_report.go:184: buildLogsData is 321 lines long.
pkg/cli/compile_pipeline.go:347: compileAllFilesInDirectory is 311 lines long.
Next slices to refactor
Affected paths snapshot
pkg/cli: 385 findings across many files including compile_pipeline.go, logs_download.go, logs_report.go, mcp_tools_privileged.go, and update_actions.go.
pkg/workflow: 291 findings across many files including awf_helpers.go, safe_outputs_config_extraction.go, safe_outputs_max_validation.go, compiler_safe_outputs_job.go, and unified_prompt_step.go.
Remediation guidance
- Validate fixes by running
make golint-custom.
- Keep remediation scoped to the assigned lint slice only.
- Prefer minimal, targeted code edits and helper extraction over semantic rewrites.
Duplicate issue handling
Generated by 🧌 LintMonster · gpt54 · 23.2 AIC · ⌖ 6.05 AIC · ⊞ 5.5K · ◷
Authoritative tracking issue for the shared function-length refactoring backlog from the daily custom-linter scan.
Current authoritative count
- 652 function-length findings total
pkg/cli: 175 findings
pkg/workflow: 477 findings
Scope
Treat all largefunc findings in pkg/workflow and pkg/cli as one shared backlog. Do not split into separate tracking issues by package, part number, or count snapshot.
Representative diagnostics
pkg/workflow/awf_command_builder.go:24: BuildAWFCommand is 377 lines long.
pkg/workflow/safe_outputs_config_extraction.go:45: extractSafeOutputsConfig is 370 lines long.
pkg/workflow/awf_config.go:465: BuildAWFConfigJSON is 296 lines long.
pkg/cli/add_wizard_command.go:15: NewAddWizardCommand is 123 lines long.
pkg/cli/add_workflow_pr.go:53: addWorkflowsWithPR is 128 lines long.
pkg/cli/audit_diff.go:625: computeToolCallsDiff is 131 lines long.
Affected paths snapshot
pkg/workflow: 477 findings across 315 files; top hotspots include dependabot.go (6), compiler_custom_jobs.go (5), cache.go (4), central_slash_command_workflow.go (4), and frontmatter_extraction_security.go (4).
pkg/cli: 175 findings across 109 files; top hotspots include update_actions.go (6), audit_diff_render.go (5), forecast_compute.go (5), add_workflow_resolution.go (4), and audit_diff.go (4).
Next slices to refactor
Remediation guidance
- Validate fixes by running
make golint-custom.
- Keep remediation scoped to the assigned lint slice only.
- Prefer minimal, targeted code edits and helper extraction over semantic rewrites.
Duplicate issue handling
Authoritative tracking issue for the shared function-length refactoring backlog from the daily custom-linter scan.
Current authoritative count
- 679 function-length findings total
pkg/cli: 386 findings
pkg/workflow: 293 findings
Scope
Treat all largefunc findings in pkg/workflow and pkg/cli as one shared backlog. Do not split into separate tracking issues by package, part number, or count snapshot.
Representative diagnostics
pkg/workflow/awf_command_builder.go:24: BuildAWFCommand is 377 lines long.
pkg/workflow/safe_outputs_config_extraction.go:45: extractSafeOutputsConfig is 370 lines long.
pkg/workflow/awf_config.go:465: BuildAWFConfigJSON is 296 lines long.
pkg/cli/add_wizard_command.go:15: NewAddWizardCommand is 123 lines long.
pkg/cli/add_workflow_pr.go:53: addWorkflowsWithPR is 128 lines long.
pkg/cli/audit_diff.go:625: computeToolCallsDiff is 131 lines long.
Affected paths snapshot
pkg/workflow: 293 findings across many files; top hotspots include dependabot.go (6), compiler_custom_jobs.go (5), cache.go (4), central_slash_command_workflow.go (4), and frontmatter_extraction_security.go (4).
pkg/cli: 386 findings across many files; top hotspots include mcp_tools_privileged.go (6), update_actions.go (6), audit_diff_render.go (5), forecast_compute.go (5), and add_workflow_resolution.go (4).
Next slices to refactor
Remediation guidance
- Validate fixes by running
make golint-custom.
- Keep remediation scoped to the assigned lint slice only.
- Prefer minimal, targeted code edits and helper extraction over semantic rewrites.
Duplicate issue handling
Generated by 🧌 LintMonster · pi · lint-monster daily scan> Generated by 🧌 LintMonster · gpt54 · 24.6 AIC · ⌖ 4.34 AIC · ⊞ 5.7K · ◷
Authoritative tracking issue for the shared
function-length refactoringbacklog from the daily custom-linter scan.Current authoritative count
pkg/cli: 385 findingspkg/workflow: 288 findingsScope
Treat all
largefuncfindings inpkg/workflowandpkg/clias one shared backlog. Do not split into separate tracking issues by package, part number, or count snapshot.Representative diagnostics
pkg/workflow/awf_helpers.go:229:BuildAWFCommandis 377 lines long.pkg/workflow/safe_outputs_config_extraction.go:45:extractSafeOutputsConfigis 370 lines long.pkg/workflow/awf_config.go:470:BuildAWFConfigJSONis 301 lines long.pkg/cli/add_interactive_workflow.go:17:checkStatusAndOfferRunis 146 lines long.pkg/cli/add_workflow_pr.go:53:addWorkflowsWithPRis 128 lines long.pkg/cli/add_wizard_command.go:15:NewAddWizardCommandis 123 lines long.Next slices to refactor
61-80line functions inpkg/workflow.pkg/clioverages next to retire many findings quickly.make golint-customand update this issue with the new count.Remediation guidance
make golint-custom.Duplicate issue handling
Authoritative tracking issue for the shared
function-length refactoringbacklog from the daily custom-linter scan.Current authoritative count
pkg/cli: 385 findingspkg/workflow: 291 findingsScope
Treat all
largefuncfindings inpkg/workflowandpkg/clias one shared backlog. Do not split into separate tracking issues by package, part number, or count snapshot.Representative diagnostics
pkg/workflow/awf_helpers.go:229:BuildAWFCommandis 377 lines long.pkg/workflow/safe_outputs_config_extraction.go:45:extractSafeOutputsConfigis 370 lines long.pkg/workflow/awf_config.go:469:BuildAWFConfigJSONis 296 lines long.pkg/cli/logs_download.go:138:downloadRunArtifactsis 321 lines long.pkg/cli/logs_report.go:184:buildLogsDatais 321 lines long.pkg/cli/compile_pipeline.go:347:compileAllFilesInDirectoryis 311 lines long.Next slices to refactor
61-80line functions inpkg/workflowto retire many findings quickly.pkg/clioverages next, especially interactive/add and audit render helpers.make golint-customand update this issue with the new count.Affected paths snapshot
pkg/cli: 385 findings across many files includingcompile_pipeline.go,logs_download.go,logs_report.go,mcp_tools_privileged.go, andupdate_actions.go.pkg/workflow: 291 findings across many files includingawf_helpers.go,safe_outputs_config_extraction.go,safe_outputs_max_validation.go,compiler_safe_outputs_job.go, andunified_prompt_step.go.Remediation guidance
make golint-custom.Duplicate issue handling
Authoritative tracking issue for the shared
function-length refactoringbacklog from the daily custom-linter scan.Current authoritative count
pkg/cli: 175 findingspkg/workflow: 477 findingsScope
Treat all
largefuncfindings inpkg/workflowandpkg/clias one shared backlog. Do not split into separate tracking issues by package, part number, or count snapshot.Representative diagnostics
pkg/workflow/awf_command_builder.go:24:BuildAWFCommandis 377 lines long.pkg/workflow/safe_outputs_config_extraction.go:45:extractSafeOutputsConfigis 370 lines long.pkg/workflow/awf_config.go:465:BuildAWFConfigJSONis 296 lines long.pkg/cli/add_wizard_command.go:15:NewAddWizardCommandis 123 lines long.pkg/cli/add_workflow_pr.go:53:addWorkflowsWithPRis 128 lines long.pkg/cli/audit_diff.go:625:computeToolCallsDiffis 131 lines long.Affected paths snapshot
pkg/workflow: 477 findings across 315 files; top hotspots includedependabot.go(6),compiler_custom_jobs.go(5),cache.go(4),central_slash_command_workflow.go(4), andfrontmatter_extraction_security.go(4).pkg/cli: 175 findings across 109 files; top hotspots includeupdate_actions.go(6),audit_diff_render.go(5),forecast_compute.go(5),add_workflow_resolution.go(4), andaudit_diff.go(4).Next slices to refactor
61-80line functions inpkg/workflowto retire many findings quickly.pkg/clioverages next, especiallyupdate_actions.go, audit render helpers, and add-workflow helpers.make golint-customand update this issue with the new count.Remediation guidance
make golint-custom.Duplicate issue handling
Authoritative tracking issue for the shared
function-length refactoringbacklog from the daily custom-linter scan.Current authoritative count
pkg/cli: 386 findingspkg/workflow: 293 findingsScope
Treat all
largefuncfindings inpkg/workflowandpkg/clias one shared backlog. Do not split into separate tracking issues by package, part number, or count snapshot.Representative diagnostics
pkg/workflow/awf_command_builder.go:24:BuildAWFCommandis 377 lines long.pkg/workflow/safe_outputs_config_extraction.go:45:extractSafeOutputsConfigis 370 lines long.pkg/workflow/awf_config.go:465:BuildAWFConfigJSONis 296 lines long.pkg/cli/add_wizard_command.go:15:NewAddWizardCommandis 123 lines long.pkg/cli/add_workflow_pr.go:53:addWorkflowsWithPRis 128 lines long.pkg/cli/audit_diff.go:625:computeToolCallsDiffis 131 lines long.Affected paths snapshot
pkg/workflow: 293 findings across many files; top hotspots includedependabot.go(6),compiler_custom_jobs.go(5),cache.go(4),central_slash_command_workflow.go(4), andfrontmatter_extraction_security.go(4).pkg/cli: 386 findings across many files; top hotspots includemcp_tools_privileged.go(6),update_actions.go(6),audit_diff_render.go(5),forecast_compute.go(5), andadd_workflow_resolution.go(4).Next slices to refactor
61-80line functions inpkg/workflowto retire many findings quickly.pkg/clioverages next, especiallymcp_tools_privileged.go,update_actions.go, audit render helpers, and add-workflow helpers.make golint-customand update this issue with the new count.Remediation guidance
make golint-custom.Duplicate issue handling