npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pi-spine

v1.1.0

Published

Orchestration spine for long-running pi development

Downloads

579

Readme

pi-spine

CI

Orchestration spine for long-running pi development.

pi-spine is a pi package for parallel, multi-day agent batches on real codebases. It combines Taskplane-style task packets, Babysitter-grade audit history, and pi-conductor-style human gates in one pi-native flow — compose, don't merge three orchestrators into a fourth monolith.

| pi-spine is | pi-spine is not | |-------------|-----------------| | A pi extension + CLI (spine) for batch orchestration | A replacement for pi itself | | Compatible with Taskplane PROMPT.md / STATUS.md packets | A fork of Taskplane | | An append-only orchestration journal for control-plane events | A full Babysitter process-definition engine | | Human gates before integrate/merge | A clone of pi-conductor's external control-plane DB | | Worktree-isolated parallel lanes | Cross-harness routing (Cursor, Codex, etc.) in v1 |

Feature summary

  • Taskplane-compatible tasksPROMPT.md, STATUS.md, dependencies.json
  • Dependency waves — topological scheduling with parallel lanes
  • Git worktree isolation — one lane per worktree; orch branch for integration
  • STATUS-first workers — checkpoint discipline and step-boundary commits
  • Cross-model review — reviewer model configurable separately from worker
  • Orchestration journal — JSONL event log for debugging and resume context
  • Human gates — approve or reject integrate with test/build evidence
  • Local dashboard — batch, lane, and gate visibility (SSE)
  • create-spine-tasks skill — decompose PRDs into spine-tasks/ packets (local install)

Inspired by

pi-spine builds on ideas from Taskplane, Babysitter, and pi-conductor. For comparisons, trade-offs, and when to use each tool alone, see Why pi-spine?.

Honest limits

pi-spine ships operator-driven batch monitoring, not autonomous supervision.

| Out of scope | What to use instead | |--------------|---------------------| | Supervisor mail — conversational nudges between orchestrator and workers | spine status --diagnose, dashboard diagnosis banner | | Autonomous monitor agent — background session polling batch health | CLI + dashboard surfaces; human operator runs suggested commands |

Primary monitor surfaces: spine status --diagnose, spine dashboard / /spine-dashboard, and the operator runbook. The .spine/agents/supervisor.md template documents this no-agent reality; the batch engine does not spawn it.

Prerequisites

| Dependency | Required | |------------|----------| | Node.js ≥ 22 | Yes | | pi coding agent | Yes | | Git (worktree support) | Yes |

Install

pi install npm:pi-spine
# or: npm install -g pi-spine

For git/path development installs, see local-install.md. After install, spine doctor warns when a stale global spine on PATH does not match your checkout.

| Doc | Purpose | |-----|---------| | bootstrap-checklist.md | First-time consumer setup | | operator-runbook.md | Daily operator procedures | | cursor-rules-discovery.md | Contributor Cursor rules (contributors) |

Quick start

  1. Install and initpi install npm:pi-spine then cd my-project && spine init && spine doctor
  2. Plan and preflightspine preflight && spine plan all (pi: /spine-plan all)
  3. Start a batchspine batch start pending (pi: /spine pending)
  4. Monitorspine status --diagnose (pi: /spine-status)
  5. Land on mainspine gate statusspine gate approvespine integrate (pi: /spine-gate/spine-integrate)

Full command reference: docs/QUICK-REFERENCE.md.

Commands at a glance

CLI

| Command | Purpose | |---------|---------| | spine init | Create .spine/ config and agent stubs | | spine doctor | Validate Node, git, pi, config | | spine preflight | Required checks before batch start | | spine plan all / pending | Preview dependency waves and lanes | | spine batch start pending | Run unfinished tasks in dependency order | | spine status --diagnose | Reconciled batch diagnosis + next action | | spine batch pause / resume | Stop or continue scheduling | | spine gate status / approve | Review evidence; approve integrate | | spine integrate | Merge orch branch → main | | spine dashboard | Local SSE dashboard (default port 8109) |

pi slash commands

| Command | Purpose | |---------|---------| | /spine-plan all | Preview waves and lanes | | /spine pending | Start batch for pending tasks | | /spine-status | Batch diagnosis + lane health | | /spine-gate | Gate inspection and resolution | | /spine-integrate | Merge orch branch after gate approval | | /spine-dashboard | Start dashboard in background |

How it works

preflight → plan waves → batch start (worktree lanes)
    → workers (PROMPT/STATUS, .DONE) → lane merge → orch branch
    → gate approve → integrate → main

Waves serialize dependency groups; lanes parallelize disjoint file scopes within a wave. See EXECUTION-FLOW-DIAGRAMS.md and EXECUTION-FLOW.md for lifecycle detail.

Best-of-N (dev script)

scripts/best-of-n.mjs runs the same prompt through multiple pi models in parallel worktrees — for comparing outputs, not production batches. Git checkout only; not shipped on npm. See docs/QUICK-REFERENCE.md (dev scripts) and scripts/best-of-n.mjs.

Migrating from Taskplane

  1. Install pi-spine in the same or a new repo.
  2. spine init then spine doctor
  3. Migrate config from .pi/taskplane-config.json (spine migrate-from-taskplane).
  4. Run /spine-plan all and compare to your last Taskplane plan.

Do not run Taskplane and pi-spine batches on the same repo concurrently. See bootstrap-checklist.md.

Project status

v1.1.0 on npm and pi.dev. API may still evolve in patch releases; see git tags and docs/release/.

CI runs on every push and PR: typecheck, tests, coverage, and CLI smoke checks — see .github/workflows/ci.yml and npm-publish.md.

Documentation

| Document | Purpose | |----------|---------| | docs/PRD.md | Product requirements and implementation contract | | docs/QUICK-REFERENCE.md | Operator command reference | | docs/EXECUTION-FLOW.md | Batch lifecycle and scheduling | | docs/adoption/why-pi-spine.md | Positioning vs Taskplane, Babysitter, pi-conductor | | docs/adoption/operator-runbook.md | Daily operator procedures | | docs/adoption/bootstrap-checklist.md | First-time setup |

License

MIT (intended).