Skip to content

About

recordprims: durable-record primitives (working name)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

44 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recordprims

Durable records for programs that must outlive their writers.

recordprims is a library-first store that implements the durable-record/v1 contract: stable record identity, exact revisions bound to digests, keyed idempotent writes, typed receipts, and use restrictions (holds) that block serving, export and reuse while keeping records readable for authorized audit. The records it writes are meant to stay readable by anyone who reads the contract, without reading the program.

There are two implementations, in pure Go and Rust, under one contract, one version and one shared conformance suite. Go is the first, and the tree under active development; the Rust implementation is held to the same suite before 0.1.0. The first stratum is the local filesystem.

Implementations and bindings

Language Package Status
Go github.com/3leaps/recordprims in development; the first implementation
Rust recordprims (crates.io) in development: store root, lock, bodies and plain streams (open, append, retire, protect, head, revisions, reconcile, release); compaction to follow
TypeScript @3leaps/recordprims (npm), from the Rust implementation planned
Python recordprims (PyPI), from the Rust implementation planned

The Go module is cgo-free and needs Go 1.26 or newer. The language and binding plan is recorded in ADR-0001.

Status

Pre-release (0.0.x). The pure-Go module implements the durable-record/v1 store (recordprims-fs/v2), passing all 400 vectors of the pinned 3leaps/crucible v0.2.10 contract: a verified, confined store root, the store lock, content-addressed bodies with designated-stream lifecycle and removal eligibility, streams (OpenStream, Append, Retire, Protect, Reconcile, Head, Revisions, Release), continuations, detached stream seals, sealed-continuation compaction with predecessor reclamation, watermarked local stream indexes, and an internal conditional-PUT bucket CAS stratum.

The Rust crate implements the verified store root, the store lock, content-addressed bodies and plain streams: open, append, retire, protect, head, revisions, reconcile and release. It runs the durable-record/v1 vectors with its own ledger. A differential check runs the same operations through both implementations and requires identical bytes, and each opens stores the other wrote. Rust continuations and compaction, and the TypeScript and Python bindings land before 0.1.0.

Storage backends sit behind an internal seam; the guarantees a backend must provide are described in docs/storage-strata.md.

Releases

Each release is one signed tag, vX.Y.Z, covering the Go module and the Rust crate. See RELEASE_NOTES.md for recent releases, CHANGELOG.md for the full history, and docs/security/README.md for how to verify a release.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option. See NOTICE for project name and trademark notices.

About

recordprims: durable-record primitives (working name)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages