Skip to content

simplification-debt: .agents/scripts/dispatch-dedup-helper.sh exceeds 2000 lines #18916

@milohiss

Description

@milohiss

What

Simplify .agents/scripts/dispatch-dedup-helper.sh — currently over 2000 lines. Break into smaller, focused modules.

Why

Issue #18914 is blocked by the large-file gate. Workers dispatched against this file spend most of their context budget reading it, leaving insufficient capacity for implementation.

How

  • EDIT: .agents/scripts/dispatch-dedup-helper.sh
  • Extract cohesive function groups into separate files
  • Keep a thin orchestrator in the original file that sources/imports the extracted modules
  • Verify: wc -l .agents/scripts/dispatch-dedup-helper.sh should be below 2000

Created by large-file simplification gate (pulse-dispatch-core.sh)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions