How rdy is built v0.51.0

System

The daemon and concurrency

Many agents and people work in one project at the same time. One process, the daemon, owns the store and serves them all. Writes go through one writer thread, one after another. Reads run on immutable snapshots and never wait. This page describes the daemon's life, how clients reach it and what a session is. It also describes what happens after a crash, and how events reach the agents they concern.

The daemon process

rdy serve runs the daemon for one project. It takes the store lock for its whole life, binds the socket, builds canon, and then answers ready. Every other command is a client. A client connects to the daemon and never opens the store itself.

Daemon
The daemon, rdy serve, owns the store for one project. Every CLI and MCP client connects to it, and the first CLI or stdio MCP client starts it. One writer thread serializes writes; reads run on immutable snapshots and never block.

A client that cannot connect starts the daemon. It takes .rdy/run/start.lock and tries to connect once more. If that fails, it spawns rdy serve --detach in a new session, with its output in .rdy/run/daemon.log. It then waits for ready, up to serve.start_timeout (30 seconds by default). Two clients never spawn two daemons, because only the holder of start.lock spawns. If the daemon does not come up, the client fails with E_DAEMON_START and quotes the log's last lines.

Liveness is "connect succeeds", and only a daemon removes the socket. A dead daemon's socket refuses connections, so the next client starts a new daemon. The new daemon replaces the stale socket only after it holds the store lock.

A client may test whether the store lock is held, with a non-blocking try that it releases at once. It does so only to wait for a daemon that is starting or exiting, and to name a silent holder in a refusal. A client also keeps waiting while .rdy/run/daemon.pid names a live process. rdy serve --stop and rdy load trust that pid only when it equals the pid of the process at the other end of the socket. A daemon that stops holds .rdy/run/start.lock from before it removes its socket until it exits, and a load holds it from its target check through its placement. So a load or a new daemon waits for an old writer's drain.

A stopping daemon may find the .rdy that it bound with still standing. It then takes the start lock only if that file exists, and it makes nothing in the project, so a delete of the project finishes. With no start lock file there, the daemon keeps its run files until its writes in flight end. A person may delete only .rdy/run during a drain and make a new store in that .rdy. A new daemon can then start before the drain ends.

A detached daemon exits after serve.idle_timeout with no connections (10 minutes by default). A live page in view counts as a connection, and a page in a background tab does not. A foreground rdy serve never idles out. rdy serve --stop asks a running daemon to drain and exit, and waits up to 120 seconds for it to exit. Both settings live in the project config. Settings have their home in Configuration. After a client of another build, the daemon exits at its last connection with no idle wait.

Each connection opens with a hello that names the client's binary version. A daemon of another version with no other clients exits, and the client starts its own. With other clients connected, it refuses with E_DAEMON_VERSION, and the fix is to close the other sessions or run rdy serve --stop. An open live page, a running MCP over HTTP call and an open listen do not count as clients for this check.

rdy serve --stop reaches such a daemon with a stop signal to its process. It sends the signal only when the socket record, the refused connection and the pid file tie that process to this project. With the same version and another build, the build rule below applies.

Every build carries a build id. A build script hashes, with BLAKE3, the workspace Cargo.toml and Cargo.lock and every regular file under crates/, tests and assets included. It sets RDY_BUILD to the first 16 hex digits. The hash frames each file's relative path and bytes, in sorted path order. It takes no timestamp, mode, absolute path, compiler or machine fact. So the same sources give the same id on every machine. The id hashes bytes as stored, so a checkout that converts line endings gets another id.

The hello and the ready reply carry build. The daemon checks the version first, then the build. With the same version and another build, a daemon with no other connection exits to be replaced, and it logs build replaced. With other connections, it serves the client, warns W_DAEMON_BUILD, and exits when its last connection closes. A later client of the daemon's own build does not cancel that exit.

A connection counts from its accept, before its hello. Site connections and live pages do not count, but a running MCP over HTTP call or an open listen does. A build difference never makes rdy signal a process.

