Repository navigation
Releases
recordprims 0.1.3
v0.1.3
Patch release of recordprims (recordprims-fs/v2), pinned to 3leaps/crucible
v0.2.16 (919f673), adding non-creating store and stream openers, shared
filesystem verification options, durable lock-file pre-creation during Init,
Rust OwnedStream handles, canonprims 0.1.5, and PDR-0013 byte-exact
repository data checks.
Stability
| Surface | Status |
|---|---|
durable-record/v1 records written by the Go module and the Rust crate |
Conform to durable-record/v1 as pinned (3leaps/crucible v0.2.16), and later recordprims releases keep reading them. The contract itself is proposed and experimental upstream. |
Go module github.com/3leaps/recordprims |
Supported. Any breaking API change before 1.0 comes in a new minor release and is listed in the changelog. |
Local filesystem store format (recordprims-fs/v2) |
Later 0.x releases open a store written by 0.1.x, or a store-format change ships with a documented migration and a changelog entry. |
Rust crate recordprims (crates.io) |
Preview; crates.io availability follows the separate verified registry publication step after the GitHub release is published. Plain streams only (open, open_existing, open_stream, open_existing_stream, OwnedStream, append, retire, protect, head, revisions, reconcile, release, read_served); continuation streams and streams carrying compaction state are refused. |
Vendored record-collection/v0 contract files |
Proposed and experimental upstream; vendored with reference controls only. No public API or implementation uses them in 0.1.3. |
Bucket stratum (internal/stratum/bucketcas) |
Experimental and internal. It has no public API and has not been tested against a cloud storage provider. |
| TypeScript and Python bindings | Planned. |
What changed since 0.1.2
- Non-creating store and stream opens (
OpenExisting/recordprims::open_existingand
Store.OpenExistingStream/Store::open_existing_stream). Open an
initialized store or stream without creating directories, journals or index
files on disk, returningErrStoreNotFound/Error::StoreNotFound
(store_not_found) on an absent path or an empty valid directory and
ErrStreamNotFound/Error::StreamNotFound(stream_not_found) on an
absent stream. Non-empty directories without valid store metadata, symlinked
or non-directory paths, permissive stream directories, and missing
journal.ndjsoninside an existing stream directory returnErrStoreInvalid
/Error::StoreInvalid, and the designated body-removal stream returns
ErrSchema/Error::Schema. ExistingOpen/recordprims::openand
OpenStream/Store::open_streamkeep their behavior. - Durable lock-file pre-creation and root confinement hardening.
Init/
recordprims::initdurably pre-creates the empty regularlockfile (0600
on Unix) beforeSTOREcommits. Directory opens and ancestor checks verify
handles without following symlinks (openatwithO_DIRECTORY|O_NOFOLLOWon
Unix, and a retained non-FILE_SHARE_DELETEroot handle with parent-relative
NtCreateFileFILE_OPEN_REPARSE_POINTtraversal on Windows). - Shared filesystem admission options (
FSOptions/FsOptions). Go adds
FSOptionsonInitOptions.FSandOpenOptions.FS(combined via logical OR
with the deprecated flatAllowOverlayandAllowTmpfsfields until
0.2.0); Rust re-exportsfsroot::OptionsasFsOptionsand deprecates
OpenOptions::allow_overlayin favor ofOpenOptions::fs. - Rust
Arc-backedStoreandOwnedStream.StoreimplementsClone
andDebugover a sharedArcroot handle, andOwnedStream
(Store::open_stream_owned,Store::open_existing_stream_owned,
Stream::into_owned,OwnedStream::as_stream) allows holding open streams in
structs without borrowingStoreby lifetime. - Contract pin, dependencies, and repository data checks. Moves the contract
pin to3leaps/cruciblev0.2.16(919f673, withdurable-record/v1and
record-collection/v0schemas, vectors, ADRs and reference scripts
byte-identical tov0.2.14), updatescanonprimsto0.1.5in Go and Rust,
adoptsPDR-0013byte-exact repository data checks (make byte-exactacross
Linux, macOS and Windowscore.autocrlf=true), hardens post-create GitHub
Release draft readback retries inscripts/release-page.sh, and tightens
internalbucketcascontent-addressed readback andapiscanchecks.
Not claimed
One store is used from one host on a local filesystem; there is no cloud or
network storage backend. A receipt survives the writer process being killed;
power loss is not claimed.
Platforms
CI runs make check and cargo publish --dry-run --locked -p recordprims on
Linux amd64 and arm64 in the digest-pinned tools container, make check-platform natively on darwin arm64 and windows amd64 and arm64, and
builds and tests the Go module standalone outside the repository. The Go module
is cgo-free and needs Go 1.26 or later; the Rust crate's MSRV is Rust 1.88.
Verification
One signed annotated tag, v0.1.3, is the common source for the Go module and
the recordprims 0.1.3 Rust crate:
- Tag and GitHub Release manifests: verify the signed
v0.1.3tag and the
SHA256SUMS/SHA512SUMSsignatures against the public signing pins and
fingerprint anchors committed in the tagged commit (docs/security/,
keys/expected-fingerprints.*) obtained through an independent channel. - crates.io package (once published): credential-free CI builds and tests
recordprims-0.1.3.crateat the tagged commit and records its expected
SHA-256; the release ceremony reproduces that archive without compiling and
verifies that expected SHA-256 against both the crates.io sparse-index
cksumand the downloaded.cratearchive.
See docs/security/README.md for full verification steps.
recordprims 0.1.2
v0.1.2
Patch release of recordprims (recordprims-fs/v2), pinned to 3leaps/crucible
v0.2.14 (38e40aa), and the first GitHub Release to include the
recordprims Rust crate preview for crates.io publication from the common
v0.1.2 source tag. Library code is unchanged from v0.1.1 (v0.1.1 has a
signed tag only and no GitHub Release or crates.io package).
Stability
| Surface | Status |
|---|---|
durable-record/v1 records written by the Go module and the Rust crate |
Conform to durable-record/v1 as pinned (3leaps/crucible v0.2.14), and later recordprims releases keep reading them. The contract itself is proposed and experimental upstream. |
Go module github.com/3leaps/recordprims |
Supported. Any breaking API change before 1.0 comes in a new minor release and is listed in the changelog. |
Local filesystem store format (recordprims-fs/v2) |
Later 0.x releases open a store written by 0.1.x, or a store-format change ships with a documented migration and a changelog entry. |
Rust crate recordprims (crates.io) |
Preview, included starting in 0.1.1; crates.io availability follows the separate verified registry publication step after the GitHub release is published (0.1.1 had no GitHub Release). Plain streams only (open_stream, append, retire, protect, head, revisions, reconcile, release, read_served); continuation streams and streams carrying compaction state are refused. |
Vendored record-collection/v0 contract files |
Proposed and experimental upstream; vendored with reference controls only. No public API or implementation uses them in 0.1.2. |
Bucket stratum (internal/stratum/bucketcas) |
Experimental and internal. It has no public API and has not been tested against a cloud storage provider. |
| TypeScript and Python bindings | Planned. |
What changed since 0.1.0
- Exact-pin serving (
Stream.ReadServed/Stream::read_served). Reads one
exact record revision pin through the serving path with the same hold,
retirement and continuation checks at one decision cut, delivering at most
that revision's frames. Held, retired or restricted revisions, undeliverable
bodies under full content, absent pins and mismatched digests all report
not_served; stream-wide refusals keep their reason, and a nil sink
evaluates without delivering frames.examples/project-record-writeruses
ReadServedforLookupandRender. - Store-refusal error parity in Go. A store entry refused by the confined
root (symlink, group or other permission bits, wrong owner, hard link,
special file, disallowed filesystem type) returnsErrStoreInvalidon stream
paths as well as store-root paths, matching Rust. A refusal met after a
durable step keeps an indeterminate outcome (IsIndeterminatein Go, and
Error::StoreInvalidAfterProgresswith codestore_invalidin Rust). - Rust crate preview included for crates.io publication (
recordprims0.1.2).
crates/recordprimspackages from its own directory with embedded shape
schemas, license texts,NOTICEand crateREADME.md, builds and passes its
package tests outside the checkout in CI, and becomes available on crates.io
once the separate digest-gated registry publication step completes after the
immutable GitHub Release is published. (0.1.2also makes the CI crate
archive extractor compatible with Python 3.11.0+.) - Contract pin moved to
3leaps/cruciblev0.2.14(38e40aa). The
vendoreddurable-record/v1files are unchanged fromv0.2.10(400 / 400
conformance vectors passing);record-collection/v0is vendored as a
separately pinned family with reference controls checked in
make contract-oracle.
Not claimed
One store is used from one host on a local filesystem; there is no cloud or
network storage backend. A receipt survives the writer process being killed;
power loss is not claimed.
Platforms
CI runs make check and cargo publish --dry-run --locked -p recordprims on
Linux amd64 and arm64 in the digest-pinned tools container, make check-platform natively on darwin arm64 and windows amd64 and arm64, and
builds and tests the Go module standalone outside the repository. The Go module
is cgo-free and needs Go 1.26 or later; the Rust crate's MSRV is Rust 1.88.
Verification
One signed annotated tag, v0.1.2, is the common source for the Go module and
the recordprims 0.1.2 Rust crate:
- Tag and GitHub Release manifests: verify the signed
v0.1.2tag and the
SHA256SUMS/SHA512SUMSsignatures against the public signing pins and
fingerprint anchors committed in the tagged commit (docs/security/,
keys/expected-fingerprints.*) obtained through an independent channel. - crates.io package (once published): credential-free CI builds and tests
recordprims-0.1.2.crateat the tagged commit and records its expected
SHA-256; the release ceremony reproduces that archive without compiling and
verifies that expected SHA-256 against both the crates.io sparse-index
cksumand the downloaded.cratearchive.
See docs/security/README.md for full verification steps.
recordprims 0.1.0
v0.1.0
The first minor release of recordprims: the pure-Go durable-record/v1 store
(recordprims-fs/v2) for use in applications, passing all 400 vectors of the
pinned 3leaps/crucible v0.2.10 contract.
Stability
| Surface | Status |
|---|---|
durable-record/v1 records written by the Go module |
Conform to durable-record/v1 as pinned (3leaps/crucible v0.2.10), and later recordprims releases keep reading them. The contract itself is proposed and experimental upstream. |
Go module github.com/3leaps/recordprims |
Supported. Any breaking API change before 1.0 comes in a new minor release and is listed in the changelog. |
Local filesystem store format (recordprims-fs/v2) |
Later 0.x releases open a store written by 0.1.0, or a store-format change ships with a documented migration and a changelog entry. |
Rust crate recordprims |
Preview, in the repository and not published. Plain streams only; continuation streams and streams carrying compaction state are refused. |
Bucket stratum (internal/stratum/bucketcas) |
Experimental and internal. It has no public API and has not been tested against a cloud storage provider. |
| TypeScript and Python bindings | Planned. |
What it ships
- Streams and journal.
OpenStream,Append,Retire,Protect,
Reconcile,Head,RevisionsandRelease, with keyed idempotent writes,
typed receipts, protection holds, continuations, detached stream seals,
sealed-continuation compaction and predecessor reclamation. - Exact selection on every use.
UseRequest.Selectionapplies to serve,
export and reuse, so a reader can release one exact revision; a held
revision is refused for every purpose and a retired record is refused for
serve. - Producer instants.
NormalizeProducerInstantandProducerInstantgive
producers the canonical instant spelling before a record digest is
computed, refusing ambiguous spellings and sub-microsecond values instead of
repairing them. The Rust crate has the same helpers. - Two implementations checked against each other for the operations the
Rust crate implements (store root, bodies and plain streams):make crosscheckruns them through Go and Rust and requires identical bytes, and
each opens stores written by the other.
Also in the repository: examples/project-record-writer, which records project
decisions and updates through the public Go API. It is a separate module, not a
release artifact, with no compatibility promise.
Not claimed
One store is used from one host on a local filesystem; there is no cloud or
network storage backend. A receipt survives the writer process being killed;
power loss is not claimed.
Platforms
CI runs make check on Linux amd64 and arm64 in the digest-pinned tools
container, make check-platform natively on darwin arm64 and windows amd64
and arm64, and builds and tests the Go module standalone outside the
repository. The Go module is cgo-free and needs Go 1.26 or later.
Verification
This release is one signed annotated tag, v0.1.0. Verify it against the
public pins committed in the tagged commit (docs/security/,
keys/expected-fingerprints.*); see docs/security/README.md.