δεῖξις — pointing, showing.
deixis is the structure of a tree, and nothing about what a tree holds.
IDENTITY.md records what deixis is: its invariants, their reasons and falsifiers, and the only way they change. Trees of readers, senders and receivers share that structure; no consumer defines it, and no consumer's release or downstream record amends it.
Node(.) = (.) × (Key ⇀ Node(.))
Key = Bytes
(.) is the slot: opaque to deixis, supplied by context. Every node has a mandatory own
value and a finite map of named children, keyed by byte strings. Identity uses an
equivalence the caller supplies; construction and navigation need no comparison at all.
Optional values are an explicit instantiation, Node[Option[T]], and pure shape is
Node[Unit].
deixis is a floor: it fixes how a tree is built, navigated, compared, taken apart and put back together, and how it is written down as bytes. It says nothing about what a value means. A system that carries its content as trees, such as descriptors, records, signed facts or bindings, can share one structure and one encoding without sharing a vocabulary.
deixis is not a data model: it has no types, no schema and no validation, because the slot is opaque and what a value means belongs to whoever supplies it. It is not a store: it keeps nothing, answers no queries and records no history; a system keeps the bytes deixis writes. It is not a transport: it fixes how a tree is written as bytes and how it is addressed, not how those bytes travel or who may read them. And it does not sign or trust: an address says which bytes a tree is, never who made them or whether to believe them.
- The model is implemented in four languages: Rust, Go, TypeScript and Python. All four are judged by one black-box harness against one hand-authored corpus, on every change.
- The canonical codec,
deixis-codec-v2, is a candidate and is not frozen. All four cores encode and decode it in its flat and linked forms. Until its freeze manifest is signed, a release may still change bytes and addresses, and says so in its notes, so do not store or sign its output expecting it to survive. Issue #1 tracks what the freeze still needs. - Pre-1.0. The API can change between minor releases; each release's notes say how.
# Go: module github.com/bitspark/deixis, go 1.24
go get github.com/bitspark/deixis@v0.6.0import deixis "github.com/bitspark/deixis/core/go"# TypeScript: ESM; the codec is at the /codec subpath
npm install @bitspark/deixis-core# Rust: the crates take a vendor prefix on crates.io; the library names do not
cargo add bitspark-deixis-core # then: use deixis_core::...Python is a validation peer and is not published: put core/py of a release tag on your
path. The structure profiles live beside the core: positional keys in pos/, published as
@bitspark/deixis-pos and bitspark-deixis-pos, and finite sets in set/, which is
source-only. API.md describes the interfaces and the payload choices in
each language.
- IDENTITY.md: deixis's identity: its twelve invariants, their reasons, and the rule by which one may change.
- TREE.md: the definition, and identity.
- PATH.md: paths, resolution, and why they do not flatten.
- SLOTS.md: what can go in the slot, and what each choice buys.
- CODEC.md:
deixis-codec-v2, the canonical bytes and addresses of the current model, a candidate contract, with its proofs. The withdrawn v1 candidate is kept in CODEC-v1.md. - WIRES.md: the interaction side, what conveys without being understood.
- docs/design/: the decisions, numbered, with their reasons.
- The paper: the formal foundation and its proofs.
- EVIDENCE.md: what stands under each claim, whether proved, enforced, observed or only stated.
No implementation is the reference. The specification and the corpus in vectors/ jointly define conformance, and the harness recomputes every case against each core rather than trusting a recorded answer:
node tools/conformance/harness.mjstools/conformance/ also holds interop.mjs, which checks the four
cores against each other on generated values and on mutations of their octets (agreement,
which is not conformance), and mutants.mjs, which measures the corpus by planting
defects in a core and reporting each one no case notices. A conformance claim is scoped:
software implementing part of the codec names the profiles it implements
(CODEC.md §16).
deixis was developed in a private repository through v0.5.0, and this repository starts
from a fresh history at that point. The release notes in docs/releases/
describe the earlier releases, v0.2.0 to v0.5.0, which were published privately. The
documents still cite commits, and the release notes cite pull requests as
deixis-internal#N, from that history; those references are provenance, and they are
not reachable from here. The first public release is v0.6.0.
Apache License 2.0; see LICENSE. Contributions are welcome under the same license: read CONTRIBUTING.md first, and report vulnerabilities as SECURITY.md describes.
A node is what it points at.