These pages document master, which is unreleased and in development. The Quick Start installs the latest stable release; anything newer than that tag is marked in the text.
Pi Quickstart
Get the Code Copilot Team (CCT) harness running on Pi. Two modes — pick one:
| Mode | Command | What you get |
|---|---|---|
| Advisory | pi install git:github.com/gosha70/code-copilot-team@<tag> |
reusable CCT skills + prompt templates; no enforcement |
| Enforced | ./scripts/setup.sh --pi then pi-code |
the full configured runtime that can block |
pi install gives content; pi-code gives the enforced harness. The rest of
this guide is the enforced path.
1. Install
Section titled “1. Install”./scripts/setup.sh --pi # installs the runtime + the pi-code launcher to ~/.local/binRequires pi ≥ 0.79.0 on PATH (the launcher validates the version). setup.sh
also supports --all (every adapter) and repair/uninstall.
2. Verify
Section titled “2. Verify”pi-code doctor # installation + configuration diagnosticspi-code doctor --json # machine-readabledoctor reports: resolved profile, config load + security floor, trust status,
sandbox status, resource sync, always-context bundle size, and any
misconfiguration. If it’s green, the harness is ready.
3. Inspect what you’ll run under
Section titled “3. Inspect what you’ll run under”pi-code features # capability state: implementation kind × runtime statuspi-code config # the resolved (redacted) configurationpi-code config explain <key> # a key's value + which layer set itpi-code export # a redacted, portable config snapshotpi-code resources # which package/path supplied each skill/promptfeatures is the honest capability report (some capabilities are degraded —
see security-model.md and the generated
../../../shared/capabilities/COMPATIBILITY.md).
4. Start an enforced session
Section titled “4. Start an enforced session”pi-code # enforced session in the current projectpi-code --profile disciplined # pick a profile (default is disciplined)pi-code --project /path/to/repo # target a specific projectpi-code -- <pi args> # pass args through to upstream pipi-code --no-cct # bypass CCT for one run (equivalent to bare pi)Optional per-project scaffolding:
pi-code init [dir] --profile <name> [--dry-run]Profiles at a glance
Section titled “Profiles at a glance”minimal, disciplined (default), review-heavy, autonomous, local-first,
air-gapped, ci, peer-reviewer. See
configuration-reference.md for what each sets and
how layering/precedence works.
- Configuration reference — every config key + precedence.
- Security model — trust, permissions, sandbox, redaction.
- Migration from Claude Code — what maps, what’s degraded.
- Extension development — add commands, capabilities, tests.