The public contract layer of Logos: proof-account types, program and derivation codecs, and independent checkers in Rust, Go and TypeScript. It depends on public Ontos packages. It contains no Logos kernel, engine, search service or private repository dependency.
Published versions are available from the public registries below. Go consumers use the public source tags or commit revisions directly. No private repository credential is required.
| Language | Public dependency |
|---|---|
| Rust | logos-contract on crates.io |
| Go | github.com/Bitspark/logos-contract/contract/go |
| TypeScript | @bitspark/logos-contract on npmjs.org |
Release tags vX.Y.Z and contract/go/vX.Y.Z name the same public commit.
Released versions follow the Logos release family. Main may contain unreleased
changes; pin a full commit when consuming those changes. In particular the typed
check-only service requires 0.25.0 or later; it is not part of 0.24.0.
The contract specification describes the account, codecs and checker SPI. On revisions containing the typed checker, its service contract and TextBox and Page cases specify the receiver's authority and the distinction between accepted, invalid, incomplete and unsupported results. Callers supply native judgments and the exact mapping and premises; Logos checks the proof. An accepted proof does not establish that its external premises faithfully describe a captured program.
Changes originate in the Logos repository and are exported here as a single maintained implementation. Exporting changes distribution metadata and Go self-import coordinates, with Go formatting performed on the runner. Contract tests and their fixtures are included. The UTF-8 source census scans the exported TypeScript tree and retains its decoder behavior checks. Three repository-wide reader censuses remain in Logos CI because they inspect private kernel and engine sources; they are not contract runtime dependencies.
The contract workflow runs formatting, Clippy, Rust tests and doctests, Go tests
including the race detector, Go vet, TypeScript typechecking and tests, and
package preparation on GitHub runners using public registries without private
credentials. The release workflow publishes existing immutable release tags
after that gate passes, and verifies actual installed packages without credentials.
Its prepare operation produces verified archives for a first native upload;
consume independently exercises an already published release. No build or test
runs on the maintainer's workstation.
Licensed under MIT OR Apache-2.0. See LICENSE-MIT and LICENSE-APACHE.