@pareto4/pp-core
v1.26.0
Published
Pareto pp-core — The Pareto Project's AI-assisted engineering framework: meta-prompting, context engineering, and spec-driven development for AI coding agents.
Maintainers
Readme
pp-core
The Pareto Framework.
A light-weight meta-prompting, context engineering, and spec-driven development system for Claude Code, OpenCode, Gemini CLI, Kimi CLI, Kilo, Codex, Copilot, Cursor, Windsurf, and more.
The canonical Pareto pp-core — source at github.com/pareto000/pp-core, published to public npm as
@pareto4/pp-core. Provenance: UPSTREAM_SYNC.md. How releases are numbered: VERSIONING.md.
What is pp-core
pp-core is a context-engineering and spec-driven development framework that drives AI coding agents (Claude Code, Codex, Gemini CLI, Kimi CLI, Copilot, Cursor, and more) through a disciplined phase loop. It solves context rot — the quality degradation that accumulates as an AI fills its context window — by running all heavy research, planning, and execution work in fresh-context subagents while keeping your main session lean.
How it works
Each milestone repeats the same five-step loop, one phase at a time:
- Discuss — capture implementation decisions before anything is planned
- Plan — research, decompose, and verify the plan fits a fresh context window
- Execute — run plans in parallel waves; each executor starts with a clean 200k-token context
- Verify — walk through what was built; diagnose and fix before declaring done
- Ship — create the PR, archive the phase, repeat for the next one
Quickstart
Install the latest release for Claude Code in ~/.claude:
npx -y @pareto4/pp-core@latest --claude --globalRun it again to update, or use /pp-update; @1.17.0 instead of @latest installs a specific release. Without flags the installer asks for your runtime (Claude Code, OpenCode, Gemini CLI, Kimi CLI, Kilo, Codex, Copilot, Cursor, Windsurf, and more) and whether to install globally or locally. The installer is required for cross-runtime compatibility — do not copy files from agents/ or commands/ directly.
To install a branch instead of a release, clone the repo and run npm run setup: it builds the clone on the branch it is on and installs it in ~/.claude (npm run setup -- --runtime <id> for another agent).
On another runtime or without Node.js? See Install on your runtime.
Once installed, open a new terminal in an empty project folder, start Claude Code with claude, and type:
/pp-init/pp-init sets up git, the platform binding and the remote, checks that the vault is reachable, and then offers /pp-discovery or /pp-new-project.
New here? Follow Your first project for a guided walkthrough from install to first shipped phase.
Documentation
Tutorials — learning by doing:
How-to guides — task-focused recipes:
Reference — authoritative facts:
Explanation — concepts and design decisions:
No lock-in — pp-core never ships inside the app it helps you build:
Full index: docs/README.md.
Repository conventions
Three things a first-time reader meets here look like leftovers and are not:
.out-of-scope/— proposals that were considered and rejected, one file each, carrying the source issue, the verdict (**Decision:** wontfix …) and the date. Kept so the same idea is not re-proposed from scratch..changeset/— the unit of a changelog entry. Each user-facing change lands as one fragment here; a maintainer renders the fragments intoCHANGELOG.mdat release time, so between releases this directory fills up and the## [Unreleased]section ofCHANGELOG.mdstays empty by design..changeset/archived/holds fragments of releases already shipped. See "CHANGELOG Entries — Drop a Fragment" in CONTRIBUTING.md..planning/— pp-core's own working state for developing this repository (roadmap, phase plans, summaries). Gitignored (.gitignoreline 35), so a fresh clone does not contain it.
Developing pp-core
You use pp-core while you change it, so keep two installs apart:
| Install | Where | Comes from | Start it with |
|---|---|---|---|
| Global | ~/.claude | your checkout, on its branch when you ran npm run setup | the desktop app or claude |
| Dev | ~/.claude-dev | your working checkout | claude-dev |
One-time setup:
git clone https://github.com/pareto000/pp-core.git
cd pp-core
npm run dev:setupdev:setup installs the dependencies, builds your checkout into the dev profile ~/.claude-dev, and adds a claude-dev command: on Windows in %LOCALAPPDATA%\pp-core\bin, which it puts on your user PATH; on macOS and Linux as a function in ~/.zshrc or ~/.bashrc. Open a new terminal window afterwards. npm run dev:setup -- --no-shell skips the command.
Then start Claude on the dev profile from the project you want to work in. Claude Code fixes its project folder at start-up, so changing folders inside the session does not move it:
cd C:\Code\my-test-project
claude-devA dev session shows a magenta DEV badge with the build's branch and commit at the start of the statusline (* when the build had uncommitted changes); the stable install shows none. Run npm run dev:install in the checkout after each change you want to try. Never install --global from a feature branch: that replaces the stable install your daily sessions run on. To test how a project-local install is resolved, npm run dev:install -- --local installs into a sandbox project (../pp-sandbox) instead.
Full setup, including the stable worktree and the limits of each route: Develop next to a stable install.
Why it works
Most AI-coding setups fail at scale because context bloat silently degrades output quality, there is no shared memory between sessions, and nothing verifies that code actually works. pp-core solves all three: heavy work runs in fresh subagents, structured artifacts like STATE.md and CONTEXT.md survive session boundaries, and the verify step walks through what was built and generates fix plans before a phase is declared done. See docs/explanation/context-engineering.md for the full reasoning.
Troubleshooting? See docs/how-to/recover-and-troubleshoot.md.
License & Attribution
MIT License. See LICENSE for details.
pp-core is a hard fork of gsd-core by Open GSD (MIT), rebranded and extended by The Pareto Project. The original copyright and permission notice are preserved in LICENSE, and upstream attribution is recorded in NOTICE — both files ship in the npm package and in every installed footprint.
Claude Code is powerful. pp-core makes it reliable.
