The local librarian for your AI coding sessions.
qratum.dev · Install · Spec · MIT
The accepted direction for Qratum is a private, searchable memory of Claude and Codex work: a clean local UI for finding, reading, understanding, and when useful continuing exact session history. That product direction was accepted on 2026-07-11; its implementation is tranche-gated and has not shipped.
The published v0.1.0 artifact is the earlier vault-first baseline. It captures,
preserves, normalizes, redacts, and reviews local Claude Code sessions through a
pipeline-shaped CLI. Other sources are archive-only in that release. Single Go
binary (qrt). No cloud, no accounts, no telemetry.
Qratum is the system of record for where session data came from: raw history, provenance, and deterministic derivations. The first user is the developer running it on their own machine.
A few terms used below, in plain words:
- Transcript — the full text record of one AI coding session.
- Blob — a single stored file in the vault (e.g. one captured transcript).
- Content-addressed / sha256-addressed — each blob is named by a hash of its own contents, so identical files are stored once and any change produces a new name.
- Redaction — automatically removing secrets and sensitive data before anything is exported.
- Deterministic — given the same input, it always produces the exact same output (no randomness).
- Provenance — the recorded history of where each piece of data came from and how it was transformed.
- Tombstone — a marker that records "this was removed" instead of silently deleting it.
- ADP — the redacted export format the refinery produces for downstream use.
- Local-first — your data stays on your machine. Raw transcripts never leave it unless you explicitly approve. No cloud, no accounts, no telemetry.
- Single Go binary — one file to install.
qrt, cross-platform. - Trust boundaries — nothing leaks out by accident. No silent data-class upgrades; deterministic redaction gates export; no raw routes.
- Content-addressed — every blob is sha256-addressed so mutation can be detected and identical content can be deduplicated. This is an integrity foundation, not by itself a backup or no-loss guarantee.
The tools that make your AI coding sessions also throw them away. Claude Code purges transcripts after ~30 days — months of debugging, decisions, and trajectories vanish, and nothing records where the data came from (its provenance). Qratum fixes both: it preserves your sessions, and it remembers where the data came from.
The accepted product direction is built on three parts:
- Exact local history — owner-only session history remains readable even when a source tool no longer keeps its copy.
- Search and continuity — passage-level lexical and semantic retrieval, confirmed continuations, related work, and optional source-native continue actions.
- Provenance and control — exact, deterministic, and generated information stay distinct; export, deletion, external processing, and cost are explicit and truthful.
Local-first is the architecture, not a feature: raw never leaves the machine unless explicitly approved; no boundary may silently upgrade to a more sensitive data class; deterministic redaction gates export.
v0.1.0 — published baseline. It contains the vault-first runtime, the old
pipeline-shaped CLI, and the P2 trust-gate implementation. It does not
contain qrt init or qrt open.
The current development worktree contains a later UI-first CLI/API candidate, but that candidate is not published and its old product contract has been superseded. Existing candidate code is donor material for the accepted tranches, not proof that the product direction already works.
Honest boundaries — three limits to know about today:
-
Redaction is not yet airtight. The automatic secret-removal step (deterministic redaction) is best-effort alpha. Cheap credential classes are covered by the trust gate, but the known-miss ledger still names residual classes that can leak.
-
Re-deriving from a deleted local Claude Code source is wired through the raw vault blob fallback. The proof is still local-only: cloud/web sessions are not captured, and
transcript_driftremains a heuristic rather than a correctness gate. -
Capture and refine are Claude-Code-only. Cloud/web sessions are not captured, and non-Claude/vendor blobs are archive-only with no redaction path.
-
Source of truth:
SPEC.md→specs/current/product-direction.md -
Accepted user stories:
docs/reviews/2026-07-10-product-user-stories.md -
Accepted Project Intelligence extension:
docs/reviews/2026-07-12-project-intelligence-user-stories.mdanddocs/reviews/2026-07-12-project-intelligence-owner-decisions.md -
Vault-first (accepted 2026-06-14, ADR 0010):
specs/current/qratum-vault-first.md -
Verification & trust gate (published v0.1.0 baseline):
specs/current/verification-and-trust-gate.md
brew tap acartag7/tap
brew trust acartag7/tap # Homebrew gates third-party taps
brew install qratum # installs the `qrt` binaryPrebuilt binaries (darwin/linux × amd64/arm64) are also on each
release. Or build from source
with make build.
qrt status
qrt vault doctor
qrt vault backfill
qrt sessions list
qrt trustThese are v0.1.0 commands, not the accepted future public surface.
Run the whole vertical slice from a source checkout:
make demoRun the published on-demand refinery without uploading the transcript:
qrt dogfood import /path/to/transcript.jsonl
qrt dogfood latestRaw transcripts stay local; Qratum does not upload anything. Deterministic redaction is best-effort alpha.
make build
make test
make demo
make dogfood-demo
make supply-chain
make securitymake verify mirrors the full CI pipeline locally.
Follow SPEC.md for executable scope. Files under docs/architecture/
are forward design references and do not expand the current milestone.
The public landing page lives in design/landing-drafts/
(Vite + React + framer-motion; the "Light Ledger" neobrutalist direction). It
deploys to https://qratum.dev via Vercel, independently of the qrt Go
runtime. See its README for the deploy
setup.
The Qratum identity — the #· content-addressed mark (hash + dot), palette,
typography, and voice — lives in design/brand/:
brand-book.html— the full brand book.qratum-mark.svg/qratum-mark-mono.svg— the mark (color / mono).qratum-logo.svg— the bordered logo tile.
- Qratum — the librarian: vault + refinery for AI session data.
- Edictum — runtime process enforcement for AI agents.
- Ductum — coming soon: the AI Software Factory.
MIT.