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