Skip to content

marcellocurto/roark-coding-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

159 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

roark-coding-agent

Roark is a small CLI workflow runner around the Pi coding-agent SDK. It turns GitHub issues into isolated agent runs, review artifacts, verification gates, and pull requests.

What Roark does

  • Runs an issue workflow: fetch, triage, plan, implement, review, fix, and readiness.
  • Supports label-gated one-shot automation with roark auto.
  • Uses managed clone workspaces so agent work is isolated from the control checkout.
  • Publishes PRs only after readiness and verification pass.
  • Recovers failed attempts with roark continue.
  • Revises existing PRs from PR-scoped feedback with roark revise-pr.
  • Writes durable run artifacts under .roark/runs.

Roark does not merge PRs, close issues, or run as a daemon. Humans remain responsible for final review and merge decisions.

Install

Prerequisites:

  • Bun
  • Git
  • GitHub CLI authenticated with gh auth status
  • push and pull request permissions for the target repository
git clone https://github.com/marcellocurto/roark-coding-agent.git
cd roark-coding-agent
bun install
bun install -g "$PWD"
roark --help
roark --version

For servers, pin a tag or commit before installing globally.

Quick start

For the complete first-run path, see Quickstart.

Initialize Roark config in a target repository:

roark init

Run one issue manually:

roark do https://github.com/owner/repo/issues/123
# or, from a checkout
roark do 123 --repo owner/repo

Preview autorun selection:

roark auto --repo owner/repo --limit 1 --dry-run

Run one label-gated autorun attempt:

roark auto --repo owner/repo --limit 1

Recover a failed attempt:

roark continue 123 --repo owner/repo --attempt 1

Revise an existing PR from review feedback:

roark revise-pr 123 --repo owner/repo

Choose your path

Local development

bun run roark.ts --help
bun run roark.ts do 123 --repo owner/repo
bun test
bun run typecheck

Documentation

Start with the docs index.

Common topics:

Inspiration

About

Roark is a small CLI workflow runner around the Pi coding-agent SDK. It turns GitHub issues into isolated agent runs, review artifacts, verification gates, and draft pull requests.

Topics

Resources

Stars

Watchers

Forks

Contributors