A
collector
Panel: Ready, not Green; no empty Context; the next step as an action
deploy
Caddyfile: wrap the cache comment
docs
Demo: every section has at least two rows; agent-working rows say what they wait on
public
OG image: larger bars, wordmark higher
scripts
Demo: every section has at least two rows; agent-working rows say what they wait on
src
Public demo build: VITE_INFLIGHT_DEMO=1 serves the demo snapshot, deployed on Vercel
.gitignore
Public demo build: VITE_INFLIGHT_DEMO=1 serves the demo snapshot, deployed on Vercel
components.json
Progress pills with the Dither Kit gradient; run counts that match their tooltip
dither-kit.json
Progress pills with the Dither Kit gradient; run counts that match their tooltip
doctor.config.json
Progress pills with the Dither Kit gradient; run counts that match their tooltip
index.html
OG image: the timeline full bleed at 2x, wordmark over a corner fade
mise.toml
feat: live board server, Mac uploader and split collector
package.json
Progress pills with the Dither Kit gradient; run counts that match their tooltip
pnpm-lock.yaml
Progress pills with the Dither Kit gradient; run counts that match their tooltip
pnpm-workspace.yaml
chore: react-doctor 100/100
README.md
README: the OG image as its banner
tsconfig.app.json
Progress pills with the Dither Kit gradient; run counts that match their tooltip
tsconfig.json
feat: inflight timeline prototype from a real-day snapshot
tsconfig.node.json
feat: display options, calibrated ETAs, HeroUI controls and per-stage rows
vercel.json
Public demo build: VITE_INFLIGHT_DEMO=1 serves the demo snapshot, deployed on Vercel
vite.config.ts
Production mode: the server builds and serves the bundle; seamless dither pills with an outline; no shimmering bars

inflight

One timeline of every pull request on its way to production: which agent is on it, where it is (checks, merge queue, master build, deploy), how long each stage is taking against recent runs, and when it should be live. Built for a second display: glanceable, live, and honest about what it does not know.

Live demo (made-up data)

Each row is a PR. The rail is the PR's life; stages sit on it, dashed parts are forecasts, and the thin line underneath shows when a local agent (Conductor, Claude Code, OpenCode) was working that branch.

Click a row for its path to production and the agent conversation behind it:

Click a run on the rail for its job graph, with the longest chain highlighted:

What it shows

The board

  • Sections by where a PR is: Shipping, Merge queue, Ready not queued, Checks running, Failing, In review, Agents working, Drafts, then Shipped and Quiet folded at the bottom. Group by stage, by agent conversation, or not at all; order by merge status, last activity, created, or number (Display menu).
  • Stages on the rail, each in its own colour: checks (grey), green and waiting to be queued (green), merge queue (indigo), master build (turquoise), deploy and live in production (blue), failures (red), runs a newer push cancelled (outline), local checks (warm grey, under the bar); merged is violet. A merge-queue entry with nothing building it gets a faint bar for the wait ("waiting · 8m").
  • Forecasts as dashes from now to when the PR should be live: "merges in 8m", then "build + deploy 25m", adding up to the "live in 33m" after them. A stage already slower than 9 in 10 recent runs turns amber; red is only for failures. Anything still in progress (a run, a deploy, a queue entry waiting for its build) is one pill: solid up to now for the time it has taken, then a Dither Kit gradient thinning toward where it should end, so elapsed and remaining read as one thing.
  • Markers for opened, added to and ejected from the queue, merged, and deployed; globes on the time axis for each production deploy. Only now and the day boundary run down the board as lines.
  • Stacks drawn as a thin line in the stack's colour joining the PR icons, numbered bottom first; a PR higher up says it lands with its stack.
  • Agents: the session on each PR (tool icon and tab title), a shimmering title when an agent is on the branch right now, and where a linked agent is otherwise (idle, waiting for you, on another branch). An agent counts as on a branch when its session runs on that branch, or when a command it started (a test stack, a CI watch) is still running in the branch's worktree, which catches background agents whose transcripts go quiet during a long command.
  • Shipped rows stay compact; hovering the title shows the state and every agent that worked on it. A PR whose master run was cancelled by a newer push reads as shipped by the run that deployed it.

Every mark explains itself

Hover anything: an agent's activity line (when it worked, what it committed, pushed and checked, what was said), a stage (when, how long, usual and slow times, failed and slowest jobs), a forecast (what is running, how long against usual, which jobs are taking the time, when each step lands), a chip (ejections and why, the whole stack, review threads), an agent (folder, model, last words, cost, context), a section header and its summary, or a count in the top bar (which PRs, and why).

Top bar

  • Need you: PRs only a person can move: ready but not queued, failing with nobody fixing them, or holding review threads.
  • Next live, with how far off "live in" times have been (see Estimates).
  • Landed, with what production runs now, image by image.
  • Where PR time went over the last 24 hours: ready not queued, checks, queue, red waiting on a fix, shipping.
  • Freshness: GitHub, the Mac's agent data and the live stream each report their age; the board dims when GitHub or the stream is behind instead of passing old data off as live.
  • Refresh, whose tooltip shows the server's GitHub refresh step by step with each step's time, open while it runs.

