Skip to main content

Module docs

Module docs 

Source
Expand description

Long-form design notes shipped inside the crate (also under docs/ on GitHub).

These modules exist so docs.rs shows the same guides as the repository, not only API rustdoc.

Modules§

atomic_hop
Atomic Hop: Message-only Send, FlowCap addressing, Ask, selective receive.
audit_checklist
Audit-derived engineering checklist (track hardening PRs).
beam_mapping
BEAM / OTP concepts mapped to Byteflow flows, Caps, and Atomic Hop.
error_model
Fail-closed error taxonomy and mutex policy.
host_await
HostAwait: several host ops per flow; completion is a TAG_SYS_AWAIT hop.
lifecycle
Flow lifecycle: monitors, links, registry, WAITING_SEND.
mailbox
Bounded mailbox: capacity contract, overflow, anti lost-wakeup.
production_embedding
Production embedding: shutdown, remote I/O, untrusted modules.
properties
Property / stress tests (in-house PRNG) for mailbox, decode/verify, Caps.
remote_transport
Reference TCP/UDP framing for remote hops (host-owned socket I/O).
sandbox_architecture
Sandbox architecture: trust, Caps, quotas, enforcement boundary.
sandbox_capabilities
CapId, CapTable, attenuation, revocation, attestation.
sandbox_limitations
In-process limits — not OS isolation.
sandbox_quotas
Independent resource ceilings and sandbox defaults.
sandbox_threat
What the sandbox assumes and rejects.
sandbox_trust
TrustLevel tiers and host-only elevation.
security
Security model: authenticated sender, FlowCap, invariants S1–S7.
untrusted
Untrusted bytecode: verifier, capabilities, quotas, and attestation are separate controls.
vm_safety
Trust boundary: what verify settles statically vs what the Vm checks per step, and why a fault never becomes a panic.