The CLI prints the warning on stderr. Over MCP it shows once per actor and run while the daemon keeps that actor and run's settings: until one hour after its last call, or until the daemon restarts. The reply's warnings carries it on the first bound tool result, refused or not. Discovery calls, unclaimed calls and resource reads do not take it. A claim by _meta alone records the warning and saves no view or role. With 1024 saved entries and none for this actor and run, the reply warns and records nothing, so the warning can repeat. It never causes E_LIMIT. Standalone stdio never warns.

The daemon reloads the project config and the packs when their files change on disk. It checks before each write, on each new connection and on each load of a live page. It detects a change by size and modification time. It hashes a file whose modification time is too recent to trust, so two quick writes of the same size are never missed. A pack that fails its check is not loaded. The daemon keeps the previous pack and reports the error on every reply until the file is fixed.

One writer and snapshot reads

Inside the daemon, one writer thread owns the store's write half and the mutable project state. Every write is a message to it: a commit, a view operation, a proposal, a landing, a tag, an import. Writes run in arrival order, so no two writes interleave.

After each write, the writer publishes an immutable snapshot of the project behind an atomic pointer. The snapshot holds canon, every view, the graph cells and the event sequence. A read takes the current snapshot and runs on a pool. It never takes the writer's lock, so a read never blocks and never waits for a write. The snapshot's maps share structure with the previous one. So a publish after a write costs the size of the write, not the size of the project.

A hub request never goes to the writer, because it writes nothing to the store. A tool or a daemon op that calls a hub runs on the blocking pool, as every tool and op does. So a hub call that waits, for a slow hub or a touch on a security key, never blocks another session or client.

Requirement

The writer publishes the new snapshot before it acknowledges the write, so a read sent after the acknowledgement, on any connection, sees the write.

Constraint

Every check that decides a landing runs on the writer, against the writer's current state, in the same critical section as the landing's batch write.

A check that a read reports, such as the issues rdy propose lists, is a preview. Nothing can slip between the gate's check and the write. The gate has its home in "The gate and approvals" in the rdy documentation.

--no-daemon, or RDY_NO_DAEMON=1, opens the store in the command's own process. It exists for tests, CI and recovery. It fails with E_LOCKED while a daemon runs, and a daemon cannot start while such a command holds the store. rdy init, rdy check and rdy pack check need no store and never touch the daemon.

Transport and attach

Each project has one local socket. It is .rdy/run/rdy.sock when that path fits the system limit of 103 bytes, else /tmp/rdy-<uid>/<hash>.sock, with a hash of the project's canonical path. That directory must be a private directory of this user, or the client fails with E_DAEMON_START. Every other run file stays in .rdy/run/, and the run/ directory is private to the user too. The daemon accepts a connection only from the same OS user. Anything else is closed with no reply.

The daemon records the socket it bound in .rdy/run/daemon.sock, with the device and inode of the project's .rdy directory. A client connects to the recorded socket first, so two spellings of one project path reach one daemon. It follows the record only when that pair matches its own .rdy, so a copied or restored project never reaches the original's daemon. With no record, or a record of another .rdy, the client computes the socket's place itself. The daemon removes the record when it exits cleanly.

A daemon checks that the project's .rdy directory is still the one it serves. It reads the directory's device and inode at each hello and on its idle tick. When the directory is gone or is another one, the daemon refuses the client with E_DAEMON_START and stopping: true. It removes its socket, its record and its pid file while they still name it, and it exits without a write to its store. The client then retries once, which starts the project's own daemon.

The first line on a connection is a hello: {"rdy":1,"version":"…","build":"…","proto":"mcp"|"ctl","cwd":"…","project":"dev:ino"}. The hello picks one of two protocols. project is the device and inode of the client's .rdy directory. A daemon refuses a hello from another project with E_DAEMON_START. build is the client's build id, and both sides ignore unknown fields.

