decisions DECIDED

256. A server that keeps windows for many clients scopes each by the caller's badge

Raised at PR #1798, milestone 800 (a non-Anthropic model attacks the confinement claim).

The rulings

Two rulings, both calef's, both made on PR #1798 on 2026-10-07 (UTC).

The first, about 03:50Z, was the fix shape for the network stack's socket capture. That pass had booted the capture on all three ISAs. The shape: per-caller windows keyed by the caller's badge, name_resolver's exact shape, refusals silent, nothing folded in. Whether refusals should also become answerable was left open as a separate, smaller call about observability.

The second, about 15:03Z, is the lane's decision 2, option (i). Per-caller scoping is a written rule for every multi-client window server. The fix lane audits the remaining ones, system_log's reader windows first.

At 15:04Z calef superseded the first ruling for net_stack alone: each socket is its own capability, §255 (each socket is its own capability). That replaced how the stack names a socket. It did not withdraw the second ruling, which is about every other server, and this section records it.

The rule

Some servers map pages from more than one client and later read or write them for a client. Such a server finds a request's page by the badge on the capability the request arrived on. The kernel stamps that badge. The server never finds the page by an index, an offset or an id the client wrote in the request word.

What it rules out

Prior art

The audit

Read by milestone 649's lane and recorded in §255: system_log, the file service and name_resolver already scope by badge, and net_stack was the one that did not. The rest is milestone 823 (every multi-client window server is audited for caller scoping). At the merge a grep found servers that receive client pages and mention windows but not badges. None has been read against this rule: compositor, console, the two keyboard drivers and the swap demonstrator.

Refused