Repository navigation
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.