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)
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
.agents/scripts/dispatch-dedup-helper.shwc -l .agents/scripts/dispatch-dedup-helper.shshould be below 2000Created by large-file simplification gate (pulse-dispatch-core.sh)