Status: Accepted (2026-11-27). Implements 0022 “one op pipeline”; protocol field ClientSubscribe.mode agreed with WP-B.
POST .../ops must give exactly the WebSocket verdicts, so it has to run the realtime gateway’s own stages. POST .../client-ids must allocate from the same per-file blocks the realtime owners manage (files.next_client_id is realtime-owned, ADR 0021). The API is stateless and must not leak connections or block on a refused batch.
linora.v1, linora-rt.<token>). The token is minted for the calling user, with the same claims as POST /v1/realtime/token; kind: 'agent' and scp for PATs. Pages are subscribed with mode: 'write': no tail, no broadcasts or presence, invisible to peers. The server answers subscribed + synced at once and then only ACKs or errors.welcome{clientId, clientGrant}. The connection stays pooled under that grant, so the caller’s next batch reuses it.clientGrant requires clientSeq, and clientSeq requires clientGrant. Mixing caller and API sequence numbers on one clientId could make dedupe drop a batch.busy/rate_limited on clientSeq k, realtime refuses later batches of that clientId until k is resent. Callers with their own grant must resend k and the batches after it. The API’s default connection is dropped instead, abandoning its clientId, so it can never stay blocked.page_ops itself: a second validation path and sequencer. Rejected by ADR 0019/0022.HTTP and WS share every validation stage by construction (verified end to end against apps/realtime: identical verdicts for 7 rejection reasons). A burst of HTTP batches costs one connection per (credential, file) per replica. Each allocated clientId keeps its own connection for 10 s.