GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jjongs2/ticket-runner: Drives the mattpocock-skills chain: humans plan, the pipeline executes.

BranchesTags
Open more actions menu

Latest commit

 

History

197 Commits
197 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude/skills
.claude/skills
 
 
.github
.github
 
 
bin
bin
 
 
docs
docs
 
 
scripts
scripts
 
 
src
src
 
 
wiki
wiki
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
GLOSSARY.md
GLOSSARY.md
 
 
LICENSE
LICENSE
 
 
README.ko.md
README.ko.md
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
ticket-runner.json
ticket-runner.json
 
 
tsconfig.json
tsconfig.json
 
 
vitest.config.ts
vitest.config.ts
 
 

Repository files navigation

ticket-runner

npm License: MIT

한국어

ticket-runner runs the unattended half of the mattpocock-skills chain. You plan with its skills; it takes every ready Ticket to a merged pull request while nobody watches.

What it does

The chain is split in two. Planning is yours: /grilling, /to-spec and /to-tickets (or /triage) turn a feature into small GitHub issues, each labelled ready-for-agent, with a checklist of Acceptance Criteria and its blockers linked. Execution is the pipeline's. For every such issue whose blockers have closed, it:

  1. claims the issue and creates a branch and a git worktree for it
  2. runs a headless claude -p session that implements it with /implement and runs your tests
  3. runs a second, fresh session that tries to prove the Acceptance Criteria are not met
  4. rebases, opens a pull request, waits for CI and squash-merges: the pipeline runs no tests on the branch itself, so the CI you set up on your pull requests is what gates the merge

One failure buys one fix session and a second pass. Anything it still cannot finish goes back to you, labelled ready-for-human, with a draft pull request and a comment saying what failed. Sessions run on your Claude plan, and an ANTHROPIC_API_KEY your shell exports is kept from them; run --api-key bills them to that key instead. A session stopped by the rate limit, by the API failing on its side, or by the key running out of credit or into its spend limit costs nothing: the issue goes back on the board, the Run says what stopped it, and when the limit resets where it can, and the next Run carries on from where it stopped.

Is it for you?

It fits a repository where:

  • you plan with mattpocock-skills, set up once with /setup-matt-pocock-skills and GitHub Issues as the tracker, and each Ticket is small enough for one session
  • there is a test or typecheck command for the sessions to run, and your pull requests run it in CI: without CI, a pull request merges code nothing ran
  • the machine running it has Node 22 or newer, git, an authenticated gh, and claude with the mattpocock-skills plugin, version 1.3.0 or later

It merges to your base branch without asking. It is for repositories where that is what you want.

Try it

In the repository you want it to work in (the Target):

npx ticket-runner init   # set the Target up and report what is still missing
git add .gitignore CLAUDE.md ticket-runner.json docs/agents .claude/skills/ticket-runner
git commit -m "chore: set up ticket-runner" && git push
npx ticket-runner run    # work through every ready issue

init writes a few files for you to review and commit: .gitignore lines, a conventions document, a section in CLAUDE.md and a Claude skill. It also creates the triage labels and turns on squash merging and branch deletion on merge. It commits nothing, and a session reads those files only once they are on your base branch, so push them before the first run.

To keep it, install it globally:

npm install -g ticket-runner
Command What it does
ticket-runner init Set this repository up, and report what only you can put right
ticket-runner run Work through every ready issue, one at a time
ticket-runner run 12 14 The same, taking only #12 and #14
ticket-runner run --lanes 2 Two issues at once
ticket-runner run --api-key Bill every session to your ANTHROPIC_API_KEY, not your Claude plan
ticket-runner stop Ask the Run in progress to finish what it holds and take no more
ticket-runner remove Take the pipeline out of this repository
ticket-runner -v Print the version

A Run can also be started from the Claude app, in a Claude Code cloud session on the Target: say "run it". A cloud session always runs on your plan, so it refuses --api-key.

Take it out again

ticket-runner remove           # in the Target: what init wrote and what Runs left behind
npm uninstall -g ticket-runner # the global install

remove asks first (--yes skips the question), commits nothing, and reports what it left alone on purpose, such as open pull requests and the issues it commented on. npx leaves nothing behind but its cache.

Learn more

The project wiki explains the pipeline in depth:

  • Install and remove
  • Planning the work
  • Running
  • Configuration
  • From Ticket to merge
  • Hand-offs, stopping and resuming
  • Internals

The vocabulary is defined in GLOSSARY.md, the decisions in docs/adr/, and the conventions for working on the pipeline itself in CONTRIBUTING.md.

About

Drives the mattpocock-skills chain: humans plan, the pipeline executes.

jjongs2.github.io/ticket-runner/

Topics

claude-codecligithub-issuesmattpocock-skills

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.