NF-8: Legacy dispatch removal #329

Closed
opened 2026-04-24 11:29:51 +00:00 by code-lead · 0 comments
Collaborator

As the platform, I want to delete the hard-coded handlers in webhook-handlers.ts / webhook-ci.ts / slash-commands.ts / deps.ts so that the default graph is the single source of truth for dispatch.

Acceptance criteria

Code removal

  • webhook-handlers.ts, webhook-ci.ts, slash-commands.ts, deps.ts strip out every dispatch path. What remains: event normalisation + SSE broadcasting only.
  • Default-graph JSON becomes the only thing that turns events into side effects.

Tests

  • Handler tests migrate 1:1 to graph-node assertions. Most stay shape-identical; rewire the fixtures through the executor instead of the handler.

Docs

  • CLAUDE.md modules table updated to reflect the reorg.
  • docs/*.md references to the legacy handlers redirected to the flow.

Out of scope

  • New functionality.
  • UI.

References

As the platform, I want to delete the hard-coded handlers in `webhook-handlers.ts` / `webhook-ci.ts` / `slash-commands.ts` / `deps.ts` so that the default graph is the single source of truth for dispatch. ## Acceptance criteria ### Code removal - [ ] `webhook-handlers.ts`, `webhook-ci.ts`, `slash-commands.ts`, `deps.ts` strip out every dispatch path. What remains: event normalisation + SSE broadcasting only. - [ ] Default-graph JSON becomes the only thing that turns events into side effects. ### Tests - [ ] Handler tests migrate 1:1 to graph-node assertions. Most stay shape-identical; rewire the fixtures through the executor instead of the handler. ### Docs - [ ] `CLAUDE.md` modules table updated to reflect the reorg. - [ ] `docs/*.md` references to the legacy handlers redirected to the flow. ## Out of scope - New functionality. - UI. ## References - Spec: [`specs/node-flows.md`](../src/branch/main/specs/node-flows.md) § Migration path, phase 3. - Depends on NF-7 (#328) + two-release soak after NF-6.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/claude-hooks#329
No description provided.