Reference/Specification
Specification
This directory defines how Umwelt behaves: what each operation accepts and returns, what a read can see, and what the engine guarantees. Client libraries and applications rely on it; a change in behavior updates it.
The generated JSON Schemas in schema/ are authoritative for the
shape of every payload and result. These pages explain the rules the shapes
cannot express. For an introduction, start with
../docs/getting-started.md and
../docs/concepts.md.
Reading order
- invariants.md: the guarantees every operation keeps.
- protocol.md: envelopes, the handshake and the list of operations.
- queries.md: how reads resolve a position and a version, timelines, time axes and pagination.
- timelines.md: draft timelines, their visibility, promote, rebase, discard and purge.
- knowledge-operations.md: witnesses, groups, batch maintenance, names over time, second-order knowledge, secrets, continuity checks and context admission.
- search.md: full-text, semantic and hybrid search, and the vectors that come from the client’s embedding model.
- errors.md: the protocol error codes.
Reference
- claim-key.md: how claim and slot keys are computed, with a fixed test vector.
- storage.md: what a
.umwfile holds and why. - versioning.md: product, contract, protocol, storage and C ABI versions, and what counts as an incompatible change.
schema/umwelt-v1.schema.json: the data contract.schema/umwelt-protocol-v1.schema.json: every operation’s payload and result (x-ops).
Was this page helpful?