Skip to content

How Ready Logic works

A room’s Ready Logic is a set of small records, each a JSON object your agent sends over the connector. Records link to each other by id. This is one of them:

{
"ready": 3,
"kind": "rule",
"id": "write.length",
"display_id": "RULE-NOTE-LENGTH",
"capability": "write",
"rule_kind": "decision",
"title": "A note stays within the length limit",
"summary": "Decides whether a note is short enough to save.",
"when": "The note is longer than the limit",
"then": "Saving is refused and the editor shows the limit",
"otherwise": "The note is saved",
"constants": ["constant.max-note-length"]
}
  • ready: 3 is the schema version; kind says what the record is.
  • id is the permanent machine name, starting with the record’s home (write.). Other records link to it.
  • constants: [...] is a link. Nothing is copied between records.

This section is the reference for Ready standard 9. New to the idea? Start with Ready Logic.

roomcapabilityowns its behaviorshareddefined once, owned by noneflowstepedgesequencerulesubjectshows ontriggerparticipantsconstantsdatainterfacetrigger · ruleactor · systemconstant · term

A capability is an outcome some actor gets. Its records link by id (dashed) to the shared records several capabilities use.

A flow is how one subject moves: an actor subject makes it a journey, an entity subject a lifecycle. Its steps are places the subject can be, and each edge is a way out, naming a trigger and the sequence it runs.

Form Record kinds Drawn as
Data schema entity, data_group An entity diagram
Flow flow, step A journey or a lifecycle
Sequence sequence A sequence diagram
Interface interface A surface or operation card

Triggers, rules, actors, systems, constants, and terms sit inside these forms. A part gets its own record when it is reused or worth finding on its own; every edge names a trigger record.

Nothing visual is stored. Ready Room draws every diagram from the links:

A journey diagram, Book a walk: a booking form screen with edges to Walk requested, Too soon to book, and No walker free, each labelled with its trigger and the sequence it runs.

A flow with an actor subject, drawn as a journey. Each arrow is an edge: its trigger, and the sequence it runs.

A sequence diagram, Save a booking: messages between Dog owner, The app, and The app's records, with alt branches for too soon and no walker free, and three outcomes leading to Walk requested, Too soon to book, and No walker free.

The sequence those edges run. Each outcome leads to the step its edge names.

Every record has one home: a capability, or shared.

Record Home
flow, sequence Always names its capability
step Its flow’s capability
rule, trigger A capability only when that one capability uses it; otherwise shared
every other kind Always shared

A capability owns the records that name it; the capability record lists none of them. A record’s id starts with its home: see Ids and parts.

A record’s home comes from its fields, never from where it is stored: a capability field puts it in that capability, and a record without one is shared. Ready Room draws and groups records by those homes.

Field Required Meaning
ready yes Always 3.
kind yes One of the thirteen kinds below.
id yes Lowercase dotted machine id, unique, starting with its home. Ids
display_id no Stable human id cited in code and tickets: RULE-NOTE-LENGTH.
title / name yes The plain-words name; each kind uses one of the two.
summary no One sentence, at most 160 characters.
rationale no Why the design is shaped this way. Markdown.
notes no Context: scope, terms, references. At most 700 characters. Never behavior.
tags no { tag, text } for a fact the format has no field for.

Unknown fields are errors (field.unknown). Fields software draws, checks, links, or searches are typed; explanations stay in rationale and notes.

Page Kinds
Room and context capability, actor, system
Flows flow, step, trigger
Sequences and rules sequence, rule, constant
Interfaces interface
Data entity, data_group
Terms and tags term

What the room itself is, its name, summary, outcome and depth, is not a record: it is the room’s details. Flows, sequences, and data groups split into parts when they grow large.

Agents that write records use the ready-logic skill, which the Ready Room plugin adds. See Validation for every check, and A complete example for a small room end to end.