Skip to content

simplification-debt: .agents/scripts/pulse-dispatch-core.sh exceeds 2000 lines #18892

@milohiss

Description

@milohiss

What

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

Why

Issue #18781 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/pulse-dispatch-core.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/pulse-dispatch-core.sh should be below 2000

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

Metadata

Metadata

Assignees

Labels

auto-dispatchAuto-created from TODO.md tagduplicateThis issue or pull request already exists

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions