Prikk is a standalone distributed version control system built around block-oriented patch theory.
Prikk uses a native .prikk/ repository format. It is not a Git wrapper and does not use .git/ as a
storage backend. The project aims to combine patch-based semantic precision with practical performance
by sealing history into immutable blocks and keeping expensive patch reasoning bounded to active work.
Prikk is an early implementation. It suits architecture review, experimentation, and contribution. Do not use Prikk as the sole store for important project history yet — the repository format and command surface are still evolving, and future releases may require migration. See the release, versioning, and compatibility reference for the pre-1.0 boundary.
Prikk is designed to be:
- easy to use for ordinary local development workflows;
- safe and secure by default, with role-bound signatures and fail-closed validation;
- resilient against corruption, interrupted operations, and lost mutable pointers;
- flexible enough for local and peer workflows, and for a forge built on its command line (planeter hosts repositories that exchange files with prikk);
- fast for long-lived repositories by separating active patch reasoning from sealed block history;
- explainable when patch reasoning cannot prove a safe result.
- Patch: an atomic logical change with ordered operations and an AUTHOR signature.
- Block: an immutable sealed collection of patches; blocks are the scalability boundary.
- Ref state: signed reference state; ref files are pointers, not the root of trust.
- Ref update: append-only publication evidence for a ref transition.
- WAL: active signed patch envelopes before sealing.
- Repository layout:
.prikk/stores native Prikk objects, refs, active WAL state, and local trust data; see the repository layout reference. - Concurrency and locking: local lock files guard active-session and ref publication writes; see the concurrency and locking reference.
- Path safety: repository paths use a conservative validated subset; see the path and worktree safety reference.
- Attestation: future audit/policy evidence targeting blocks without defining block identity.
Prikk may be a good match if you are:
- evaluating next-generation VCS architecture;
- interested in patch theory, commutation, conflict evidence, or signed history;
- building tools that need verifiable local history and conservative recovery behavior;
- contributing to a Rust implementation of a correctness-sensitive CLI and storage system;
- reviewing security, durability, and publication-trust boundaries.
curl -fsSL https://github.com/prikk-vcs/prikk/releases/latest/download/install.sh | shDownloads the prebuilt archive for your platform, verifies its checksum, and installs to
~/.local/bin. Also available as cargo binstall prikk, cargo install prikk, or a direct download
from the release page.
Repository mutation runs on Linux, macOS, and Windows; read-only commands build and run on every platform Rust targets. Every release tag is signed by the project's one maintainer key, and the checksum beside each download proves integrity of transport; there is no support window or stability promise before 1.0 — see how prikk releases.
Separately from that product-level promise, the Rust library crates below (prikk-store and the
rest) have no stability promise in v0. They exist so prikk's own binary can depend on them and so
their types are reachable from documentation. The prikk CLI's own output — stdout/stderr text and
--format json — is the interface to build on. Whether the library API ever gains its own stability
promise is a decision made at 1.0, on its own RFC — see
release, versioning, and compatibility
for the project's current policy in full.
The install guide covers pinning a version, verifying checksums by hand, building from source, uninstalling, and the per-platform detail; the platform support reference has the exact command-by-command matrix.
prikk setup ./sample-repo
cd ./sample-reposetup initialises the repository, generates your own author and maintainer keys, adopts the
maintainer key, and prints the four export lines you need. Run those, then:
echo "hello prikk" > readme.txt
prikk commit -m "genesis"
prikk seal --allow-no-audit
prikk log
prikk verify
prikk doctorThe seeds setup prints are real signing keys and are yours alone. It says so itself: at least
one of them lands in your terminal scrollback, so treat it as a secret. See
Security and Signing Setup for the current setup boundary.
The commands above, with explanation and the two refusals you will actually hit along the way, are
the Tutorial — this block is a copy-pasteable summary of it, not a
second, independent walkthrough; its authority for what each step means and why is the tutorial page.
The tutorial uses a fixed public example seed instead of setup, so its transcript is exactly
reproducible and you can compare your output to it line by line — that is the one place a shared,
publicly known key belongs, and it must never be used for real signing.
First Run covers setup itself, including what it does not do.
Ran into a refusal, or wondering why a step works the way it does? The
Troubleshooting and FAQ pages cover
exactly this walkthrough — including why ref names are fully qualified (heads/topic, not topic),
why commit and seal each need their own key, and how commits queue across multiple commit calls
before one seal.
Every command accepts --help for its own usage:
prikk <command> --help # or: prikk help <command>
The full inventory, with exit-code semantics, is the command surface reference.
What works today, and the limits worth knowing before relying on it, are in the current state reference.
Three separate projects are built around prikk, each described here in the words of its own published README: stikk is "a history browser and workbench for the prikk version control system"; planeter is "The forge for the prikk version-control system — the web service that hosts prikk repositories and the collaboration around them"; brygge "carries version-control history from one system to another". They are released separately, and prikk's guarantees cover prikk, not them.
What prikk itself does, as measured: it has no network code, so sync, bundle and archive write
files that you carry to the other repository yourself; and a branch that already exists in a repository
advances only by a signature made in that repository. The
current state reference has the detail.
prikk is the command-line tool. The others are the libraries it is built from, published so the
CLI can be built from crates.io — their APIs may change without notice before 1.0.
| Crate | Purpose | Version | Docs | Dependencies |
|---|---|---|---|---|
prikk |
the command-line tool | |||
prikk-store |
repository storage engine — layout, object storage, WAL durability, verification, patch replay | |||
prikk-object |
object identity, canonical encoding, and payload types | |||
prikk-replay |
replay and lifecycle semantics | |||
prikk-crypto |
Ed25519 signing and verification | |||
prikk-hash |
SHA-256 primitives | |||
prikk-error |
shared error taxonomy | |||
prikk-ffi |
Windows filesystem-identity FFI bindings |
Every change this project accepts passes the full gate set in
rfcs/EXECUTION-ORDER.md §6 rule 9, which that document owns. The three
commands worth running constantly, the rest of the set, and how work is reviewed here are in
CONTRIBUTING.md.
The roadmap, RFCs, and mdBook docs are the best entry points for design details: