Lineage

In August 2025, malicious releases of the Nx build system reached npm. Their postinstall script searched each developer's machine for tokens, SSH keys, and wallet files, and published what it found to public GitHub repositories. It also ran the AI command-line tools it found installed, with their permission checks switched off, to hunt for more. No step needed an exploit. On Unix, a program you run holds every right you hold, and an install script is a program you run.

That rule is more than fifty years old, and for most of those years it was the right rule. This page follows the operating systems that led to it and away from it: what each generation solved, the wall it hit, and what Plurics keeps or rejects.

The arc#

Most of the systems below drew a protection boundary around something different: a user, an object, a name space, a language, a machine. Plurics draws it around a world, everything one computation can observe or change, and keeps one record outside all worlds.

1965Multicsone shared mainframe1969Unixone world1971-99Hydra, KeyKOS, EROScapabilities1992-96Plan 9, Infernoa name space per process2003-15Singularity, Midoriisolation by language2005-09ZFS, btrfsO(1) snapshots2009-12seL4, NOVA, Qubessmall kernels, VM desktops2010-20FoundationDB, Firecrackersimulation, micro-VMs2026Pluricsmany worlds, one ledger

None of these systems failed for lack of good ideas, and most of the ideas Plurics uses are in this figure. What changed is the situation the machine is in.

What each generation solved, and the wall it hit#

Each era below uses the same three parts: what the system did, where it stopped, and what Plurics keeps or rejects.

Multics: one machine for everyone#

Multics began in 1964 as a joint project of MIT, General Electric, and Bell Labs, and a set of papers at the 1965 Fall Joint Computer Conference described it. Its goal was computing as a utility, like power or water. It introduced protection rings, a single-level store in which a file is a memory segment, and the hierarchical file system that every later system copied.

It was also large and late. Bell Labs withdrew in 1969, and the last Multics site shut down in 2000. The lesson outlived the system: a core that takes in every subsystem anyone proposes collects mechanisms that no real workload can test. Plurics rejects the kitchen-sink core.

Unix: one world#

Ken Thompson and Dennis Ritchie started Unix in 1969 on a little-used PDP-7. In 1973 they rewrote it in C, and pipes arrived the same year. Unix kept a few of Multics's ideas, such as the hierarchical file system, and dropped the rest. Its core was four nouns: the process, the file, the file descriptor, and the pipe. They were small enough to understand and general enough to build everything else in userland. That is why Unix won, and why it lasted fifty years.

Unix also encoded the situation of 1969. There was one current state of the system, changed in place. Every action was intended by an accountable person, so a process held all of its user's authority. A write(2) to /tmp looked the same as a write(2) to a production socket. The Nx script at the top of this page used exactly those three assumptions. Plurics keeps Unix whole, inside each leaf world: unmodified sh, rustc, and git run there with their usual files, processes, and pipes.

Capabilities and persistence: Hydra, KeyKOS, EROS#

Hydra, built at Carnegie Mellon from 1971 and described in 1974, replaced the user as the unit of authority with the capability: an unforgeable reference to an object, together with the rights its holder has. KeyKOS, which began at Tymshare as GNOSIS and took its name at Key Logic in the mid-1980s, and EROS in the 1990s, made capabilities the only authority in the system and made the whole machine persistent by periodic checkpoint. A program started with nothing and could reach only what it was handed.

Two walls stopped them. They ran little of the world's software, and a whole-machine checkpoint clashes with the network: a restored machine cannot un-send a packet. Plurics keeps capability attenuation as law L2, Descent: a child world never holds more than its parent. Plurics rejects the whole-machine checkpoint as the unit. A world is one value among many, and the record of what crossed the network lives outside all of them.

Plan 9 and Inferno: the name space is the authority#

Plan 9 from Bell Labs, released in 1992, gave every process its own name space, assembled with bind and mount. Every resource, local or remote, was a file server speaking one protocol, 9P. What a process could name was what it could use, and a remote machine's resources looked local. UTF-8 was invented for it. Inferno, in 1996, carried the same ideas into a portable virtual machine.

