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 0.2.0 Adds
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::
v1 Compatibility
The v1 API remains available:
LuminousClaimBitInteractiveTranscriptSimpleLuminousSumcheckVizPacket
slbit 0.2.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.
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.