Table 1
ProtocolWho uses itShape
mcpagentsthe connection becomes an MCP server session
ctlthe CLI and the working copyone JSON request per line, one engine operation each, replies in request order

Both protocols call the same engine operations one door. ctl is not a public API; it may change between versions, and the hello's version check covers it.

rdy mcp is a stdio-to-socket proxy. A harness configuration stays rdy mcp --project <dir>, and the proxy starts the daemon if none runs. It refuses an over-long request line before the daemon sees it. It keeps replies in order: one task pumps stdin to the socket and one pumps the socket to stdout.

At stdin's end of file, the proxy keeps its side of the socket open until each tool call it sent is answered or cancelled. Until then, it still answers their signing requests with the caller's SSH agent. Then it closes its side, and the daemon ends the session in order. When the daemon closes the socket first, or a write to it fails, the proxy answers each unanswered request with one E_DAEMON_GONE error and exits 1.

The CLI sends ctl requests, and every command that needs the store goes through the daemon. These include status, show, approve, render, export, import, dump, reindex and fsck. A clone of a project goes through that project's daemon. rdy load and a clone of a dump file run in their own process.

The daemon also serves the live site over HTTP, on loopback TCP beside the socket. It binds the site only after it owns the project: it holds the store lock and has bound and recorded the socket. It listens on 127.0.0.1, and also on [::1] at the same port when it can.

The port comes from a hash of the project's canonical path, in the range 49152 to 65535. When that port is busy, the daemon tries the next 15. When all 16 refuse, it binds a port that the operating system assigns, and logs site: ports P..P+15 refused; using OS-assigned port N. serve.site_port pins one port with no fallback. With no free loopback port, the daemon runs without a site and logs why, and rdy_site fails with E_SITE.

A profile-only site adds a listener of its own for each profile. Its port comes from the project path and the profile's key, with the same next 15 ports, and serve.site_port never pins it.

Each HTTP connection runs the project check of a hello, and again when its request head arrives. A gone or replaced project gets no reply, and the daemon exits.

The site's pages are read-only: it answers GET and HEAD and serves a closed set of routes. Two routes differ, on the loopback listeners only. While serve.ui is on, they take POST /~ui/answer, and while serve.mcp_http is on, they take POST /~mcp. These two are the only routes with a request body. The UI has no login: it trusts every request that passes the Host check and, for a POST, carries the loopback origin. The LAN listener and profile-only listeners answer /~ui/ as any path with no page.

The site answers only a Host of 127.0.0.1, localhost or [::1] with its port, or the bound LAN address with its port. It also refuses an Origin that is not one of its own pages. It serves at most 64 connections and 32 live pages at once, and a request head holds at most 8 KiB.

With serve.site_lan: true, the daemon also binds one private IPv4 address on the same port. It takes serve.site_lan_address, else the private address of the default route. It never binds a wildcard address or a public one. It logs the W_SITE_LAN warning, and every rdy_site and rdy site reply carries it. When the machine has no private address, or the bind fails, the site stays on this machine, and the warning says why.

The daemon also serves MCP over HTTP, on the live site's loopback listeners and port. It serves while serve.mcp_http is true in the user or local config and the project's token is usable. The route is exactly POST /~mcp, and a query, an encoded spelling or a trailing slash makes an ordinary site path. The LAN listener and profile-only listeners never serve MCP. There, and while the setting is off, /~mcp is a path with no page.

rdy checks each request in this order: the Host, the Origin, the token, the method, then the request body. The Host must be one 127.0.0.1, localhost or [::1] with the listener's port, else the reply is status 403. Any Origin header gets 403, so a browser page never reaches MCP. A request needs exactly one Authorization: Bearer <token> header with the project's token, and no cookie. Without them, it gets 401 and WWW-Authenticate: Bearer. With a valid token, any method but POST gets 405 and Allow: POST.

