rdy agent guide v0.54.0

Agent guide

Troubleshooting

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.

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 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.