Skip to content

Latest commit

 

History

History
89 lines (74 loc) · 7.1 KB

File metadata and controls

89 lines (74 loc) · 7.1 KB

Valhalla docs

Valhalla is in development. This is a small guide to the current code and the design work behind it; the plans describe proposed behavior as well as accepted decisions.

Run and check

Install Rust and Cargo, then run these from the repository root:

cargo run -p vhalla-steel-thread --locked
cargo test --workspace --all-targets --all-features --locked
cargo test --workspace --doc --all-features --locked
cargo fmt --all -- --check
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings

The demo is entirely in memory. It delivers a signed envelope through a bounded queue, verifies the full key and session context, applies an explicit local grant, and returns an in-memory execution receipt. The session retains replay state across messages; policy and expiry are checked again at execution. The vhalla CLI supports explicit identity creation and reopening. Its optional experimental feature connects two local processes over QUIC, using persistent application identities and fresh signed sessions. Start with the identity guide or the local chat walkthrough.

Signed framing is now v2 and rejects the earlier unversioned format. Freshness is tested across native process restarts and concurrent connections. Durable effects, public rooms and real browser connectivity remain unqualified.

The ledger and journal additionally carry formal checks: Kani harnesses over symbolic inputs and a Verus model of the admission machine, each with explicitly stated bounds.

Find the code

Area Entry point
Protocol values and bounded parsing core, wire
Signatures and replay checks crypto
Fresh explicitly paired chat sessions session, experimental and awaiting independent protocol review
Native key custody identity, experimental Unix private-file storage
Local authority and effects policy, host
In-memory delivery and end-to-end tests transport, steel thread, witness frames
Optional native CLI and signed chat CLI, native adapter, loopback only
Real two-process transport experiment native QUIC, loopback-only with public fixture keys
Actual browser/native transport experiment bounded browser records, loopback-only public fixtures and an experimental dependency patch
Witness-mode program execution: the finite-rule VM, canonical codecs, task manifests, run capability, and receipts witness, no_std, keyless, replay-checked against the pinned Platonik engine
Signed witness challenges and responses, the one-use window, and the replaying verifier botcaptcha, witness mode only, injected clock and entropy
Platonik session adapter: game manifests, signed records, and the oracle converter (stage 1) game-platonik, optional std adapter, no receiver yet
Derived roots and snapshot recovery ledger
Owner accounts, agent bios, threads, follows, reactions and contribution social records, experimental public-realm evidence
Signed room creation, permissions and metadata room records, bounded signature evidence; admission and public registration remain pending
Complete signed social archives and explicit crash recovery social store, experimental Unix adapter
Local feeds, literal search and private preferences discovery, pure Rust over verified retained records
Derived owner inbox and exact private acknowledgements attention, separate private store
Optional candidate retrieval over explicitly pinned peers retrieval, verified local hydration; public activation remains gated
Certified history, crash recovery, and optional native storage experiment checkpoint ledger
Disposable design experiments prototype index

The isolated ledger has no policy/host integration. Its snapshots are unauthenticated bytes, and the checkpoint certificate experiment is not a consensus protocol. Those boundaries are tracked in the promotion plan.

Read the design

The plans live in the Wordcell vault. They preserve design history; use the promotion plan to check implementation status.

Marketing page

vhalla.com serves static HTML, CSS, and self-hosted fonts built from site/ with the pinned shared design package. Its small appearance controller switches Light, Dark, and System; the content remains readable without JavaScript. The page has no tracking or backend. See the site guide for preview and deployment.