slbit
slbit is a zero-dependency Rust crate for luminous semantic packets: portable,
deterministic explanation artifacts that sit beside proofs, zkML outputs,
agent traces, Rootprint graphs, attestations, and audit logs.
It does not replace proof systems. It answers the question proof systems leave open: what happened, why did it matter, and how should a human or another system inspect it?
Trust Boundary
slbit packets are observation and meaning data. They MUST NOT be used as
proof validity, proof soundness, proof identity, Rootprint lineage, replay
fingerprint, or cryptographic equivalence inputs.
Changing an slbit packet changes the slbit packet digest. It must not
change the identity of the external proof, .pha artifact, Rootprint graph,
zk proof, attestation, model output, or agent action it describes.
What 3.1.0 Adds
- deterministic v3 truth-boundary inspection reports;
- authority counts, unbound node listing, warning/failure node listing, and transcript node coverage;
- deterministic semantic dependency-chain and shortest-path inspection;
- richer local
askquestions for proof boundary, branch comparison, dependency review, mutation/failure nodes, and shortest explanation paths; - builder helpers for claim cards, graph views, diff views, and proof-status labels.
What 3.0.0 Added
slbit/viz-packet/v3;- Meaning Observatory packets for verified memory;
- explicit Memory Capsule, branch, and replay bindings;
- typed semantic DAG nodes with authority badges;
- local deterministic
askengine; - structured support IDs for answers;
- non-authoritative LLM context export;
- digest rejection for semantic mutation;
- cycle rejection for semantic DAGs.
What 0.2.0 Added
slbit/viz-packet/v2- stable packet IDs;
- producer metadata;
- external anchors such as Power House Rootprint, zk proofs, OpenTelemetry traces, SLSA provenance, model cards, and human approvals;
- directed acyclic semantic graphs;
- audience-aware summaries;
- deterministic privacy redaction records;
- external signature references;
- deterministic packet, transcript, and semantic graph digests;
- fluent Rust builder API;
- Markdown audit export;
- v1 verification compatibility.
The crate still has no normal, build, or development dependencies.
Example
use LuminousPacket;
let packet = builder
.producer
.layer
.icon
.rgb
.round
.round
.labeled_node
.labeled_node
.labeled_node
.labeled_node
.edge
.edge
.edge
.anchor_rootprint
.summary_for
.build?;
packet.verify?;
println!;
# Ok::
Meaning Observatory v3:
use ;
let core = new;
let packet = builder
.node
.build?;
packet.verify?;
let report = packet.inspect?;
assert!;
let answer = packet.ask;
assert!;
# Ok::
v1 Compatibility
The v1 API remains available:
LuminousClaimBitInteractiveTranscriptSimpleLuminousSumcheckVizPacket
slbit 3.1.0 emits corrected deterministic v1 JSON and still accepts legacy
v0.1.0 packet digests during verification.
Documentation
docs/packet_spec.md: v1 compatibility spec.docs/packet_v2.md: v2 packet standard draft.docs/packet_v3.md: v3 Meaning Observatory packet draft.
v2 Reference Examples
drone_perception_v2zkml_classification_v2financial_audit_v2agent_trace_v2multi_agent_governance_v2medical_ai_decision_v2smart_contract_proof_v2ci_formal_verification_v2supply_chain_provenance_v2human_approval_annotation_v2
License
AGPL-3.0-only.