stikk 0.21.0

A user-facing history browser and workbench for the prikk version control system.
stikk-0.21.0 is not a library.

stikk

license

stikk is a history browser and workbench for the prikk version control system — a terminal (TUI) front-end over one shared operation layer.

stikk's History view: a ref's block lineage, newest first, with the queued tier above it, the tip marked, and a rollback block and one needing attestations called out

stikk's Compare view: what changed between two blocks, in prikk's own diff hunks, every line quoted byte for byte so a trailing space is visible

stikk's Verify view: prikk's verdict that the repository is sound, every stage prikk ran, and a sentence naming what prikk's JSON report leaves out

Drawn by stikk's own views from invented data, not photographed — see RFC 042.

Its founding property is that stikk owns no repository authority and no secrets: every repository fact is re-derived from prikk, and prikk — never stikk — reads signing key material. Its stance mirrors prikk's own: where prikk refuses, stikk explains. The name is Norwegian for to set a course, to take a bearing.

This binary crate is the launcher; the layers beneath it are published as stikk-core, stikk-tui, stikk-prikk, stikk-state, and stikk-model.

Install

cargo install stikk

This compiles stikk. If you would rather not compile, or do not have Rust, every release also ships ready-to-run binaries for Linux, macOS and Windows, with checksums — see Install.

