---
title: Dispatch
kind: side-project
role: Solo build
years: 2025 – present
status: running
summary: >-
  Rails worker that polls Work Context Protocol for queued work items and
  dispatches them to Claude Code agents. The loop-closer between WCP and the
  Agent Pipeline.
links:
  - label: github.com/dpaola2/dispatch
    url: 'https://github.com/dpaola2/dispatch'
tags:
  - ai
  - rails
  - agents
  - wcp
  - claude-code
order: 3
---

{/*
  ────────────────────────────────────────────────────────────────
  WRITE HERE, IN YOUR OWN WORDS. Then delete everything below the
  marker, and delete this block.

  1. What was the actual problem?
  2. What did you do?
  3. What did you get wrong?
  4. What would you do differently?

  Questions 3 and 4 are the ones that make this read like a person.
  They are also the ones the old draft could not fake, which is why
  every entry currently skips them.

  ALSO REWRITE: the `summary:` line in the frontmatter above. It shows
  on /portfolio as your one-line description of this project, and it
  was machine-written too.
  ────────────────────────────────────────────────────────────────
*/}

{/* ══ OLD MACHINE DRAFT BELOW — kept for facts (dates, links, names). Delete when you've written yours. ══ */}

**The job:** Close the loop between a structured work tracker and a coding agent so queued work flows without me babysitting it.

Given a structured work tracker ([Work Context Protocol](/portfolio/work-context-protocol)) and a structured way to do work with an agent ([Agent Pipeline](/portfolio/pipeline-skills)), the missing piece is the worker that watches WCP for queued items and hands them to a Claude Code session running with the right context. Dispatch is that worker. Rails 8, Solid Queue for the polling, a small web UI for managing workers and watching run history, Kamal for deploy. Workers run in prompt mode (one-shot completion) or skill mode (multi-step pipeline). Each run gets a structured record so the next session picks up where it left off.

WCP for memory, Agent Pipeline for shape, Dispatch for the loop. Together they're the AI-augmentation stack I actually use day to day.
