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 · ◷
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) andpkg/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/andpkg/workflow/packages first.Estimated Effort
Medium (1-4 hours per file, 6 files) — code analysis + decomposition PRs
Data Source