← Portfolio

Dispatch

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) and a structured way to do work with an agent (Agent Pipeline), 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.

Links

Tags: ai, rails, agents, wcp, claude-code