decisions AMENDED

230. Badged endpoint capabilities: how a server learns which client's frame a request is in

Section number provisional until the merge queue lands it. §221 (the boot prompt is the owner's console) landed with #1340, and §222 to §229 are claimed by open pull requests (#1350, #1359, #1361), so this took the next free number on 2026-09-26 and may move at merge. The file name is a maintainer's coinage and provisional too.

Raised 2026-09-26 by lane milestone/fs-client-page (pull request #1358), for its milestone, a frame per filesystem client channel. That milestone is provisionally numbered 599 and its block is not yet on main. The fork, its premise check, the analogous cases in the tree and the cost figures are in notes/a-frame-per-filesystem-client-channel.md, which lands with that lane's pull request. It is not linked relatively because it is not on main yet; whoever lands the second of the two can make it a relative link. This section records the ruling and does not restate the note.

The ruling

calef, 2026-09-26 (UTC), asked "A, B or C?": "A". Recorded by the maintainer at 17:27Z the same day; that is the time of recording, not of the ruling.

Option A is badged endpoint capabilities, seL4's answer:

This is a change to the system call surface under §10 (process model: capability-based, microkernel), and it fits that model. The badge is a property of a capability, minted by a holder with the right to derive one, and nothing about IPC gains a side effect. Each new method's semantics are recorded here or in the section the implementing lane owes, per §10's rule, before the method ships.

What this settles, and what it amends

What it costs

From the note, computed from constants in the tree and not measured on a boot:

Refused

What happens next

The lane's milestone block (provisionally 599) is not on main; it lives on the lane's branch. Updating its gate to name this ruling is left to that lane. The lane builds the mint method and the RECV_CAP return under provisional names, on every supported architecture per §19 (architectural parity is a tenet). Milestone 47 (navigation and naming)'s set grant at the prompt is unblocked once it lands.

Amendment (milestone 613, 2026-10-03): a plain SEND carries its capability's badge, on RECV too

Recorded at merge by the maintainer. The 2026-10-03 security audit found the wire had changed and this section had not (finding 1 of 2026-10-03-eight-constants-and-thirteen-components.md). The ruling is calef's, on #1494 at 05:04Z on 2026-10-03 (UTC): yes, a plain SEND delivers its capability's badge to RECV in x3. The code is commit 4feaf0dc2 (2026-10-03 04:30Z), landed with milestone 613 (a system log service: the in-memory half).

No new method, number or refusal. A server written against the text above this amendment that treats a non-zero x3 on RECV as a fault or as corruption is wrong since 2026-10-03. The test is a_plain_send_arrives_with_its_capabilitys_badge_on_recv_and_recv_cap, and abi::rendezvous::RECV's doc carries the same contract.

Amendment (milestone 726, 2026-10-03): a server's window lookup refuses a nonzero badge it has no window for

Recorded by the maintainer's delegate, as the maintainer authorized. The ruling is calef's, on 2026-10-03 (UTC), option 1 of the proposal that became milestone 726 (an unknown badge fails closed in subtree_scope): "Fail closed in the crate."

No new method, number or wire format. A spawner that mints a badge past a server's pool now hands its child a capability that is refused, where it used to hand it everything.