Sovereign vault and service host
topic(systems): totebox-os — sovereign vault, service table, WORM discipline, unikernel roadmap, compute tiers
@@ -1,56 +1,79 @@ --- schema: foundry-doc-v1 title: "Totebox OS" title: "os-totebox — The Sovereign Vault and Service Host" slug: totebox-os category: systems type: topic type: concept quality: complete short_description: "Totebox OS is the microkernel-based data-archive operating system used by PointSav to store institutional records as inert flat files with cryptographic integrity verification at the filesystem level." status: active audience: vendor-public bcsc_class: public-disclosure-safe last_edited: 2026-05-04 language_protocol: PROSE-TOPIC last_edited: 2026-05-15 editor: pointsav-engineering paired_with: totebox-os.es.md short_description: "os-totebox is the archive layer of the PointSav family — one isolated, kernel-level vault per entity, storing records as inert flat files with no delete operation and exposing them only through the Diode on command from os-console or os-orchestration." cites: [] paired_with: os-totebox.es.md --- `os-totebox` is the archive layer of the PointSav family: one isolated, kernel-level vault per entity. It stores the records, runs the services that process them, and exposes nothing else. An entity is whatever needs a separate set of books — a person, a corporation, a real property, a project, a household. Each entity has its own `os-totebox`. Toteboxes do not share files, do not share users, and cannot see each other. They communicate only through the [[diode-standard|Diode]], and only on command from [[console-os|os-console]] or [[os-orchestration]]. This article covers the services inside, the WORM discipline, the host shape evolution, the compute tiers, and the freely transferable design. **Totebox OS** is the core data-archive layer of the PointSav platform. It runs on an seL4 microkernel and enforces a strict separation between software execution engines and the corporate ledgers those engines read and write. Every institutional record lives as an inert flat file — Markdown, YAML, or CSV — that requires no proprietary runtime to open or interpret decades later. ## What lives inside The architecture is designed to build **Trustworthy Systems** by rejecting the conventional multi-tenant database model. In the Totebox model, the execution software and the data it processes occupy distinct directories, connected only through explicit, audited access paths. Each `os-totebox` hosts a fixed set of services: ## Directory structure | Service | Function | |---|---| | `service-email` | SMTP/IMAP ingest; WORM Maildir; sanitisation of HTML and tracking pixels | | `service-people` | Identity ledger; the F2 surface; entity claims and the Sovereign-ID graph | | `service-content` | Reads payloads, applies the editorial synthesis pipeline, generates outputs | | `service-extraction` | Entity-mass extraction across the archive | | `service-slm` | Local small language model; operates behind the Doorman audit boundary | | `service-minutebook` | Deep record archive — immutable PDFs, DOCX, XLSX, with cryptographic checksums | | `service-bookkeeper` | Financial ledger | | `service-fs` (planned) | Unikernel file-system service — the only service that touches raw disk | | `service-audit` (planned) | Append-only ledger at the microkernel level | | `service-resolution` (planned) | Asset-resolution packager — the self-executing parachute on vendor failure | A Totebox deployment follows a three-directory layout, as seen in the `cluster-totebox-jennifer` implementation: ## The WORM discipline ``` cluster-totebox-corporate/ ├── app-console-input/ # execution software ├── assets/ # physical vault — PDFs, images └── ledger/ # state machine — YAML metadata, CSV ledgers ``` `os-totebox` writes raw payloads directly to append-only block storage. There is no delete operation in the code path. A compromised service cannot overwrite history because the verb does not exist at the storage interface. This is the architectural enforcement layer for processing integrity and the asset-segregation discipline. The `ledger/` directory is the canonical record. The `assets/` directory holds binary artefacts. The `app-console-input/` directory contains the execution software that reads and writes to the other two. None of the three directories are permitted to commingle their contents. Every institutional record lives as an inert flat file — Markdown, YAML, or CSV — that requires no proprietary runtime to read decades later. A `.yaml` ledger or `.csv` register is universally readable by any text editor, on any hardware, in any decade. Data migration cost falls toward zero: the operator always holds the source in a form no proprietary software can lock. ## Flat files over databases ## The host shape A flat file is a static sequence of bytes on disk. A relational database is a running software engine with its own memory model, parser, and network surface. **Totebox OS** stores corporate knowledge as flat files because a `.yaml` ledger or `.csv` register is universally readable without proprietary tooling and remains structurally stable across hardware generations. `os-totebox` is designed to evolve across four phases as the seL4 substrate matures: The practical consequence is that data migration cost falls toward zero: the customer always holds the source in a form any text editor can open. | Phase | Form | Use case | |---|---|---| | 1 | LXC / FreeBSD jail | Active development; iterates quickly | | 2 | Hardened FreeBSD instance | First customer deployments (planned) | | 3 | seL4 + Rust monolith | Production hardening (planned) | | 4 | Unikernel — single binary, ~15 MB, <50 ms boot | End-state (planned) | ## Machine Authorization The unikernel target is the design goal. The end-state has no SSH, no shell, no Bash, no Python interpreter — only one compiled binary fused to hardware drivers. An operator recompiles the vendor source in the monorepo and reboots the cloud node with the new image; there is no shell to log into. The architecture rejects traditional role-based authorization in favor of **Machine Authorization** and **Device-based Permissions**. Every transaction on a PointSav appliance is cryptographically anchored to a WORM ledger, ensuring that only authorized hardware devices can modify the system state. ## Compute tiers ## Deployment model `os-totebox` adjusts its behaviour to available hardware: A Totebox deployment operates as a **Freely Transferable** system. It is delivered as a **Bootable Disk Image** that can be deployed on Bare metal resources or public cloud resources without structural dependency on the hosting provider. | Tier | Profile | Capability | |---|---|---| | Zero-Compute Vault | ~$7/month cloud node, ≤1 GB RAM | WORM ledger and cryptographic router only; defers heavy processing to the Yo-Yo Relay | | Yo-Yo Relay | Operator-provisioned elastic cloud node | Stateful bridge to a temporary compute node; runs batch extraction, then tears down | | Sovereign Iron | 16 GB+ RAM workstation or bare-metal server | Loads the full local small language model in RAM; no cloud egress | The Vendor (PointSav Digital Systems) engineers the Rust-based execution engines that safely read and write to the Totebox directories. The Customer deploys the Totebox on their own hardware and holds the audit ledger directly. No vendor intermediary sits between the customer's records and the customer's filesystem. ## Freely transferable ## See Also Every `os-totebox` instance is intended to ship as a single disk image (`.img` or `.vmdk`). The operator picks it up and moves it between cloud providers, a private server, or bare-metal at their own facility. There is no host operating system underneath that holds the keys. This is the Sovereign Addendum's intended commitment in physical form: the running instance remains the operator's property in any environment. - [[topic-totebox-archive]] - [[topic-totebox-orchestration]] - [[topic-console-os]] - [[topic-infrastructure-os]] ## See also - [[os-family-overview]] — where os-totebox fits in the eight-OS family - [[console-os]] — the Command Ledger that connects to os-totebox and presents its state - [[os-orchestration]] — the fleet aggregator that queries many Toteboxes at once - [[diode-standard]] — the unidirectional protocol through which the Totebox communicates - [[sel4-microkernel-substrate]] — the kernel underpinning os-totebox's isolation guarantees - [[machine-based-auth]] — how pairing governs access to a Totebox - [[worm-ledger-design]] — the append-only storage discipline enforced by os-totebox