Diagnostic codes

120 codes the strspc CLI and the rule engine can emit. Each links to what it means and how to fix it.

CHK002
Warning · Config does not match its schema
CHK003
Warning · Inherited rules not evaluated
EC001
Info · Evaluation cache recreated
RD000
Error · Entity file unavailable for comparison
RD001
Error · Invalid Draft body edit
RD002
Error · Immutable rule body edited
RD003
Error · Illegal state transition
RD004
Error · Invalid new rule
RD005
Error · Deleted content
RD006
Warning · Superseded rule not retired
RD007
Error · Rule set version not raised
RD008
Error · Invalid rule set hash
RD009
Error · Rule set timestamp unchanged
RD010
Error · Rule number reused
RD011
Error · Missing added_by
RD012
Error · Append-only note removed or retyped
RD013
Error · Note revision out of step
RD014
Error · Note removed
RD015
Error · Invalid new note revision
RD016
Error · Append-only note edited
RD017
Error · Inheritance changed after Draft
RD018
Error · Override changed after Draft
RD019
Error · Malformed added_by
RD020
Info / Error · Visibility changed
RD021
Error · Revision moved without a body change
RD022
Error · Standard note retyped
RE001
Warning / Error · Rule violated
RE002
Warning · AI evaluation failed
RE003
Info · AI evaluation skipped
RE004
Info · Nothing to evaluate
RF001
Error · Citation of an unknown rule
RF002
Error · Citation of an abandoned rule
RF003
Warning · Citation of a retired rule
RF004
Error · Citation of a superseded rule
RF005
Warning · Citation of a rule being replaced
RF006
Warning · Citation of a Draft rule
RF007
Error · Copied rule body
RL000
Error · Entity file unreadable
RL001
Error · Invalid entity JSON
RL002
Info / Error · Schema validation failed
RL003
Error · Malformed EUID
RL004
Error · Malformed rule ID
RL005
Error · Rule numbers out of sequence
RL006
Error · Unknown rule state
RL007
Error · Sub-entity parent mismatch
RL008
Error · Note references a missing rule
RL009
Error · Malformed note ID
RL010
Error · Unknown note type
RL011
Error · Invalid rule set hash
RL012
Warning · Superseded rule not found
RL013
Error · Invalid rule set version
RL014
Warning · Note reference not found
RL015
Error · Note numbers out of sequence
RL016
Warning · Inheritance target not found
RL017
Error · Duplicate override
RL018
Error · Inheritance chain invalid
RL019
Warning · Body reference not found
RL020
Warning · Reference to an abandoned rule
RL021
Warning · Rule body has no key word
RL022
Warning · Rule body has several sentences
RL023
Error · Unknown visibility
RL024
Error · Sub-entity wider than its container
RL025
Error · Superseding across entities
RL026
Warning · Inline example
RL027
Info · Rule body may hold two statements
RL028
Error · Invalid standards entry
RL029
Error · Malformed standard note
RL030
Error · Duplicate standard note
RL031
Error · Undeclared standard
RM001
Error · Realm manifest unreadable
RM002
Info / Error · Realm schema validation failed
RM003
Error · Missing _schema/ directory
RM004
Error · Missing entity schema
RM005
Info / Error · Entity files not linted
RM006
Error · Duplicate EUID in the Realm
RM007
Error · Invalid Realm identity
RM008
Error · Invalid sub-realm entry
RM009
Error · Sub-realm manifest invalid
RM010
Error · Sub-realm ID mismatch
RM011
Error · Nested sub-realms
RM012
Error · EUID collision with a sub-realm
RM013
Error · Sub-realm sets a rule identifier format
RM014
Error · Dependency pin mismatch
RM015
Warning · _schema/ differs from the pinned core
RM016
Warning · Dependency unavailable
RM017
Error · Sub-realm sets a language
RM018
Error · Invalid realm standards entry
RR000
Error · Realm resolution interrupted
RR001
Error · Invalid dependency source
RR002
Error · Dependency cannot be loaded
RR003
Error · Dependency Realm ID mismatch
RR004
Error · Dependency version mismatch
RR005
Error · EUID collision between Realms
RR006
Error · Realm depends on itself
RR007
Error · Invalid sub-realm entry
RR008
Error · Sub-realm manifest unreadable
RR009
Error · Sub-realm ID mismatch
RR010
Error · Nested sub-realms
RR011
Error · EUID collision with a sub-realm
RR012
Error · Dependency cannot be fetched
RR013
Error · Unresolved inherits target
RR014
Error · Inheritance chain invalid across Realms
RR015
Error · Invalid overrides target
RR016
Warning · Override has no effect
RR017
Error · Note names an unknown Realm
RR018
Error · Note names a missing rule
RR019
Warning · Reference to a rule no longer in force
RR020
Warning · Body names an unknown Realm
RR021
Warning · Body names a missing rule
RR022
Error · Inheritance not permitted
RR023
Error · Override not permitted
RR024
Error · Wider than the inherited entity
RR025
Error · `extends` target not permitted
RSV000
Error · Rule resolution interrupted
RSV002
Error · Local source unreadable
RSV003
Error · Invalid entity file in a source
RSV004
Error · Invalid rule set hash in a source
RSV005
Error · EUID provided by two sources
RSV006
Warning · Source holds no entities
RSV007
Error · Remote source unavailable