Plan 9 never displaced Unix, even inside Bell Labs. Linux absorbed the parts it needed: UTF-8, a /proc in Plan 9's style, user-space file servers, and per-process mount namespaces. Once an incumbent can copy the best idea as a kernel feature or a daemon, nobody has a reason to switch operating systems. Plurics keeps the per-world name space, built by the world's creator, without Plan 9's global root or user ID. It also keeps Plan 9's factotum, the agent that authenticates for a program that never sees the key, as the model for the vault.

Isolation by language: Singularity and Midori#

Microsoft Research's Singularity, from 2003, ran every process in one address space and enforced isolation with a safe language and checked channel contracts instead of hardware. Midori, its successor from 2008 to 2015, carried the design toward a product, and Joe Duffy's 2015 retrospectives describe how much of it worked.

Three walls stopped it. Every program had to be rewritten in the new language, and old programs in the compatibility layer got none of the benefits. Its best ideas reached C# and .NET on Windows and Linux, which closed most of the gap without a new kernel. And in 2018, Spectre showed that type safety and bounds checks do not isolate code that shares an address space with a speculating CPU. The same era had a sharper lesson. Jonathan Shapiro designed a new systems language, BitC, together with a capability kernel, Coyotos. His 2012 retrospective explains how years went into the language's type system before the kernel could rely on it, and both projects stopped. Plurics rejects co-designing a new language with the kernel, and rejects a compiler as the boundary around untrusted code.

Copy-on-write file systems: ZFS and btrfs#

ZFS, released by Sun in 2005, and btrfs, merged into Linux in 2009, made a snapshot or a clone of a whole file tree an O(1) operation. A clone shares every block with its source until one of them writes.

The wall is what a snapshot leaves out. Rewinding one rolls the files back while the outside world stays changed: the remote branch is still pushed, the email is still sent, and a local file that mirrored that remote state is now wrong. Plurics keeps these file systems underneath its worlds. On btrfs, a world that holds 100,000 tracked files and 10 GiB of build output forks in 11.2 ms at the median (RFC-004). What snapshots lack, a record of the outside that never rewinds, is the ledger.

Small kernels and hard boundaries: seL4, NOVA, Capsicum, Qubes#

seL4, in 2009, published a machine-checked proof that its C implementation matches its specification. NOVA, in 2010, kept its privileged microhypervisor to about 9,000 lines and moved the virtual machine monitor and drivers into user mode. Capsicum, also in 2010, retrofitted capabilities onto POSIX file descriptors: after cap_enter, a process has no global name space. Qubes OS, from 2012, built a desktop in which each security domain is a virtual machine, including disposable ones.

Each paid a price. seL4's speed and proofs are easiest for a fixed set of components, not for thousands of worlds created per minute. Capsicum needs programs changed to use it. A Qubes compartment carries a whole guest kernel and takes seconds to start. Plurics keeps NOVA's shape for its own planned kernel: at most 20,000 lines, no device drivers, no Linux system calls, everything else in user mode. Capsicum showed that programmers accept "no ambient name space" when the interface is good.

Simulation and micro-VMs: FoundationDB, TigerBeetle, Firecracker#

FoundationDB was built inside a deterministic simulator from the start. A whole cluster runs in one process against a simulated network, disk, and clock, driven by a seed, so any failure replays exactly. TigerBeetle, from 2020, took the same discipline further. Firecracker, released by AWS in 2018, is a virtual machine monitor of about 50,000 lines of Rust that offers a guest only a handful of virtual devices.

Together they showed two things. A system can be tested by simulation if all of its time and I/O go through one replaceable seam. And a small, stable set of virtual devices is a target a new kernel can actually support. The limits are just as clear. Code must be written against that seam from the beginning, and every micro-VM brings its own guest kernel. Plurics keeps both: an Env seam for its core services, and KVM micro-VMs as one of its world runners.

What changed since 1969#

Unix encoded four assumptions about the machine of 1969. None of them holds today:

Assumption in 1969How Unix encodes itStatus
The system has one current state, changed in placeOne file system; a write(2) is real at onceExpired
Every action is intended by an accountable personThe user ID; a process holds all of its user's authorityExpired
All writes are the same kind of thingThe uniform file descriptorExpired: it hides whether a write can be undone
Time, entropy, scheduling, and the network are simply thereAn ambient clock, ambient randomness, global portsExpired

In 1969 machine time was scarce and a person stood behind each action. Today computation is nearly free, and most actions on a machine are generated by programs nobody has read: install scripts of transitive dependencies, CI jobs for strangers' patches, synthesized code, optimizers, and model-driven loops. The scarce resource is now justified confidence that a given action should happen.

Every layer that had to run work that might be wrong built the same mechanism: isolate, run, validate, commit.

LayerPrivate worldCommit pointWhat it covers
CPURenamed registers, store bufferRetirementOne core's instructions
DatabaseMVCC snapshotCommit and write-ahead logRows
Source controlBranchMerge, pushTracked text
Packages (Nix, A/B images)Store generationProfile switchInstalled software
ContainersImage layersNone; volumes escapeA file system slice
Virtual machinesSnapshotNoneOne machine, as an opaque blob
BrowserOrigin sandboxPermission promptOne tab

Each row covers a slice. None covers everything a computation can reach, and none composes with the others: no system commits a schema migration, a push, and a deploy as one decision. The operating system process, the one unit that contains all of it, never got the mechanism.

Giving the process that mechanism takes four primitives, World, Value, Port, and Ledger, and four laws: Closure, Descent, Custody, and Monotonicity (Architecture). Quotas, the vault, and staged release are core services built on them, not further primitives.

Why not containers, which already have namespaces and cgroups? Because sandboxing a Unix process is subtractive: begin with everything and remove what you can list. Each new path out, such as DNS, an abstract socket, a mounted docker.sock, a device, or shared memory, is open until someone remembers to close it. Closure is additive: begin with nothing. Today's stack has closure in exactly one place, the hardware virtualization boundary. So the shortest description of a world is this: a virtual machine as cheap as a process, whose disk is a value, whose devices are ports, with a ledger outside it.

None of the four primitives is new. Determinator (OSDI 2010) gave child spaces private workspaces merged at synchronization points. Speculator (SOSP 2005) let a kernel run processes speculatively and held their external output until the speculation resolved. TxOS and QuickSilver made transactions an operating system service. KeyKOS made the whole system a checkpointed value, and Plan 9 made the name space the unit of authority. In their time, speculation was a performance technique for trusted programs, one person per machine, and nobody needed it as the base of anything. The primitives are old. The need for them as the foundation is new.

Capabilities without labels#

Four incidents from 2025 show what the primitives must stop:

IncidentWhat happenedWhat was missing
Nx, August 2025An install script harvested tokens and keys, and drove installed AI tools to search for moreNo ambient authority for install scripts; no credentials on disk
Shai-Hulud, September 2025A self-propagating npm worm stole publish tokens and republished itselfUse-only credentials; publishing as a staged, reviewed effect
EchoLeak, June 2025A retrieved email carried instructions that leaked private context through an auto-fetched image URLProvenance on retrieved content; renderer fetches treated as egress
GitHub MCP, May 2025Instructions in a public issue led an agent whose token spanned private repositories to leak them in a public pull requestA per-task scope; a check where data leaves

Every row is a failure of ambient authority or of readable credentials. None needed a smarter model to prevent.

The textbook answer combines two mechanisms: capabilities, to decide whether a process can touch an object at all, and decentralized information flow control, to decide whether a flow is allowed given what the process has already read. The second mechanism comes from Asbestos (2005), HiStar (2006), and Flume (2007). Every process carries secrecy and taint labels, the labels only grow as the process reads, and data moves from tainted to clean only through a declared gate.

