Load this ruleset when you hit an actor, run or daemon error.
Actors and runs
rdy checks the actor and the run of every new session. It also checks every actor that you name, such as a view owner or --relayed-by. A value outside the form fails with E_BAD_INPUT, and the fix gives the form.
An actor is human:<name>, agent:<name>, agent:<handle>/<name> or ci:<repo_id>/<name>. Your actor is always an agent: actor, such as agent:claude or agent:alex/claude-review.
A name has 1 to 64 lowercase letters, digits, -, _ or .. It starts and ends with a letter or digit.
A run has 1 to 64 letters, digits, -, _ or .. It starts and ends with a letter or digit.
The runs none, canon, inflight and work are reserved, as is every run that starts with reaffirm-.
rdy keeps the actor and the run apart. It prints them as <actor> (run <run>), never as actor/run.
An rdy_session refusal leaves your earlier session, view and subscription as they were.
role is reader, writer or reviewer, and the default is writer. A reader may pass view: "canon" to read canon by default.
A view belongs to the actor and the run that created it or first wrote to it. To act on it later, start the session with the same actor and run: run in rdy_session, or RDY_RUN for the CLI. Another run of the same actor gets E_VIEW_OWNER.
The daemon and the MCP server
E_DAEMON_START: tell the person, and follow the fix in the message.
E_DAEMON_GONE: the daemon closed the connection before it answered. A write may or may not have committed, and rdy does not retry it. When the call writes nothing, the fix says so: run the call again.
When the daemon goes away, rdy mcp answers each open call with E_DAEMON_GONE and exits. Your host must start the rdy MCP server again. Then read your view before you retry.
E_DAEMON_VERSION, or stale replies after an rdy update: ask the person, then run rdy serve --stop. It ends every session.
W_DAEMON_BUILD: the running daemon is another build of the same rdy version. When the other clients close, the daemon restarts on your build. Tell the person. To restart it at once, ask them first, then run rdy serve --stop.
A daemon that rdy started stops after 10 idle minutes, and the live site goes with it. For a long review, ask the person to start rdy serve in a terminal first.
Pack modules
E_CONFIG with invalid pack: rule <name> module ... names the rule and the first load check that failed. The fix is in the pack file. Tell the person, and change the module only when they ask.
The daemon notice pack_error: <error>; the previous pack stays loaded until the file is fixed says that a reload failed. The previous pack and its compiled rules still run. A fix of the file loads as a change.
A row rule <name> could not judge <id>: <cause> means that the module failed on that block: a trap, spent fuel, an input or output over its cap, or output that is not a check result. Its fix reads fix the module of rule <name> in the pack file, or make the rule advisory. Tell the person.
E_INTERNAL with check module host fault is a bug in rdy, not in the module. Tell the person to report it. A write stands. A propose is not ready, and the next propose runs the rules again.
{"blocks":[[{"kind":"text","value":"# Troubleshooting\n"}],[{"kind":"text","value":"Load this ruleset when you hit an actor, run or daemon error.\n"}],[{"kind":"text","value":"## Actors and runs\n"}],[{"kind":"text","value":"rdy checks the actor and the run of every new session. It also checks every actor that you name, such as a view owner or `--relayed-by`. A value outside the form fails with `E_BAD_INPUT`, and the fix gives the form.\n"}],[{"kind":"text","value":"- An actor is `human:<name>`, `agent:<name>`, `agent:<handle>/<name>` or `ci:<repo_id>/<name>`. Your actor is always an `agent:` actor, such as `agent:claude` or `agent:alex/claude-review`.\n- A name has 1 to 64 lowercase letters, digits, `-`, `_` or `.`. It starts and ends with a letter or digit.\n- A run has 1 to 64 letters, digits, `-`, `_` or `.`. It starts and ends with a letter or digit.\n- The runs `none`, `canon`, `inflight` and `work` are reserved, as is every run that starts with `reaffirm-`.\n- rdy keeps the actor and the run apart. It prints them as `<actor> (run <run>)`, never as `actor/run`.\n- An `rdy_session` refusal leaves your earlier session, view and subscription as they were.\n- `role` is `reader`, `writer` or `reviewer`, and the default is `writer`. A reader may pass `view: \"canon\"` to read canon by default.\n- A view belongs to the actor and the run that created it or first wrote to it. To act on it later, start the session with the same actor and run: `run` in `rdy_session`, or `RDY_RUN` for the CLI. Another run of the same actor gets `E_VIEW_OWNER`.\n"}],[{"kind":"text","value":"## The daemon and the MCP server\n"}],[{"kind":"text","value":"- `E_DAEMON_START`: tell the person, and follow the fix in the message.\n- `E_DAEMON_GONE`: the daemon closed the connection before it answered. A write may or may not have committed, and rdy does not retry it. When the call writes nothing, the fix says so: run the call again.\n- When the daemon goes away, `rdy mcp` answers each open call with `E_DAEMON_GONE` and exits. Your host must start the rdy MCP server again. Then read your view before you retry.\n- `E_DAEMON_VERSION`, or stale replies after an rdy update: ask the person, then run `rdy serve --stop`. It ends every session.\n- `W_DAEMON_BUILD`: the running daemon is another build of the same rdy version. When the other clients close, the daemon restarts on your build. Tell the person. To restart it at once, ask them first, then run `rdy serve --stop`.\n- A daemon that rdy started stops after 10 idle minutes, and the live site goes with it. For a long review, ask the person to start `rdy serve` in a terminal first.\n"}],[{"kind":"text","value":"> **Note**\n>\n> On Windows, rdy serves MCP over stdio, and over HTTP when `serve.mcp_http` is on, as on macOS and Linux.\n>\n> - The host runs `rdy mcp --project <directory>` with a native path, such as `C:\\Users\\ana\\shop`. Messages show plain drive paths like this one, never `\\\\?\\`.\n> - The daemon listens on a named pipe, `\\\\.\\pipe\\rdy-<hash>`, that only the person's account can open. A daemon that another account runs is refused: `the daemon on <pipe> belongs to another account (<SID>)`.\n> - `E_DAEMON_START` reads `could not start the daemon: <detail>`. Tell the person, and give them its fix.\n> - `E_IO` with `<path> is not private to this account` or `<path> is a reparse point; rdy will not follow it`: tell the person. Never change file permissions yourself.\n> - Windows refuses to move `.rdy` while its daemon runs, and the daemon serves on. Ask the person, then run `rdy serve --stop` before the move.\n"}],[{"kind":"text","value":"## Pack modules\n"}],[{"kind":"text","value":"- `E_CONFIG` with `invalid pack: rule <name> module ...` names the rule and the first load check that failed. The fix is in the pack file. Tell the person, and change the module only when they ask.\n- The daemon notice `pack_error: <error>; the previous pack stays loaded until the file is fixed` says that a reload failed. The previous pack and its compiled rules still run. A fix of the file loads as a change.\n- A row `rule <name> could not judge <id>: <cause>` means that the module failed on that block: a trap, spent fuel, an input or output over its cap, or output that is not a check result. Its fix reads `fix the module of rule <name> in the pack file, or make the rule advisory`. Tell the person.\n- `E_INTERNAL` with `check module host fault` is a bug in rdy, not in the module. Tell the person to report it. A write stands. A propose is not ready, and the next propose runs the rules again.\n"}]]}