Docs
Getting started
PatchArc is a CLI first. Five minutes from install to a sealed, verifiable review. No account needed until you share.
1. Install
Pick your platform. Each installer puts a signed patcharc binary on your PATH.
$ brew install patcharcHomebrew. Signed universal binary for Apple silicon and Intel.
Install script
$ curl -fsSL https://patcharc.dev/install.sh | shThen check the environment. patcharc doctor reports Git, write access, and whether an Arc is active.
$ patcharc doctorok git 2.45 go runtime write access to ~/.patcharcno active arc in this directory
2. Record and seal your first Arc
Everything happens in .patcharc/ inside your repo. The observer watches Git plumbing, so rewrites and worktree hops are part of the record, not just the final diff.
$ patcharc initinitialized .patcharc/ signing key created$ patcharc start "My first Arc"observer recording (detached, pid file in .patcharc/)# make commits, run tests, take notes$ patcharc note 'switching to WAL mode'$ patcharc stopsealed .patcharc/capsules/<arc_id>.parc$ patcharc verify && patcharc inspectok signature valid manifest consistent hashes match
Command reference
The everyday loop is six commands. The rest are there when you need them.
| Command | What it does |
|---|---|
| patcharc init | Initialize .patcharc/ in the current Git repository (signing key, session store, config). |
| patcharc start "goal" | Start an Arc; a detached observer begins recording Git events, file changes, and test runs. |
| patcharc note|decision|risk <text> | Attach a note, decision, or risk to the active Arc. |
| patcharc checkpoint | Create a working-tree checkpoint inside the active Arc. |
| patcharc stop | Stop the Arc, build the deterministic summary, redact secrets, seal the .parc. |
| patcharc verify | Verify a capsule offline: signature, manifest, per-file hashes. |
| patcharc inspect | Print a human-readable summary of a .parc file. |
| patcharc serve | Serve the local review UI for a capsule in your browser. |
| patcharc open | Open the most recently sealed .parc in the local viewer. |
| patcharc preview | Show what would be uploaded for the active Arc. No network. |
| patcharc redact | Run the redaction engine against the working tree and report what would be withheld. |
| patcharc scopes | List discovered ArcScopes (monorepo packages) for this repository. |
| patcharc login | Authenticate with PatchArc Cloud via the browser device flow (GitHub or Google). |
| patcharc logout | Remove stored PatchArc Cloud credentials. |
| patcharc share [--visibility ...] | Upload the latest capsule and print its ArcLink. public, private, team, or capability. |
| patcharc revoke <share> | Revoke a share; the ArcLink stops resolving. |
| patcharc status | Show the active Arc's status. |
| patcharc doctor | Diagnose the local environment. |
| patcharc ai:*later | Configure local AI providers (add, list, use, test, usage). |
| patcharc updatelater | Self-update the CLI. |