Validation
Ready Room checks every change your agent sends, with update_workspace or
propose_workspace_change, against Ready standard 9 (ready: 3) before it
saves the change or stages it for your review. A change with errors is
refused and nothing is saved; the answer lists each issue with its record,
code, and message, so your agent can fix it and send the change again:
[ { "severity": "error", "code": "flow.subject", "message": "subject points to missing actor.writr", "id": "library.browse" }, { "severity": "warning", "code": "trigger.unused", "message": "No flow entry, step edge, or sequence uses this trigger", "id": "write.edit-again" }]A change is done at 0 errors; treat every warning as a problem to fix or to raise with you.
Fix in this order
Section titled “Fix in this order”A record that fails its shape check is not loaded, so everything that links to
it reports ref.missing. Work top down:
- Records and fields:
record.*,field.*,interface.fields, thenrecord.duplicate,display.duplicate. - Send again. Many
ref.missingerrors go away. - Links:
ref.*,home.capability,part.mismatch. - Flows, sequences, rules, data: the remaining errors.
- Structure warnings: unreachable, unused, and unmapped records, index badges, sizes.
- Plain words and one home: move each identifier to its typed field and each fact to its one home. Never delete a detail that matters, or invent one, to silence a warning.
Issue codes
Section titled “Issue codes”E is an error: the change is refused. W is a warning: it loads, but something should be fixed.
Records and links
Section titled “Records and links”| Code | Lvl | Meaning |
|---|---|---|
record.shape |
E | The record is not one JSON object |
record.version |
E | ready is not 3; the record is not loaded |
record.kind |
E | kind missing or unknown |
record.id |
E | id missing, malformed, or not starting with its home |
field.invalid |
E | Wrong shape or value, or a field on the wrong kind of step |
field.unknown |
E | A field the format does not have |
record.duplicate |
E | Two records share an id |
display.duplicate |
E | A display_id names two records, or equals another id |
ref.missing |
E | A reference points at nothing |
ref.kind |
E | A reference points at the wrong kind of record |
actor.managed_by |
E | An actor names itself in managed_by |
home.capability |
E | A flow or sequence names no capability, or a missing one |
home.shared |
W | A capability’s rule is used outside it; make it shared |
part.mismatch |
E | An overview’s parts and the parts’ part_of disagree |
Flows and edges
Section titled “Flows and edges”| Code | Lvl | Meaning |
|---|---|---|
flow.subject |
E | subject is not an actor or an entity |
flow.empty |
E | A flow has no steps |
step.flow |
E | A step and its flow disagree, or an entry’s to or from is wrong |
step.kind |
E | A journey step is a state, or a lifecycle step is not |
step.unreachable |
W | Nothing reaches the step |
edge.trigger |
E | No trigger, or not a trigger record |
edge.sequence |
E | outcome not in the sequence, or outcome without sequence |
edge.start |
E | Edges running one sequence leave different steps or triggers |
step.trigger-title |
W | A step’s title is the name of a trigger on its own edge |
edge.both-ways |
W | One trigger moves the subject both ways between two steps |
decision.branch |
W | An edge leaving a decision has no guard, label, or outcome |
decision.action |
W | A decision step has an edge with a person’s action |
step.action |
W | An action step in a journey; make the action an edge |
size.flow |
W | More than 12 steps; split into parts |
Sequences, rules, data, interfaces
Section titled “Sequences, rules, data, interfaces”| Code | Lvl | Meaning |
|---|---|---|
sequence.participant |
E | A participant is not listed, or listed twice |
sequence.outcome |
W | An outcome no edge maps to a step |
sequence.unreached |
W | No edge, sequence, or trigger starts it |
size.sequence |
W | More than 16 messages; split into parts |
ops.target |
E | A data operation names neither entity nor path |
ops.index |
W | A data operation’s index is not on the entity |
rule.empty |
E | No logic for its kind |
rule.orphan |
E | Nothing applies a decision or policy (no step, edge, sequence message or note, applied rule, applies_to target, or policy sequence) |
rule.decision |
E | A decision graph edge names a missing node |
table.shape |
W | A decision table row has the wrong number of cells |
entity.column |
E | A foreign key or primary_key names a missing column |
entity.index |
W | A column badge names no index; I1.1 is reported too (use I1·1) |
data.state |
W | A step’s data[].state is not a state of that lifecycle |
interface.fields |
E | Surface fields on an operation, or the reverse |
interface.unused |
W | Nothing shows or calls the interface |
trigger.unused |
W | No entry, edge, or sequence uses the trigger |
trigger.cadence |
E | A trigger that is not a schedule has a cadence |
dcl.same |
W | A capability’s DCL equals the room’s default; omit it |
Plain words, one home, and size
Section titled “Plain words, one home, and size”All warnings.
| Code | Meaning |
|---|---|
text.id |
Prose names another record by id; say it in words, link it in a typed field |
text.code |
Prose reads as code (a path, a call, a snake_case name); the message names the field it belongs in |
text.call |
A message’s text repeats its call |
text.ref-id |
A graph node’s text repeats an id from its refs |
text.history |
A date, QA round, or ticket id in rationale, notes, summary, sees, or does |
text.repeated |
The same sentence of 60+ characters in three or more records |
summary.missing |
A record that needs a summary has none |
summary.long |
A summary over 160 characters, or more than one sentence |
summary.repeats |
A summary says the same as the name or title |
notes.long |
notes over 700 characters |
sees.branch |
A sees line describes a condition no edge or decision carries |
sees.platform |
A sees line describes one client and the step sets no platforms |
step.empty |
A screen step has no sees, does, or copy |
copy.repeated |
A step’s copy repeats words its interface holds |
term.unused |
A term’s copy_word appears in no copy |
column.restates |
A column’s rule opens by restating a typed field, like “Not null” |
What it does not check
Section titled “What it does not check”Passing means the graph is well formed, not that the intent is right. It does not check present tense, that a rule is applied where it really matters, that every way out of a step is written, that copy is verbatim, that a capability is an outcome rather than a channel, or that the records match what really happens. Those are for you and the agent that writes the records; see Principles.