rdy agent guide v0.51.0

Agent guide

Subagents and alternatives

Load this ruleset when you use subagents or alternative sets.

Subagents and swarms

  • Give every subagent its own run, and so its own view and inbox. A write to another session's view fails with E_VIEW_OWNER.
  • The main agent reads each subagent's changes with rdy_view {op: "show", view: "<run>"}. It includes them with rdy_view {op: "include", changes: [...]}.
  • The main agent alone runs the checks, answers the plan, proposes, shows the cards and relays.
  • A subagent never attests a ruling it did not see. The main agent records the person's rulings itself.
  • A reviewer subagent uses its own actor, such as agent:alex/claude-review. rdy reads independence from the actor, not the run.
  • To copy changes without their dependencies, use rdy_view {op: "replay", changes}. It writes a new change for each listed change into your open view, as one act that one undo removes. A block whose version differs from the change's base becomes a conflict: resolve it by writing the block. CLI: rdy view replay <view> <changes>....
  • Closing a view withdraws its open proposal for good.

Before a larger change, post an intent (rdy_intent) on its area or blocks; write responses name other sessions' intents on what you wrote, and nothing is ever locked.

Alternatives

An alternative set holds two or more views that answer one question (rdy_alternatives). A proposal from a member view passes alternatives: {set, chosen} with its own member. Landing it closes the other members.

  • The version must name one proposed decision for the options it considered. Otherwise it is not ready (E_ALT_DECISION). Answer the set's question with that decision.