roadmap NOT-STARTED

180. Copy and paste: a clipboard in a system with no ambient authority

Nothing else in design/ or notes/ mentions a clipboard, not even as a named limitation the way mouse support is (see milestone 179 (pointer input: a mouse in text mode)). This file is that gap's record.

Not a driver or a wiring question, as milestone 179 (pointer input) was. A clipboard is shared, mutable state that more than one principal reads and writes. This tree has a standing rule against exactly that shape (AGENTS.md, milestone 126: "enumeration is itself authority," the same posture that refused a hung-thread lookup as "list everything and find the match"). A conventional OS clipboard is ambient: any process can read whatever the last process wrote, with nothing proven. That is precisely the authority model this system exists to not have. So this cannot be scoped before that tension is resolved. Resolving it is an architect's, not a lane's. The fork is §169 (whether a clipboard exists here, and what it is scoped to), written up 2026-09-19 by milestone 435 (gated on a decision nobody wrote down)'s lane. Before that this gate named no decision. For a block whose whole finding was that nothing in the tree mentions a clipboard, that left the record one rung lower than it should have been.

What this is, in brief

Unix's xclip/pbcopy, conceptually. Select text somewhere, retrieve it somewhere else. Two acts separated in time, with no direct connection between the programs on either end. The terminal (milestone 142 (a text display)) and a pointer (milestone 179, for drag-to-select) are the two obvious sources. A paste target is anything a shell or an editor (milestone 169 (the smallest real text editor)'s kilo) accepts text into.

The tension a conventional clipboard runs into here

Every existing multi-client object in this tree is minted, held, and delegated explicitly. A directory capability is handed to exactly the principal it names (DECISIONS §117 (a principal's subtree is named by its identity string)). A channel endpoint is minted per connection (milestone 49 (users, login, attribution)'s login front door, login_contract::CONNECT). Even the compositor's shared windows are each their own object, not one global surface every client can address. A clipboard, in the form anyone has ever used one, is the opposite of all of that. One slot, last-writer-wins, readable by whoever asks, with the OS deliberately not checking who "whoever" is. That is the entire feature. A capability-shaped clipboard that required proving you were the same principal who copied something would not be a clipboard. The whole point is that the pasting program is not the copying program and the system introduces them anyway.

Shapes worth considering, none decided here

What this unblocks

Nothing yet: this is the first record of the gap, not a scoped increment. Real terminal use (copying a path from one pane, an error message from a build) is the actual motivation. It is the same "would someone live in this" axis milestone 142 already named for the display half.

Prior art

X11's PRIMARY/CLIPBOARD selections are ambient, exactly the ownerless-buffer shape this file's tension section describes. Wayland's data-device protocol is still ambient, but requires an explicit client offer/request handshake rather than X11's poll-on-demand model. That is closer to this tree's own "delegate explicitly" grain, without fully escaping the tension. Both are the shape to read before designing this, not to copy outright.

BUGS

Not started; nothing built yet to carry its own BUGS section. This file's own "tension" section is the gate.

Index row

Not a driver gap. A clipboard is shared, mutable, ambient state. This tree's whole capability model exists to not have that shape (milestone 126 (who else is running), "enumeration is itself authority"). Three candidate shapes named, none decided. A systemwide object as a named exception. Scoped to a login session under milestone 49's identity model. Or a targeted transfer that never has an ambient slot at all. Gate: DECISION.