Wrk.Dog

How it works

A small service that runs your jobs, and a command that asks questions.

Two parts

The Pipe

A small service that runs on your computer. You send it jobs. It queues them, runs each one through Claude Code or Codex signed in as you, and keeps a record. It listens only on your own computer (127.0.0.1), and every request needs its token.

The huntaway command

Asks one question and tells you plainly what happened: it ran, it certainly didn't run (so you can send it again), or it may have run. It can use the Pipe, or your own API key with dollar caps.

Most people use the Pipe through an assistant: Claude Code, OpenClaw, or anything that speaks MCP. You can also drive it from the command line or its local HTTP API.

A job, field by field

A job is one request to the Pipe. These are the fields you'll use most:

FieldWhat it says
promptWhat to do.
provider, model, effortWhich tool and model run it, and how hard it should work. The Pipe never picks a model for you.
reasonWhy you're running it. It's kept in the record.
kindcode for work that may change files, chat for a question.
mutatingWhether the job may change files. A job that may gets its own worktree.
cwd, pinnedStartCommitThe repository, and the exact commit to start from.
priorityinteractive jobs run before background ones.
requester, projectWho sent it, and what it's for, so the record can be sorted.

The Pipe's README lists every field and option.

The commands you'll use

From the Pipe's README. The first line defines the short pipe function, with the setup file's folders.
$ pipe() { node ~/huntaway/pipe/src/cli.ts "$@" --config ~/pipe-data/config.json; }
$ pipe accounts       # your login, its allowance and whether it's available
$ pipe models         # the models your config allows
$ pipe submit < request.json
$ pipe list           # recent jobs, with no prompt or result
# ID is the job's id, from what pipe submit printed: ID=…
$ pipe status "$ID"    # one look at a job
$ pipe wait "$ID"      # waits until it's completed, failed, cancelled or start_mismatch
$ pipe card "$ID"      # a short card: how it ended and where its work was saved
$ pipe cancel "$ID" --by me
$ pipe drain          # lets running jobs finish, then stops the service

When your plan is out of room

A job waiting for room Three jobs in a line. The first waits because your plan is out of room. When there's room again it runs. Waiting doesn't add capacity to your plan. Job Cqueued Job Bqueued Job A waitsyour plan is out of roomit hasn't started, so nothing is lost Runs when there's roomthrough Claude Code or Codexsigned in as you Waiting doesn't add room to your plan. It just means a job doesn't fail because it started at the wrong moment.
  • Before a job starts, a busy or limited account makes it wait instead of failing.
  • Once it has started, a limit can still end it. A job that may already have changed files isn't re-run automatically: look at its worktree before you send it again. If it stopped on a limit or a sign-in problem before it used any tool, and its worktree is untouched, it waits and runs again.
  • A read-only job waits and tries again after a limit or sign-in failure.
  • Both kinds of retry have a cap: after 20 such failures by default, the job fails.
  • It runs on the model you chose, or it fails. A mismatch is never recorded as a success.
  • A nearly full disk makes jobs wait too.

Where code changes go

A code job's own worktree and branch Your repository stays as it is. A code job gets its own worktree from the commit you named and works there. When it has changes, they are saved as a commit on its own pipe branch. You decide whether to merge it. Your repositoryyour checkout isn't touched The job's own worktreefrom the commit you named A commit on pipe/<job>when there are changes to save Huntaway never merges. Saved work stays on the job's own branch, for you to review.
  • A job that changes files runs in its own git worktree, on a pipe/… branch. The record names the path, the branch and the commit.
  • Its card says what happened to the work: saved (with the branch and commit), no_changes, not_saved, unknown, or still pending. Count on a saved commit only when the card says saved.
  • A finished job's worktree is normally kept for 72 hours (worktreeKeepHours); when the disk is short of space it can go sooner, down to 15 minutes. Then any uncommitted work is committed on its branch, and the folder is removed. The branch stays. A worktree the Pipe can't save cleanly is kept.
  • Still using a worktree? Lock it to keep it: git worktree lock /path/to/the/worktree, with the path from the job's record.
  • Claude jobs that change files run inside Claude Code's sandbox. Read-only Claude jobs get only the Read, Grep and Glob tools, and read-only Codex jobs run in Codex's read-only sandbox.

Your login, kept apart

The Pipe gives your account its own login folder and refuses the tools' default folders, so its jobs never share your own Claude Code or Codex sessions. You sign in to that folder yourself. The Pipe never reads your provider credentials: it points each tool at its folder and runs it.

Running it all the time

You can start the Pipe by hand, or have it start when you log in (launchd on macOS, your own service manager on Linux). It keeps running jobs after you close your assistant, while the computer is on and awake. To upgrade, pipe drain lets running jobs finish first.

The Pipe runs on one computer. From another Mac, pipe remote install sets up an SSH entry point, so your assistant there can send jobs here. The jobs still run on the first Mac.

What it doesn't do

  • It doesn't run across several machines, or accept remote workers.
  • It doesn't share or resell plans, and it doesn't buy capacity.
  • It doesn't install, update or sign in Claude Code or Codex for you.
  • It doesn't support Gemini in this release.

Next: install it, or read about two-company reviews.