Deploys and images

  • The deploy hover lists the commit, where it deployed (web on Cloudflare, backend on the Swarm host), its PRs, and every image it built with tag, build time, size, and whether it is live, not live yet, or replaced.
  • What is live comes from production itself: the API and each bot report the commit they run on their health endpoints. The voice agent and Grafana report none, so for them it is the registry's :latest, labelled as such. A failed health check shows as failed, never as "not live".
  • Images and tags are read from GHCR anonymously (the packages are public), with immutable lookups cached.

Estimates

  • Each run's end comes from its real job graph (ci.yml's needs), with every job's remaining time taken from its own history: the median of what past runs that got this far still needed. A job running long gets a longer estimate instead of "any minute".
  • Queue entries merge in order, behind GitHub's build slots; then master's build and the deploy at their usual times.
  • A backtest replays every finished run at 25, 50 and 75 percent, each without its own jobs in the history, to calibrate the estimates and report their error band.
  • The server also writes down what the board shows every two minutes and scores it against what happened (the deploy, or a green finish); the "±3m" next to Next live is that live score over the last day.

Views and keys

Zoom and scroll, grouping and ordering are remembered per browser; the timeline is saved relative to now, so a reload follows the clock. It ends just past the last expected live time.

j / k (or arrows) move between PRs, Esc closes the panel, n jumps to now, + / - or Cmd + scroll (or pinch) zoom, g switches grouping between stage and conversation.

How it runs

GitHub ── webhooks ──▶ cloudflared quick tunnel ──▶ webhook listener (127.0.0.1:5198)
                                                         │
Mac uploader ── POST /api/local every 10s ──▶  Vite dev server + live plugin  ── SSE /api/stream ──▶ browser
                                                         │
                         GitHub API, GHCR, prod health endpoints (on refresh)
  • Server (collector/live-plugin.ts, attached to vp preview serving the production build, and to vp dev while developing): job and run webhooks patch the board at once; PR, queue and review events trigger a debounced re-read; a five-minute poll catches anything missed. Clients hear about changes at most once a second, with a heartbeat so the board can tell a quiet stream from a dead one. State (GitHub data, the Mac's data, the estimate log) is saved to disk atomically so a restart picks up where it left off.
  • Mac uploader (collector/push.ts): reads Conductor's database, Claude Code transcripts (subagents included), OpenCode's database, each open PR's worktree (unpushed and uncommitted changes, behind master, conflicts with master) and agent commands running in those worktrees, and posts them to the server.
  • Home server: deploy/systemd/ runs the board (it builds on every start, then serves the bundle), the tunnel and Caddy as user services (deploy/install.sh; root steps in deploy/root.sh). Caddy serves https://inflight.aryanranderiya.com:5199 with a Cloudflare DNS certificate on the tailnet only, via tailscale serve --tcp; it is on :5199 because the box's tailnet :443 already belongs to Rex.
  • Mac: deploy/launchd/com.inflight.push.plist keeps the uploader running; fill in __NODE__, __HOME__ and __SERVER__, copy it to ~/Library/LaunchAgents/ and launchctl load it.

Configuration

VariableWhereWhat
INFLIGHT_WEBHOOK_SECRETserver, tunnelHMAC secret GitHub signs webhooks with
INFLIGHT_WEBHOOK_PORTserver, tunnelwebhook listener port (default 5198)
INFLIGHT_STATEserversaved state file (default ~/.cache/inflight/state.json)
GITHUB_TOKENserver, CLIGitHub token; defaults to gh auth token
CLOUDFLAREDtunnelpath to cloudflared
INFLIGHT_SERVERuploaderthe board's URL
INFLIGHT_PUSH_MSuploaderupload interval (default 10s)
INFLIGHT_REPO_ROOTuploaderthe checkout whose worktrees agents use (default ~/Projects/gaia)

The repository it watches is REPO in collector/assemble.ts.

Run it locally

pnpm install
pnpm dev            # the live board, reading GitHub and webhooks
pnpm push           # in another terminal: post this Mac's agents and worktrees to it
pnpm collect        # or: write a one-off public/snapshot.json

Dither Kit

src/components/dither-kit/ is the kit's gradient, installed with pnpm dlx @dither-kit/cli add gradient (components.json and the @/ alias are what its shadcn-based installer needs; dither-kit.json is its lockfile). One local change: from="currentColor" takes the element's CSS colour, so stage colours stay defined once, in src/index.css. dither-kit diff shows it.

Demo

/?demo loads public/demo-snapshot.json instead of the live stream: made-up states (deploying, a slow build, queued, waiting for a slot, ejected, failing, stacked, drafts, shipped, images) on real merged PR titles. Rebuild it from a real snapshot with pnpm demo <snapshot.json>.

The public demo at inflight-demo.heygaia.io is the same snapshot as a static build: vercel.json builds with VITE_INFLIGHT_DEMO=1, which makes the demo the default and drops the live stream.