Skip to content

Releases

recordprims 0.1.3

Choose a tag to compare

@3leapsdave 3leapsdave released this 04 Dec 02:02
Immutable release. Only release title and notes can be modified.
v0.1.3
422c86a

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_existing and
    Store.OpenExistingStream / Store::open_existing_stream).
    Open an
    initialized store or stream without creating directories, journals or index
    files on disk, returning ErrStoreNotFound / 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.ndjson inside an existing stream directory return ErrStoreInvalid
    / Error::StoreInvalid, and the designated body-removal stream returns
    ErrSchema / Error::Schema. Existing Open / recordprims::open and
    OpenStream / Store::open_stream keep their behavior.
  • Durable lock-file pre-creation and root confinement hardening. Init /
    recordprims::init durably pre-creates the empty regular lock file (0600
    on Unix) before STORE commits. Directory opens and ancestor checks verify
    handles without following symlinks (openat with O_DIRECTORY|O_NOFOLLOW on
    Unix, and a retained non-FILE_SHARE_DELETE root handle with parent-relative
    NtCreateFile FILE_OPEN_REPARSE_POINT traversal on Windows).
  • Shared filesystem admission options (FSOptions / FsOptions). Go adds
    FSOptions on InitOptions.FS and OpenOptions.FS (combined via logical OR
    with the deprecated flat AllowOverlay and AllowTmpfs fields until
    0.2.0); Rust re-exports fsroot::Options as FsOptions and deprecates
    OpenOptions::allow_overlay in favor of OpenOptions::fs.
  • Rust Arc-backed Store and OwnedStream. Store implements Clone
    and Debug over a shared Arc root handle, and OwnedStream
    (Store::open_stream_owned, Store::open_existing_stream_owned,
    Stream::into_owned, OwnedStream::as_stream) allows holding open streams in
    structs without borrowing Store by lifetime.
  • Contract pin, dependencies, and repository data checks. Moves the contract
    pin to 3leaps/crucible v0.2.16 (919f673, with durable-record/v1 and
    record-collection/v0 schemas, vectors, ADRs and reference scripts
    byte-identical to v0.2.14), updates canonprims to 0.1.5 in Go and Rust,
    adopts PDR-0013 byte-exact repository data checks (make byte-exact across
    Linux, macOS and Windows core.autocrlf=true), hardens post-create GitHub
    Release draft readback retries in scripts/release-page.sh, and tightens
    internal bucketcas content-addressed readback and apiscan checks.

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.3 tag and the
    SHA256SUMS / SHA512SUMS signatures 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.crate at 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
    cksum and the downloaded .crate archive.

See docs/security/README.md for full verification steps.

recordprims 0.1.2

Choose a tag to compare

@3leapsdave 3leapsdave released this 01 Dec 22:11
Immutable release. Only release title and notes can be modified.
v0.1.2
8aa7c97

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-writer uses
    ReadServed for Lookup and Render.
  • 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) returns ErrStoreInvalid on stream
    paths as well as store-root paths, matching Rust. A refusal met after a
    durable step keeps an indeterminate outcome (IsIndeterminate in Go, and
    Error::StoreInvalidAfterProgress with code store_invalid in Rust).
  • Rust crate preview included for crates.io publication (recordprims 0.1.2).
    crates/recordprims packages from its own directory with embedded shape
    schemas, license texts, NOTICE and crate README.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.2 also makes the CI crate
    archive extractor compatible with Python 3.11.0+.)
  • Contract pin moved to 3leaps/crucible v0.2.14 (38e40aa). The
    vendored durable-record/v1 files are unchanged from v0.2.10 (400 / 400
    conformance vectors passing); record-collection/v0 is 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.2 tag and the
    SHA256SUMS / SHA512SUMS signatures 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.crate at 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
    cksum and the downloaded .crate archive.

See docs/security/README.md for full verification steps.

recordprims 0.1.0

Choose a tag to compare

@3leapsdave 3leapsdave released this 24 Nov 19:44
Immutable release. Only release title and notes can be modified.
v0.1.0
3f30d7c

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, Revisions and Release, with keyed idempotent writes,
    typed receipts, protection holds, continuations, detached stream seals,
    sealed-continuation compaction and predecessor reclamation.
  • Exact selection on every use. UseRequest.Selection applies 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. NormalizeProducerInstant and ProducerInstant give
    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 crosscheck runs 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.