rdy checks the token before it reads a request body, so only a process with the token makes the daemon read one. A request body holds at most 16 MiB, as on stdio, and a larger one gets 413. Ambiguous framing or a control character in a header gets 400. The request body must arrive within 10 seconds of the head, else the connection closes with no reply. Each connection carries one request and closes after the response. The site's limit of 64 connections counts /~mcp too.

The token lives in the private file .rdy/run/mcp-token: 32 random bytes, written as 52 uppercase base32 characters and one line feed. A daemon makes it at its first start, under the start lock and before the site binds. Later starts read it and keep it, so a restart, a stop or a new build never rotates it. rdy never replaces a file that fails the check. MCP over HTTP is then unavailable, and the site, ctl and stdio still serve. Only rdy mcp --http-config prints the token, and no log line, status, reply or tool shows it.

rdy believes the file only when it is a regular file of this account with one name, opened without following a link. On Unix its mode must be exactly 0600. On Windows it takes a protected user-only ACL through the sys seam. Both platforms run the same HTTP code for routes, the token, claims, starts and stops. The socket, or the named pipe on Windows, stays the private ctl and stdio transport, and HTTP never passes through it.

The endpoint's URL uses the port that the site has bound, so the URL stays the same only with serve.site_port. The token proves a process of this OS user only while rdy holds the port. While rdy is down, or after the port moves, a process of another account can bind the old port. A client with a saved URL then sends that process the token. rdy accepts this risk.

Over HTTP, rdy serves the MCP revisions 2025-06-18, 2025-11-25 and 2026-07-28, all stateless, and stdio keeps every revision. Each request names its revision in MCP-Protocol-Version. Only initialize may leave the header out, and then its request body names a served revision. Any other revision gets status 400. rdy issues no Mcp-Session-Id, cookie or login, and it keeps no event log, so it never sends a missed event again. Over HTTP, only 2026-07-28 puts rdy's card to the person, and an older revision's ask gets E_ELICITATION_UNAVAILABLE.

No caller's SSH agent reaches the daemon over HTTP, and the daemon lends none of its own. So a tool that signs, such as rdy_sign or rdy_key_bind, fails with E_NO_AGENT, as on stdio with no agent.

A running HTTP call or an open listen counts as a client, as an open socket does. While one runs, the daemon neither idles out nor leaves for a new build. A finished call, saved settings and an idle connection do not count. HTTP never starts a daemon: after an idle exit, a client runs an rdy command, such as rdy mcp --http-config, to start one. A stop first closes HTTP admission, so a new request gets no reply, and every open listen stream ends. A started call runs to its end under the writer's rules, and the pid file stays until it ends.

Table 2
BoundLimitPast the limit
Request body16 MiB (16777216 bytes)status 413
Request head8 KiBstatus 431
Site connections, for pages and MCP together64the site's busy reply
Body arrival after the head10 secondsthe connection closes with no reply
Waiting calls of one claim8, beside the call that runsE_LIMIT
Saved actors and runs, stdio and HTTP together1024E_LIMIT
Saved settings with no call1 hour after the last callthe settings expire
Open listen streams32 per daemonE_LIMIT
Resource URIs in one listen filter128, each at most 4096 bytesE_LIMIT
Queued URIs of one listen64 distinct; a repeat adds nothingthat listen's stream closes
Setting check of an open listenevery 15 secondsthe stream ends when serve.mcp_http is off

Sessions

On stdio, a session is one connection to the daemon past its hello. Over HTTP, a session is the actor and run that a call claims, not a connection. It holds an actor, a run, a role and a default view. All provenance comes from the session, never from what a writer declares in a change. On stdio, a call with no _meta takes the connection's first claim, by rdy_session or by _meta.

Run
A run is one execution of an actor, such as one agent process. Provenance names actor and run, and a different run of the same actor is not an independent reviewer.
Session
A session is one socket connection to the daemon, from the CLI or from rdy mcp. Over HTTP, a session is the actor and run that a call claims. It holds actor, run, role, default view, declared areas and an inbox subscription. An MCP session starts with its first claim, by rdy_session or by a call's _meta; a CLI session is a human session when its actor is the configured human actor.

