rdy agent guide v0.57.0

Agent guide

Read why and what changed

Load this ruleset when you explain why a block says something, or read changes.

Why a block says what it says

Why: to learn why a block says what it says, call rdy_trace.

rdy_trace {id} explains a block. It lists the governing decisions, the sources it reflects, lineage, premises and questions. It also gives the landing that introduced the block, the landings that accepted each decision, and the plans those landings sealed.

  • depth takes 1 to 8 (default 3). max_tokens defaults to 1000. detail: true adds the recorded evidence.
  • frontier lists the decisions the reply did not expand: at the depth limit, or left out by a cut. To go on, call rdy_trace again and pass a frontier id as id.
  • ungrounded: true marks a stable normative block with no governing decision, no source and no reflects globs.
  • CLI: rdy trace <id>. The CLI reads canon by default, and the tool reads your view.

Governing includes the live decisions that affect an entity the block describes. A briefing's governs also lists proposed decisions, and through names the entity. A briefing adds sources and, for a decision, the findings it depends on. A briefing guards a write. Use rdy_trace for the reasons.

Neighbors. A briefing also lists neighbors: the content blocks that share a section or an entity with each covered block, same doc first. Read them before you write, because a link does not always join two blocks that must agree. neighbors_by_doc counts the full list on every page. Page with next until it is absent.

Source existence. Each source in a briefing has existence: found, missing or unchecked. It says whether rdy found the release or commit in a linked checkout. On missing, check the source's locator and tell the person.

Reading changes

  • rdy_diff {from, to?, doc?, detail?} compares two scopes block by block. With only from, rdy picks the other side: a view diffs from its base, tag: or landing: diffs to canon, and proposal:P-x@n diffs from the version's base. doc limits it to one doc or folder. detail: true adds field values and word-level body diffs. CLI: rdy diff <from> [<to>].
  • rdy_log {landing} reads one landing: its row and its change list. CLI: rdy show landing:<id>.
  • rdy_read takes scope: "proposal:P-x@n" and scope: "landing:<id>" to read a version or a past landing.
  • rdy_query {filter} selects blocks by fields and links, such as type = decision and status = live and no in implements. rdy_schema gives the grammar under filter, and a parse error names the column. CLI: rdy q "<filter>". Use rdy_search to find text.
  • Each of them pages: a cut reply carries next. Pass it as page with the same request.

Content from linked projects

The inbox

Read rdy_inbox at session start and when rdy://inbox changes, and ack what you have handled; notifications are best effort, the inbox is reliable.

Show the person their inbox with rdy_inbox {person: true}. Ack it only after they have seen it. Your own cursor belongs to your actor and run, and a new run starts at the log head.

A snapshot of rdy agent guide at v0.57.0.