Skip to content

[deep-report] Decompose top 6 Go files exceeding 1,000 lines (pkg/cli and pkg/workflow) per AGENTS.md policy #26237

@github-actions

Description

@github-actions

Description

A new repository quality audit (Apr 14) found 179 files (26.5%) exceed the AGENTS.md 300-line hard limit, including 6 files exceeding 1,000 lines concentrated in pkg/cli/ (audit and logs subsystems) and pkg/workflow/. These are the highest-priority decomposition targets and directly violate the documented coding policy.

Expected Impact

Decomposing these files will improve code reviewability, agent effectiveness when reading large files, and CI performance. Reducing 1,000+ line files to <300 lines should take 6 files from max debt to compliant.

Suggested Agent

Sergo or Copilot Coding Agent — identify the 6 specific files >1,000 lines, propose decomposition boundaries, and create PRs splitting each into logical sub-files. Focus on pkg/cli/ and pkg/workflow/ packages first.

Estimated Effort

Medium (1-4 hours per file, 6 files) — code analysis + decomposition PRs

Data Source

Generated by DeepReport - Intelligence Gathering Agent · ● 433.4K ·

  • expires on Apr 16, 2026, 3:14 PM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions