Expand description
Shared kernel for stikk (internal design stikk-04 MOD-01).
stikk is a TUI/GUI front-end for the prikk version control system. Its founding property, from which the whole design follows, is that stikk owns no repository authority and no secrets: every repository fact is re-derived from prikk through the seam, and prikk — never stikk — reads signing key material. This crate holds the vocabulary the layers above share and carries no I/O of its own, so it can be depended on freely without pulling a transport or a filesystem.
error— the singleStikkErrortype with seven presentation classes, preserving prikk’s verbatim message (requirement NFR-I03, FR-110).id— validated object-id and ref-name newtypes; stikk never fabricates an identifier.category— the request-category vocabulary the seam and operation layer share, carrying each category’s mutation/cancellability/lock/confirmation-tier policy as data (design CT-03,FR-121).capability— the derived capability levels (Viewer/Author/Maintainer/Operator) that gate what a session may do, computed from prikk-side signing readiness (design AC-01…04).change_token— the repository-change detection primitive (designLC-4; RFC 003), composed from prikk-observable state; a preview↔execute binding stamps and re-checks it, never a lock.
Re-exports§
pub use capability::Binding;pub use capability::Capability;pub use capability::Readiness;pub use capability::RoleReadiness;pub use category::RequestCategory;pub use category::SigningRequirement;pub use category::Tier;pub use change_token::ChangeToken;pub use current_branch::CurrentBranch;pub use error::Result;pub use error::StaleCause;pub use error::StikkError;pub use example_keys::ExampleKey;pub use example_keys::published_example;pub use id::ObjectId;pub use id::RefName;
Modules§
- capability
- Derived capability levels and the signing readiness they come from.
- category
- The request-category vocabulary the seam and operation layer share.
- change_
token - The repository-change token (design
LC-4; RFC 003). - current_
branch - prikk’s current branch, as prikk’s own
statusreport names it (RFC 030 decision 1). - error
- The single stikk error type and its seven presentation classes.
- example_
keys - prikk’s published example public keys, and the check that flags them (
C-S2). - id
- Validated object-id and ref-name newtypes.