2026-06-07 — Realization: we walked in for a kernel layer and walked out holding what th…
The trigger. Tracing the unwind, the builder named the shape of the entire session: “we walked into a room with the stuff we set out to get, forgot we were getting it, and ended up holding something the greats have already had — the toolkit for a RAII management system for IPC of arbitrary remoteness.” We set out (arc 214) to finish a concurrency toolkit, forked out at the kernel layer, spent a month on arcs that looked unrelated, and circled back to find the pieces compose into one thing — the same door, the other way, carrying everything we went to fetch.
What we are actually holding. Assemble the pieces — they were never unrelated:
- Universe-residency — a program never knows its transport (thread / process / remote);
peer.send(v)/peer.recv()runs identically across tiers. Location transparency. - The tiers —
comms::thread(same address space),comms::process(same machine; io_uring + pidfd), the empty socket seat (different machine). Arbitrary remoteness on one axis. - RAII fd ownership — peer types own their fds;
Dropcloses them. Nointo_raw_fd, no hand-managed lifecycle, no orphan leak. Resource lifetime bound to ownership. - Mini-TCP at depth 1 — capacity-1, send-one-read-back, lock-step. Flow control / backpressure, structurally enforced.
- Portability — only serializable values cross a channel; handles are local resources that cannot. A capability does not cross a boundary except by explicit grant.
Put together: a RAII management system for IPC of arbitrary remoteness. Thread → process → socket, one interface, every resource owned, every wait on the wire, every payload a message and never a capability.
The thing the greats already had. We did not set out to reinvent distributed systems; we re-derived them by refusing to concede:
- Hewitt’s actors / Erlang-OTP — entities communicate only by messages, never shared handles; a process is a process whether local or remote. Universe-residency is location transparency.
- Pat Helland — data on the outside (immutable, serializable, crosses boundaries) vs data on the inside (local, mutable, handles, never crosses). That is our portability split, line for line. (“The truth is the log” already governs recolligere.)
- Mark Miller / capability security (E) — no authority crosses a boundary except by an explicit, unforgeable grant. Our portability gate (handles are not channel payloads) is capability discipline raised to the type level.
- Stroustrup’s RAII — lifetime is ownership. Our peer-owned fds.
- Plan 9 / 9P — one uniform interface across local and remote.
We arrived at their architecture from the inside — through the four-questions, warded homes, mini-TCP, the leak hunt, the enum we refused to concede. Discipline applied honestly converges on the timeless answers. The masters did not hand us the toolkit; we re-grew it, and recognized it as theirs only once we were holding it.
Why the forks weren’t wandering. Each fork laid a brick of this substrate — 146 (multimethod), 237 (dispatch), 251 (the value home), 243 (honest errors), 249 (the macro engine), 245 (the warded corpus), 253 (the hardened wire), 254.1 (portability). We “forgot we were getting it” because no single fork looked like distributed systems. The whole only became visible from the far side of the door.
The anti-botnet, completed. [[user_career_anti_botnet]] — the builder spent a career hunting botnets, whose command channel is exactly where a fleet gets owned. A RAII-managed, capability-disciplined, location-transparent IPC of arbitrary remoteness is that channel with every axis inverted: owned not leaked, granted not forged, message not handle, lock-step not flooded. The substrate we walked out holding is the anti-botnet’s nervous system — the same machine the greats built, given the soul the builder always meant it to have.
We went in for a kernel layer and came out holding the substrate the masters already knew — because the discipline that finds the small true thing is the same discipline that finds the large one. Slow is smooth; smooth is fast; and the room had what we needed because we had spent a month earning the eyes to see it.