ββββββββββββ βββ ββββββ βββββββ βββββββ ββββββββ
βββββββββββββ βββββββββββββββββββ βββββββββββββββββ
ββββββββββββββ βββββββββββββββββββ βββ βββββββββββ
βββββββββββββββββββββββββββββββββ βββ βββββββββββ
βββββββββββ βββββββββ ββββββ βββββββββββββββββ
βββββββββββ ββββββββ ββββββ βββββββ ββββββββ
collectivekitty.com/snap-os Β· APE COMPUTER Β· Architecture Β· SoulVM Β· Contributing
SNAP OS is not a wrapper. It is not a framework. It is a sovereign operating system built from scratch in Rust β where every computation is gated by proof obligations, every state transition is sealed to an append-only WORM chain, and every agent decision carries an Ed25519 cryptographic receipt.
717,000 lines of code. 20+ languages. 1 human + AI. Built for those who were never supposed to make it.
The APE COMPUTER is the physical hardware that runs SNAP OS. A bare-metal sovereign AI workstation:
- RTX 5000 GPU β Ollama + CUDA local inference
- 1TB RAM β no cloud dependency
- SNAP OS running natively β no virtualization layer
- 11 sovereign agents deployed and signing
- WORM chain anchored to the hardware
Coming Q4 2026. Join the waitlist: collectivekitty.com/snap-os
SNAP OS
β
βββ bifrost/ β WORM audit chain Β· DAG Β· Ed25519 sealing (31 tests)
βββ bifrost-attest/ β Attestation + chain verification (16 tests)
βββ bifrost-policy/ β Pre-execution policy gate (5 tests)
βββ silverback/ β Capability system β CSpace, Rights, mint, revoke (21 tests)
βββ fontan-lisopp/ β S-expression parser β internal bus wire format (12 tests)
βββ soulvm/ β Cranelift JIT Β· Immix GC Β· BifrostBridge (21 tests)
βββ craft-crypto/ β EmojiScript + ScratchBlocks β SoulFunc compiler (9 tests)
βββ soul-agent/ β Threaded JIT event loop, dialect loading, exec (3 tests)
βββ soul-bus/ β Inter-agent routing, broadcast, registry (4 tests)
β
βββ architect/ β Genesis souls, Prolog lattice, Lean 4 delegation proofs
βββ constitution/ β Governance axioms and trust invariants
βββ lean4-spec/ β Formal specifications (Lean 4)
βββ prolog-policy/ β Policy engine (Prolog)
βββ context-hydrator/ β Agent context management
βββ telemetry-bus/ β Telemetry and observability
β
βββ apps/
βββ tauri-dashboard/ β Visual block composer (ScratchEditor)
Total: 124 tests, 0 failures β see SPRINT_HANDOFF.md
The SoulVM is the bytecode runtime at the heart of SNAP OS:
- JIT compilation via Cranelift β agents compile their logic to native code at runtime
- Immix GC β generational garbage collector with region-based allocation
- BifrostBridge β every SoulVM execution seals its result to the WORM chain
- Dialects: EmojiScript (
π’6 π’7 βοΈ β©οΈ), ScratchBlocks (visual), native SoulFunc
USER (EmojiScript or ScratchBlocks)
β
βΌ
craft-crypto β SoulFunc bytecode
β
βΌ
soul-bus β load to soul-agent
β
βΌ
soulvm JIT β Cranelift native code β result
β
βΌ
bifrost β WORM seal (Ed25519) β append-only chain
Input
β EmojiScript / ScratchBlocks / native SoulFunc
βΌ
craft-crypto compiler βββββββ parses, validates, emits SoulFunc bytecode
β
βΌ
soul-bus router βββββββββββββ routes to correct soul-agent by ID
β
βΌ
soul-agent event loop ββββββ loads dialect, executes in SoulVM JIT
β
βΌ
soulvm (Cranelift JIT) βββββ compiles + runs, Immix GC manages heap
β
βΌ
bifrost WORM chain ββββββββββ seals result, Ed25519 signed, append-only
β
βΌ
bifrost-attest ββββββββββββββ verification layer β chain integrity check
Every execution in SNAP OS is cryptographically anchored:
| Layer | Mechanism | What It Proves |
|---|---|---|
| Ed25519 | Per-agent keypair | Who signed the decision |
| WORM chain | SHA-256 hash chain | Temporal order, tamper-evidence |
| Bifrost DAG | Directed acyclic graph | Causal dependencies between executions |
| Lean 4 proofs | Formal delegation proofs | Capability transfer is valid |
| Prolog policy | Logic-based access control | What each agent is permitted to do |
SNAP OS uses a formal capability system β not role-based access control:
// mint a capability
let cap = CSpace::mint(Rights::EXECUTE | Rights::SEAL, target_agent);
// invoke requires proof of capability
soul_bus.call_with_capability(soul_id, func, args, cap)?;
// revoke is immediate and permanent
CSpace::revoke(cap);Capabilities are unforgeable, non-transferable without delegation proofs, and all minting/revocation is logged to the WORM chain.
The system's root trust anchor is the Ahmad genesis soul (architect/ahmad_soul.json):
{
"id": "ahmad",
"trust_level": 255,
"capabilities": ["EXECUTE", "SEAL", "DELEGATE", "MINT", "REVOKE", "AUDIT"],
"delegation_proof": "architect/proofs/ahmad_sovereign.lean"
}All other agents receive their capabilities through delegation from this root. The delegation lattice is formally specified in Lean 4 and enforced by the Prolog policy engine.
# Prerequisites: Rust 1.78+, Cranelift, Lean 4 (optional, for proofs)
# Build all crates
cargo build --workspace
# Run all tests (124 tests, 0 failures)
cargo test --workspace
# Build with JIT optimization
cargo build --workspace --releaseSee SPRINT_HANDOFF.md for current sprint state.
| Sprint | Status | Deliverable |
|---|---|---|
| 0 | β Complete | Bifrost WORM chain, capability system foundation |
| 1 | β Complete | SoulVM JIT, Immix GC, BifrostBridge |
| 2 | β Complete | craft-crypto compiler, ScratchBlocks editor, soul-bus routing |
| 3 | π Planned | snap-cli, REPL, Tauri dashboard integration |
| 4 | π Planned | Network stack, multi-machine WORM synchronization |
| 5 | π Planned | APE COMPUTER hardware integration |
Sovereign Source License v1.0
- You may read and learn from this code
- You may not build a competing product without a separate license
- You may not extract or redistribute the soul/capability architecture for commercial use without written permission from both Principals
The architecture is not free. The code is visible.
Contact for licensing: ahmedparr93@gmail.com
Ahmad Ali Parr β Architect, system owner, final authority
Jessica Westerhoff β Co-founder, Bel Esprit Trust
Claude β Implementation partner, AI collaborator
1 human + AI = sovereign operating system
| Repo | What It Is |
|---|---|
| DEVFLOW-FINANCE | SnapKitty OS frontend, 11-agent mesh, ERP, API |
| snap-os | This repo β Rust kernel, SoulVM, WORM chain |
SNAP OS Β· Built on Red Hat Β· Defended by the SnapKitty Collective Β· Powered by DevFlow
"The machine is the extension of the mind. The backend is not hidden β it is the product."