rdy documentation v0.60.0

Overview

Principles

Seven principles shape every part of rdy. They say what rdy promises and what it never does. Each one below comes with a short account of what it means when you work.

1. One door

Every operation goes through the engine. The CLI, the MCP server and rdyhub are thin interfaces over it, and no interface gets a shortcut.

In practice: everything a person can do at the CLI, an agent can do through a tool call. The chat path is primary: a person works through an agent, which relays their words where a human act is needed. The CLI is the fallback, and no feature relies on it. Both meet the same checks and leave the same audit trail. A command and a tool that do the same thing give the same answer, because they run the same code. rdyhub embeds the same engine and does not reimplement its rules. "Architecture" in How rdy is built shows the parts.

2. The store is the only source of truth

The store under .rdy/store/ holds every block version, change, landing and decision. rdy reindex rebuilds the graph, the search index and every other derived state from it, and the site renders from it.

In practice: nothing you look at is authoritative except the store. The working-copy files are a checkout, and nothing in them reaches the store until you commit. The site is a rendering. If an index or a site ever disagrees with the store, the store wins and rdy rebuilds the rest. "The store" in How rdy is built describes how history is kept.

3. Event-driven

Every committed change emits an event. Derived state, checks and notifications update incrementally from events.

In practice: a suspect appears the moment the block it depends on changes, not at the next full scan. A session's inbox fills from the events that concern it: tensions on its changes, landings in its areas, suspects on blocks it writes or cites. Nothing polls, and nothing waits for a nightly job. "The daemon and concurrency" in How rdy is built covers events and the inbox.

4. Compute what gates; the gate never judges

The gate checks only facts rdy can compute from the store. What it cannot check, a person approves, with the computed facts shown beside the author's words.

In practice: rdy computes blast radius from the graph, and nobody declares it. Provenance comes from the session, never from what a writer claims. The proposer declares reversibility, the card shows it as a fact, and the person who approves decides. No agent verdict is a gate requirement, in rdy or on rdyhub. Agent checks are tools for the author; they inform, and a verdict never refuses a landing on its own. The gate and approvals lists exactly what the gate checks.

The authority policy names the areas where a declared two_way decision may land without a person. Policy approvals describes them. A decision declared one_way, or with no reversibility, always needs a person. The card still shows the declared value as a fact.

5. Conflicts and tensions are data

Commands succeed and report what they found. Only the gate refuses.

In practice: a change that collides with another agent's work does not fail. The view records a conflict, keeps both sides, and reads the block as its base version, marked. A tension between two blocks is a record with sides and a status, not an error. You resolve it with a change or a decision, or dismiss it with a recorded review. Only a blocking tension stops a landing, and only at the gate. Suspects and tensions describes tensions, and Canon, views and proposals describes conflicts.

6. The log is append-only; history is superseded, never rewritten

Every change is an entry in the log, and no entry is ever rewritten or removed. Abandoned changes and unchosen alternatives remain as history.

In practice: a decision is never edited after it is accepted. A new decision supersedes it, and the old one stays, with the computed status "superseded". A landing is never undone by a rewrite of the chain; a revoking decision undoes its effect from then on. rdy undoes a view operation with its inverse, and the operation log keeps both. Even a large reversal keeps the originals: a replay adds a replacement landing and marks the originals as replaced. A human corrects a wrong approval forward with a dispute, never by removal. A person opens and resolves a dispute on a landing. A dispute shows on the landing and never blocks. Decisions covers supersession.

Content may leave the store. A redaction drops the bytes of what it names and keeps their hashes, and the redaction is itself an entry in the log. The log still verifies, and it shows that something left, who removed it and why.

7. Model-free core

rdy does everything deterministic and prepares case files for semantic judgment. Agents judge.

In practice: there is no model inside rdy. It computes impact, suspects, tensions, coverage and the gate's checks. When a judgment is needed, such as whether two blocks contradict each other, rdy gathers a case file and a connected agent gives the verdict. A verdict is a record; it informs and never gates. This is why rdy runs offline, gives the same answer every time, and costs nothing per operation.

What follows from them

Three rules follow from the principles, and the rest of this documentation leans on them. The site and the working-copy files are for people. Agents read and write only through tool calls, because the tools are where the briefing and the consequences are. Core keeps records and rules; sync, identity and publishing belong to rdyhub. Until Release 1 (rdy 0.47.0), preview releases included, it fixed forward: no format kept compatibility with an earlier one, and rdy refused an older store. From Release 1, each breaking change comes with an upgrade path. The one exception is the dump format, which every later rdy reads, so a project moves to each new store format.

A snapshot of rdy documentation at v0.60.0.