stikk drives the external prikk binary at runtime (it is not a Cargo dependency): install a compatible prikk on your PATH as well. prikk installs itself — on Linux and macOS in one line (curl -fsSL https://github.com/prikk-vcs/prikk/releases/latest/download/install.sh | sh), and on Windows in one line too (irm https://github.com/prikk-vcs/prikk/releases/latest/download/install.ps1 | iex), with prikk's install guide the authority on all of it. stikk's own installers install stikk and nothing else; they check for prikk and print prikk's command when it is missing. This release requires prikk ≥ 0.28 and is validated through 0.58.0; a newer prikk still runs, but stikk says its output shapes have not been checked against it rather than silently assuming they have. If prikk is missing, stikk opens and then explains that — by design.

Use

stikk [path]          # open the TUI on a repository (or discover upward from the cwd)
stikk config path     # print where stikk's own config and state live
stikk config check    # validate a config file

Piped or non-TTY invocation prints a one-shot orientation instead of opening the TUI.

Status

v0.21.x is readable on light and dark terminals, works with text made much bigger, and lists what you can do where you are. It undoes a block, as a new change that puts back what it changed, lets you choose whose keys this repository trusts, gets an earlier version of your files back — or a whole earlier block, the guide shows how — and installs in two plain steps on every platform, prikk's then stikk's, against prikk 0.58.0. A confirmation that asks you to type a key id back never cuts that id off, however long it is. t lists the adopted maintainer keys with your own marked, and Enter there adopts a key or removes this key — each confirmed by typing the key id, and the removal says first that it can make your own sealed history fail Verify until the key is adopted again. In Block detail, Enter on a file saves this file, as it was here, or saves every file at this block into a new folder, always outside the repository and never over anything already there; a bundle card says which adopted key each recorded sealer's id names (prikk ≥ 0.54). o opens a bundle and shows prikk's verification and what importing would change, Enter on its card imports this bundle as a received branch, and Enter on a branch in the ref picker exports it to a bundle file outside the repository. It is on the AUR as stikk and stikk-bin: the install page says which to pick. Each program installs itself: one line installs stikk — curl … install.sh | sh, or irm … install.ps1 | iex on Windows — checking the download against the checksum published beside it, installing where you own it, and printing prikk's own install command when prikk is missing or too old, rather than installing prikk itself; cargo binstall stikk fetches the same prebuilt binary. 64-bit ARM Linux gets a statically-linked build. Verify (v, prikk ≥ 0.39) shows prikk's verdict on whether the repository is sound, every condition it fails and every stage it ran — and a damaged repository reads as a verdict, never as a refusal. Compare (prikk ≥ 0.46) shows what changed between two points in prikk's own diff hunks — two marked blocks or a block and the one before it, from History and Block detail; any two refs, marked and selected in the ref picker; the worktree against what commit would author, from Changes. Every line is quoted byte for byte, so a whitespace or line-ending edit is visible, and stikk computes no difference of its own. Every string stikk did not write is rendered so that what you read is what prikk reported: a bidirectional override, a zero-width character or a look-alike space in a path, branch name or message is written as its escape, and two different names never look alike. Patch detail (prikk ≥ 0.39) renders one patch's operations from prikk's own report — a text edit's spans, a created file's content and mode, a deleted file's preimage, a binary replacement's blob ids and sizes, a permission change's two modes, and a rename with the key that asserted it — opened from Block detail, which lists every block's patches and the files present at that block, with their modes (prikk ≥ 0.46), or from the Queue. f shows prikk's own fields instead. Around that it reads orientation, ref history, worktree changes and the Queue view, with refusal explanations and a glossary; the ref picker offers the branch you are on before its first seal (prikk ≥ 0.47). It performs fourteen mutations: commit (c, author a worktree capture into the active queue), seal (s, freeze that queue into permanent, MAINTAINER-signed history, naming the patches it freezes), and — from Enter on a row in the ref picker — new branch at its tip, new tag at its tip (or at any block from History), close this branch, switch to this branch (previewed as the exact files it will write and delete) and merge one branch into another (m to mark the branch to merge from, then merge plan on the one it goes into, and Enter on the plan to run it), at prikk ≥ 0.42 and ≥ 0.46 for a switch — plus import this bundle as a received branch and export it to a bundle file, at prikk ≥ 0.53, save this file or save every file at this block as they were there, undo this block (from Enter in History or Block detail, which puts back what that block changed and records it as a new commit), and — from the Trust view — adopt a key or remove this key, at prikk ≥ 0.54 — every one of them always preview-first, with tiered confirmation a compile error can't let you skip, and the two trust writes confirmed by typing the key id. stikk shares work as a bundle file: o opens one and shows prikk's own verification and what prikk says importing it would change, an import creates and moves no branch of yours, and an export writes outside the repository and never over a file that is there. stikk gets an earlier version of your files back (prikk ≥ 0.54): Enter on a file in Block detail saves one file, or every file at that block, outside the repository and never over an existing path — both refused in stikk's own words before prikk is asked — and nothing in the repository or your worktree changes. stikk chooses which keys this repository trusts (prikk ≥ 0.54): t lists the adopted maintainer keys, with your own marked, and a bundle card says which of them, if any, each recorded sealer's id names — a name, not a signature, which Verify checks after the import. Enter adopts a key, or removes the selected one, each confirmed by typing the key id; a removal says first that it can make blocks this key sealed fail Verify until the key is adopted again, and an id already trusted under a different key is shown as the security event it is. Adopting a received tag, and author keys, are not built yet. A confirmed commit authors only the worktree its preview showed. stikk notices a commit, seal or branch switch made in another terminal and refreshes what is on screen. A prikk mv is shown as the rename prikk says it will author, from prikk's own verdict at prikk ≥ 0.44, and a declaration prikk would refuse makes commit unavailable. A ref with no published history is named as one, and reads again on prikk 0.45 and 0.46, where prikk refused it by name. Two refs compare from the ref picker (b, then m to mark one and d to compare it with the selected one). stikk reopens each repository where you left it — the focused ref, the top-level view and the untracked filter, re-checked against prikk before any of it is shown, stored outside every repository, and STIKK_PRIVATE=1 for a launch that remembers nothing. A merge runs only where prikk's own plan proves the two sides confluent, never into the branch you are on, and writes nothing to your worktree. Sync, checkout of a block or a path, adopting a received tag and author keys are not built yet.

Links