Skip to content

Ids and parts

Every record has an id for links and, often, a display_id for people.

{
"id": "write.write-note.type", // machine name: links use this
"display_id": "RULE-NOTE-LENGTH", // human name: code comments and tickets cite this
}
writewrite-notetype..capability(its home)flowstep

A step’s id is its flow’s id plus its own name, so a flow’s steps read together.

  • Lowercase segments of a-z0-9, joined inside a segment by - or _, separated by ..
  • Unique in the room, and stable once anything cites it.
  • Links always use the target’s id. A display id in steps, to, trigger, rules, invokes, or capability is a ref.missing error.

The validator checks the first segment (record.id):

Record Starts with Example
capability its own short name write
flow, sequence, capability rule, trigger its capability write.write-note, write.save-note
step its flow’s capability write.write-note.type
entity, data_group data. data.notes
interface interface. interface.editor
shared rule, shared trigger rule., trigger. rule.own-notes, trigger.archive-note
actor, system, constant, term actor., system., constant., term. actor.writer, constant.max-note-length

A record that moves home, such as a rule a second capability starts to use, takes a new id.

Optional, unique across all ids and display ids (display.duplicate), and put on the records people cite. Steps rarely need one.

Prefix Kind Prefix Kind
CAP- capability TRIG- trigger
FLOW- flow ACTOR- actor
SEQ- sequence SYS- system
DATA- entity, data group CONST- constant
IF- interface TERM- term
RULE- rule
// RULE-NOTE-LENGTH
if (text.length > MAX_NOTE_LENGTH) throw new NoteTooLong();

Search and deep links in Ready Room accept either name.

Split a flow over 12 steps (size.flow) or a sequence over 16 messages (size.sequence), or one that mixes phases people read separately. Data groups can split too.

library.browseoverviewlibrary.archivepartpartspart_of

Both directions must agree (part.mismatch). The overview diagram is drawn from the parts.

{
"ready": 3,
"kind": "flow",
"id": "library.browse",
"display_id": "FLOW-LIBRARY",
"capability": "library",
"title": "Browse notes",
"summary": "The writer reads their active notes, newest first, archives the ones they no longer need, and brings archived ones back.",
"subject": "actor.writer",
"steps": ["library.browse.list", "library.browse.archived"],
"parts": ["library.archive"]
}
{
"ready": 3,
"kind": "flow",
"id": "library.archive",
"display_id": "FLOW-ARCHIVE",
"capability": "library",
"title": "Browse the archive",
"summary": "The writer opens their archived notes and restores one to the active list.",
"subject": "actor.writer",
"part_of": "library.browse",
"steps": ["library.archive.list", "library.archive.restored"],
"entries": [
{
"label": "Open the archive",
"from": "library.browse.list",
"to": "library.archive.list",
"trigger": "library.open-archive"
}
]
}
  • The overview keeps its id and display_id, lists parts in reading order, and holds what applies to the whole.
  • Each part is a complete record of the same kind with its own id, title, summary, and part_of. A flow part’s steps name the part as their flow.
  • Parts link onward directly: a sequence part ends with continue: { to: <next part> }, a flow part has entries from the overview’s steps.