A run is 1 to 64 characters of letters, digits, -, _ and ., and it starts and ends with a letter or digit. A run may use upper case, because a run is never a trust principal. A run is never none, which a statement uses for an absent value. It is never a reserved view name either, such as canon, inflight, reaffirm-… or adopt-…, and never work, the person's view. cli stays the person's run. rdy checks the run at every new session, never on a stored record.

Human and agent sessions

The human actor is actor in the user config or in this project's local config. Without one, the human actor is human:$USER shaped into rdy's actor form. rdy lower-cases $USER, writes each other character as - and folds runs of - into one. It cuts the result to 64 characters, then drops -, _ and . at each end. An empty result gives human:unknown. A configured actor outside the form is refused with E_BAD_INPUT, and the fix names the config file.

A ctl session is a human session when its actor is that human actor, and its run is cli. A human session may take the approver role for approve and tag. A writer session imports into a view, and a landing that carries an imported decision status needs a person.

Approver
An approver is a session with the approver role: a human at the CLI or the local UI. Only human sessions hold it; an agent session never does.
Role
A role is what a session may do: reader, writer, reviewer or approver. Only human sessions hold approver.

An MCP call states its actor, run and role in _meta, as rdy/actor, rdy/run and rdy/role. That claim names the session for the call. rdy_session(actor, run, role?, view?, areas?) is an optional call that makes the same claim and saves the default view, role and areas for its actor and run. On stdio, the first claim, by either path, binds the connection. A later claim of another actor or run is E_BAD_INPUT.

rdy checks the actor against the actor form and the run against the run form, and it refuses a human: actor with E_PERMISSION. approver is refused over MCP. A session may call rdy_session again to change its view, role or areas. The provenance of each change comes from the session at that moment.

Over HTTP, every call states its own claim: rdy/actor and rdy/run in _meta, or for rdy_session its own actor and run. A call with neither is E_NO_SESSION, because no request takes the claim of an earlier one. When the arguments of rdy_session and its _meta name different actors or runs, the call is E_BAD_INPUT. The tool list and other discovery need no claim. A call's rdy/role holds for that call only, then the saved role applies, else writer.

rdy keys the saved settings, read pages and warnings shown once by actor and run. No TCP connection, request id, token or revision names a session. The settings expire one hour after the last call that used them, and a daemon restart drops them. One registry holds at most 1024 actors and runs, for stdio and HTTP together. The projectless rdy mcp stays on stdio: it has no site, no HTTP endpoint and no token.

Over HTTP, the calls of one claim run one at a time, with at most 8 waiting. A tenth call at once is E_LIMIT: this HTTP claim has 8 calls waiting. A waiting call whose client closes its response leaves the queue and never runs. A call that has started runs to its end, even when its response is gone, and rdy never runs it again. Calls of different claims run side by side, and their writes go through the one writer.

An agent that uses the CLI as a tool sets $RDY_ACTOR, and optionally $RDY_RUN. A ctl request whose actor is not the human actor opens an agent session: writer role, reviewer if asked, never approver. So an agent that runs rdy new doc is recorded as itself, never as the human. A request whose actor is another human: actor is an agent claiming a person, and rdy refuses it with E_PERMISSION. An agent session that runs rdy approve is refused with E_PERMISSION, unless it relays a person's approval with --relayed-by naming its own actor. The landing then names the human actor as the approver, and the agent session's actor and run as the relayer. A human session that passes --relayed-by is refused, because only the relaying agent records a relay.

An agent session lands a ready version that the authority policy accepts with rdy land <P-x@n>. The landing records assurance: policy and the agent's provenance, with no relay fields. A human session that runs rdy land is refused with E_BAD_INPUT, and the fix says to approve with rdy approve. A reader session is refused with E_PERMISSION.