Worked through real workflows, the combination runs into three problems:

  1. Label creep. Any long-lived shared service, such as a compiler cache, a language server, or a repository, absorbs the label of everything it reads. The HiStar line of systems documented this problem. For a program whose behavior cannot be inspected, such as a model-driven agent, the label saturates within minutes, and then it carries no information.
  2. Step one is untrusted. Almost every useful task reads untrusted input first: an issue, a dependency, a documentation page. Fixing a reported bug means acting on text an attacker may have written.
  3. The gate cannot judge. No deterministic validator can tell that a change which compiles and passes its tests was steered by an injected instruction. The other option, a person approving every crossing, recreates the approval prompts that people learn to click through without reading.

The published measurements agree. CaMeL, a 2025 design that tracks provenance through a custom interpreter, solved 77% of the AgentDojo benchmark's tasks with provable security, against 84% for the same agent undefended. The cost lands on exactly the tasks that must act on untrusted prose. As far as the published literature shows, every defense that asks a model to tell instructions from data has been broken by adaptive attacks. Architectural separation has not.

So Plurics leaves labels out of the core and keeps three things that do the same work at the grain of a world:

  • Closure. A world observes and affects only what its creator bound into it. A hijacked program inside has no $HOME, no ~/.ssh, no host credentials, and no route out.
  • The vault. Credentials live in one sealed store and enter outbound TLS requests at the boundary. The secret never enters the world, so nothing a world can read contains one.
  • Monotone provenance. When external data reaches a world, its mark rises to ExternalIngress and never falls. Anything the world stages carries that mark to review. A request that appears inside untrusted text is data, not authorization.

Finer grain comes from smaller worlds, not from finer labels. This is a bet with a known cost. Labels are the one mechanism that cannot be retrofitted, because every channel must be mediated from the start, and world-grain provenance may prove too coarse for some workloads.

Worlds fork; the ledger does not#

Suppose a world opens a pull request and then rewinds to a point before it. The pull request still exists on the forge, but the rewound world's files no longer show that it was sent. If the world re-plans and sends it again, the forge now has two.

The answer starts by sorting state into four kinds, because each forks and rewinds differently:

KindExamplesForkRollback
BranchableSource files, databases, the staged outboxO(1) shareDrop the world
Derivedtarget/, node_modules/, indexesO(1) share, never mergedDrop or rebuild
MonotoneSent effects, consumed approvals, spent quotaNot forked: one recordNever
ExternalThe remote issue, the sent emailOnly where the remote supports itCompensation, with a residual

Most sandboxes get the second and third rows wrong. A whole-disk snapshot treats derived state as branchable and pays for it in merge conflicts. A framework that checkpoints its agent treats monotone state as branchable and replays its effects. Plurics keeps monotone state in a ledger outside every world. Worlds fork; the ledger does not.

Three rules follow, and each is specified in RFC-002:

  • Identity is computed, not chosen. An effect's identity derives from the run, the world's lineage, and its position in the world's journal. A service that crashes mid-request replays to the same position, computes the same identity, and attaches to the recorded effect instead of sending a new one. No one has to decide whether two requests mean the same thing.
  • Orphans block repeats. An effect that a rewind abandons is an orphan of the world's line, and a new effect that overlaps it does not dispatch until the orphan is resolved (the Orphan Rule).
  • Nothing leaves custody before its record. Every external write is intended, attempted, observed, and reconciled, and each step is a durable ledger record written before the next action.

The obvious fix is to stage every external effect in an outbox until the task finishes. That breaks real work. A task that pushes a branch must read the CI result, and a task that creates a ticket must put the ticket's number in its commit message. If the push sits in an outbox, CI never runs and the number does not exist. The rule Plurics uses instead is the output-commit rule from Speculator: nothing outside may depend on speculative state unless the effect is contained, compensable, or explicitly released. So reads and compensable writes run live with their ledger records, and only irreversible writes wait for release (effect classes).

Release is a grant, not a person. A reviewer world whose port carries effect_release may release a clean outbox of one of its descendants, never its own. The reviewer can be you, a deterministic verifier, or a reviewer agent, and only the grants their ports carry tell them apart.

