Command line#
deedar [--url FILE] VERB .... The store is --url, else DEEDAR_URL,
else the seat’s own store under the user’s data directory
($XDG_DATA_HOME/deedar/store) when it already exists.
Verb |
Does |
|---|---|
|
mint one deed; kind-specific flags below |
|
one deed, flattened |
|
every deed, newest first |
|
the deed and every input it was made from |
|
the bytes are intact; one line each; non-zero on any failure |
|
the tip of each supersede chain; non-zero when any citation is stale or missing |
|
tombstone |
|
a left-behind marker for a deed that moved store |
|
a timestamp token over the deed |
|
deed, bytes, evidence, receipt (and signed head) into a satchel |
|
every receipt against the head in the bag; with a bridge, that the log grew from a kept head |
|
the append-only log |
|
a detached Ed25519 signature beside a file |
|
move a store to the current layout |
Kinds#
file, set, quote, patch, mailDraft, clip, page, form,
table, procedure, event. The flags a kind reads:
Kind |
Flags |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Every kind takes --name, --agent, --activity, --input DEED
(repeatable), --grant-host, --grant-path, --supersedes DEED, and
--id to keep an accession instead of minting one.
Accessions#
deed-<kind>-<slug> names a deed. sha256:<hex> names the canonical deed
or one of its product paths. Both resolve with get. A tracker or a pack
cites either and nothing else.
The store#
A directory with bytes/ (content-addressed), deeds/ (canonical
records), log (one entry a line: content address, time), layout
(version, attestation policy, accepted signers), and writer.key.
The log#
Certificate Transparency hashing, RFC 9162 (doi:10.17487/RFC9162): a leaf is SHA-256(0x00 || entry),
a node SHA-256(0x01 || left || right), the tree splits at the largest power
of two below the width. head is size and root, signed when a key is
set. prove ID is the inclusion path; bridge SIZE the consistency path
from an earlier head; audit the log against the shelves.
Environment#
Variable |
Meaning |
|---|---|
|
the store, as |
|
a 32-byte Ed25519 seed; signs heads, sidecars and manifests. Unset, |
Crates#
Crate |
Carries |
|---|---|
|
the deed types and canonical encoding |
|
store, log, receipts, signatures, attestation |
|
|
|
the read-only Model Context Protocol (MCP) surface |