Constraint

Only a human session holds the approver role; an agent session never does.

Same-OS-user local access is the trust boundary on one machine. The live site's loopback port has no such check, so any user of this machine can read the served docs and, while serve.ui is on, answer cards through the approver UI. The client declares its actor and run, so the record is honest for clients that do not lie. Verified identity is rdyhub's.

Views and ownership

A view records its owner, the actor and run that created it. A non-human session may commit, include, exclude, undo or close only in views it owns. Doing so in another session's view fails with E_VIEW_OWNER, and the fix is to fork it, or to include its changes into your own view. Reads, forks and compares work on any view. A human session may change any view, and may reassign ownership with rdy view own.

Default views keep agents out of each other's way. An MCP session's default view is derived from its run. An agent at the CLI gets work-<actor>, with : written as -. A human at the CLI gets --view, then the working copy's bound view, then work. Agents never default to work, which is the human's view. Views have their home in "Canon, views and proposals" in the rdy documentation.

Crash recovery

The writer acknowledges a write only after the log fsync, so a daemon killed at any point loses no acknowledged write. On start-up the daemon repairs a torn tail, catches the index up from the log, rebuilds the derived state and only then accepts connections. The store's part of this has its home in durability and crash recovery.

A client with a request in flight sees a closed socket as E_DAEMON_GONE. A write whose acknowledgement was lost may or may not have committed. The error says so and names rdy status or rdy_overview to check. Writes are never retried automatically, because a retry could duplicate a write that did commit.

rdy reindex, rdy fsck, rdy compact and the byte report of rdy status --json run inside the daemon, on the writer thread. Other writes wait while they run; reads continue from the last published snapshot. The codes have their home in "Errors and warnings" in the rdy documentation.

Events

Every committed batch emits events from the writer, numbered by the batch marker's position in the log. The order is total and durable. Events are derived from the batch's own frames, so a replay of the log reproduces them exactly, and rdy reindex rebuilds them. The tension and suspect events come from the batch's TRANSITION record.

Event

An event records what one committed batch did. The kinds are:

  • a change committed, a view op, a view rebased and a view closed;
  • a proposal and a landing;
  • an intent posted and an alternative set changed;
  • a tension dismissed and a verdict submitted;
  • a tension opened or resolved, and a suspect new or gone, from the batch's TRANSITION record.

The inbox and notifications read events, and a replay of the log reproduces them.

Table 3
EventWhen
change_committeda change entered a view
view_opa view was created, forked, included into, excluded from, undone or reassigned
view_rebaseda view rebased onto a new canon, with its new conflicts
proposeda proposal version was written
landeda proposal entered canon
tension_opened, tension_resolveda tension opened, or was resolved or dismissed, as the batch's TRANSITION record logs it: {tension, kind, severity, sides, rekey, why}
tension_dismisseda review dismissed a tension: {tension, vkey, review, actor, run}
review_submitteda reviewer recorded a verdict on a candidate pair: {review, pair, verdict, actor, run}
intent_posteda session posted the first version of an intent
suspect_new, suspect_gonea suspect in canon appeared or disappeared, as the record logs it: {block, target, reason, writers, why}
alt_set_changed, view_closedan alternative set changed, or a view closed with its reason

A reload of the config or packs sends pack_changed to every connected session as a notice on its next reply. The notice is transient and is not an event in the log. A reload that changes tensions or suspects logs those transitions in a batch of its own. After a reload, the daemon also notifies rdy://pack and rdy://project to the sessions subscribed to them. The CLI prints a notice as notice: <text> on stderr.

The inbox and notifications

The inbox lists the events that concern one session. rdy keys each inbox by the session's actor and run, and keeps it across restarts. The session's scope is its in-flight changes, the blocks they write or cite, the views it owns and its areas. Its areas are the ones it declares, or else the areas of the blocks its in-flight changes write.