The evidence is one test. It kills the effect service at every crash point on the path while it opens draft pull requests on a stand-in forge, and cuts the network before and after the forge commits. Across 100 runs, the forge ends with exactly 100 pull requests, and the forge's token appears in no response, journal, or raw SQLite file (crash safety).

Borrowed and rejected#

FromPlurics borrowsPlurics rejects
MulticsProtection as a first-class design concernThe kitchen-sink core that grows by union
UnixSmall composable primitives, kept whole inside leaf worldsThe user ID as all authority; one live tree changed in place
Hydra, KeyKOS, EROS, Capsicum, seL4Capabilities and attenuation: law L2, DescentThe whole machine as one checkpointed value
Plan 9Per-world name spaces; factotum-style use-only credentials; network-transparent controlA global root; a user ID behind every name
Singularity, Midori, BitCExplicit, typed boundariesA new language co-designed with the kernel; a compiler as the boundary for untrusted code
ZFS, btrfsO(1) copy-on-write branching under every worldSnapshots as the whole story: the outside world does not rewind
NOVAA microhypervisor of at most 20,000 lines with no drivers or Linux system calls in its privileged coreWriting bare-metal Wi-Fi and GPU drivers before real workloads run
FoundationDB, TigerBeetleDeterministic simulation and crash points behind one Env seamModels that run ahead of real programs
Asbestos, HiStar, FlumeProvenance that only risesInformation flow labels on every process in the kernel
Agent sandboxesCredentials injected outside the sandboxA model inside the security boundary

Why clean-slate systems die#

The history has a pattern. Every clean-slate system with better primitives than Unix died or shrank into a niche for one of three reasons:

  1. The compatibility chasm. An operating system without the world's compilers, runtimes, and browsers has no daily use. Refusing old programs isolates it. Translating Linux system calls inside the new core imports the old design's authority model and its bugs. Fuchsia, to run Linux programs, had to build Starnix, a translator for the Linux system call interface.
  2. Freezing before contact. Fixing kernel interfaces, wire formats, and formal security models before real programs run optimizes imaginary paths and blocks change. BitC and Coyotos are the clearest case.
  3. Success by disassembly. If daily use takes five years, the incumbent copies the portable part and the rest dies: Plan 9's name spaces became Linux mount namespaces, and Midori's ideas reached C#.

The longest-running cases add a fourth: drivers. GNU Hurd began in 1990 and is still not a production system. Redox, begun in 2015, has spent much of a decade on its POSIX layer and its hardware drivers. A team that writes Wi-Fi and GPU drivers for laptops before its primitives carry real work does not reach the primitives.

A new system today can fall into either of two graveyards. One is the second failure above in modern form: a kernel interface, a binary message format, and a label calculus, all tested and none reachable from a real program. The other is the opposite: a thin wrapper fitted to this year's agent tools, which their vendors absorb within months. Plurics steers between the two with a few rules (Architecture). A program inside a world calls the same world verbs as the host. Every rung proves itself on real programs first. No interface stays in the tree for two weeks without a real caller. And Linux stays behind one narrow seam, so it can be replaced from below.

That last rule is what makes the move down the stack possible. Starting on Linux was a decision about order, not destination. Running a world as a full virtual machine today costs a guest kernel per world. By our estimates, that is 30 to 128 MiB of memory and 15 to 150 ms of restore time for each live branch, and it is the one cost that justifies a kernel of Plurics's own. Typed IPC, budgets, and labels do not. So the kernel Plurics plans is shaped like NOVA, not like Multics: a small Rust microhypervisor that forks worlds by sharing pages, with Linux kept only inside the worlds that want it.

Plurics runs today as a user daemon on Linux. The evolution path names each rung below that.

Go back to the Nx script at the top of this page. Run in a Plurics world, it finds no $HOME, no SSH keys, no tokens, and no route to GitHub, because nothing was bound there. That much runs today. The rest of the plan is about making that world cheaper, until a world costs what a process costs and a careful default costs nothing.

The wordmark at the top of this page has a note of its own: how the mark is drawn.