The inbox gets an entry when:

  • a tension opens on one of the session's in-flight changes, no longer involves them, or a review dismisses it;
  • a canon suspect appears on, or leaves, a block that the session's in-flight changes write or cite;
  • a proposal from a view the session does not own lands and changes blocks in its areas;
  • a landing rebases one of the session's views with conflicts, or one of its views closes;
  • an alternative set with one of the session's views as a member gets a new version;
  • another session posts an intent on blocks that the session's in-flight changes write, or on one of its areas;
  • another actor commits a change with review requests that a reviewer session may claim.
Inbox
The inbox is a session's durable stream of the events that concern it. Its entries cover tensions on its in-flight changes and suspects on the blocks they write or cite. They also cover review requests it may claim, landings and intents in its areas, and changes to its views. rdy_inbox reads it from a cursor; notifications are best effort, and the inbox is the reliable path.

The ref inbox/<actor>/<run> holds the session's subscription: its cursor, its declared areas and its role. A new subscription starts at the head of the log. Each write batch logs the tension and suspect transitions it caused, as a TRANSITION record in the same batch. A reload that changes them writes a batch of its own, and so does a daemon start after the pack or the rdy build changed. The inbox reads these transitions like any other event, so a read lists every transition since the cursor, with no cap. rdy reindex rebuilds the open tensions and suspects from these records.

rdy matches entries against the stored subscription and the current state, never against the live connection. A reconnect or a crash therefore yields the same entries. A review_requested entry is computed at read time; it is not an event in the log. rdy refuses a declared area that the pack lacks with E_BAD_INPUT, and the fix lists the pack's areas. A person's cursor is inbox/<human>/cli. A person declares no areas, so the areas of the blocks the person's in-flight changes write apply.

An agent reads its session's inbox with rdy_inbox, and acks the entries it has handled. With person: true, the agent reads the person's inbox and shows it in chat. When the person says they have seen it, the agent acks it, with no relay evidence. rdy inbox [--ack] is the CLI fallback.

After each sealed batch, the daemon sends MCP resource notifications, each only to a session that subscribed to that resource:

  • rdy://inbox when the batch gives the session an inbox entry;
  • rdy://view/{name} when an event names that view;
  • rdy://doc/{id} when a commit or a landing writes the block the URI follows, or a block in the doc it follows;
  • rdy://proposal/{id} when a version of that proposal is written or lands;
  • rdy://project on every landing;
  • rdy://pack and rdy://project after a reload.

The daemon decides from the subscriptions that the writer read after the seal, never from an open batch. rdy resolves a doc URI when the session subscribes: a doc follows every block in it, and any other block follows itself. Each URI reaches a session at most once per batch. A connection that no claim has bound, by rdy_session or by _meta, gets no notification.

Over HTTP, notifications belong to the actor and run that listens, not to a connection. Only a 2026-07-28 client gets them. It sends subscriptions/listen as a POST /~mcp, with its claim and a filter of resource URIs. rdy holds the response open as an event stream. Closing that response cancels the listen. A listen with no claim is E_NO_SESSION. The older revisions get no notifications over HTTP.

Each listen request has its own sink, so two listens of one actor and run never replace each other. A daemon holds at most 32 listen streams. Past that, a listen gets E_LIMIT, with the fix cancel an older subscriptions/listen request. A filter holds at most 128 URIs of at most 4096 bytes each. rdy refuses a listen before it acknowledges it, so a refused listen opens no stream.

A listen queues at most 64 distinct URIs, and a repeat of a queued URI adds nothing. One more distinct URI closes that stream alone. rdy never sends a missed event again, so after it reconnects, a client reads its resources or the inbox again. A stream also ends at a daemon stop, or when a check finds serve.mcp_http off.

Constraint

Notifications are best effort; the inbox is the reliable path.

Many harnesses do not surface notifications reliably, which is why the same events queue in the inbox. The tools have their home in "MCP tools" in the rdy documentation.

A snapshot of How rdy is built at v0.51.0.