Compiler diagnostics in Cratis Screenplay
Every problem the compiler finds is reported as a diagnostic: a severity, a stable code, a message, and the line and column it came from. This page is the catalogue of those codes.
A message is written for a person and gets reworded whenever a clearer wording is found. A code never changes. So a code is what you match on, suppress on, and group by - anything reading the message text breaks the next time the message is improved.
Action subject diagnostics
Section titled “Action subject diagnostics”Decision 0110 adds the following catalog entries:
| Code | Severity | Meaning |
|---|---|---|
PLAY0817 |
Error | An action subject clause is malformed, duplicated, or attached to a non-action toolbar item. Use one for item or for screen before the inline label. |
PLAY0818 |
Information | An omitted plain/toolbar action subject is inferred from its declared data and identifier types. |
PLAY0819 |
Warning | Effective row binding differs from legacy case-insensitive name matching. Make intent explicit; a safe repair may retain legacy mappings. |
PLAY0820 |
Warning | Several declared nominal keys could fill an input. Write an explicit binding. |
PLAY0821 |
Warning | A guarded action for screen cannot choose an item from collection-valued data. |
PLAY0822 |
Error | A handler may produce declaration is malformed: an entry is not <Event>, <Event> for <property> or <Event> for one of <collection property>, an event is declared twice, or the command also declares produces. |
PLAY0823 |
Error | A handler possible-event set violates its result contract: it is empty, sits beside produces, has no body, names an event outside the command’s scope, repeats an event, or omits or misdirects an event’s destination. |
PLAY0824 |
Information | A composite key is written with braces (key { … }) that the indented parts already make redundant. A repair removes the braces. |
PLAY0825 |
Information | An authorize declaration writes adjacent policies without the and they mean. A repair writes the and. |
PLAY0826 |
Error | An onboarding line carries anything beyond the keyword. See onboarding. |
PLAY0827 |
Error | An application declares more than one onboarding block; it has at most one. |
PLAY0828 |
Error | An onboarding block is declared by an application with no authentication block. Draft authoring reports it as a warning until the folder is assembled. |
PLAY0829 |
Error | A line of an onboarding block is not one of its directives, or a directive is malformed or incomplete (a member invitation without by or grant, empty legal terms, a bad offering name). |
PLAY0830 |
Error | An onboarding block states the same thing twice: a second signup, legal terms, offering, emails or images, a second invitation of one kind, or a second template for one email. |
PLAY0831 |
Error | An invitation’s as, by or grant names a persona nothing declares. Draft authoring reports it as a warning. |
PLAY0832 |
Error | The emails block names an email onboarding does not send; the emails are invitation, welcome and signupDeclined. |
PLAY0833 |
Error | A value is written as inline JSON ({...} or [...]). Screenplay has no JSON: write the object or list as an indented block - one member = value line per member, one item line per list element, and <name> none for an empty list. The editors offer a quick fix that writes the block; printing the document converts every occurrence. See structured values. |
PLAY0834 |
Error | A statemachine declaration is malformed: a bad header or unexpected line, a missing or repeated follows, a malformed state, entering or on line, a repeated state, or a malformed specification inside it. |
PLAY0835 |
Error | A state machine has no initial state, or more than one. |
PLAY0836 |
Warning | A state can never be reached from the initial state by the transitions written under the states. |
PLAY0837 |
Warning | A state that is not final has no transition out. |
PLAY0838 |
Error | A final state declares transitions out. |
PLAY0839 |
Error | A transition targets a state the state machine does not declare, or a workflow trigger waits for a state its state machine does not declare. |
PLAY0840 |
Error | A state machine names an event, read model, command or workflow that is not declared. |
PLAY0841 |
Error | A state machine or workflow condition (or a foreach list) reads a property the subject read model does not have. |
PLAY0842 |
Error | Two unguarded transitions on the same event leave one state, so the second can never be taken. |
PLAY0843 |
Error | A workflow declaration is malformed: a bad header, for, node or edge line, a missing for, a repeated node name, a malformed duration, or a malformed specification inside it. |
PLAY0844 |
Error | A workflow declares no trigger node, so nothing starts a run. |
PLAY0845 |
Warning | A workflow node can never be reached from a trigger. |
PLAY0846 |
Error | A workflow edge points at a node the workflow does not declare. |
PLAY0847 |
Error | A workflow edge leaves a node by an outlet its node kind does not have, or a decide node uses a reserved outlet name. |
PLAY0848 |
Error | A decide node does not name exactly two outlets, or one of its outlets leads nowhere. |
PLAY0849 |
Warning | A wait for an event, or an approval, has no expires after, so a run can wait forever. |
PLAY0850 |
Information | A join has a single incoming branch, so it joins nothing. |
PLAY0851 |
Error | A workflow names a command, event, persona or policy, state machine, read model or collection property that is not declared, or follows a different read model than its state machine. |
PLAY0852 |
Error | An application time zone, a command calendar or a specification given time zone names an id that is not a known IANA time zone. There is no fallback to UTC. |
PLAY0853 |
Error | A command calendar from $context.<member> names a member other than timeZone or a declared context time-zone member, the members the host supplies. |
PLAY0854 |
Error | A context header or member is malformed, a member has a body, the block is repeated in one file, or it is outside the application root. |
PLAY0855 |
Error | A context member uses an unsupported type. Only time zone is supported. |
PLAY0856 |
Error | A context member name is repeated after removing its @ escape. The first declaration is retained. |
PLAY0857 |
Error | A context member uses reserved timeZone or a built-in $context root. The member is not retained. |
PLAY0858 |
Warning | A read model repeats the bare passive directive; it is idempotent. Keep one directive. Both parsers report this warning. |
PLAY0859 |
Error | A query or screen consumes a passive read model. Remove passive if the model is a read surface, or keep it private to command reads. C# only. |
PLAY0860 |
Warning | No command reads a passive read model. Add the intended command read or remove passive; passivity is never inferred. C# only. |
PLAY0861 |
Error | A condition exceeds the supported nesting or constructed expression depth of 128. Simplify the condition or split the requirement into named policies. |
PLAY0862 |
Error | A graph, its node or edge declaration, or one of their body lines is malformed. Expected graph <Name>, node <Label> and edge <TYPE> source <Label> target <Label> [identified by <property>], with typed properties underneath. |
PLAY0863 |
Error | A graph node or edge property has a type that is not a primitive, a concept over a primitive, or an array of those. Nested objects, types and read models are not property values of a graph element. |
PLAY0864 |
Error | A graph node declares no key property or more than one. Mark exactly one property key; it identifies the node. |
PLAY0865 |
Error | A graph edge names a source or target label that the graph does not declare as a node. |
PLAY0866 |
Error | A projection <Name> => graph <Graph> names a graph that is not declared. |
PLAY0867 |
Error | A graph projection has a node or edge block for a label or type its graph does not declare. |
PLAY0868 |
Error | A graph projection maps a property, or an identified by expression names one, that the declared node or edge does not have; or a specification asserts one. |
PLAY0869 |
Error | remove with ... detach appears on an edge. detach removes the edges attached to a node and only applies to a node block. |
PLAY0870 |
Warning | A node removal has no detach although the graph declares edges that attach to that label. Without detach the removal leaves dangling edges; add detach or remove the edges first. |
PLAY0871 |
Error | An edge’s identified by names a property the edge does not declare. |
PLAY0872 |
Error | A graph projection uses a read-model-only construct: children, nested, join, all, clear with, remove via join, variant, a projection-level key, sequence or automap block. A graph projection holds node and edge blocks only. |
PLAY0873 |
Error | A graph projection block is malformed: a node or edge header, a from or remove with handler, or a missing key (node) or source and target (edge) expression. |
PLAY0874 |
Error | A graph, node label, edge type or element property is declared twice, or a graph projection builds the same node or edge twice. |
PLAY0875 |
Error | A given graph or then graph step is malformed. Expected has node <Label> <key>, has edge <TYPE> from <source> to <target> [identified by <identity>], and in then graph also no node and no edge, with property assertions underneath. |
PLAY0876 |
Error | A given graph or then graph step names a graph, node label or edge type that is not declared. |
PLAY0877 |
Error | A graph projection is declared outside a slice, for example in a standalone projection document. Declare it in a slice next to its graph. |
PLAY0878 |
Error | A graph query is malformed: its header, a match pattern, a where condition or its return block. |
PLAY0879 |
Error | A graph query names a graph, node label, edge type, alias or property that is not declared. |
PLAY0880 |
Error | A graph query hop uses an edge that does not connect those two labels in that direction. |
PLAY0881 |
Error | A graph query does not return exactly the properties its read model requires, or returns a property of a different type. |
PLAY0882 |
Error | A graph query condition uses an argument the query does not declare, or compares values of different types. |
PLAY0883 |
Error | A property returned from an optional match is assigned to a read-model property that is not optional. |
PLAY0884 |
Error | A graph query uses the same alias twice. |
PLAY0885 |
Error | A graph query uses a construct this version does not have: variable-length paths, or, ranges, functions or aggregates. |
PLAY0886 |
Error | A graph handler’s foreach names a collection inside another, or something that is not a list of a composite type of the event. |
PLAY0887 |
Error | A user declaration is not user <name> ["<display name>"] [as <Persona>, ...], or has a line nested under it. |
PLAY0888 |
Error | A user plays a persona that no persona declaration names. |
PLAY0889 |
Error | Two user declarations carry the same name. |
| See action subjects | ||
| for triggers and safe fixes. PLAY0319, PLAY0345 and PLAY0346 keep their existing meanings. |
Reading a diagnostic
Section titled “Reading a diagnostic”The CLI prints a diagnostic in the format editors and build servers already parse - the file, the position, the severity, the code, and the message - followed by the offending line and a caret:
nested/broken.play(3,5): error PLAY0028: Unknown slice type 'Wat' - expected StateChange, StateView, Automation or Translate 3 | slice Wat DoIt | ^There are three severities. Error means the document does not compile. Warning means the document compiles but something is very likely wrong - almost always a name nothing declares. Information means something worth knowing that changes nothing.
Why the codes read PLAY
Section titled “Why the codes read PLAY”The prefix is PLAY, after the .play documents this compiler reads.
Cratis Arc has its own catalogue, the SP codes, for generating a .play document from C# source. The two run one after the other - Arc generates a document and hands it straight to this compiler to read back - so both sets of diagnostics land in the same build log. A shared prefix would make SP0034 and a compiler code of the same number indistinguishable at a glance and identical to a SP\d{4} filter, which is why the prefixes deliberately have nothing in common. Arc’s codes describe what the generator could not express; the codes here describe what the compiler could not read.
Codes are permanent
Section titled “Codes are permanent”A code is an identifier, not a position in a list.
- A number is never reused. When a diagnostic is retired, its number is retired with it and left behind as a gap in the sequence. Handing that number to something else would silently change what an existing suppression means.
- A number is never renumbered. Inserting a code in the middle of the catalogue would change the meaning of every code after it.
- A new code is appended at the end of the sequence whatever it is about, so the number says when a code was added rather than where it belongs. Use this page, not the numbering, to find the codes for an area.
- A code outlives its message. Two constructs hitting the same condition share one code - a property line the parser cannot read reports
PLAY0016whether it sits in atypeor in anevent.
Reacting to a code
Section titled “Reacting to a code”Diagnostic carries the code alongside the severity, the message and the location, so a consumer filters on it directly:
using Cratis.Screenplay;using Cratis.Screenplay.Diagnostics;
var result = new ScreenplayCompiler().Compile(source);
// A document assembled a piece at a time refers to events the pieces have not introduced yet,// so that one warning is expected here and everything else is not.var unexpected = result.Diagnostics .Where(diagnostic => diagnostic.Code != DiagnosticCodes.UnknownEvent) .ToList();DiagnosticCodes declares every code in this catalogue as a named constant, so the compiler catches a typo that a string literal would not.
In the editor
Section titled “In the editor”The language service behind the VS Code extension and the Monaco editor checks a subset of what the compiler
checks, and it reports the compiler’s code for every condition in that subset. So the Unknown type 'Foo'
you get as a squiggle and the one the CLI prints are the same PLAY0165, and can be looked up here, filtered
on, and matched against a build log:
import { diagnosticCodes, validateLines } from '@cratis/screenplay-language';
const unknownTypes = validateLines(lines).filter((issue) => issue.code === diagnosticCodes.unknownType);diagnosticCodes names the codes the editor reports, the same way DiagnosticCodes names them for the
compiler. A ValidationIssue carries the code as code, and it reaches the editor: a Monaco marker gets it as
code, a VS Code diagnostic as Diagnostic.code.
A few editor checks carry no code, deliberately. The capture and projection validators enforce structural
rules that no compiler run reports - a capture must include a source block, an append block must include a
when clause - and there is no PLAY number for something the compiler never emits. Minting one would make
this catalogue describe two different tools, which is the thing the PLAY prefix was chosen to avoid. Those
conditions are reported without a code until the compiler checks them too.
For tool authors
Section titled “For tool authors”Use the code and its declared arguments, never message text, to identify a diagnostic’s subjects. Messages are for people and may be reworded. The C# API exposes Diagnostic.Arguments; MCP diagnostic views and this repository’s Screenplay tool JSON output serialize it as arguments. Text output is unchanged.
Each argument is { "kind": "text", "value": "amount" }, keyed by its declared name. The kinds are text (verbatim authored text), keyword (stable, never-localized language spelling), index (zero-based number), and declaration ({ "kind": "specification", "path": ["Billing", "Invoices", "SendReminder", "Overdue"] }). A declaration path contains the module if present, features outermost first, the slice if present, then the declaration name. A slice’s own name is not repeated. Specification paths use authored names; a separate case argument identifies an expanded case.
Published argument names, kinds, meanings and optionality are permanent. Additions are optional arguments or new keyword values; tolerate unknown names and keyword values. Old diagnostics without the field remain readable; diagnostics without subjects use an empty object, {}.
Argument declarations
Section titled “Argument declarations”Codes not listed in this table currently declare no arguments, including PLAY0198. Optional arguments are omitted when the reporting site has no such subject. Keyword values below are the closed set the compiler emits, not localized labels.
For PLAY0524, stepIndex counts each authored given, when or then clause once, in source order, across all forms. Nested lines are part of their step. Synthesized callers and defaults do not count; example and case expansion retain the authored position.
For PLAY0268, subject is attached by the binder after it finishes, from source position, so a reporting site does not need to know its enclosing declaration. It is the innermost declaration whose node sits at the diagnostic’s exact location, else one on the same line of the same file; a refusal with neither, such as a document-level one, carries no subject. A value a reporting site already passed is kept. The declaration kinds are module, feature, slice, command, query, operation, system, eventsource, event, readmodel, screen, concept, type, policy, persona, trigger, reaction, projection, reducer, capture, specification and example; the path follows the declaration-path rule above. PLAY0367 and PLAY0699 name a command or concept subject, and PLAY0787 follows them.
| Code | Argument | Kind | Optional | Meaning | Keyword values |
|---|---|---|---|---|---|
PLAY0044 |
text |
text | no | The authored mapping line that could not be read. | — |
PLAY0075 |
text |
text | no | The authored projection mapping line that could not be read. | — |
PLAY0101 |
text |
text | no | The authored mapping line or concrete value that could not be read. | — |
PLAY0268 |
subject |
declaration | yes | The innermost declaration that contains the refused construct; absent for document-level refusals. | — |
PLAY0268 |
issue |
text | yes | The tracking issue named by the refusal, such as Cratis/Screenplay#600, when it cites one. | — |
PLAY0351 |
readmodel |
text | no | The read model named by the fixture. | — |
PLAY0351 |
property |
text | no | The missing identifier or key-part property. | — |
PLAY0367 |
subject |
declaration | no | The command or concept that owns the match rule. | — |
PLAY0367 |
property |
text | yes | The constrained command property; absent for a concept’s own value. | — |
PLAY0367 |
pattern |
text | no | The decoded match pattern. | — |
PLAY0367 |
offset |
index | no | The zero-based UTF-16 offset in the pattern where the problem starts. | — |
PLAY0468 |
query |
text | yes | The query reference when known at the reporting site. | — |
PLAY0468 |
argument |
text | no | The unknown, repeated or missing argument name. | — |
PLAY0514 |
property |
text | no | The authored projection target path. | — |
PLAY0518 |
text |
text | no | The authored example declaration line. | — |
PLAY0519 |
property |
text | no | The property assigned more than once. | — |
PLAY0520 |
example |
text | no | The example declaration name or authored example reference. | — |
PLAY0520 |
type |
text | yes | The example’s authored type reference when resolving its declaration. | — |
PLAY0520 |
kind |
keyword | yes | The resolved but unsupported declaration kind. | event, command, readmodel, concept, type, example |
PLAY0521 |
example |
text | no | The colliding example name. | — |
PLAY0522 |
example |
text | no | The authored example reference. | — |
PLAY0522 |
kind |
keyword | no | The example’s actual declaration kind. | event, command, readmodel |
PLAY0522 |
expectedKind |
keyword | no | The declaration kind required by the step. | event, command, readmodel |
PLAY0523 |
example |
text | no | The example declaration name. | — |
PLAY0523 |
type |
text | no | The example’s authored type reference. | — |
PLAY0523 |
property |
text | yes | The invalid property when the failure concerns a property. | — |
PLAY0524 |
specification |
declaration | no | The authored specification declaration, before case expansion. | — |
PLAY0524 |
step |
keyword | no | The step’s language keyword spelling. | given, given readmodel, when, when append, then |
PLAY0524 |
stepIndex |
index | no | The zero-based position among all authored step clauses in source order. | — |
PLAY0524 |
property |
text | no | The required property missing from the effective fixture. | — |
PLAY0524 |
type |
text | no | The effective step’s type reference. | — |
PLAY0524 |
example |
text | yes | The example used by the step. | — |
PLAY0524 |
case |
text | yes | The named case supplying this expanded specification. | — |
PLAY0524 |
parameter |
text | yes | The case parameter supplying the failing value when known. | — |
PLAY0525 |
example |
text | no | The example whose value or destination cannot be admitted. | — |
PLAY0526 |
example |
text | no | The non-event example declaring a route. | — |
PLAY0583 |
case |
text | yes | The named case when known at the reporting site. | — |
PLAY0583 |
parameter |
text | yes | The parameter assigned by the case when known. | — |
PLAY0583 |
type |
text | yes | The declared parameter type when available. | — |
PLAY0583 |
text |
text | yes | The authored value or nested line that could not be read. | — |
PLAY0699 |
subject |
declaration | no | The command or concept that owns the match rule. | — |
PLAY0699 |
property |
text | yes | The constrained command property; absent for a concept’s own value. | — |
PLAY0699 |
pattern |
text | no | The decoded match pattern. | — |
PLAY0699 |
offset |
index | no | The zero-based UTF-16 offset in the pattern where the problem starts. | — |
PLAY0803 |
subject |
declaration | no | The command or concept that owns the match rule. | — |
PLAY0803 |
property |
text | yes | The constrained command property; absent for a concept’s own value. | — |
PLAY0803 |
pattern |
text | no | The decoded match pattern. | — |
PLAY0803 |
offset |
index | no | The zero-based UTF-16 offset of the ambiguous subexpression. | — |
PLAY0781 |
command |
declaration | no | The command declaring the read. | — |
PLAY0781 |
read |
text | no | The read model name or alias as the command reads it. | — |
PLAY0781 |
readModel |
declaration | no | The read model declaration that cannot be protected. | — |
PLAY0781 |
reason |
keyword | no | The closed refusal reason, the name of the decision-read refusal. | reducer, join, children, open-subscription, payload-key, by-parts, no-removal, empty-handled-set, named-source-or-stream, singleton, key-type, generated-key, optional-key, collection-key |
PLAY0782 |
command |
declaration | no | The command declaring the read. | — |
PLAY0782 |
read |
text | no | The read model name or alias as the command reads it. | — |
PLAY0783 |
command |
declaration | no | The command declaring both reads and concurrency. | — |
PLAY0784 |
path |
text | no | The authored read path that resolves to no declared read and view property. | — |
PLAY0784 |
read |
text | no | The first path segment, the read name or alias that resolves to no declared read. | — |
PLAY0784 |
command |
declaration | no | The command whose read path is unknown. | — |
PLAY0785 |
path |
text | no | The authored read path that names a repeated read model. | — |
PLAY0785 |
read |
text | no | The read model name read more than once. | — |
PLAY0785 |
command |
declaration | no | The command whose read path is ambiguous. | — |
PLAY0787 |
subject |
declaration | no | The command or concept that owns the match rule. | — |
PLAY0787 |
property |
text | yes | The constrained command property; absent for a concept’s own value. | — |
PLAY0787 |
pattern |
text | no | The decoded match pattern. | — |
PLAY0790 |
profile |
text | no | The ui profile that names the template. | — |
PLAY0790 |
template |
text | no | The template name that nothing declares, or the blueprint does not ship. | — |
PLAY0790 |
blueprint |
text | yes | The blueprint a template was expected from. | — |
PLAY0791 |
profile |
text | no | The ui profile that uses the legacy layout line. |
— |
PLAY0791 |
template |
text | no | The layout name the line selects. | — |
PLAY0792 |
profile |
text | no | The ui profile that names the blueprint. | — |
PLAY0792 |
template |
text | no | The template that was taken from the blueprint. | — |
PLAY0792 |
blueprint |
text | no | The blueprint the profile does not list or the host has not installed. | — |
PLAY0793 |
profile |
text | no | The ui profile that names the root template. | — |
PLAY0793 |
template |
text | no | The root template. | — |
PLAY0793 |
blueprint |
text | no | The blueprint whose installed version does not satisfy the pin. | — |
PLAY0793 |
version |
text | no | The version range that is pinned, or the default ^ pin of the installed version. |
— |
PLAY0794 |
profile |
text | no | The ui profile that names the root template. | — |
PLAY0794 |
template |
text | no | The template that cannot be the application’s shell. | — |
PLAY0794 |
blueprint |
text | yes | The blueprint the template comes from. | — |
PLAY0795 |
profile |
text | no | The ui profile that names the root template. | — |
PLAY0795 |
template |
text | no | The root template that has no content slot. | — |
PLAY0795 |
blueprint |
text | yes | The blueprint the template comes from. | — |
PLAY0795 |
slot |
text | no | The slot the screens’ content is placed in. | — |
PLAY0796 |
profile |
text | no | The ui profile that sets the option. | — |
PLAY0796 |
template |
text | no | The root template that does not expose the option. | — |
PLAY0796 |
blueprint |
text | yes | The blueprint the template comes from. | — |
PLAY0796 |
option |
text | no | The option name. | — |
PLAY0797 |
profile |
text | no | The ui profile whose appearance is invalid. | — |
PLAY0797 |
value |
text | no | The color scheme, accent, corners or identity value as authored. | — |
PLAY0799 |
profile |
text | no | The ui profile that names the template. | — |
PLAY0799 |
template |
text | no | The template that cannot start a screen in a feature. | — |
PLAY0799 |
blueprint |
text | yes | The blueprint the template comes from. | — |
PLAY0800 |
subject |
declaration | no | The command whose handler requires a constrained implementation attachment. | — |
PLAY0810 |
query |
text | no | The performer query that declares the argument. | — |
PLAY0810 |
argument |
text | no | The context-sourced argument that cannot be supplied to the performer. | — |
PLAY1167 |
count |
text | no | The number of distinct resolved exposed operations, in decimal. | — |
PLAY1167 |
recommendedMaximum |
text | no | The recommended maximum number of exposed operations, in decimal. | — |
The catalogue
Section titled “The catalogue”The document and its top level
Section titled “The document and its top level”| Code | Severity | Reported when |
|---|---|---|
PLAY0001 |
Error | A line at the top level of a document opens with a word nothing at that level is declared by. |
PLAY0002 |
Error | A domain line is not domain <Qualified.Name>. |
PLAY0003 |
Error | A document declares a domain more than once, and a document has at most one. |
PLAY0004 |
Error | domain is declared after another construct, and it names what the whole document is about. |
PLAY0005 |
Error | An import line is not import <Qualified.Name> [from "<origin>"], or its origin metadata is invalid. |
PLAY0006 |
Warning | A line is indented with tabs, and Screenplay decides nesting from spaces. |
Event sources and command streams
Section titled “Event sources and command streams”Event-source declarations and command stream routes are admitted by ESM v8.
Property-path mappings remain refused with PLAY0268; unconstrained or unresolved file/inline handler commands retain PLAY0800. Binding reports PLAY0273
for generated mappings, stored-name collisions (including pin-versus-name), the reserved stored source name
Default, the reserved stored stream name All (including id "All"), or a routed fixture whose source identifier type cannot be resolved. Reserved-name checks are binding-only; authoring validation still accepts the declarations. For All, rename the stream without retaining that stored-name pin.
A stream reference selects a classification, never the identity destination supplied by for.
Handler commands may author routes without declaring their returned events.
| Code | Severity | Reported when |
|---|---|---|
PLAY0503 |
Error | An event source or its source-owned stream has invalid syntax, a repeated directive or physical declaration, an invalid rename pin, or an optional, collection or known composite identifier type. Composite stream-id blocks also refuse fewer than two parts, duplicate names, modifiers, children, empty/repeated headers and mixed scalar/block forms. Duplicate physical sources make their child ownership ambiguous. |
PLAY0504 |
Error | A known source’s stream does not resolve uniquely, or a command route or stream-id mapping is invalid, missing or incompatible, including missing, unknown, duplicated or mismatched-shape composite parts. Scalar literals and composite literal parts refuse empty, non-NFC or ill-formed text and integers outside ±9007199254740991 in Double numeric mode. A command identifier or known production destination type differing from the source’s nominal identifier type is refused, never silently retargeted. |
PLAY0505 |
Error | An exact stream Source.Stream header resolves both to one source-owned stream and to a viable imported value type. Both candidates remain visible; neither is selected automatically. |
PLAY0506 |
Error | A known scalar stream-id or composite part type falls outside text and UUID values and their nominal concepts, plus integer-backed concepts. Bare Int is rejected. Other types need a future portable formatting contract. Unavailable imported shapes remain unresolved. |
PLAY0507 |
Information | A source or stream’s rename-only id pin repeats its current name. New declarations omit the pin. |
PLAY0547 |
Error | A specification routing directive or composite part block is malformed, empty, repeated, conflicting, has invalid children, or leaves effective no stream on a given or when append event. Event examples and redelivery locators may carry no stream. |
PLAY0548 |
Error | A when <Command> occurrence declares stream or no stream; the route belongs to the command declaration. |
PLAY0549 |
Error | A specification stream reference is missing or ambiguous, its key mapping is missing or superfluous, or the scalar stream id or composite part is nonliteral or incompatible, or contains empty, non-NFC or ill-formed text or an integer outside ±9007199254740991 in Double numeric mode. Composite routes require every declared part exactly once and refuse unknown/duplicate names and mismatched scalar/block forms. |
PLAY0550 |
Error | A routed given or when append lacks for, a routed identity is not a compatible concrete literal, or a source without identifier has no unambiguous known producer destination type. |
PLAY0551 |
Error | A then route or destination type contradicts the command under test, which is the event’s only producer in the whole model. Other producers defer the comparison. |
Command headers are classified against the complete immutable compilation input, including resolved file
imports. @stream Qualified.Type, stream String and modified property forms remain properties;
production stream = value and stream String = value remain payload mappings. When neither a source
nor a property type resolves, the header keeps its legacy property interpretation and unknown-type
evidence, including deeper legacy command members. A misspelled source name cannot be distinguished
from an unresolved qualified property by spelling alone. Stream-id children do not override this rule.
Candidate discovery uses the same inline-language registry as the committed parse; registered code
payloads cannot declare sources or property types.
Syntax JSON retains every ambiguous or duplicate header in CommandSyntax.streamCandidates, including
its property interpretation when ambiguous. stream holds at most one unambiguous route. Deeper legacy
properties remain command members, without duplicating the candidate property. Such invalid drafts
cannot be printed or expanded into .play files: export throws InvalidSyntaxJson rather than selecting
an interpretation or dropping a header. Retain syntax JSON until you repair the draft. Use @stream
for an intended qualified property, or remove the competing type interpretation for an intended route;
remove duplicate route headers before export.
Concepts
Section titled “Concepts”| Code | Severity | Reported when |
|---|---|---|
PLAY0007 |
Error | A concept line is not concept <Name> : <Type>. |
PLAY0008 |
Error | A concept is declared over a primitive the language does not have. |
PLAY0009 |
Error | A value of an enumeration concept is not an identifier. |
PLAY0010 |
Error | A line in a concept body opens with a word a concept declares nothing by. |
PLAY0011 |
Warning | A value of an enumeration is called validate, which the concept body reads as an empty validate block. |
PLAY0012 |
Error | A concept gives a reason, scope or personal-data qualifier for a marker it does not carry. |
PLAY0013 |
Error | A concept gives the reason for one attribute more than once. |
PLAY0515 |
Error | A concept marked pii or secret is used as a command identifier, an explicit for destination, an event source identifier, a scalar stream id type, a composite stream id part type, or a command route mapping source (including nested property paths). The message names the attribute and position, never a value. A mapping using the same protected concept already reported at its resolved stream-id declaration is not reported again; a different protected source concept is still reported. Specification route literals rely on their declaration’s check. Use a surrogate Uuid identifier and keep personal data or operational secrets as properties. Reaction destinations also check values typed directly in the trigger clause, even for an undeclared or registered trigger. When a reaction source names both an event and a declared trigger, a protected destination in the resolved event shape or the trigger clause is rejected. |
PLAY0653 |
Warning | A concept header repeats a compliance marker, including pii personal. Both compilers keep the first marker for each wire identity and attach body settings to it; canonical printing writes one marker. The concept-line repair removes later tokens with PreserveTrivia. |
PLAY0565 |
Information | Legacy @pii, sensitive or @sensitive spelling. Use bare pii/secret; per-line and document repairs preserve notes and trivia. |
PLAY0566 |
Error | Unknown concept compliance marker; expected pii, personal or secret. |
PLAY0567 |
Error | Scope belongs to secret and must be subject, namespace or global. |
PLAY0568 |
Error | A concept declares secret scope more than once. |
PLAY0569 |
Warning | Explicit secret scope on pii secret is ignored because only Chronicle [PII] renders. |
PLAY0570 |
Error | Invalid personal-data qualifier or unknown Art. 9(1) category. |
PLAY0571 |
Error | A concept declares more than one pii special category. |
PLAY0590 |
Error | An event marks more than one data-subject property; each extra mark names the first. Choose one; no automatic repair is safe. |
PLAY0591 |
Error | A subject must be a required scalar String, Uuid or their concepts, or an Int-backed concept. Optional values, collections, composites, bare Int, enums, Decimal, Bool, Date and DateTime are refused. |
PLAY0592 |
Error | A subject concept is pii or secret; EventContext.Subject is plaintext. Use a surrogate identity. |
PLAY0593 |
Error | The subject modifier belongs only to event properties, not commands, types, operation inputs, trigger or reaction data or response fields (decision 0008). |
PLAY0594 |
Error | Read model subjects are not yet supported; #559 covers the mark and Chronicle’s reserved _subject, __subject and __subjects names. |
PLAY0595 |
Error | Subject is duplicated or out of modifier order. Write each modifier once: Type optional generated identifier subject. |
Processing purposes
Section titled “Processing purposes”| Code | Severity | Reported when |
|---|---|---|
PLAY0596 |
Error | Invalid purpose declaration, reference or field syntax. |
PLAY0597 |
Error | Unknown basis, condition or erasure-exception value. |
PLAY0598 |
Error | A purpose repeats a singleton field. |
PLAY0599 |
Error | A purpose name is declared more than once. |
PLAY0600 |
Warning | A purpose reference does not resolve. |
PLAY0601 |
Warning | Interest is declared without basis legitimateInterests, or that basis has no nonblank interest statement. |
PLAY0602 |
Warning | Opt-in purposes check: a slice carries pii without a declared purpose in scope. |
PLAY0603 |
Warning | Opt-in purposes check: special-category data lacks a purpose’s condition. |
PLAY0604 |
Warning | Opt-in purposes check: criminal data lacks a purpose’s authorization. |
PLAY0605 |
Warning | Opt-in purposes check: a purpose has no basis. |
PLAY0606 |
Warning | Opt-in purposes check: a purpose is never referenced. |
These are structural findings, not legal verdicts. See Processing purposes.
| Code | Severity | Reported when |
|---|---|---|
PLAY0014 |
Error | A type line is not type <Name>. |
PLAY0015 |
Error | A type declares no properties, and a type is the properties it holds. |
PLAY0016 |
Error | A property line is not <name> <Type>. |
PLAY0017 |
Error | A property outside a command is marked as the identifier, which only a command property can be. |
Events
Section titled “Events”| Code | Severity | Reported when |
|---|---|---|
PLAY0018 |
Error | An event line is not [public] event <Name> [generation <N>] [from "<origin>"], or its visibility/origin metadata is invalid. |
PLAY0019 |
Error | A property of an event is marked as the identifier, and an event never carries its event source id. |
PLAY0020 |
Warning | A property called tag is read by the event body as a static tag rather than as a property. |
PLAY0446 |
Error | An event generation is zero, exceeds the 32-bit generation range, or uses Chronicle’s reserved unspecified value (4294967295). |
PLAY0447 |
Error | The same event in one slice declares a generation twice; two unmarked declarations are both generation 1 and therefore duplicate. |
PLAY0448 |
Error | An event in one slice omits a generation between 1 and its latest generation. |
Modules, features, slices and layouts
Section titled “Modules, features, slices and layouts”| Code | Severity | Reported when |
|---|---|---|
PLAY0021 |
Error | A module line is not module <Name>. |
PLAY0022 |
Error | A line in a module body opens with a word a module declares nothing by. |
PLAY0023 |
Error | A feature line is not feature <Name>. |
PLAY0024 |
Error | A line in a feature body opens with a word a feature declares nothing by. |
PLAY0025 |
Error | A slot declared by a layout, screen template or dialog template is not an identifier optionally followed by contributes. |
PLAY0026 |
Error | A line in a layout, screen template or dialog template body opens a block none of them declares anything by. |
PLAY0027 |
Error | A slice line is not slice <Type> <Name>, or direction is malformed, repeated or declared outside Translate. Legacy directionless translations remain accepted. |
PLAY0028 |
Error | A slice is declared with a type the language does not have. |
PLAY0029 |
Warning | A line in a slice body opens with a word a slice declares nothing by. This includes a slice-local type: its block is skipped, not registered as a reusable type. |
Personas
Section titled “Personas”| Code | Severity | Reported when |
|---|---|---|
PLAY0030 |
Error | A persona line is not persona <Name>. |
PLAY0031 |
Error | A policy line in a persona body is not policy <Name>. |
PLAY0032 |
Error | A line in a persona body opens with a word a persona declares nothing by. |
Commands
Section titled “Commands”| Code | Severity | Reported when |
|---|---|---|
PLAY0033 |
Error | A command line is not command <Name>. |
PLAY0034 |
Error | A line in a command body opens with a word a command declares nothing by. |
PLAY0035 |
Retired | No longer reported. Pending and attached command handlers may declare unconditional produces as result contract v1. This code remains reserved forever. |
PLAY0800 |
Error | A file/inline command handler lacks a constrained result contract or resolved nonempty language-tagged body. Unconditional produces (result contract v1) or a handler may produce set (result contract v2, ESM v35) plus a resolved attachment binds without this diagnostic. The subject argument identifies the command; hosts switch on this code rather than matching message text. The message names the failed condition when the command declares a produces (a conditional produces ... when, or an empty, unresolved or hinted body); the fix is an unconditional produces <Event> or a handler may produce set beside a resolved handler body, or separate commands for conditional outcomes. A command with no produces and no may produce keeps the short message. See what a handler body can and cannot do. |
PLAY0695 |
Information | A described command is admitted in ESM v23 but its pending payload implementation needs a target. The message names the command and RequirementId. |
PLAY0696 |
Error | A pending command handler has no productions, including response-only commands. Source remains valid; executable binding requires at least one production. |
PLAY0697 |
Error | A pending command handler has conditional productions (produces when). Result contract v1 requires unconditional productions. |
PLAY0698 |
Error | A pending command handler intent coexists with another handler occurrence, including another pending intent. Keep one handler; the error is located at the second occurrence. |
PLAY0036 |
Error | A command marks more than one property as its identifier. |
PLAY0037 |
Error | A concurrency line carries anything beyond the keyword. |
PLAY0038 |
Error | A command declares more than one concurrency block, and a command has at most one. |
PLAY0039 |
Error | A line in a concurrency block names a dimension the block does not have. |
PLAY0040 |
Error | A dimension of a concurrency block is not written the way that dimension is written. |
PLAY0041 |
Error | A concurrency block states one dimension more than once. |
PLAY0042 |
Error | A produces line is neither produces <EventType> nor produces when <condition>. |
PLAY0043 |
Error | A produces when condition is followed by no event to produce. |
PLAY0044 |
Error | A mapping line is not <property> = <source>. |
PLAY0045 |
Error | A handler names neither a file, an inline code block nor an explicit implementation wrapper. |
PLAY0046 |
Error | A line in a handler body opens with a word a handler declares nothing by. |
Queries
Section titled “Queries”| Code | Severity | Reported when |
|---|---|---|
PLAY0047 |
Error | A query line is not query <Name> => [observable] <ReadModel>. |
PLAY0048 |
Error | A line in a query body opens with a word a query declares nothing by. |
PLAY0049 |
Error | A by or filter parameter is not <keyword> <name> <Type> [from <source>]. |
PLAY0050 |
Error | A performer line carries anything beyond the keyword. |
PLAY0051 |
Error | A query declares more than one performer, and a query has at most one. |
PLAY0052 |
Error | A performer names neither a file nor an inline code block. |
PLAY0053 |
Error | A line in a performer body opens with a word a performer declares nothing by. |
PLAY0810 |
Error | A performer query declares a by or filter argument sourced from $context. The message and arguments name the query and argument. Context-sourced performer arguments are not supported; use a caller-supplied argument instead. C# binding only. |
Projections
Section titled “Projections”| Code | Severity | Reported when |
|---|---|---|
PLAY0054 |
Error | A projection document holds a top level line that does not open a projection. |
PLAY0055 |
Error | A projection document declares no projection at all. |
PLAY0056 |
Error | A projection line is not projection <Name> [=> <ReadModel>]. |
PLAY0057 |
Error | A projection declares no directives, so it builds nothing. |
PLAY0058 |
Error | A line in a projection body opens with a word a projection declares nothing by. |
PLAY0059 |
Error | A projection declares more than one key. |
PLAY0060 |
Error | A from block declares more than one key. |
PLAY0061 |
Error | A from line names no event to read from. |
PLAY0062 |
Error | An event reference is not a name the language can read as one. |
PLAY0063 |
Error | A join line is not join <property> on <key>. |
PLAY0064 |
Error | A join block holds a line that is not with <EventType>. |
PLAY0065 |
Error | A children line is not children <collection> identified by <key>. |
PLAY0066 |
Error | A nested line is not nested <property>. |
PLAY0067 |
Error | A nested block reads from no event, so nothing ever fills it. |
PLAY0068 |
Error | A remove line is neither remove with <EventType> nor remove via join on <EventType>. |
PLAY0069 |
Error | A remove block holds a line other than parent. |
PLAY0070 |
Error | A clear line is not clear with <EventType>. |
PLAY0071 |
Error | clear with is written where there is nothing to clear. |
PLAY0072 |
Error | A part of a composite key is not <property> = <expression>. |
PLAY0073 |
Error | A composite key part is a template expression, which a key cannot be. |
PLAY0074 |
Error | A composite key declares no parts. |
PLAY0075 |
Error | A mapping line in a projection is not one the language can read. |
PLAY0452 |
Warning | More than one automap or no automap appears in the same projection scope. The last setting wins; printing preserves the authored settings and their individual comments. |
PLAY0514 |
Warning | A projection mapping, children, or nested target is absent from the declared read-model or element shape. Unknown or imported shapes are not guessed. |
PLAY1142 |
Warning | A projection or reducer copies a value whose concept is marked secret (including pii secret) into a read-model property, so the value becomes part of the read model and its query results. Reported for an explicit mapping whose target or source event property has a secret concept, for a property AutoMap fills from a same-named secret event property, and for a reducer that builds a read-model property with a secret concept. Metadata, literal and aggregate sources are not reported. The message names the projection or reducer, the concept and the read-model property path. There is no automatic repair: decide whether the read model needs the value at all. |
PLAY1143 |
Warning | Opt-in personas check: every command and query a screen binds is definitely denied to every declared persona’s synthesized caller, so the screen offers them nothing. |
Reducer instance identity
Section titled “Reducer instance identity”| Code | Severity | Reported when |
|---|---|---|
PLAY0690 |
Warning | A fully known observed event has only nominal event-source identity domains different from a reducer-backed scalar instance query’s by type, or complete producer provenance across a reducer’s events contains several nominal identity domains. The latter emits one reducer warning instead of repeating query warnings. Native C# compilation only; editors preserve supplied native findings. |
For example, this authoring model queries a month while its reducer’s instances follow resource identities:
concept ResourceId : Stringconcept Month : Stringmodule Work feature Reporting slice StateView Totals event Recorded resource ResourceId month Month readmodel Totals month Month key reducer Fold => Totals on Recorded query ByMonth => Totals by month Month slice StateChange Record command Record resource ResourceId identifier month Month produces Recorded for resource resource = resource month = monthByMonth reports PLAY0690: Month and ResourceId are distinct nominal concepts even though both wrap text. The declared read-model key does not reroute a reducer. A stream partition keyed by month would not do so either. Use a projection property key on each relevant from to aggregate by a payload value, or a join to update related existing instances. A join never creates them; there is no automatic reducer-to-projection repair.
The analysis examines every producer across the assembled application, not just the first command or the reducer’s slice. It applies source/stream filters before comparing destinations, including production routes overriding command routes. It compares required scalar nominal declarations, not property spelling, primitive backing, stream ids, source catalog ids or fixture values. Equal types do not prove equal runtime IDs, and distinct concepts can encode equal values: this is a likely modeling mistake, not proof that an instance can never exist.
Known destinations are command for paths, implicit inline identifiers, a plain production’s generated command identifier, and explicitly typed reaction/refusal for destinations. Any other plain production without for lands on an identity the request allocates, not on the command’s identifier (see Where an event lands), so it remains unknown; fixture-typing UUID fallbacks are not identity evidence either. Events appended by top-level seed blocks also retain unknown provenance. Ambiguous command routes remain unknown when applying an observer filter. Events produced by reactions without an explicit for, captures or code are not compared. Foreign/public-origin events and unresolved, ambiguous, nullable or collection destination types remain unknown. An unknown producer suppresses a query comparison for that event, but a different fully known event may still warn; a multi-domain reducer warning requires complete provenance across its feasible events. No producer is unknown evidence, not an empty successful comparison. Code with undeclared outputs conservatively leaves potential event provenance unknown. The check does not read or execute reducer attachments.
Collection queries, performer-served or unbuilt views, projection-backed views, public-event reducer targets and invalid/composite lookup shapes do not trigger the query warning. The ordinary native CLI check and MCP diagnostics report it without executable binding or opt-in completeness checks; --warnaserror on the standalone tool treats it like other warnings. Local TypeScript validation does not perform this analysis; see Editor diagnostics.
Captures
Section titled “Captures”| Code | Severity | Reported when |
|---|---|---|
PLAY0076 |
Error | A capture document holds a top level line that does not open a capture. |
PLAY0077 |
Error | A capture document declares no capture at all. |
PLAY0078 |
Error | A capture line is not capture <Name>. |
PLAY0079 |
Error | A line in a capture body opens with a word a capture declares nothing by. |
PLAY0080 |
Error | A map entry is not <property> = <source> [translate]. |
PLAY0081 |
Error | A translation is not "<source>" => <target>. |
PLAY0082 |
Error | A split line is not split <property> by "<separator>". |
PLAY0083 |
Error | A target of a split is not a property path. |
PLAY0084 |
Error | An append line is not append <EventType>. |
PLAY0085 |
Error | A line in an append body opens with a word an append declares nothing by. |
PLAY0086 |
Error | A when line names no trigger. |
PLAY0087 |
Error | A when clause is not one of the shapes a trigger is written in. |
PLAY0088 |
Error | A value transition is not when <Path> from <value> to <value>. |
PLAY0089 |
Error | A when clause combines properties with both and and or. |
PLAY0090 |
Error | A when combinator is followed by no property. |
PLAY0091 |
Error | A line in a children or nested block is neither map nor append. |
Specifications
Section titled “Specifications”| Code | Severity | Reported when |
|---|---|---|
PLAY0092 |
Error | A specification document holds a top level line that opens neither a specification nor an example. |
PLAY0093 |
Error | A specification document declares no specification at all. |
PLAY0094 |
Error | A specification line is not specification <Name>. |
PLAY0095 |
Error | A line in a specification body opens with a word a specification declares nothing by. |
PLAY0096 |
Error | A when line is not when <CommandType>. |
PLAY0097 |
Error | A specification issues more than one command, and a specification is one example. |
PLAY0098 |
Error | A then error line is neither then error nor then error "<reason>". |
PLAY0099 |
Error | A given readmodel or then readmodel line does not name a read model type. |
PLAY0100 |
Error | A given or then line does not name an event type. |
PLAY0101 |
Error | A value a specification step states is not <property> = <value>. |
PLAY0453 |
Error | A then no readmodel line lacks a view or key, uses exactly, or has child mappings. |
PLAY0518 |
Error | An example declaration is not example <Name> : <EventOrCommandOrReadModel>. |
PLAY0519 |
Error | A fixture assigns the same property more than once, including across a step’s inline assignment and indented body. Assign it once; overriding a value from an example is a separate operation. |
PLAY0520 |
Error | An example’s type or reference is unknown, ambiguous, or not an event, command, or read model. Qualify the declaration; example inheritance is not supported. |
PLAY0521 |
Error | An example name collides with a type name or repeats in the same scope. Choose a distinct example name. |
PLAY0522 |
Error | A step references an example of another kind. Use the corrected step spelling suggested by the diagnostic. |
PLAY0523 |
Error | An example supplies an undeclared current-generation property, an invalid generated fixture, or for on a read model. Use only the current type’s allowed fixture lines. |
PLAY0524 |
Error | Binding an exact-shape specification step found a missing required property after expansion. The diagnostic names the step, property, and example when used. Supply the property in the example or step; no defaults are assumed. |
PLAY0525 |
Error | Semantic admission found a stated example value incompatible with its type, or for without one unambiguous required scalar destination type. Fix the value or its destination contract, even if the example is unused or that value is overridden. Partial top-level examples remain allowed. Ordinary fixture diagnostics also apply to null, nonconcrete, structured and generated values. |
PLAY0526 |
Error | A command or read-model example states a route. Only event examples carry routes; a command’s route comes from its declaration, and read models have none. Top-level streamId = value is payload, not route metadata. |
Screens
Section titled “Screens”| Code | Severity | Reported when |
|---|---|---|
PLAY0102 |
Error | A screen line is not screen <Name>. |
PLAY0103 |
Error | A line in a screen body opens with a word a screen declares nothing by. |
PLAY0104 |
Error | A data line is not data <ReadModel> via query <Query> [by <param>]. |
PLAY0105 |
Error | An action line is not action <Command>. |
PLAY0106 |
Error | A line in an action body is neither label nor navigate to. |
PLAY0107 |
Error | A navigation is not navigate to <Screen> [by <param>]. |
PLAY0108 |
Error | A line under a screen layout does not name a slot. |
PLAY0109 |
Error | A title line is not title "<text>". |
PLAY0110 |
Error | A line in a table body is neither column nor on row-click navigate to. |
PLAY0111 |
Error | A line in a summary body is not field <property> label "<text>". |
Policies and authorization
Section titled “Policies and authorization”| Code | Severity | Reported when |
|---|---|---|
PLAY0112 |
Error | A policy line is not policy <Name>. |
PLAY0113 |
Error | A line in a policy body is neither require nor an inline code block. |
PLAY0114 |
Error | A policy states nothing it requires of the caller. |
PLAY0115 |
Error | A policy condition holds a token the language has no reading for. |
PLAY0116 |
Error | A policy requirement states no condition. |
PLAY0117 |
Error | A group opened in a policy condition is never closed. |
PLAY0118 |
Error | A role requirement names no role. |
PLAY0119 |
Error | A claim requirement names no claim. |
PLAY0120 |
Error | A claim requirement does not say what the claim is matched against. |
PLAY0121 |
Error | A claim match states nothing to match the claim to. |
PLAY0122 |
Error | An authorize clause names no policy. |
PLAY0123 |
Error | A policy is referred to by something that is not a policy name. |
PLAY0440 |
Error | A policy combines require with an inline code block or a file implementation. Choose one form. |
PLAY0441 |
Error | A policy has more than one require line; combine the conditions with and/or in one require. |
PLAY0804 |
Error | A policy combines anonymous with another condition in its require line. anonymous admits every caller, so it must be the whole condition. |
PLAY0805 |
Error | A policy negates anonymous. Write require authenticated for a policy that refuses callers without an identity. |
PLAY0806 |
Error | An authorize line combines an anonymous policy with another policy. An anonymous policy is the whole authorization of what it gates. |
PLAY0807 |
Error | A command or query is gated by an anonymous policy and by another authorize on its module, its feature or itself. The reference semantics combine gates with and, while a generated [AllowAnonymous] overrides [Authorize]; refusing the mix keeps them in agreement. Move the anonymous gate to the commands and queries that are public. |
Authentication
Section titled “Authentication”| Code | Severity | Reported when |
|---|---|---|
PLAY0124 |
Error | An authentication line carries anything beyond the keyword. |
PLAY0125 |
Error | A document declares more than one authentication block, and a document has at most one. |
PLAY0126 |
Error | A provider line is not provider <Name>. |
PLAY0127 |
Error | A setting of a provider is not <name> <value>. |
Event seeding
Section titled “Event seeding”| Code | Severity | Reported when |
|---|---|---|
PLAY0128 |
Error | A seed line carries anything beyond the keyword. |
PLAY0129 |
Error | A seed group is not for "<event source id>". |
PLAY0130 |
Error | A line in a seed group does not name an event type. |
PLAY0131 |
Error | A value a seeded event carries is not <property> = <value>. |
Constraints
Section titled “Constraints”| Code | Severity | Reported when |
|---|---|---|
PLAY0132 |
Error | A constraint line is not constraint <Name>. |
PLAY0133 |
Error | A constraint states nothing it holds the application to. |
PLAY0134 |
Error | A line in a constraint body is not one the language can read. |
PLAY0135 |
Error | A constraint mixes unique event and unique property rules, combines a file rule with another rule, repeats a singular option, or repeats a target, release, or property. An event cannot both claim and release the same constraint. Several distinct unique rules of the same kind are allowed. |
Reactions
Section titled “Reactions”| Code | Severity | Reported when |
|---|---|---|
PLAY0136 |
Error | A reaction line is not reaction <Name>. |
PLAY0137 |
Error | A line in a reaction body is not a trigger the language reads. |
PLAY0138 |
Error | A reaction states no trigger, so nothing ever sets it off. |
PLAY0139 |
Error | A line in a reaction trigger body opens with a word a trigger declares nothing by. |
Validation rules
Section titled “Validation rules”| Code | Severity | Reported when |
|---|---|---|
PLAY0140 |
Error | A validate line is neither validate nor the deprecated validate csharp form. |
PLAY0141 |
Error | A validation rule is not one the language can read. |
PLAY0142 |
Error | A validation rule names a rule the language does not have. |
PLAY0143 |
Error | A rule line does not name the rule with an identifier. |
PLAY0144 |
Error | A named rule names neither a file nor an inline code block. |
Descriptions and tags
Section titled “Descriptions and tags”| Code | Severity | Reported when |
|---|---|---|
PLAY0145 |
Error | A description line is not description "<text>". |
PLAY0146 |
Error | A fenced description holds no text. |
PLAY0147 |
Error | Something is described more than once, and a description is given once. |
PLAY0148 |
Error | A tag line carries no value. |
PLAY0149 |
Error | A tag value is neither an identifier, a string literal nor a context expression. |
Expressions
Section titled “Expressions”| Code | Severity | Reported when |
|---|---|---|
PLAY0150 |
Error | A literal expression carries no value. |
PLAY0151 |
Error | A $causedBy expression names a property the cause does not carry. The short form admits what the event context catalog lists below causedBy: subject, name, userName and onBehalfOf, which is itself an identity with the same members. |
PLAY0152 |
Error | An expression is not one the language can read. |
PLAY0153 |
Warning | A $context path opens with a root the context does not have. |
PLAY0154 |
Warning | A $context.causedBy path names a property the cause does not carry. |
PLAY0155 |
Warning | A $identity or $context.identity path names a property the caller identity does not carry. |
PLAY0156 |
Error | A template expression is never closed. |
PLAY0157 |
Error | An interpolation inside a template expression is never closed. |
Conditions
Section titled “Conditions”| Code | Severity | Reported when |
|---|---|---|
PLAY0158 |
Error | A condition holds a token the language has no reading for. |
PLAY0159 |
Error | A condition is expected and nothing is written. |
PLAY0160 |
Error | A group opened in a condition is never closed. |
PLAY0161 |
Error | A comparison states what is compared and not how. |
PLAY0162 |
Error | A comparison states nothing to compare against. |
Inline code
Section titled “Inline code”| Code | Severity | Reported when |
|---|---|---|
PLAY0163 |
Error | A construct opening an inline code block is followed by no fence. |
PLAY0164 |
Error | An inline code block is never closed. |
Names the document does not resolve
Section titled “Names the document does not resolve”| Code | Severity | Reported when |
|---|---|---|
PLAY0165 |
Warning | A property names a type nothing in the document or its imports declares. |
PLAY0166 |
Warning or error | An event is referred to that nothing in the document or its imports declares, including projection remove with, remove via join on, and capture append. An unresolved qualified from input of a source events capture is an error; unknown bare inputs and other event usages remain warnings. |
PLAY0167 |
Warning or error | A policy is referred to that nothing in the document declares. A persona’s unknown policy is an error during compilation, Safe authoring, and executable binding. Draft authoring retains it as a warning with explicit unresolved-reference debt; other unresolved policy references are warnings. |
PLAY0168 |
Error | A concept and a type, two of either, or two policies are declared under one name in a document; also reused when an inline event repeats a typed payload property name. |
PLAY0169 |
Error | An authentication block declares two providers under one name. |
PLAY0170 |
Error | A seed block seeds nothing. |
PLAY0171 |
Error | A concurrency block narrows nothing. |
A folder compiled as one application
Section titled “A folder compiled as one application”| Code | Severity | Reported when |
|---|---|---|
PLAY0172 |
Error | Two files of a folder each declare something the application has at most one of. |
PLAY0173 |
Error | Two files of a folder declare the same name. |
PLAY0174 |
Warning | Two files of a folder describe the same thing differently, and the first description is kept. |
What a command or reaction trigger reads to decide
Section titled “What a command or reaction trigger reads to decide”| Code | Severity | Reported when |
|---|---|---|
PLAY0175 |
Error | A reads line is not reads <ReadModel> [as <alias>] [by <value>] (or the header of a child by mapping block), or uses as, by, or reads as an alias. Under a reaction trigger, a bare reads line suggests @reads for a value named reads. |
PLAY0177 |
Warning | A command or reaction trigger reads a read model no projection in the document produces. |
PLAY0178 |
Warning | The by of a command’s reads declaration does not name a property of the command. |
PLAY0442 |
Warning | A reaction trigger reads by a value it does not take. |
PLAY0443 |
Error | A clock trigger reads by a value, but clock triggers take no values. |
PLAY0444 |
Warning | A reaction trigger reads a primitive type name as a view; use @reads <PrimitiveType> if reads is a trigger value. |
PLAY0451 |
Error | A reads line in a command or reaction trigger has children other than one by block, or combines that block with a single by value. Invalid children are skipped, not parsed as owner values or properties. |
Protected command reads
Section titled “Protected command reads”PLAY0781–PLAY0785 are binder refusals under command reads protected. PLAY0786 is reported once per legacy model, at its first command read, only when every read is admissible. Protected reads bind and execute in the reference evaluator under ESM v25. Missing required state rejects with Validation before requirements/mappings. A commit-time settlement rejection with category Constraint takes precedence over a protected-read conflict; for every other settlement outcome, matching intervening facts yield Conflict / DecisionStateChanged. A refused decision keeps its captured refusal, and an invalid prefix-extension rejects with Contract before settlement. Target realization requires separate version admission.
| Code | Severity | Reported when |
|---|---|---|
PLAY0780 |
Error | A command reads preamble is duplicate, conflicting or outside the application root; declare command reads protected once for the composed application. |
PLAY0781 |
Error | The binder refuses a decision read whose view shape or lookup key cannot be protected, naming the closed refusal reason. |
PLAY0782 |
Error | The binder finds a protected read with no by property and no declared command identifier to use as its key. |
PLAY0783 |
Error | The binder finds both reads and concurrency on a command, leaving its consistency boundary ambiguous. |
PLAY0784 |
Error | The binder finds a read path that names no declared read or alias. |
PLAY0785 |
Error | The binder finds a read path naming a view read more than once instead of a distinguishing alias. |
PLAY0786 |
Information | The binder identifies an eligible legacy model at its first command reads; the typed repair adds the preamble to the application root (domain document) or sole document after preview, revision checks and explicit acceptance. It requires individual review, not fix-all. |
PLAY0781 reasons are reducer, join (including removal joins), children (including nested scopes), open-subscription, payload-key, by-parts, no-removal, empty-handled-set, named-source-or-stream, singleton, key-type, generated-key, optional-key and collection-key. Both every and all map to open-subscription. There is no derivative construct or reserved derivative reason. reads … via query retains its parser refusal, PLAY0175; it has no binder refusal enum value.
Hosts read the refusal from the PLAY0781 reason argument instead of the message text. Its values are the lowercase, hyphenated keywords above, which are published and never change; they are not the names of the C# SemanticDecisionReadRefusal enum. A host must tolerate values it does not know. PLAY0784 and PLAY0785 always carry the command that declares the read path. The read argument is the alias when the command gives one, otherwise the read model name.
| Reason | Meaning | How to fix |
|---|---|---|
reducer |
A reducer builds the view. | Build the view with a projection, or read a different view. |
join |
The projection joins, including a removal join. | Fill the view from the events of its own instance only; remove join and remove via join. |
children |
The projection has children or nested scopes. | Read a flat view; keep the nested shape in a separate read model. |
open-subscription |
The projection declares every or all. |
Replace it with explicit from <Event> subscriptions. |
payload-key |
An instance is routed by event payload instead of event-source identity. | Key the view by $eventSourceId. |
by-parts |
The lookup or projection uses composite key parts. | Use one single-part key. |
no-removal |
No removal event is declared for the view. | Add remove with <Event>. |
empty-handled-set |
The view handles no finite, nonempty set of events. | Declare at least one from <Event>. |
named-source-or-stream |
The projection or a handled event is routed through a named source, stream or sequence, or the reading command declares its own stream route. |
Remove the routing, and the command’s own stream route, so events reach the view by event-source identity. |
singleton |
The view has no event-source instance key. | Give the view a key property. |
key-type |
The lookup key is not text or a canonical UUID identity, does not match the command input, or the view’s own key is optional or a collection. | Use a String, a String concept or a canonical Uuid key of a compatible type. |
generated-key |
The key is generated after reads must run. | Take the key as a caller-supplied input, not a generated one. |
optional-key |
The lookup key is optional. | Make the key required. |
collection-key |
The lookup key is a collection. | Use a scalar key. |
Rules about the whole artifact
Section titled “Rules about the whole artifact”| Code | Severity | Reported when |
|---|---|---|
PLAY0179 |
Error | A require rule carries no condition. |
PLAY0180 |
Error | The body of a require rule holds something other than its message. |
PLAY0181 |
Warning | A require operand is qualified by something the command does not read. |
PLAY0182 |
Warning | A require operand names neither a property of the artifact nor state it reads. |
Authentication provider configuration
Section titled “Authentication provider configuration”| Code | Severity | Reported when |
|---|---|---|
PLAY0183 |
Error | An authentication provider carries a configuration body, which belongs where the application runs. |
Authorize
Section titled “Authorize”| Code | Severity | Reported when |
|---|---|---|
PLAY0184 |
Error | Tokens are left over after the requirement of an authorize. |
PLAY0185 |
Error | A parenthesised group in an authorize is never closed. |
Read models and reducers
Section titled “Read models and reducers”| Code | Severity | Reported when |
|---|---|---|
PLAY0186 |
Error | A readmodel line is not readmodel <Name>. |
PLAY0187 |
Error | A reducer line is not reducer <Name> => <ReadModel>. |
PLAY0188 |
Error | A line in a reducer body is not an on <EventType> rule. |
PLAY0189 |
Error | A reducer declares no rule, so nothing it observes is stated. |
PLAY0190 |
Error | The body of a reducer rule holds something other than a description, a file or inline code. |
PLAY0191 |
Error | More than one projection or reducer builds the same read model. |
PLAY0192 |
Error | A document declares the same read model more than once. |
PLAY0398 |
Error | A reducer has some on rules with transition bodies and others without them. Give every rule an inline or file body. |
PLAY0399 |
Error | A reducer observes the same resolved event in more than one on rule. |
Where a produced event lands, and what a reaction sets off
Section titled “Where a produced event lands, and what a reaction sets off”| Code | Severity | Reported when |
|---|---|---|
PLAY0193 |
Error | A produces declares more than one for, and an event is appended to one event source. |
PLAY0194 |
Error | An invokes line is not invokes <Command>. |
PLAY0195 |
Warning | A reactor invokes a command the document does not declare. |
What a screen binds to
Section titled “What a screen binds to”| Code | Severity | Reported when |
|---|---|---|
PLAY0196 |
Warning | A screen binds data to a query nothing in scope declares. |
PLAY0197 |
Warning | A screen navigates to a screen nothing in scope declares. |
PLAY0198 |
Warning | A bare name matches more than one declaration at the same depth, or a qualified name matches more than one trailing container path, so which one it means is undecided. See declared dependency targets. |
What a query’s results are narrowed to
Section titled “What a query’s results are narrowed to”| Code | Severity | Reported when |
|---|---|---|
PLAY0199 |
Error | A scoped line is not scoped to <scope>. |
PLAY0200 |
Error | A query declares more than one scope, and results are narrowed one way. |
UI profiles
Section titled “UI profiles”| Code | Severity | Reported when |
|---|---|---|
PLAY0201 |
Error | A ui profile line is not ui profile <Name>. |
PLAY0202 |
Error | Two ui profile blocks in the same document declare the same name. |
PLAY0203 |
Error | A target line under a ui profile is neither target platform ... nor target size .... |
PLAY0204 |
Error | A ui profile declares target platform or target size more than once. |
PLAY0205 |
Error | A line under a packages block is not a valid package name. |
PLAY0206 |
Error | A ui profile’s packages block lists the same package more than once. |
PLAY0207 |
Error | A line in a ui profile body is not target or packages, or packages is declared more than once. |
| Code | Severity | Reported when |
|---|---|---|
PLAY0208 |
Error | A form line is not form <Name> for <Command>. |
PLAY0209 |
Error | Two form blocks in the same document declare the same name. |
PLAY0210 |
Error | A line in a form body is not populate, field or on submit. |
PLAY0211 |
Error | A populate line is neither populate via query ... nor populate from item. |
PLAY0212 |
Error | A form declares populate more than once. |
PLAY0213 |
Error | A field line is not field <property> [from <source>|compose using <Callback>] [label "..."]. |
PLAY0214 |
Error | An on submit line is not on submit navigate to <Screen> [by <param>]. |
PLAY0215 |
Error | A form declares on submit more than once. |
PLAY0216 |
Warning | A field binds to a property its form’s command does not declare. |
Contributions
Section titled “Contributions”| Code | Severity | Reported when |
|---|---|---|
PLAY0217 |
Error | A contribute line is not contribute to <ContributionPoint>. |
PLAY0218 |
Error | A line in a contribute to body is not navigate, label or order. |
PLAY0219 |
Error | A contribution declares navigate to more than once. |
PLAY0220 |
Error | A contribution declares label more than once. |
PLAY0221 |
Error | A contribution declares order more than once. |
PLAY0222 |
Error | A contribution’s label line is not label "..." or label $strings..... |
PLAY0223 |
Error | A contribution’s order line is not order <number>. |
Themes
Section titled “Themes”| Code | Severity | Reported when |
|---|---|---|
PLAY0225 |
Error | A theme line is not theme <Name>. |
PLAY0226 |
Error | Two theme blocks in the same document declare the same name. |
PLAY0227 |
Error | A line in a theme body is not compatible with <Package>. |
PLAY0228 |
Error | A theme declares compatibility with the same package more than once. |
PLAY0229 |
Error | A ui profile’s theme line is not theme <Name>. |
PLAY0230 |
Error | A ui profile declares theme more than once. |
PLAY0231 |
Warning | A ui profile selects a theme nothing in the document declares. A quoted name that is not an identifier refers to a package-provided theme and is never reported. |
PLAY0232 |
Warning | A ui profile selects a theme not declared compatible with one of the profile’s own packages. |
Sample data
Section titled “Sample data”| Code | Severity | Reported when |
|---|---|---|
PLAY0702 |
Error | A sample data line is not sample data <Name>. |
PLAY0703 |
Error | Two sample data blocks in the same document declare the same pack name. |
PLAY0704 |
Error | A line in a sample data block is not title, locale or shape, a line in a shape block is not row, or title or locale is repeated. |
PLAY0705 |
Error | A locale line in a sample data block is not locale <BCP 47 tag> such as nb-NO. |
PLAY0706 |
Error | A line in a row is not <field> = <literal>, or the value is not a string, number, true, false or null literal. |
PLAY0707 |
Error | A sample data pack declares the same shape more than once. |
PLAY0708 |
Error | A row sets the same field more than once. |
PLAY0709 |
Warning | A pack shape names no read model, neither by name nor through a shape ... maps to ... line of a ui profile. A warning, because a blueprint may supply the read model. |
PLAY0710 |
Error | A row field is not a property of the read model its shape supplies rows for. |
PLAY0711 |
Error | A row literal does not fit the type of the read model property: a string for a number, a number for text, null for a property that is not optional. |
PLAY0712 |
Error | A line in a ui profile sample data block is not active <pack>, active blueprint <id>, shape <Shape> maps to <ReadModel> or bind <ReadModel> to <pack>. |
PLAY0713 |
Error | A ui profile declares more than one sample data block or more than one active line, or repeats a shape ... maps to ... or bind ... to ... line. |
PLAY0714 |
Error | A ui profile sample data block names a pack the document does not declare. A blueprint <id> pack is resolved by the build against its packages and is not checked here. |
PLAY0715 |
Error | A shape ... maps to ... or bind ... to ... line names a read model the document does not declare. |
Sample data is design and preview time only: it has no repair, and binding reports it as deferred (PLAY0269) rather than executable. See Sample data.
Application shell
Section titled “Application shell”| Code | Severity | Reported when |
|---|---|---|
PLAY0788 |
Error | A root template or new screens use template line is not [blueprint <Blueprint>] <Name> [version "<range>"] (a version range on an own template is reported here), has a block under a new screens use template, a line under root template is not option <name> <value>, an option is set twice, or a profile declares new screens use template more than once. |
PLAY0789 |
Error | A line in a ui profile identity or appearance block is not one the block accepts (color scheme <word>, accent "<colour>", corners <word>, font <id>, name "<text>", `logo initials |
PLAY0798 |
Error | A ui profile declares more than one root template. |
PLAY0790 |
Error | A ui profile’s root template or new screens use template names an own template the document does not declare - or, checked against the installed catalog, a template its blueprint does not ship. |
PLAY0791 |
Warning | A ui profile selects its shell with the legacy layout <Name> line. Write root template <Name>; the quick fix rewrites it. When a root template is also present the layout line is ignored. |
PLAY0792 |
Error | The root template (or the new screens default) comes from a blueprint the profile does not list in packages - or, checked against the installed catalog, one that is not installed. |
PLAY0793 |
Warning | The version range the root template pins is not satisfied by the installed blueprint. Reported only against the installed catalog. |
PLAY0794 |
Error | The root template cannot be the application’s shell: it is a dialog template, a screen template that does not declare scopes application, a screen template that fits a slot, a layout whose scopes leave out application, or a layout of a content type. |
PLAY0795 |
Error | The root template declares no content slot, so no screen can be placed in it. |
PLAY0796 |
Warning | A root template sets an option the shell does not expose. An own shell exposes the properties of its exposure for <Shell>; a shell that exposes nothing has no options. A blueprint’s options are checked against the installed catalog. |
PLAY0797 |
Error | The appearance color scheme is not light, dark or system, the accent is not a #RGB, #RRGGBB or #RRGGBBAA colour, the corners are not sharp, default or round, or an identity value is outside Scene’s rules (a blank name, a logo of initials longer than two characters, an unknown logo icon, or an image that is not a PNG, JPG, SVG or WebP data URI of at most 400 KB). |
PLAY0799 |
Error | The new screens use template default cannot start a screen in a feature: it is a layout, an application-scope root template, or a template (a dialog template included) whose scopes leave out feature. |
A version range that is not one Scene understands is PLAY0721, as for any template reference. Whether the root template exists, can be the shell and exposes its options is checked by the validator (PLAY0790 to PLAY0799); what a blueprint ships is checked by UiProfileShellBinder.Bind against the host’s installed catalog.
Arrangement
Section titled “Arrangement”| Code | Severity | Reported when |
|---|---|---|
PLAY0233 |
Error | An arrangement line is not arrangement flow or arrangement freeform. |
PLAY0234 |
Error | A layout, screen template or dialog template declares arrangement more than once. |
PLAY0235 |
Error | A row, column or grid line in an arrangement is malformed. |
PLAY0236 |
Error | A slot leaf within an arrangement tree has malformed sizing attributes. |
PLAY0237 |
Error | A when override line in an arrangement is not a valid width/height size-class condition. |
PLAY0238 |
Error | An arrangement declares more than one when override for the same width/height size-class combination. |
PLAY0239 |
Error | An arrangement block’s body does not match its mode - a flow arrangement declares a variant, or a freeform arrangement declares anything other than one. |
PLAY0240 |
Error | A variant line is not variant width <compact|regular>, height <compact|regular>. |
PLAY0241 |
Error | An arrangement declares more than one variant for the same width/height size-class combination. |
PLAY0242 |
Error | A place line is not place <Slot> hidden or place <Slot> at x,y size w,h. |
PLAY0243 |
Error | A variant places (or hides) the same slot more than once. |
PLAY0244 |
Warning | A freeform arrangement’s variant does not mention (place or hide) a slot another variant of the same arrangement places. |
Public event boundaries
Section titled “Public event boundaries”These whole-model C# checks run after file assembly and also on programmatic syntax passed to the semantic binder.
Public metadata and explicit direction select ESM v9 once these checks pass; a model that fails them never binds.
Unknown and ambiguous references retain PLAY0166 and PLAY0198, rather than being guessed private/local.
Private origins continue to use the existing invalid event/import declaration diagnostics.
| Code | Severity | Reported when |
|---|---|---|
PLAY0607 |
Error | A command produces a public event. Move publication to an outbound Translate slice. |
PLAY0608 |
Error | A local public event is produced outside an explicitly outbound Translate slice. |
PLAY0609 |
Error | An outbound Translate slice produces zero or multiple distinct local public event types. Repeated productions of the same type count once. |
PLAY0610 |
Error | A foreign public event is consumed outside an explicitly inbound Translate slice. |
PLAY0611 |
Error | An outbound translation consumes a public or foreign event rather than a private local event. |
PLAY0612 |
Error | An inbound translation produces a public or foreign event rather than a private local event. |
PLAY0613 |
Error | A foreign public event is produced locally. Translate it to a private event instead. |
PLAY0614 |
Error | A Translate slice declares or uses public event metadata without explicit direction. Legacy translations without public metadata remain historically inbound. C# and the editors repair it when exactly one direction fits. |
PLAY0615 |
Error | An outbound translation contains an external-data capture instead of consuming private local events. |
PLAY0616 |
Error | An explicitly inbound translation consumes a private or local event instead of a foreign public event. |
PLAY0617 |
Error | An outbound translation produces a private event instead of its one local public event. |
PLAY0618 |
Error | A projection or reducer targets an event (projection X => SomeEvent) outside an explicitly outbound Translate slice. |
PLAY0619 |
Error | A capture reads source events outside an explicitly inbound Translate slice. |
PLAY0620 |
Error | A source events block has no from <Event> line, a line that is not from <Event>, an invalid event name or a repeated event. |
PLAY0687 |
Error | A capture’s source events originate from several event stores; split it into one capture per origin. |
PLAY0694 |
Warning | An unrouted reaction in a directionless Translate slice consumes an event a capture in that same slice appends. Keep the capture here and move the reaction to an Automation slice. |
PLAY0700 |
Error | A capture over events names a key that is not a required property of every declared from event, including a $-context key. |
PLAY0701 |
Error | given capture or when capture names a capture over events; present the typed source event with given <Event> or when append <Event>. |
The operational edges checked are seed appends, command and reaction productions (including refusal branches), capture appends,
projection event sources and joins/removals, reducers and constraints. Projection all includes every declared
contract; every only maps the projection’s existing inputs. Specification fixtures are not operational edges.
A projection or reducer whose => target resolves to an event (and not to a declared read model) is an event-target
projection: its target counts as an output of the slice and its from/on events as inputs, so PLAY0609, PLAY0611,
PLAY0613 and PLAY0617 apply to it, and PLAY0618 reports one outside an explicit outbound translation. Each
from <Event> under source events counts as an input of the capture, so PLAY0610, PLAY0614 and PLAY0616 apply,
and PLAY0619 reports source events outside an explicit inbound translation. Both forms bind and select ESM v9.
Existing syntax restrictions remain: qualified reaction triggers do not parse, and qualified event productions
still report PLAY0497. Programmatic qualified references are resolved and checked, not treated as private.
The TypeScript compiler and both editors report the same codes (see editor diagnostics).
Repairs: PLAY0701 has a compiler-authored MCP repair when the capture has exactly one from event. It rewrites the record step to given <Event> or when append <Event> with the same fields; multiple source events are ambiguous and have no repair. The subject is the specification, canonical formatting and individual review are required, and pinned evidence and fix-all are not supported. PLAY0700 has no automatic repair: choose a required key carried by every source event or change those contracts deliberately.
PLAY0614 also has a repair. It declares direction inbound or direction outbound on the slice, and is offered
only when exactly one direction is consistent with the slice’s events and constructs (C# propose-repair and
read-workspace view repairs over MCP; the TypeScript quick fix in Monaco and VS Code). The remaining codes in this
section have no automatic repair because each one is a contract decision for the author, not a spelling:
PLAY0607, PLAY0608, PLAY0613 and PLAY0617 would change which events a slice publishes or produces;
PLAY0609, PLAY0611, PLAY0612 and PLAY0616 would change which events a translation consumes or produces, or its
direction; PLAY0610, PLAY0615, PLAY0618 and PLAY0619 would move a construct between slices or change its direction;
PLAY0620 is malformed source events input with no single intended correction. PLAY0687 requires splitting a capture by origin, with no single intended correction.
Directionless translation doing two jobs
Section titled “Directionless translation doing two jobs”PLAY0694 reports one warning at each reaction, listing the distinct matching events, even in a purely private
model. For example, FollowUp below reacts to the fact that Feed just captured:
module Orders feature Importing slice Translate ReceiveOrder event OrderReceived capture Feed append OrderReceived reaction FollowUp when OrderReceivedThe check compares resolved event declarations across the assembled model, including imports and generations, not
name strings. Child and nested capture appends count; specification fixtures and captures in other slices do not.
Other producers elsewhere do not suppress the warning. Reactions with a from filter, reactions to other events,
Automation slices and slices with an explicit direction are unchanged (PLAY0616 still checks explicit inbound).
Unresolved or ambiguous references never establish a match.
Ordinary compilation still succeeds; --warnaserror fails until the slice is split. Use the
manual Translate/Automation split. There is no automatic repair: creating the new slice
requires an author to choose its name, placement and specifications. No executable-model or binding behavior changes.
Production routes and observer filters
Section titled “Production routes and observer filters”| Code | Severity | Reported when |
|---|---|---|
PLAY0663 |
Error | A reaction or refusal-branch production declares a stream route. Only command event productions can override a route. |
PLAY0664 |
Warning | A production repeats its command’s source, stream and stream-id mappings. The typed workspace repair removes the override. |
PLAY0665 |
Error | An observer filter is malformed, duplicated, has children, names an unresolved or ambiguous source/stream, or a filtered reaction has a non-event trigger. |
PLAY0666 |
Warning | A reaction or reducer filter excludes every statically known producer’s effective route. Handlers and foreign origins are unknown and suppress this C#-only warning. |
PLAY0667 |
Error | Enum members mix explicit numbers with unnumbered members. Number all members or none. |
PLAY0668 |
Error | An enum declares the same number more than once; aliases are not supported. |
PLAY0669 |
Error | An enum member number is outside the int32 range. |
PLAY0670 |
Error | An enum member number is malformed: use decimal digits with an optional minus, no leading zero, fraction, exponent or plus. |
PLAY0671 |
Information | Opt-in completeness hint (enum-pinning or PLAY0671; also included in all) for an unnumbered enum used by an event property. Ordinary compilation does not report it. The numbering refactoring pins each member’s current position; this is not a correctness repair. |
PLAY0672 |
Error | Unknown generation strategy; use the closed strategy set. |
PLAY0673 |
Error | Missing or malformed generation argument or modifier value. |
PLAY0674 |
Error | Generation modifier not allowed for this strategy or primitive. |
PLAY0675 |
Error | Generation modifier repeated; write each at most once. |
PLAY0676 |
Error | Concept declares generation more than once. |
PLAY0677 |
Error | Generation strategy incompatible with the concept primitive. |
PLAY0678 |
Error | Prefix modifier is not printable ASCII or exceeds 32 characters. |
PLAY0679 |
Error | NanoID alphabet must be distinct printable ASCII of size 2..256. |
PLAY0680 |
Error | TypeID prefix is not empty or 1..63 lowercase letters/underscores starting and ending with a letter. |
PLAY0681 |
Error | NanoID size outside 1..256 or bytes count outside 1..512. |
PLAY0682 |
Error | Binding refuses reserved sequence generation until #619. |
PLAY0683 |
Warning | Generated property has fewer than 64 random bits; names the approximate 1% collision draw count. Suppressed when a unique constraint covers its mapped event property. |
PLAY0684 |
Error | Generated identifier has fewer than 64 random bits. |
PLAY0685 |
Error | A returned name is used under the returning command’s on failure. Use it in on success instead; form fields and behavior parameters keep their existing meaning, and an outer successful response remains available. |
PLAY0688 |
Error | A generated concept’s strategy can violate a rule. The diagnostic is on the rule and names the strategy and a quoted witness, regardless of the rule’s severity. Review the strategy-derived matches replacement repair; it also changes validation of input and stored values. |
PLAY0689 |
Warning | Consistency is Unproven for a generated concept rule; names the opaque/outside-fragment/budget/timeout reason. Passing samples are not proof. |
PLAY0691 |
Error | Generation support exceeds 2,048 automaton positions, 10,000 distinct states, or 100,000,000 inspected edges/counting transitions/assessed UTC dates. Reduce the pattern or conditioned support complexity; exhaustion never admits an unknown generator. |
PLAY0692 |
Error | A pattern has no admissible support after checksum conditioning, including on an assessed UTC date in the complete 101-year horizon. Change the digit payload or pattern; the diagnostic identifies the offending date when applicable. |
PLAY0693 |
Error | A reaction batches declaration is duplicate, conflicting or invalid for the application root. Declare reaction batches atomic once for the composed application; imported reactions inherit it. There is no automatic repair because removing the declaration changes production semantics. |
Overrides reuse PLAY0504 for route shape, mapping, destination type and duplicate-route errors. Protected sources reuse PLAY0515. Property paths remain refused at binding with PLAY0268 (#574), and generated route inputs with PLAY0273.
Screen composition
Section titled “Screen composition”These checks run on the assembled model. The source stays in the syntax tree, so an authoring tool can still show and repair it.
| Code | Severity | Reported when |
|---|---|---|
PLAY0621 |
Error | An exposure for <Owner> header or one of its property lines is malformed, or names an unknown collection operation. |
PLAY0622 |
Error | An exposure’s owner is not a layout, screen template or dialog template. |
PLAY0623 |
Error | Re-exposures of one component property form a cycle. |
PLAY0624 |
Error | A reexposes <Owner> names an owner that does not expose the same component property. |
PLAY0625 |
Error | An instance header or one of its set, items, item or item value lines is malformed. |
PLAY0626 |
Error | An instance is not a screen, screen template or dialog template. |
PLAY0627 |
Error | An instance stores a value for a component property no exposure exposes. |
PLAY0628 |
Error | An instance uses set on a collection exposure, or items on a single-value exposure. |
PLAY0629 |
Error | A template’s content <slot> names a slot the template does not declare. |
PLAY0630 |
Error | A navigation’s slot <name> names a slot no layout, template or component declares. |
PLAY0631 |
Error | A screen or scoped template assignment uses a template whose scopes exclude that scope, or - at slice scope - whose slice kinds (scopes slice statechange) exclude the slice’s kind. |
PLAY0632 |
Error | A component comes from a package no ui profile declares. Only checked when at least one profile declares packages. |
PLAY0654 |
Error | A navigation contribution’s destination slot or destination dialog names a slot or dialog template nothing declares. |
PLAY0655 |
Error | A screen’s contribute to <Point> names an outlet no layout or template declares. A module or feature contribute to reports PLAY0903 instead; screen contributions belong to the screen-composition checks. |
PLAY0656 |
Error | Template content nests templates in a cycle: a template’s content uses itself, directly or through other templates. |
PLAY0720 |
Warning | A layout, screen template or dialog template declares no category. A template picker groups by category, so every template needs one. A blueprint package build runs with warnings as errors, so there a missing category fails the build; an own template only warns. See Layouts and templates. |
PLAY0721 |
Error | A template reference’s version is not a range Scene understands: *, an exact version, or a ^, ~, >=, >, <= or < range over major[.minor[.patch]]. |
PLAY0722 |
Error | A template blueprint <Blueprint> <Name> reference names a blueprint no ui profile lists under packages. Only checked when at least one profile declares packages. |
Identity details
Section titled “Identity details”| Code | Severity | Meaning |
|---|---|---|
PLAY0633 |
Error | Invalid identity header; write the bare identity keyword. |
PLAY0634 |
Error | More than one identity block in a document. A second file’s block uses the existing folder singular-declaration diagnostic. |
PLAY0635 |
Error | Invalid typed detail line or escape source; each detail has exactly one source. |
PLAY0636 |
Error | Unknown identity source kind; use from claim, from query, inline code or a file. |
PLAY0637 |
Error | Identity detail has neither a declarative source nor an implementation. |
PLAY0638 |
Error | A claim/query detail has a body; refresh and caching belong to the runtime. |
PLAY0639 |
Error | Duplicate identity detail name. |
PLAY0640 |
Error | Detail redeclares id, name, userName, isAuthenticated, roles or claims. |
PLAY0641 |
Error | Identity query source names an unknown or ambiguous query. |
PLAY0642 |
Error | Identity source query is unkeyed or returns a list rather than one result. |
PLAY0643 |
Error | Identity query source omits by <expression>. |
PLAY0644 |
Error | Identity query key reads something other than token built-ins, claims or literals. |
PLAY0645 |
Error | Source query’s authorization depends on additional identity details. |
PLAY0646 |
Error | Query result type or optionality does not match the declared detail type. |
Unknown detail types reuse PLAY0165; unknown caller properties reuse PLAY0155. Executable detail reads
report PLAY0268, naming the detail and its pending admission (#600). See identity details.
None of these has an automatic repair: each is a composition decision for the author.
Read-model keys
Section titled “Read-model keys”| Code | Severity | Reported when |
|---|---|---|
PLAY0660 |
Error | key is marked outside a top-level read-model property, combined with another modifier, or has an optional or collection type. A part of a multipart key cannot have a composite type. |
PLAY0661 |
Error | A single-instance lookup omits key parts. The message names the missing parts. Command reads have a typed repair when every missing part has one same-named compatible source. Queries and trigger reads are not repaired. Scalar screen, form and navigation lookups cannot supply composite keys. On a composite-key read model, a from or remove with without a complete untyped key block also reports this code; scalar keys and parent keys cannot supply its parts. |
PLAY0662 |
Error | A by block has fewer than two distinct parts, names an unknown part, uses the wrong key shape or supplies an incompatible, optional, collection or literal source. A single-instance query must agree with the declared key. A composite projection key block also reports this code for unknown, repeated or ill-typed parts, a typed key block, or a non-simple part expression. Projection-key checks run in C# only. No automatic repair is offered. |
An explicit single key binds byte-identically to an inferred identifier. Flat composite keys, complete caller-supplied by blocks on optional single-instance queries, and root projection/removal parts keys are admitted from ESM v27. Collection by blocks, non-optional single-instance returns and context-sourced parts remain PLAY0268. Protected command reads by parts remain PLAY0781 / ByParts.
Triggers
Section titled “Triggers”| Code | Severity | Reported when |
|---|---|---|
PLAY0245 |
Error | A trigger line is not trigger <Name>. |
PLAY0246 |
Error | A line in a trigger body is neither a description nor a value the trigger provides. |
PLAY0247 |
Error | The document declares two triggers by the same name, leaving no answer to which one a reaction means. |
PLAY0248 |
Warning | A when line names neither an event nor a trigger the document or the compiler knows. |
PLAY0249 |
Error | An every line is not every <n> <seconds|minutes|hours|days>. |
PLAY0250 |
Error | An at line is not at <HH:mm>, optionally followed by on <Weekday> or on day <n>. |
PLAY0251 |
Warning | A reaction takes a value from an occurrence that the trigger does not provide. |
PLAY0252 |
Error | A reaction states more than one where, and a reaction is narrowed by one condition. |
PLAY0253 |
Error | A reaction declares the same trigger more than once, so the second says nothing the first did not. |
PLAY0450 |
Error | A value line appears under an every or at reaction trigger; clock triggers take no values. |
Layouts, screen templates and dialog templates
Section titled “Layouts, screen templates and dialog templates”| Code | Severity | Reported when |
|---|---|---|
PLAY0254 |
Error | A screen template line is not screen template <Name>. |
PLAY0255 |
Error | A dialog template line is not dialog template <Name>. |
PLAY0256 |
Error | A fits slot line is not fits slot <name>. |
PLAY0257 |
Error | A screen template declares fits slot more than once. |
PLAY0258 |
Error | A layout or a dialog template declares fits slot - neither fills a slot of a parent structure. |
PLAY0259 |
Error | A top level layout line is not layout <Name>. |
PLAY0260 |
Error | A document declares more than one layout by the same name. |
PLAY0261 |
Error | A ui profile’s layout line is not layout <Name>. |
PLAY0262 |
Error | A ui profile declares layout more than once. |
PLAY0263 |
Warning | A ui profile selects a layout nothing in the document declares. |
File references
Section titled “File references”| Code | Severity | Reported when |
|---|---|---|
PLAY0264 |
Warning | A file directive names an absolute path, and a file reference is relative to the repository root. |
A path that does not resolve is not a diagnostic, at any severity. A document is read in a designer, in a build and on a machine where the tree is not present, so the compiler never holds a path against a file system - a stale path must not be what makes a valid document invalid. A consumer that can resolve paths decides for itself what an unresolvable one means.
Specification query results
Section titled “Specification query results”| Code | Severity | Reported when |
|---|---|---|
PLAY0265 |
Error | A then query line does not name a query. |
PLAY0266 |
Error | A line in a then query body is neither arguments nor result. |
PLAY0267 |
Error | A then query assertion declares arguments more than once. |
Semantic binding
Section titled “Semantic binding”| Code | Severity | Reported when |
|---|---|---|
PLAY0268 |
Error | Source syntax carries behavior the supported ESM profile cannot represent, including query filters with from, single-result filters, invalid same-name/scalar/type filter shapes, explicit query scopes, compliance on identity or enum concepts, events combining personal or explicitly subject-scoped secret values with an explicit subject mark, generated-concept rules outside the supported rule forms (supported rules are checked for consistency instead: refuted rules report PLAY0688 errors and unproven rules PLAY0689 warnings), and unsupported scalar $context produces paths (tenant is not event namespace; claims and roles are not portable scalar values), an unsupported validation rule, concept require, command require and read-path mappings without command reads protected, read paths in production conditions or other unadmitted positions, clock operands (today, now, date of) outside command conditions and validate comparison rules, and date comparisons outside the supported shapes (==, !=, >, >=, <, <= over required scalar command properties of the same primitive, or matching literals, in require and produces when), non-deterministic $env conditions, $context tag values, and a bare named rule with no implementation body (see Commands). Bodied named rules, command/concept code validation, and inline/file policy predicates bind as opaque ESM v3 attachments rather than reporting this diagnostic. |
PLAY0269 |
Information | Source syntax is explicitly deferred from the current backend semantic profile. Screens are deferred by default and can be admitted on request as ESM v42; see UI contract. |
PLAY0270 |
Information | Source syntax, including a valid persona, a query a performer answers (an opaque read, left out of the executable model), compliance reasons and event subject marks, is realization or authoring/operational metadata rather than portable behavior. Event id pins are executable stored names from ESM v16. |
PLAY0271 |
Information or error | Source syntax keeps its legacy meaning and cannot be strengthened into ESM v1 implicitly, including command reads without command reads protected. Opted-in reads instead undergo PLAY0781–PLAY0785 admission. |
PLAY0272 |
Error | Source syntax requires an explicit reviewed semantic migration before binding. |
PLAY0273 |
Error | A read-model member references a known read-model shape outside the value-type namespace, reported at compile time and binding at the member’s type reference with its original file/line/column and guidance to use a primitive, concept or top-level type. Semantic binding also rejects skipped slice-local type names and undeclared names at the member; compile-time validation does not. Also, syntax and identity information cannot produce a coherent semantic compilation, including reserved stored source Default or stream All names (also through id pins), stored-name collisions, an event-source for assertion without one unambiguous required scalar command destination type or a produces mapping, then event expectation, projection mapping, or constraint naming a property absent from the current event revision, an authorization policy, property rule or requirement referencing a generated value before generation, or a produces or invokes mapping that assigns a property of an incompatible type, such as an optional value into a required property; the diagnostic is located at the mapping and names the property and both types. |
PLAY0274 |
Error | A syntax location cannot be mapped to a supplied semantic source document. |
For read-model members, both compilers and editor validation share PLAY0273 for known read-model shapes outside the value-type namespace; imported files are composed before checking. A slice-local type is skipped with Warning PLAY0029 at its header, without a compile-time member error. Referencing it fails semantic binding (screenplay test) with PLAY0273 at the member, as does any undeclared name outside the value-type namespace. See member value types. Other property owners retain their existing unknown-type warning behavior.
Executable binding reports independent semantic contract failures together as PLAY0273, at the nearest enclosing declaration with a source location. If no declaration location is available, it uses the application location. Identity registration and application-wide version checks still stop at their first failure.
For an event-source assertion whose identity type cannot be determined, PLAY0273 names the event and explains how to supply the missing contract: declare a read-model projection keyed on the event source ($eventSourceId) or a producing command with a required scalar destination. An unrouted producerless event can use one consistent required scalar projected key type; missing, conflicting or nonscalar keys remain refused. Case parameters and example overrides use that same projected identity type during parameter-target validation.
Comparison operands must be required, including command properties and protected read-model properties on either side. An optional operand is refused with PLAY0268 at the comparison rather than deferred to semantic contract validation.
Specification event-source assertions
Section titled “Specification event-source assertions”| Code | Severity | Reported when |
|---|---|---|
PLAY0275 |
Error | A specification event-source assertion is a bare for and does not provide a value. |
PLAY0276 |
Error | One specification command or event step declares its for <value> event-source assertion more than once. |
Projection variants
Section titled “Projection variants”| Code | Severity | Reported when |
|---|---|---|
PLAY0277 |
Error | A variant line is not variant <Name>. |
PLAY0278 |
Error | A variant declares no enters on event, so nothing ever activates it. |
PLAY0279 |
Error | An enters on line is not enters on <EventType> [key <expression>]. |
PLAY0280 |
Error | A variant is declared inside another variant, and variants do not nest. |
PLAY0281 |
Error | Two variants of the same projection declare the same name. |
Opt-in completeness
Section titled “Opt-in completeness”These structural warnings run only when selected, after error-free whole-application source compilation. See Completeness checks for selection and exemptions and editor diagnostic support for the TypeScript/C# boundary.
| Code | Severity | Reported when |
|---|---|---|
PLAY0530 |
Warning (opt-in: --check data-bindings) |
Visible screen bindings share a name but disagree on cardinality, resolved query or by parameter. Identical rebinding and sibling sections are allowed. |
PLAY0531 |
Warning (opt-in: --check data-bindings) |
A screen binding’s resolved read model or cardinality differs from its query’s return. Optional and observable qualifiers are ignored; unresolved or ambiguous names are skipped. |
PLAY0532 |
Warning (opt-in: --check input-surfaces) |
An action has no module-level command-bound form or issuing screen in the command’s own slice. Post-action navigation does not supply input; a title-only screen does not issue a command. Commands with only generated properties (including no properties) require no typed input. |
PLAY0533 |
Warning (on by default) | A StateChange command has no used screen action, hook or attached behavior execute, and no reaction invokes it. A hook issues its slice’s commands when it runs, or when it opens a slice that has a screen. Since Screenplay 6 the check runs with every model check and is no longer selected by --check input-surfaces or --check PLAY0533. A form alone is not an issuer; attached navigation or open dialog may reach an issuing screen. Automation and Translate commands are exempt. |
PLAY0534 |
Warning (opt-in: --check field-origins) |
A declared read model has no builder or performer, or a top-level field lacks an identity, mapping, compatible AutoMap source, child or nested target. Variants are checked independently, including entering-event AutoMap; the owning slice’s keyed-query property counts as identity. Opaque builders and unknown coverage are skipped. |
PLAY0535 |
Warning (opt-in: --check query-keys) |
A query parameter cannot be held by its view’s known identity or fields. Collection by parameters are held by a same-named compatible view field or composite key part, or by the identity; single-result by parameters must match the identity. Parameter optionality is ignored. Identity comes from the owning slice’s unambiguous single-result keyed-query property or structurally resolved projection keys. Performer-served views, tenant-context parameters and unknown identity types are skipped. |
PLAY0536 |
Warning (opt-in: --check event-consumers) |
The newest generation of a local event has no declared projection, reducer, reaction, constraint or interaction consumer. Specifications and production do not count. Imported external contracts are exempt; legitimate terminal facts may still be reported. |
PLAY0537 |
Warning (opt-in: --check navigation) |
A screen is unreachable from contributions or attached shell-level behaviors, including through screen actions, row clicks, behaviors, discovered forms or opened dialog templates. Unattached named behaviors and unreachable cycles do not establish entry points. With no entry points, one application finding reports that no screen is reachable. |
Model consistency
Section titled “Model consistency”These errors are reported by ordinary compilation, including compilation of a folder as one application; semantic binding is not required. References resolve from the innermost scope outward. Unknown or ambiguous declarations and imported shapes are not guessed.
| Code | Severity | Reported when |
|---|---|---|
PLAY0282 |
Error | A declarative validate rule targets a field absent from the command’s declared shape, including named rules with implementation blocks. A dotted path is followed through declared composite types; continuing past a primitive, concept or enum field is reported, while a path through an undeclared or imported type is left undecided. |
PLAY0283 |
Error | The type supplied by reads <View> by <field> is incompatible with every declared query by parameter of that view. Filter parameters do not substitute for a key. Parameter names may differ; distinct concepts remain distinct types. |
PLAY0284 |
Error | A children or nested block never populates a declared element field through its identity, explicit mappings, inherited every mappings, nested blocks, joins, or compatible AutoMap. Coverage is across the block’s events, not a requirement that every update event fill every field. |
PLAY0285 |
Error | A specification’s expected event contradicts every possible declared producer of its when command, using decidable literals, property copies and equality conditions. |
PLAY0815 |
Error | A specification then invokes line is not then invokes <Command>. |
PLAY0816 |
Error | A specification states then invokes <Command>, but no reaction declared in the specification’s own slice invokes that command. A specification runs its own slice only, so the invocation can never be made. |
PLAY0286 |
Error | A specification value is not a member of the enum declared by that specific command, event, read-model field or query parameter. Bare members, qualified members and quoted member names are accepted. |
PLAY0287 |
Error | A command or reaction producer, a capture append mapping, or a specification’s given/then event step, assigns a field absent from the referenced event’s declaration. Dotted paths follow the same rule as PLAY0282: title.missing is reported when title is a primitive, concept or enum, detail.missing when Detail is a declared type without that field. A collection or optional composite field is addressed element-wise. |
PLAY0290 |
Warning | An import names an event, command, read model, concept or type the application declares itself. The declaration is what every reference resolves to and what these checks see, so the import has no effect - remove it. |
PLAY0291 |
Error | A structured value written as an indented block is malformed: an object line is not member = value, member with a block under it, or member none; a list line is not an item; a value is not a string, number, true, false or null; or a header has nothing under it and does not end in none or empty. See structured values. |
PLAY0292 |
Error | An object key does not name a property of the target’s declared composite type. Unknown or imported types remain undecided. |
PLAY0293 |
Error | A statically known value has the wrong shape for its target: a collection expects a list, a declared composite expects an object, and a scalar cannot accept a list or object. |
PLAY0294 |
Error | A structured value repeats a member (including inside a nested object or list); each member may be stated once. |
An import never changes what these checks see: a name the application declares resolves to that declaration whether or not it is also imported, and an imported name nothing here declares keeps an unknown shape.
These checks do not execute handlers, custom predicates or opaque expressions. An undeclared query signature does not establish a read-key mismatch. An unknown event shape under AutoMap, or an open all subscription with AutoMap, leaves projection coverage undecidable. Outcome checks compare explicit producer mappings only; they do not invent mappings for omitted fields.
Concept compliance markers, qualifiers and secret scopes are admitted by ESM v13. PLAY0268 refuses compliance on enum or event-source/stream identity concepts and refuses an event containing personal or explicitly subject-scoped secret values together with an explicit subject mark until lineage is admitted. The latter check is source/binder-only: subject marks have no ESM bytes. PLAY0515 still rejects protected identities during source validation. The strict reader and programmatic validator refuse compliance below v13, unknown special categories or scopes, secret scope next to personal, and compliance on enum or identity concepts. Reasons remain report-only (PLAY0270).
Caller-supplied equality filters on collection queries are admitted by ESM v14. PLAY0268 names the query, filter and reason for a refused filter: it has a from source, returns a single result, lacks a same-named scalar primitive/concept/enum property, differs in nominal type (ignoring optionality), repeats a name or duplicates by. Explicit scope and context-sourced by each have their own refusal. Performer queries are opaque reads, but a context-sourced by or filter argument on one reports PLAY0810 instead of being omitted from its shape. The strict reader and evaluator reject unknown/repeated filter values, missing required filters, null and type mismatches. PLAY0468 applies to unknown/repeated/missing required specification arguments in both query spellings. See Queries.
ESM v26 admits chronological Date/DateTime comparisons only in command require, produces when and command/property validation rules. PLAY0268 refuses mixed primitives, optional condition operands, concept rules, reaction where, protected read paths, $context and today; a refused whole comparison reports only this code, without checking literals. In an admitted position, an invalid date literal or a DateTime literal without an explicit offset or Z reports PLAY0273. Runtime offset-less DateTime inputs on participating properties reject with Validation before rules, even for skipped comparisons. See command date comparisons.
ESM v28 admits Uuid == and != only in command require and produces when. PLAY0268 refuses ordering, optional or collection operands, two different Uuid concepts, Uuid against text, $context, reaction where, and Uuid in validation rules and concept rules; a refused whole comparison reports only this code, without checking its literal. In an admitted comparison, a literal that is not a lowercase hyphenated 36-character Uuid reports PLAY0273. See Uuid equality in command conditions.
A refusal family moves out of PLAY0268 into its own code when a host must act on it differently; PLAY0268 means not representable in a supported ESM version yet. A provide from a file or code block no longer reports it: ESM v57 admits that value as an implementation attachment (decision 0167).
For executable-model dispositions, see PLAY0268–PLAY0271 above and PLAY0800 under commands, projection semantic-model admission, what the executable model admits for commands, and constraints.
AST authoring
Section titled “AST authoring”| Code | Severity | Reported when |
|---|---|---|
PLAY0288 |
Warning | An accepted AST authoring operation canonically prints a touched document. The message states how many comments could not be retained and on which lines; attached comments follow their syntax owners, whitespace is normalized, and untouched documents retain their exact bytes. |
PLAY0289 |
Error | An empty authoring workspace has no source documents to compile to an executable model. You can still propose its first typed document. |
Source-authoring acceptance and executable readiness are separate verdicts. An authoring proposal validates the complete .play application and identity continuity without claiming that every language construct is supported by the executable backend profile. Executable-only workspace transactions remain strict.
Event context paths
Section titled “Event context paths”Every $eventContext.<path> - in a projection expression or in a dynamic dictionary key such as countByType.$eventContext.eventType.id - is checked against the event context catalog. Chronicle resolves the path by reflection when it builds the projection and fails on one it cannot resolve, so this is the only place the mistake can be caught early. An unlisted member is a warning because a runtime may resolve more than the catalog lists; a path that can never resolve is an error.
| Code | Severity | Reported when |
|---|---|---|
PLAY0295 |
Warning | An $eventContext.<path> opens with a member the event context does not have, such as $eventContext.causationId. A member resolves written camelCase or with only its first letter uppercased. |
PLAY0296 |
Warning | An $eventContext.<path> continues into something the member before it does not have, such as $eventContext.eventType.name. The derived function Week is case-sensitive: occurred.Week resolves and occurred.week does not. |
PLAY0297 |
Error | An $eventContext.<path> continues below causation or tags. They are collections with no addressing grammar, so a path below them never resolves. |
PLAY0298 |
Error | An $eventContext reference names no member, as in $eventContext. or a dynamic key ending in .$eventContext, or has an empty segment. |
PLAY0299 |
Warning | A dynamic dictionary key names a $ source other than $eventContext, $eventContent or $causedBy, such as bySource.$eventSourceId. Only $eventContext.<path>, $eventContent.<path> and $causedBy.subject, .name or .userName are resolved; any other source becomes the literal key. |
Specification semantics
Section titled “Specification semantics”| Code | Severity | Reported when |
|---|---|---|
PLAY0350 |
Error | A command or event specification value is null; in Chronicle an optional fact is a separate event. Optional read-model values may be null. |
PLAY0351 |
Error | A given readmodel or then readmodel block does not state every declared key part, or its inferred identifier when no key is declared. A scalar then query … result block may derive its identifier from the argument. |
PLAY0352 |
Error | A specification without an action asserts an event or error, or has no read-state/query outcome. One actionless query with one error and no other outcome is admitted as a Validation rejection from ESM v18; an error without a query remains invalid. |
PLAY0353 |
Error | A specification value is null for a required property, or a nested command/event property is null; only optional read-model properties admit null. |
PLAY0354 |
Error | A structured specification object omits a required property of its declared composite type. |
PLAY0355 |
Error | The composite type declared for a structured specification value cannot be resolved. |
PLAY0356 |
Error | A typed structured specification object repeats a member; inline JSON duplicates are caught earlier by PLAY0294. |
PLAY0357 |
Error | An ESM message beginning with $strings. has no valid dotted key. Keys follow .strings assignments: an ASCII letter or underscore first, then word characters; subsequent segments contain one or more word characters. |
PLAY0358 |
Error | A specification declares more than one when action (command or appended event). |
PLAY0359 |
Error | then events in any order is malformed or repeated. |
Interaction
Section titled “Interaction”The interaction model - behaviors, the on clauses that start them, the actions they run and the continuations those actions branch into. The fifty codes from PLAY0300 upwards are reserved for this band as a whole, so a later addition lands beside its siblings rather than wherever there happened to be room.
A behavior is deferred from the backend ESM v1 profile in the same way every other UI construct is - see PLAY0269. Deferred does not mean droppable: the syntax tree, the printer and the semantic model carry every interaction construct in full, and a target that cannot realize one reports it rather than dropping it.
| Code | Severity | Reported when |
|---|---|---|
PLAY0300 |
Error | A behavior declaration is not of the form behavior <Name>. |
PLAY0301 |
Error | A behavior name is declared more than once. |
PLAY0302 |
Error | A line in a behavior body is neither description, parameter, order nor an on binding. |
PLAY0303 |
Error | A behavior parameter declaration is not of the form parameter <name> [<Type>]. |
PLAY0304 |
Error | A behavior declares the same parameter name more than once. |
PLAY0305 |
Error | A behavior order is not an integer. |
PLAY0306 |
Warning | A behavior declares no bindings, so nothing it is attached to can run anything. |
PLAY0307 |
Error | An on clause names neither a built-in interaction kind, an event, an interval, nor a declared application trigger. |
PLAY0308 |
Error | An interaction binding declares no actions. |
PLAY0309 |
Error | An interaction binding declares where more than once. |
PLAY0310 |
Error | A line where an action was expected does not name one of the action kinds. |
PLAY0311 |
Error | An execute action is not of the form execute <Command>. |
PLAY0312 |
Error | A navigate action is neither navigate to <Screen> nor navigate back. |
PLAY0313 |
Error | An open dialog action does not name a dialog template, or a close action is not close dialog. |
PLAY0314 |
Error | A refresh action does not name a query. |
PLAY0315 |
Error | A set action is not of the form set <target> to <value>. |
PLAY0316 |
Error | A notify action is not of the form notify <info|warning|error> "<text>". |
PLAY0317 |
Error | A confirm action carries no message. |
PLAY0318 |
Error | A raise action does not name an application trigger. |
PLAY0319 |
Error | An action argument is not of the form with <name> from <binding>. |
PLAY0320 |
Error | A continuation is attached to an action that cannot fail, so it could never run. navigate, notify, set and close dialog have no outcome to branch on. |
PLAY0321 |
Error | An on result continuation is attached to something other than open dialog. |
PLAY0322 |
Error | A uses clause is not of the form uses <Behavior>. |
PLAY0323 |
Error | An argument at a uses site is not of the form <parameter> <value>. |
PLAY0324 |
Error | Interaction nesting went deeper than the compiler admits. Extract the inner actions into a named behavior. |
PLAY0325 |
Warning | An interval trigger is below the floor a client can usefully honour. |
PLAY0326 |
Error | An application trigger is declared with a name reserved as a built-in interaction kind. on <Name> would mean the interaction and never the trigger, so the declaration would be unreachable. |
PLAY0330 |
Warning | An action names a command the document does not declare. |
PLAY0331 |
Warning | A navigate to action names a screen the document does not declare. |
PLAY0332 |
Warning | A refresh action names a query the document does not declare. |
PLAY0333 |
Warning | An open dialog action names a dialog template the document does not declare. |
PLAY0334 |
Warning | A raise action or an on clause names an application trigger the document does not declare. |
PLAY0335 |
Warning | An on event clause names an event the document does not declare. |
PLAY0336 |
Warning | A uses clause names a behavior the document does not declare. |
PLAY0337 |
Error | A uses site supplies an argument the behavior declares no parameter for. |
PLAY0338 |
Error | A uses site leaves a behavior parameter without an argument. |
PLAY0339 |
Warning | Actions follow an unconditional navigation, so they could never run. |
PLAY0340 |
Warning | Another file of a folder repeats an attachment of the same module or feature - a uses of the same behavior with the same arguments, or an inline on block identical to one already attached. Only the first, in file-path order, is kept; the repeat is ignored and the warning names the file that attached it first. Folders written by earlier versions restate a module’s or feature’s attachments in every descendant file, and report this once per copy. |
PLAY0341 |
Error | A guarded action child is not when <condition> execute <Command>, otherwise hidden, otherwise execute <Command> or navigate to …; navigation is repeated, or otherwise hidden has command arguments. |
PLAY0342 |
Error | A label-headed guarded action declares no when alternatives. |
PLAY0343 |
Error | A guarded action repeats otherwise, or declares a when alternative after it. |
PLAY0344 |
Error | A guarded action condition does not compare an item.<field> path with a literal. Ordering operators require a number; contains and starts with require a string. |
PLAY0345 |
Warning | An item path in a guarded action condition or input binding names no subject field, continues past a scalar, or crosses a collection-valued field. |
PLAY0346 |
Warning | A guarded action has no nearest data subject, or multiple data directives tie in its nearest container; an authored for item over several data is ambiguous unless a table in scope shows exactly one collection data, and the message names the candidates. Field checks are skipped until the subject resolves. |
PLAY0347 |
Warning | Earlier alternatives provably shadow an alternative. Guards use first-match order; proof uses DNF comparison-set inclusion with a 64-disjunct expansion cap. Overlap alone is not reported. |
PLAY0348 |
Warning | A guarded alternative or otherwise execute supplies a with argument the chosen command does not declare, or binds a subject field whose collection cardinality differs from the command input. |
Guarded-action checks PLAY0341–PLAY0348 are shared by the TypeScript compiler, Monaco and VS Code. Subject and command shapes that are imported but undeclared, or ambiguous, remain unknown rather than guessed. See Editor diagnostic support for the remaining C#-only checks.
An inline on block is an anonymous behavior, so it has no name to report against. Diagnostics inside one cite the position and the trigger instead.
Match validation binding
Section titled “Match validation binding”| Code | Severity | Reported when |
|---|---|---|
PLAY0366 |
Error | A bare named matches pattern is not defined; only email is defined. Use a quoted portable pattern for custom matching. |
PLAY0367 |
Error | A quoted matches operand has invalid regular expression syntax. |
PLAY0699 |
Error | A matches pattern uses a construct outside the portable match dialect, exceeds 1,000 source code units or exceeds 3,000 expanded nodes (including optional, loop and alternative choice points). Names the construct and suggests an equivalent where one exists; both compilers report it. |
PLAY0787 |
Warning | An exact Studio v1/v2 lookaround text-rule shape is deprecated. Binding preserves the syntax but stores its equivalent first-class ordinal rule. Use the literal text rule or ==/!= instead. Other lookarounds still report PLAY0699. |
PLAY0368 |
Error | A validation rule names a severity other than information, warning or error. |
PLAY0369 |
Error | A require body has an invalid or repeated severity directive. |
Projection binding
Section titled “Projection binding”| Code | Severity | Reported when |
|---|---|---|
PLAY0380 |
Warning | A projection construct binds, but Chronicle’s projection lowering drops part of it: all inside a children or nested block loses its subscription to every event type and behaves as every. |
PLAY0381 |
Warning | A projection-level key is parsed but does not route events in Chronicle or the executable semantic model. Declare keys on each from (or its events). |
PLAY0382 |
Error | A variant declares no enters on event. |
PLAY0383 |
Error | A projection-level shared handler maps a property absent from a variant’s known read-model shape. Unknown shapes remain undecided. |
PLAY0801 |
Error | An event is used more than once at one projection level across from, remove with, remove via join and clear with, or more than once in that level’s separate join set. Each children, nested and variant block starts fresh sets. One event cannot update two rows of the same level; see from-event. |
PLAY0802 |
Error | An event source’s stored name is exactly Default, or an event stream’s stored name is exactly All. The stored name is the id pin when present, otherwise the declaration name. Choose a nonreserved stored name; comparison is ordinal. See event sources. |
PLAY0803 |
Warning | An admitted matches pattern has exponential ambiguity in browser backtracking. Names the repeated subexpression and suggests a simple equivalent where available. Both compilers check up to 256 expanded positions and 500,000 construction/edge-pair steps; exceeding either cap silently skips analysis. Polynomial ambiguity is not checked. See portable match dialect. |
PLAY0384 |
Error | Two variants in one projection have the same name. |
PLAY0385 |
Error | An entering event is claimed more than once in one projection. |
PLAY0386 |
Error | A given caller line is not authenticated, role "<name>", or claim "<type>" = "<value>". |
PLAY0387 |
Error | A specification declares more than one given caller block or then denied outcome. |
PLAY0388 |
Error | then denied contains extra text or is mixed with another outcome. |
PLAY0389 |
Error | A specification exercises an authorized command or query without a given caller fixture or given caller as <Persona>. A command or query gated only by an anonymous policy needs no caller, so its specifications may omit it. |
Constraints in the semantic model
Section titled “Constraints in the semantic model”These diagnostics cover constraint binding and the parser warning for file-backed constraints.
| Code | Severity | Reported when |
|---|---|---|
PLAY0390 |
Error | A unique constraint names an event the application does not declare. |
PLAY0391 |
Error | A unique <property> on <Event> constraint names a property the event does not declare. |
PLAY0392 |
Error | Two constraints in the application share a name. The name is a constraint’s identity in the event store - it keys the constraint’s index and its violations - so it is unique across the whole application, not just its slice. |
PLAY0393 |
Error | ignore casing is declared on a unique event constraint; it applies only to unique property values. |
PLAY0394 |
Warning | Another file declares an identical authorize gate on the same module or feature. The first is kept and the repeated gate is ignored; distinct gates accumulate with AND. |
PLAY0396 |
Warning | A file <Path> constraint names a Chronicle IConstraint class, which can only declare uniqueness. Use unique ... for portable uniqueness; put other rules in command validation or a require condition. |
Inline code migration
Section titled “Inline code migration”Use an opening fence with an info string, such as ```csharp (without the spaces), for every inline implementation. Use ```text for multiline descriptions. The old language-line form, validate csharp, and bare description fences still parse during the deprecation window; printing a document converts them to the new form.
| Code | Severity | Reported when |
|---|---|---|
PLAY0397 |
Warning | An inline code block uses a separate language line, validate csharp, a multiline description uses a bare fence, or a workflow or state machine uses a deprecated verb: action ... sends, entering send, entering start or then sends. The message names the replacement (invokes or starts; see the migration notes in workflows and state machines). |
A compiler-authored typed repair is offered only when PLAY0397 identifies a
validate csharp header or a deprecated sends, send or start lifecycle verb. It uses an identity replacement and canonical printing
to produce a tagged ```csharp fence or the invokes and starts forms. The entire file is reprinted; other
legacy forms and whitespace may change, but a repair that would drop any comment
is refused. Preview it through the revision-checked AST authoring contract (or
MCP read-workspace repairs / propose-repair); review the bytes before applying.
Other legacy forms are not individually offered as repairs.
Repeated command or reaction-trigger reads
Section titled “Repeated command or reaction-trigger reads”| Code | Severity | Reported when |
|---|---|---|
PLAY0410 |
Error | A command or reaction trigger reads the same view more than once without an alias on every instance. |
PLAY0411 |
Error | Two reads in a command or reaction trigger use the same alias. |
PLAY0412 |
Error | A reads alias collides with a command property or reaction trigger value. |
Implementation attachment loading (host-supplied)
Section titled “Implementation attachment loading (host-supplied)”These warnings are returned by AttachmentFiles.Load for implementation files that remain UnresolvedFile. Syntax compilation alone does not read files.
| Code | Severity | Reported when |
|---|---|---|
PLAY0430 |
Warning | An attachment path is absolute, drive-qualified, escapes the model root, or is not portable. |
PLAY0431 |
Warning | An attachment or a directory on its path is a symbolic link or reparse point. |
PLAY0432 |
Warning | An attachment or a directory on its path is missing. |
PLAY0433 |
Warning | An attachment exceeds 2 MiB or the attachment set exceeds 8 MiB. |
PLAY0434 |
Warning | An attachment cannot safely be read as UTF-8 text. |
Executable semantic model
Section titled “Executable semantic model”| Code | Severity | Reported when |
|---|---|---|
PLAY0445 |
Warning | A v1–v3 flat executable-model projection transition carries deprecated ZeroOrOne or Many affected-instance cardinality. Chronicle routes one key per transition; use a join for structural many. Returned by ExecutableSemanticModel.DeprecationDiagnostics for constructed or deserialized ESM, with a model-level location because ESM does not retain source positions. The source binder produces only One; query cardinality is unaffected. |
PLAY0449 |
Error | A given fact needs a historical event shape (message names the event and revision), which Screenplay does not consume yet; or an event’s source revision disagrees with its persisted catalog revision and requires explicit forward advancement. There is no fallback from current to historical properties. |
File imports
Section titled “File imports”See Imports.
| Code | Severity | Reported when |
|---|---|---|
PLAY0454 |
Error | An import inside a module or feature does not name files as import "<path or glob>". |
PLAY0455 |
Warning | A file import pattern with wildcards matches no .play file. |
PLAY0456 |
Error | A file import names one file, without wildcards, and that file does not exist. |
PLAY0457 |
Error | Two imports place the same file in a module or feature where neither lies inside the other. A file belongs in one place. |
PLAY0458 |
Error | Imports keep placing a file deeper than 32 levels - they form a cycle. |
PLAY0459 |
Error | A file imported into a module or feature declares a module other than the one it is placed in. Restating the module it is placed in is allowed. |
PLAY0460 |
Error | The top level of a file imported into a module or feature holds something that scope cannot hold, such as a screen template in a file placed in a feature. |
Refusal branches, redelivery and no-event assertions
Section titled “Refusal branches, redelivery and no-event assertions”Refusal branches and $refusal values bind and execute from ESM v19. Redelivery and then no events bind and execute from ESM v17; earlier strict readers reject their respective canonical members.
| Code | Severity | Meaning |
|---|---|---|
PLAY0538 |
Error | An on refused header is malformed, uses an unsupported selector, or appears outside an invokes block. Use on refused [by validation | by constraint [<Name>] | by authorization]. |
PLAY0539 |
Error | A refusal branch is empty, repeats or adds children to acknowledge, combines acknowledgement with productions, or contains another kind of effect. Use acknowledge alone or one or more produces <Event> blocks. |
PLAY0540 |
Warning | A refusal branch is shadowed by an earlier selector, or its declared constraint targets none of the invoked command’s events. Bare refusal covers validation and constraints, not authorization. |
PLAY0541 |
Error | A $refusal value is outside a branch’s event mapping, has an unknown member, uses constraint outside a constraint selector, or targets an incompatible property type. The values reason, constraint and message are String values. |
PLAY0542 |
Error | A named constraint in a refusal selector does not resolve to a declared constraint. |
PLAY0557 |
Warning | An on refused by authorization branch invokes a command gated by its own, feature or module authorization without a declared invoking identity. With no caller the reference runner always refuses the command. Arc runs commands as the system only for a reactor carrying [ExecuteCommandsAsSystem]. Declare runs as system role "<Role>" to state the intended identity; it suppresses this warning and selects released ESM v10. Refusal branches select ESM v19. |
PLAY0543 |
Error | when redelivered <Event> to <Reaction> is malformed, or its values, optional for and route locator do not identify exactly one definitely matching given event occurrence with no undecidable candidates. Use for, values, stream or no stream to narrow the locator. |
PLAY0544 |
Error | The redelivery reaction is unknown or ambiguous, or has no event trigger on the stated event. |
PLAY0545 |
Error | then no events is malformed, repeated, has child mappings, or accompanies event, event-order, error or denial expectations. Use one leaf assertion after an action, including when append; read-model, query and response assertions may accompany it. |
Reaction command identity
Section titled “Reaction command identity”runs as is admitted by released ESM v10; PLAY0268 no longer refuses reaction command identity. Omitting it preserves existing executable bytes. System claim conditions evaluate to unknown and a final unknown denies.
| Code | Severity | Meaning |
|---|---|---|
PLAY0647 |
Error | runs as is malformed, repeated or misplaced, or contains an empty or duplicate role. Use one reaction-level runs as system [role "<Role>" and role "<Role>"] line. Roles are quoted literals; zero roles is allowed. |
PLAY0648 |
Warning | A reaction invokes a command with its own or inherited authorization gate without declaring runs as. Both compilers report at most one finding per invocation; an authorization refusal branch receives PLAY0557 instead. |
PLAY0649 |
Warning | The reaction declares identity but has neither invocations nor an inline or file implementation body. Both compilers check this. |
PLAY0650 |
Warning | C# binder only: a declared role is referenced by no invoked command’s effective gate. Opaque gates and inline or file reaction bodies suppress this least-privilege finding. |
PLAY0651 |
Warning | C# binder only: the declared system identity definitely cannot satisfy an invoked command’s effective gate. Claim conditions and other unknown results are not treated as definite denial. |
PLAY0652 |
Warning / Information | Opt-in privilege completeness: each producer of an elevated reaction’s trigger event must require every declared system role. Ungated commands, captures and reaction productions produce Warning; opaque gates produce Information because they cannot be compared. Clock and application triggers have no producer and are silent. |
See Refusal branches, Redelivery specifications and Specification syntax.
Specification actions
Section titled “Specification actions”See Specifications.
| Code | Severity | Reported when |
|---|---|---|
PLAY0461 |
Error | A given clock or when clock does not state one ISO 8601 instant with an offset or Z, or given clock is repeated. |
PLAY0462 |
Error | A when trigger line is not when trigger <Trigger>. |
PLAY0463 |
Error | A given capture or when capture line is not <given|when> capture <Capture>. |
PLAY0464 |
Error | A when query line is not when query <Query>, a then result line is not then result [exactly], or then no result is malformed or repeated. |
PLAY0465 |
Error | A query result is asserted without when query, a performed query asserts no outcome, results conflict with no result, or a query error is combined with an action, multiple calls/errors, a result, then no result, denial or another outcome. Both compilers share the query-error shape checks; executable v18 admission and Validation comparison remain C# checks. |
PLAY0466 |
Warning | A when trigger names a trigger nothing declares or registers, or a value its declaration does not carry. |
PLAY0467 |
Warning | A given capture or when capture names a capture the application does not declare. |
PLAY0468 |
Error | A when query or then query … arguments argument is unknown or repeated, or a required by or filter argument is missing. |
Inline event declarations and metadata
Section titled “Inline event declarations and metadata”These codes cover inline command events and event metadata.
| Code | Severity | Reported when |
|---|---|---|
PLAY0469 |
Warning (inline), information (plain) | A production copies the command identifier into payload while targeting that same identifier. The inline-only repair removes the property and mapping, explicitly changes the event contract, retires its property address, and is excluded from fix-all. Consumers, opaque implementation impact or comment loss refuse the repair. Plain/standalone contracts receive guidance only: review persistence and generation evolution before changing their shape. To keep the stored contract instead, remove the copy with propose-property (action: "remove", newGeneration: true, CanonicalizeTouchedDocuments), which drafts generation N+1 without the copy and extracts an inline event in the same proposal. The result is an evolution draft, not deployment-ready. |
PLAY0470 |
Error | A command targets another event source but one or more productions omit for, or both an inline and a plain production omit for and therefore have different defaults. The diagnostic names the production. State every destination explicitly; cross-source execution is still unsupported. |
PLAY0471 |
Information | An event’s id equals its current name. The typed removal repair covers inline and standalone declarations, preserves the executable model and catalog, and refuses comment loss. Monaco and VS Code also offer an editor quick fix to remove the complete line unless it has a trailing comment. |
PLAY0472 |
Error | Event id is missing its nonempty quoted value or is repeated. |
PLAY0686 |
Warning (retired) | No longer reported: ESM v16 carries event id pins as stored type names under decision 0075. Retained for compatibility with earlier compiler warnings. See event rename pins. |
PLAY0473 |
Error | An inline event name collides with a standalone declaration, import, or another inline declaration. |
PLAY0474 |
Error | produces event occurs outside a command, such as in a reaction. |
PLAY0475 |
Error | An inline event declares generation in its header or body. Extract it before evolving generations. |
PLAY0476 |
Error | A production supplies unescaped system-assigned namespace, sequence, correlation, causation, causedBy, or occurred, or an inline event supplies origin. |
PLAY0477 |
Error | Event documentation is not one nonempty fenced Markdown block, or is repeated. |
PLAY0558 |
Error | Module, feature, slice, command, read-model or reaction documentation is not one nonempty fenced Markdown block, or is repeated. |
PLAY0559 |
Warning | Files give different documentation for one module or feature. The first documentation is kept. |
PLAY0572 |
Error | A given caller as <Persona> reference is malformed, has body lines, or names an unknown top-level persona. Unknown references list declared personas. |
PLAY0573 |
Error | A persona caller cannot be synthesized or verified against its policies. Binding names the persona, policy and refusal (negation, nonLiteralClaim, roleClaim, opaqueImplementation, unresolvedPolicy, noPolicies); use an explicit given caller. |
PLAY0574 |
Warning | Opt-in personas check: none of a persona’s policies gates a command, query or inherited screen scope. |
PLAY0575 |
Warning | Opt-in personas check: an effective command or query gate definitely denies every declared persona’s synthesized caller; unsynthesizable or undecidable callers are unknown. |
PLAY0576 |
Information | Opt-in personas check: required atoms do not pin an or with multiple buildable alternatives. Names an unchosen alternative and suggests adding a policy that pins it. |
Malformed typed mappings and duplicate destinations retain PLAY0044 and PLAY0193. Descriptions retain their existing diagnostics. Event descriptions and documentation retain their information diagnostic (PLAY0270). Event rename pins that differ from the event name select ESM v16 and carry storedName; equal-name pins keep the earlier version and bytes, and PLAY0686 is retired. Invalid pins, generation disagreements and stored-name collisions use PLAY0472.
Production destination advice and repairs
Section titled “Production destination advice and repairs”| Code | Severity | Reported when |
|---|---|---|
PLAY0478 |
Information | A plain produces <Event> omits for and its command has one required scalar identifier. Conditional productions and optional or collection identifiers are not reported. |
PLAY0478 does not change routing or executable-model bytes. Its typed repair
replaces the production with one that explicitly states for <identifier>.
Accept it only when that event should address the command’s identifier: a plain
omission can intentionally use an allocated identity, or inherit another
production’s explicit destination. The repair is not offered for an optional or
collection identifier. It is also refused when the original or candidate has no executable model,
when the repair would change the language or semantic version, or when any other production’s
effective destination would change (including through a command default).
Discovery verifies these conditions and comment preservation once per subject on an
immutable workspace snapshot; a new snapshot cannot reuse those verification results.
The verified PLAY0478 repair is available through the
MCP repair workflow.
Monaco and VS Code do not offer a quick fix for PLAY0478 or PLAY0470.
PLAY0470 has a separate explicit-intent MCP workflow:
select every event-production occurrence, confirm explicit expressions and existing
named routes, then review the retained candidate report before explicit apply.
Only missing for expressions are filled. This establishes author-selected routing
from an invalid model; it proves no executable preservation and offers no fix-all.
For PLAY0166 on a command production, a typed repair can add an event
declaration to the producing slice. Properties follow mapping order; command
property paths retain their types and concepts (including compliance markings),
and $context.occurred becomes DateTime. No generation, tags, subject or origin
is inferred. Unknown sources, literals, computations, reads, conflicting producer
shapes, imported or already-declared events, and cross-file producers have no
repair. Any workspace document with parser errors also blocks inference, because its partial
syntax may hide a contract or another producer. Reaction and capture producers are not inferred.
Both repairs require canonical formatting consent and refuse any dropped comment.
Discovery verifies authoring acceptance for PLAY0166 too: an inferred event whose
fields conflict with a specification is not offered. Discovery reuses cached acceptance
and conflicts on the same immutable workspace snapshot; diagnostics are never cached.
Every proposal runs one fresh transaction, even after discovery. A matched repair
that fails returns that transaction’s typed conflicts and full diagnostics; UnknownRepair
means no recipe matches the code and original subject, not a verification failure.
Discovery and preview never write source. Review the write plan and explicitly
accept it through the workspace authoring contract or
MCP repair workflow. Stale workspace or catalog
revisions are rejected. Source authoring and executable readiness remain separate;
for example, compliance attributes and nested mapping paths can require capabilities
the executable model does not yet admit.
Optional values and spelling repairs
Section titled “Optional values and spelling repairs”| Code | Severity | Reported when |
|---|---|---|
PLAY0479 |
Information | A type uses the legacy optional suffix. Write optional after the type. This does not fail --warnaserror. |
PLAY0480 |
Error | optional follows identifier. Write the modifiers in the order Type optional identifier; command identifiers must still be required and scalar. |
PLAY0481 |
Error | A read uses optional. Optional reads are not yet supported; their absence behavior is reserved for #308. |
query Q => observable? is the sole exception: its ? is the only spelling that preserves a one-shot query returning an optional scalar type named observable. It produces no PLAY0479 and is excluded from occurrence repairs and document migrations. See Queries.
PLAY0479 points at the complete type reference. VS Code marks it deprecated.
Its workspace repair replaces only the spelling at that occurrence; a document
repair combines all such replacements in one verified transaction. Both reparse
the result, require unchanged syntax structure, and check that the selected
information diagnostics disappear. Use PreserveTrivia to keep comments, alignment,
line endings and encoding. Canonical reprinting is a separate explicit choice.
Discovery and preview never write files; acceptance still requires current workspace
and catalog revisions. Monaco and VS Code also offer verified TypeScript quick fixes
for one occurrence or the entire document, without requiring .NET.
Generated values and command responses
Section titled “Generated values and command responses”Generated properties, command responses, generated fixtures and return expectations are admitted as ESM v7. A pre-generation reference from authorization (including inherited/composed policies or a generated identifier’s implicit subject), a property rule or a requirement reports PLAY0273: reference an input property or remove generated. Rules on a generated concept select ESM V20: Proven rules are silent, Refuted rules report PLAY0688 with a witness and Unproven rules report PLAY0689 with a reason. Earlier ESM readers refuse these rules rather than drop them; fixtures are checked after shape validation, with failures rejected as Contract and opaque predicates remaining Unsupported. Missing generation fixtures bind, but reached generation returns Unsupported(IdentityAllocation) and cannot pass a specification. Other unadmitted constructs still block executable binding. See commands and fixtures.
For response and generated-fixture compatibility checks only, Date values must be quoted yyyy-MM-dd calendar dates. DateTime values must be quoted yyyy-MM-ddTHH:mm:ss, optionally followed by a decimal fraction of 1–7 digits, and always end in uppercase Z or an explicit +HH:mm / -HH:mm offset. Years range from 0001 to 9999; calendar days must exist, hours range from 00 to 23, and minutes and seconds from 00 to 59. Offsets range from -14:00 to +14:00; at 14 hours the minutes must be 00. These checks do not change general literal parsing. Imported or unresolved value shapes remain unknown rather than being inferred from their names.
| Code | Severity | Reported when |
|---|---|---|
PLAY0482 |
Error | A generated property is declared outside a command. |
PLAY0483 |
Error | A generated property is not a required, noncollection generatable concept (implicit Uuid uuid or an explicit generation declaration). |
PLAY0484 |
Error | Property modifiers repeat or are out of order. Write Type optional generated identifier. |
PLAY0485 |
Error | A generated property is supplied as request or form input. |
PLAY0486 |
Error | A command response is malformed, empty, repeated or conditional. |
PLAY0487 |
Error | A response source does not reference one direct command property. |
PLAY0488 |
Error | A response block repeats a field name. |
PLAY0489 |
Error | A response uses a collection or whole read model, or an explicit field type differs from its source’s type, collection shape or optionality. |
PLAY0490 |
Error | A generated fixture repeats a target, names an unknown, nongenerated or identifier property, or supplies an incompatible or nonconcrete value. |
PLAY0491 |
Error | A return expectation is malformed, repeated, incompatible with the response contract, lacks a command action, or accompanies an error or denial. |
Handler implementation intent
Section titled “Handler implementation intent”| Code | Severity | Reported when |
|---|---|---|
PLAY0492 |
Error | An implementation wrapper has an operand, duplicate wrapper, unknown child or nested file child. |
PLAY0493 |
Error | A hint is not one nonblank quoted string, or has children. |
PLAY0494 |
Error | A handler mixes direct/wrapped sources, or a wrapper selects more than one file/inline payload. |
These wrapper diagnostics also apply to operation phases. Pending or attached intent is not executable admission.
Operations and external systems
Section titled “Operations and external systems”| Code | Severity | Reported when |
|---|---|---|
PLAY0495 |
Error | An external system declaration, or an ability, outcome, returns block, extension, setting or activation line inside one, is malformed or repeated. |
PLAY0496 |
Error | An operation declaration or phase is malformed, or supplies event-only metadata. |
PLAY0497 |
Error | A production reference is ambiguous, or a qualified production does not resolve to an explicit operation. |
PLAY0498 |
Error | An operation name collides with an event or another operation in its owning slice. |
PLAY0499 |
Error | An operation is produced outside a command. |
PLAY0500 |
Error | An operation must reference exactly one uniquely declared external system. |
PLAY0501 |
Error | An operation input mapping is missing, repeated, unknown or incompatible with its declared type. |
PLAY0502 |
Error | An operation specification step is malformed, unresolved, duplicated, incompatible with its command action or asserts undeclared compensation. |
PLAY0508 |
Error | A numeric preamble has an unknown or malformed spelling, or a numbers exact document nests another numbers directive inside a declaration; only a top-level numbers exact is recognized. |
PLAY0509 |
Error | A physical document repeats its numeric preamble. |
PLAY0510 |
Error | A numeric preamble follows domain, imports or declarations. |
PLAY0511 |
Error | A complete number cannot be represented exactly in the bounded Decimal domain. |
PLAY0512 |
Error | Declaration-bearing physical documents or marked import barrels disagree on numeric mode. |
PLAY0513 |
Error | Source options or inserted numeric values disagree with their owning mode. |
The numeric rows are syntax diagnostics. A valid numbers exact document still cannot bind: PLAY0268 reports that exact numeric mode is not admitted by any supported executable model (ESM) version yet, and unmarked documents keep their existing numeric behavior.
These are syntax diagnostics. A valid system, operation or operation specification still cannot bind: PLAY0268 reports that these constructs are not admitted by any supported executable model (ESM) version yet. Operations do not trigger event destination or payload-identity diagnostics. Attached file/inline handlers require unconditional produces and a resolved nonempty language-tagged body; otherwise PLAY0800 remains. Pending command handlers with unconditional productions bind in ESM v23 with PLAY0695; production-less and conditional forms report PLAY0696 and PLAY0697. Diagnostic repairs for PLAY0471 and PLAY0479 are unchanged.
Timeline order
Section titled “Timeline order”| Code | Severity | Reported when |
|---|---|---|
PLAY0516 |
Information | A projection, reducer rule or named reaction trigger uses an event from a later slice, or a command/reaction reads a read model built by a later slice (builder preferred over declaring slice). Reported once per consumer slice and event or read model at its first reference. Reads whose builder’s projections or reducers for the read model being read consume any event produced inside the reader’s child at the reader/builder’s lowest common container are excluded, including from cycle grouping. Projections with a matching variant count, including their shared blocks and variant transitions; unrelated projections and reducers in the same slice do not. Produced events include declarations and command/reaction produces targets, including imported events. A producer in the consumer’s own sub-feature cannot be fixed by reordering. This does not fail --warnaserror. |
PLAY0517 |
Information | A sibling group depends on each other’s events or non-feedback read models, so reordering cannot make every dependency flow left to right. Reported once per mutually dependent group, at its earliest backward reference, instead of individual PLAY0516 findings within that group. This does not fail --warnaserror. |
See Timeline diagnostics for the ordering root, grouping rules, checked references and repair conditions for C#/MCP, the TypeScript compiler, Monaco and VS Code. PLAY0516 offers verified moves, explicit pins before a retained glob, or a complete ordered import list where safe; PLAY0517 and own-sub-feature findings have no repair. These findings and repairs do not change executable behavior.
Declared dependencies
Section titled “Declared dependencies”| Code | Severity | Reported when |
|---|---|---|
PLAY0552 |
Warning | An opted-in container has uncovered counted references into a producer module. One finding per container and producer module, at the container header, with source evidence. If the producers’ shared container is an invalid ancestor target, the finding lists their outermost covering-eligible features instead. |
PLAY0553 |
Information | A valid declaration has no counted explicit reference, including provisional ambiguous coverage. Reported at the declaration. |
PLAY0556 |
Information | Two containers declare each other. Reported on each declaring line. |
PLAY0554 |
Warning | A depends on target is self, an ancestor, a descendant, or does not resolve to a module or feature. |
PLAY0555 |
Warning | The same target is declared again on a container, in one file or across files. Resolved aliases count as repeats; unresolved targets compare by text. The first is kept. |
An ambiguous target uses PLAY0198, naming the equally near candidates. See Declared dependencies for the sibling and qualified-name rules. Malformed statements are parse errors (PLAY0022 in a module, PLAY0024 in a feature).
Event sources and command streams
Section titled “Event sources and command streams”| Code | Condition |
|---|---|
PLAY0503 |
Invalid or duplicate source/stream declaration, including non-scalar types or invalid composite part declarations |
PLAY0504 |
Missing or ambiguous source-owned stream, invalid scalar/composite key mapping or literal formatting, or known incompatible command identifier, production destination or key type |
PLAY0505 |
Both the route and qualified value-property interpretations are viable; neither is selected |
PLAY0506 |
Known scalar or composite part type needs an unsupported portable formatter; bare Int is not supported |
PLAY0507 |
Redundant rename-only stored-name pin |
PLAY0547 |
Invalid, empty, duplicated, conflicting or misplaced specification route/part block |
PLAY0548 |
Specification command occurrence declares routing metadata |
PLAY0549 |
Unresolved specification route or missing, unknown, duplicated, mismatched-shape, nonliteral, incompatible or unformattable stream id/part |
PLAY0550 |
Missing or incompatible routed source identity, or ambiguous producer fallback without a source identifier |
PLAY0551 |
Expected route contradicts its sole producer, the command under test |
Valid source/stream authoring selects ESM v8. Executable mappings use direct required, non-collection, non-generated command properties or literals; property paths still fail with PLAY0268. Attached file/inline handlers with unconditional productions and resolved nonempty language-tagged bodies select ESM v23 without PLAY0695; other attached forms retain PLAY0800. Pending command handlers with unconditional productions select ESM v23 (PLAY0695); no productions and conditional productions are binding errors PLAY0696 and PLAY0697. Editors and MCP preserve original source evidence; unknown imported type shapes are not guessed. There is no new routing or source-pin quick fix. Existing PLAY0470/PLAY0478 repairs still refuse when executable before/after routing proof is unavailable.
Negated claim targets
Section titled “Negated claim targets”| Code | Severity | Reported when |
|---|---|---|
PLAY0546 |
Warning | Semantic binding applies a policy with a claim under not, directly or through grouping, whose target is an optional path, a command’s subject without an identifier, or a non-string type. An undecidable target evaluates to unknown even under negation; a final unknown policy result denies. Reported at the authorization reference against that command’s properties or query argument. The TypeScript syntax compiler does not perform this semantic check. |
See Policies for three-valued evaluation and the distinction between a missing caller claim and a missing comparison target.
Guarded interaction alternatives
Section titled “Guarded interaction alternatives”| Code | Severity | Reported when |
|---|---|---|
PLAY0560 |
Error | Alternatives occur on a trigger other than click, double click, select or change. Submit and non-item triggers have no structured subject in this version. |
PLAY0561 |
Error | A binding mixes alternatives with plain actions or an opaque where guard. |
PLAY0562 |
Error | A when or otherwise branch has no actions. |
PLAY0563 |
Error | An interaction uses the labeled-action one-line when … execute … spelling. C# offers a typed block-form repair. |
PLAY0564 |
Warning / Information | Opaque where on click, double click or select is deprecated. A strict item condition warns and has a C# typed repair; other text is Information without a repair. Other triggers are unchanged. |
Both compilers check these forms. Repairs require individual review (CanFixAll: false) and refuse trailing-comment relocation or comment loss. Conditions reuse PLAY0344–PLAY0348; fallback ordering uses PLAY0343 and missing alternatives uses PLAY0342. See Interactions. Interactions still report PLAY0269 at ESM binding; syntax support is not runtime admission.
Navigation outlets
Section titled “Navigation outlets”An item’s optional screen requires an explicit feature-qualified target, even on a grouping parent. Repeated, missing, quoted or dotted screen operands are PLAY0741.
| Code | Severity | Meaning |
|---|---|---|
PLAY1168 |
Error | The exact target feature has no executable screen with the selected name. Free screens must have been adopted there by their owning slice; descendant-feature screens do not qualify. |
PLAY1169 |
Error | More than one executable screen in the exact target feature has the selected name. |
PLAY1170 |
Error | The selected screen declares fits without page. A screen with no fits, or including page among several placements, is page-capable. |
Explicit destinations never silently select a different screen. Omitting screen retains the consumer’s fallback; see Navigation. Both compilers validate screen destinations in module, feature and screen outlets, including free screens. The TypeScript compiler does not validate layout or template defaults, whose bodies remain opaque. Both skip screen resolution for a target outside the declaring module; C# reports PLAY0750 instead.
The items of a navigation outlet - outlet <name> of navigation on a layout or template, and outlet <name> inherits|extends|overrides on a module, feature or screen. See Navigation. The reference checks run in the C# compiler; the TypeScript compiler parses a module’s, feature’s or screen’s items and reports their form. The canonical corpus pins PLAY0744, PLAY0748, PLAY0749 and PLAY0905 as rejection vectors beside the screen-shell-navigation-positive shell, and a stale or breaking MCP edit meets the same codes (see Author the application shell).
| Code | Severity | Meaning |
|---|---|---|
PLAY0741 |
Error | A navigation item is not a well formed item <id> title "…" [icon X] [target Module[.Feature] [screen Screen]] [slot name]: no or an unquoted title, an unknown or repeated part, or text under an item that is not a sub-item. |
PLAY0743 |
Error | A logo line is not logo image "…" title "…". |
PLAY0744 |
Error | A logo is declared below the layout - in a template, module, feature or screen outlet - or a layout declares a second logo. The logo belongs to the application. |
PLAY0748 |
Error | An item has neither a target nor sub-items, or targets a module or feature the document does not declare. Mirrors Scene navTargetMissing. |
PLAY0749 |
Error | An item’s slot is declared by no layout. An item without a slot renders into the layout’s primary content slot. Mirrors Scene navSlotUnknown. |
PLAY0750 |
Error | A module’s own item targets another module. Mirrors Scene navTargetOutOfScope. |
PLAY0751 |
Warning | An item targets a module that has no feature to go to. Mirrors Scene navModuleWithoutFeatures. |
PLAY0752 |
Warning | An outlet that overrides the inherited items declares none of its own, so the outlet is empty there. |
Screenplay 6 calls every region content is placed in a slot; see Slot roles. The Screenplay 5 forms that wrote a slot as outlet are errors, with no deprecation period. Each message names the replacement and the migration that rewrites the model: screenplay migrate --from 5 --to 6 (the slots-and-outlets step). The TypeScript compiler reports the component and navigation forms; layouts, templates and contributions are opaque to it, so the C# compiler reports the other two.
| Code | Severity | Meaning |
|---|---|---|
PLAY0890 |
Error | A component declares outlet <name>. Write slot <name>. |
PLAY0891 |
Error | A navigation contribution declares destination outlet <name>. Write destination slot <name>. |
PLAY0892 |
Error | A navigate to declares outlet <name>. Write slot <name>. |
PLAY0893 |
Error | A layout, screen template or dialog template declares outlet <name> with no kind. Write slot <name>; an item list is outlet <name> of <kind>. |
Outlets
Section titled “Outlets”An outlet is a named list of items a layout or template offers, and a lower level changes; see Outlets. The Screenplay 5 forms it replaces are errors, with no deprecation period, and each message names the migration screenplay migrate --from 5 --to 6 (the slots-and-outlets step). Layouts, templates and contributions are opaque to the TypeScript compiler, so it reports PLAY0894 (module regions), PLAY0896, PLAY0897, PLAY0898 and PLAY0904; the C# compiler reports every code.
| Code | Severity | Meaning |
|---|---|---|
PLAY0894 |
Error | A layout or module declares `navigation topbar |
PLAY0895 |
Error | A slot declares contributes <Point>. Write outlet <Point> of navigation in <slot>. |
PLAY0896 |
Error | A feature or module declares toolbar <name>. Write outlet <name> extends. |
PLAY0897 |
Error | An outlet line is malformed or misplaced: an unknown kind, a kind below a layout or template, a mode on a layout or template, or items under inherits. |
PLAY0898 |
Error | A line in an outlet or contribution is not an item form, or an item form is malformed - for example a filter whose binding is not sets <Query>.<param>, or a second before/after. |
PLAY0899 |
Error | A hide, before or after names an item the inherited outlet does not have. |
PLAY0900 |
Error | An item is of the wrong kind for its outlet - a tab in an actions outlet, a button in a navigation outlet. |
PLAY0901 |
Error | A filter sets a parameter the query does not have. |
PLAY0902 |
Error | A stat reads its value from a query that returns a list; a stat reads a field of a single-result query. |
PLAY0903 |
Error | A contribute to, or a lower level’s `outlet |
PLAY0904 |
Error | A layout, template, module, feature or screen declares or changes the same outlet twice. |
PLAY0905 |
Error | Two items of one outlet share an id, or an extending level’s item repeats the id of an inherited one. |
Placement, hooks and bindings
Section titled “Placement, hooks and bindings”Where a slice’s screen fits, how a hook opens its slice and what a screen’s elements are bound to; see Screens, Outlets and Forms. Both compilers read the forms on screens and buttons and report PLAY0906 and the malformed show of PLAY0914; forms, and every check of what a line names, are the C# compiler’s.
| Code | Severity | Meaning |
|---|---|---|
PLAY0906 |
Error | A screen’s fits line is malformed: it names a place other than dialog, drawer, pane, panel or page, names one twice, the screen has two fits lines, or it writes a template’s fits slot <name>. |
PLAY0907 |
Error | A hook runs a slice whose command has an input nothing supplies without a form. An identifier comes from the item or screen the hook acts on; any other input needs the slice’s screen. |
PLAY0908 |
Error | A hook links a State Change slice that has no screen and cannot run: an input needs a form, or the hook names a place to open it (opens …). A hook that names no place runs a screenless slice whose inputs resolve. |
PLAY0909 |
Error | A hook opens in slot a slot the template offering its outlet - or the template of the screen it is on - does not declare. |
PLAY0910 |
Error | A hook opens in slot a slot the screen it is on already fills. |
PLAY0911 |
Error | A hook opens in slot a slot whose role (page, pane, panel) the slice’s screen does not list in its fits. A screen without fits fits every role. |
PLAY0912 |
Warning | A component on a screen that shows data - a State View slice’s screen, or one with a data line, a table or a summary - is bound to nothing and given no value, so all it can show is sample text. A form’s screen without data and a component a slot shows the selection of are not checked. Bind it with context or property <path> from <binding>, or give it static text with property <path> = "...". |
PLAY0913 |
Error | A form field’s choose from query line is malformed, chooses from a query that returns one result, or shows a field the query’s rows do not have. An unknown query is PLAY0196. |
PLAY0914 |
Error | A show <Screen> by <param> from <element>.selection line is malformed, stands outside a template slot, names a screen the document does not declare or an element the screen does not have, or keys the shown screen by a parameter its data is not keyed by. |
PLAY0915 |
Error | A button or toolbar item’s enabled when reads item, but it acts for screen, so there is no item to read. |
Named sinks for read models and graphs; see Sinks. Both compilers report every code in this section.
| Code | Severity | Meaning |
|---|---|---|
PLAY0931 |
Error | A sink <Name> for readmodels or sink <Name> for graphs declaration is malformed or has lines under it, or a sink line in a graph is not sink <Name>. |
PLAY0932 |
Error | Two sinks share a name. Sink names are unique application-wide, compared ignoring case, so Reporting and reporting collide. |
PLAY0933 |
Error | A graph names a sink the application does not declare. A read model never reports it: its sink <Name> line is the directive only when <Name> is a declared sink, matched exactly, and otherwise stays a property named sink. |
PLAY0934 |
Error | A read model names a sink declared for graphs, or a graph names a sink declared for readmodels. |
PLAY0935 |
Error | A passive read model names a sink. A passive read model is never materialized, so it has no sink; remove one of the two lines. |
PLAY0936 |
Error | A read model or graph names two different sinks. It is stored in one sink. |
PLAY0937 |
Warning | A read model or graph repeats the same sink line. Keep one. |
PLAY0938 |
Warning | No read model or graph names a declared sink. Remove the declaration or add sink <Name> to what it should store. |
PLAY0939 |
Warning | A read model’s sink <Type> line stays a property named sink, but its type differs only in case from a declared sink. Write the sink’s exact name to store the read model there, or @sink <Type> to keep the property. |
Storylines
Section titled “Storylines”A storyline names an ordered path through the model. See Storylines.
| Code | Severity | Meaning |
|---|---|---|
PLAY0940 |
Error | A storyline declaration is not storyline <Name> ["<title>"]. |
PLAY0941 |
Error | A line in a storyline is not <kind> <reference> ["<note>"] with kind module, feature, slice, command, event, readmodel, query, screen or reaction, nor description "<text>"; or a step has a line nested under it. |
PLAY0942 |
Warning | A storyline step names an element that no declaration of that kind matches. The storyline still compiles; remove the step or point it at the element that replaced it. An ambiguous step reports PLAY0198 instead: qualify it. |
PLAY0943 |
Error | Two storyline declarations carry the same name. |
Agents
Section titled “Agents”An agents block is an explicit operation allowlist, not an authorization grant. See Agents.
| Code | Severity | Meaning |
|---|---|---|
PLAY0964 |
Error | The agents block, operation reference or field is malformed or unsupported. Write a root agents block, query <reference> or command <reference>, and literal quoted descriptions. Fields cannot have children. |
PLAY0965 |
Error | The composed application declares more than one agents block, including across imported files. Keep one. |
PLAY0966 |
Error | No query or command of the declared kind matches the exposed reference. |
PLAY0967 |
Error | More than one operation of the declared kind matches the reference. Qualify it with its module, feature and slice. |
PLAY0968 |
Error | The same operation is exposed more than once, including through different short and qualified references. |
PLAY0969 |
Error | An exposed operation has no nonempty literal description. Add description "<text>". |
PLAY0970 |
Error | An exposed operation is missing its scope, repeats it or uses an unsupported scope. Declare exactly one scope read or scope write on each entry. |
PLAY0971 |
Error | An exposed command does not require scope write. Commands cannot use scope read. |
PLAY0972 |
Error | The agents block is missing its token declaration or repeats it. Declare exactly one tokens personal. |
PLAY0973 |
Error | An unsupported token kind is declared. Only tokens personal is supported; tokens oauth is refused. |
PLAY0974 |
Error | An exposed operation declares approval. Approval is not supported; token scope and model authorization must both permit the call. |
PLAY0975 |
Error | The agents block declares a global scope. Move the scope to each exposed operation. |
PLAY0976 |
Information | The block leaves queries or commands unexposed. The diagnostic reports an aggregate count and up to ten names; unlisted operations remain unavailable to agents. |
PLAY0977 |
Warning | The agents block explicitly exposes no operations. An empty block with tokens personal is valid. |
PLAY0978 |
Warning | Reserved for model comparison reporting a newly exposed agent operation; not emitted by compilation. |
PLAY0979 |
Warning | Reserved for model comparison reporting a loosened agent token requirement; not emitted by compilation. |
PLAY0980 |
Warning | An exposed operation has no effective module, feature or operation authorization gate. Any token holder satisfying the scope can call it. Add an appropriate authorize clause. |
PLAY0981 |
Error | An exposed query is scoped to global. Global queries cannot be exposed to agents. |
PLAY0982 |
Error | An exposed query is performed or graph-backed and has no portable operation identity yet. Both compilers refuse it rather than returning a partial capability surface. |
PLAY1167 |
Warning | An otherwise valid agents block exposes more than 20 distinct resolved queries and commands. Expose at most 20 focused operations to keep agent tool selection effective. The warning is attached to the block after imported references are resolved; it does not change compilation success, authorization or exported capabilities. Named text arguments count and recommendedMaximum give the decimal counts. |
Ability diagnostics
Section titled “Ability diagnostics”Abilities declared on a system, see Systems and abilities. PLAY0495 also covers a malformed ability, an outcome with a payload, an empty returns block, an identifier or generated input and a repeated answers later.
| Code | Severity | Meaning |
|---|---|---|
PLAY0983 |
Error | A system declares two abilities whose names are equal ignoring case. |
PLAY0984 |
Error | An ability’s effect class is not safe, idempotent or once. |
PLAY0985 |
Error | An ability outcome is named next, refused, failed, returned or expired, which are reserved outlets. |
PLAY0986 |
Error | An ability input or returned field names a type that is not declared. |
PLAY1001 |
Error | An invocation names a system or ability that is not declared. |
PLAY1002 |
Error | An invocation branch or workflow outlet names an outcome the ability does not declare. |
PLAY1003 |
Error | An invocation leaves a declared ability input unmapped. |
PLAY1004 |
Error | An invocation maps an input the ability does not declare, or maps one twice. |
PLAY1005 |
Error | An invocation maps an input from a source whose type is incompatible. |
PLAY1006 |
Error | An invocation declares two branches or outlets for the same selector. |
PLAY1007 |
Error | An outlet or branch can never be taken, such as expired on an ability that does not answer later. |
PLAY1008 |
Error | $result, $outcome or $failure is read where no matching branch is in scope. |
PLAY1009 |
Error | A workflow reads a node’s returned value through a path not guaranteed to have passed that node. |
PLAY1010 |
Error | An answers later ability is invoked from a reaction, which has no place to wait. |
PLAY1011 |
Error | An answers later ability is invoked from a state machine, which has no data to hold the answer. |
PLAY1012 |
Error | An approval’s via ability does not answer later with approved and rejected outcomes. |
PLAY1013 |
Error | A compute node is malformed: it has no returns, no body, or an invalid outlet set. |
PLAY1014 |
Error | A reaction trigger combines invokes with an attached body. |
PLAY1015 |
Warning | A once ability is invoked with attempts greater than one. |
PLAY1016 |
Error | Result branches are not allowed on this invocation. |
PLAY1017 |
Error | A given <System>.<Ability> returns, answers or fails step names an ability, outcome or returned field the system does not declare. |
System configuration diagnostics
Section titled “System configuration diagnostics”Secrets and the settings a system maps, see Environments. A malformed extension, setting or activation line is PLAY0495.
| Code | Severity | Meaning |
|---|---|---|
PLAY0990 |
Error | A secret declaration is not secret <Name> with an optional description, or is not at the top level. |
PLAY0991 |
Error | Two secret declarations have names that are equal ignoring case. |
PLAY0992 |
Error | A system setting maps from secret a name that no secret declaration provides. |
PLAY0993 |
Error | A declared secret is not mapped by any system setting. |
PLAY0994 |
Error | A system maps the same setting more than once. |
PLAY0995 |
Error | A system maps a setting that its extension’s contract does not declare. Reported when the model is bound against the extension’s contract. |
PLAY0996 |
Error | A system gives a literal value to a setting its extension’s contract declares secret. Reported when the model is bound against the extension’s contract. |
PLAY0997 |
Error | A system maps a secret to a setting its extension’s contract declares public, which could reach the browser. Reported when the model is bound against the extension’s contract. |
Extension contracts and the lock
Section titled “Extension contracts and the lock”An extension package’s contract.play, the extension line of a system and screenplay.lock, see Extension contracts.
| Code | Severity | Meaning |
|---|---|---|
PLAY0998 |
Error | A contract file is malformed: it has an unknown line, a wrong shape, no extension declaration or more than one. |
PLAY0999 |
Error | A contract does not declare its display name, description or icon. |
PLAY1100 |
Error | A component declares a kind other than react, mount or screenplay. |
PLAY1101 |
Error | A component or requires platform line names a platform other than web, ios, android or desktop. |
PLAY1102 |
Error | A component with a frontend declares no placeholder. |
PLAY1103 |
Error | A contract setting is declared both public and secret. |
PLAY1104 |
Error | A component invokes an ability the contract does not declare. |
PLAY1105 |
Error | A contract declares two abilities, triggers, components or settings with the same name. |
PLAY1106 |
Error | A system names an extension and also declares abilities; the contract is the only source of its abilities. |
PLAY1107 |
Error | A system’s extension reference has no entry in screenplay.lock. A warning in editors, which restore it. |
PLAY1108 |
Error | A locked extension’s contract is not in the local cache or the vendored extensions folder yet, or restore could not fetch it. A warning (“extension not restored”) in editors. |
PLAY1109 |
Error | A cached contract does not match the contract hash the lock pins. |
PLAY1110 |
Error | A lock entry was written for a different version range than the model now asks for. A warning in editors. |
PLAY1111 |
Error | screenplay.lock is malformed. |
PLAY1112 |
Error | A system uses a trigger its extension’s contract does not offer, reported at each use. |
PLAY1113 |
Error | A component placeholder is not static HTML: it has script, an inline handler or an external reference. |
PLAY1114 |
Error | A screen places <System>.<Component>, but the extension’s contract declares no component of that name. |
PLAY1115 |
Error | A screen gives an extension component a property its contract does not declare. |
PLAY1116 |
Error | An on line of an extension component names a signal its contract does not raise. |
PLAY1117 |
Error | A binding reads signal.<value> where the handled signal does not carry that value, or where the interaction handles no signal. |
PLAY1118 |
Warning | An extension component does not support a platform a ui profile targets. |
PLAY1119 |
Error | A provide line is not provide <name> <Type> [optional] from <source>. |
PLAY1120 |
Error | A provide source is not query, host, a literal, an expression over $context values, a file reference or an inline code block. |
PLAY1121 |
Error | A provide has neither from <source> nor a file reference or inline code block beneath it. |
PLAY1122 |
Error | A provide that states from <source> also has a body beneath it. |
PLAY1123 |
Error | The same value is provided twice at one level (application, module, feature or slice). |
PLAY1124 |
Error | A provide redeclares a built-in $context name, which no level may change. |
PLAY1125 |
Error | A provide overrides a value declared higher up with a different type; an override keeps the type. |
PLAY1126 |
Error | A provide ... from query names a query that is not declared, or is declared more than once. |
PLAY1127 |
Error | A provide ... from query names an observable query; a value is resolved once per request. |
PLAY1128 |
Error | The type of a provide ... from query differs from what the query returns, or the query key is missing or surplus. |
PLAY1129 |
Error | Provided values read each other in a cycle. |
PLAY1130 |
Error | An audience declaration is not audience <Name>, or its body holds a line other than description. |
PLAY1131 |
Error | An availability declaration is not availability <Name>, or its body holds a line other than description, for, when or with. |
PLAY1132 |
Error | An available gate is not available for <audiences>, available when <condition> or available with <Availability>, or its operand is missing or is not a PascalCase name. available for accepts not <Audience> for an audience. |
PLAY1133 |
Error | The same audience is declared more than once. |
PLAY1134 |
Error | The same availability is declared more than once. |
PLAY1135 |
Warning | An available for gate, an availability or a persona names an audience that is not declared. Nothing grants it, so the gate stays closed. |
PLAY1136 |
Warning | An available with gate or an availability names an availability that is not declared. The gate stays closed. |
PLAY1137 |
Error | Availabilities build on each other with with in a cycle. |
PLAY1138 |
Warning | An available when condition reads a $context value that nothing provides at that place. An undecided gate stays closed. |
PLAY1139 |
Warning | A screen action, form or reaction invokes a command whose audiences can be off while the invoker’s are on, so the invocation can be refused as not available. when conditions and gates containing not are opaque and skipped; a reaction is never gated. |
PLAY1140 |
Error | An available for or available with line holds a token that is not a name, and, or or a parenthesis. |
PLAY1141 |
Error | A parenthesis in an available for or available with line is never closed. |
PLAY1171 |
Error | A not in an available line negates something other than one audience name: a parenthesised group, another not, nothing, or an availability in available with. |
PLAY1172 |
Warning | An available gate on a screen action or data element can be on while the command or query it binds is not available. A gate on an element can only narrow what its bound part allows, so the element is still hidden when the part is closed; narrow the gate or remove it. |
PLAY1148 |
Error | An event tag expectation is misplaced, repeated, mixed or not a literal: tag <value> and no tags are written only under a then event, no tags cannot be repeated or combined with tag, the value is an identifier or a string, and the line takes no children. |
Screen visuals and slice placements
Section titled “Screen visuals and slice placements”Sketches, HTML mockups and images a screen carries, see Screens, and the linked copies a slice shows, see Slices. Both compilers report PLAY0950, PLAY0951 and PLAY0953 to PLAY0955. PLAY0952 needs the files beside the model, so it is reported where a model root is opened: the MCP server, open-workspace and the tools built on them.
| Code | Severity | Meaning |
|---|---|---|
PLAY0950 |
Error | A screen’s sketch, mockup or image line names no file. Write the path after the keyword, relative to the model root. |
PLAY0951 |
Warning | A screen’s image is not a PNG, JPG, GIF, SVG or WebP file, or its mockup is not an HTML page ending in .html or .htm. |
PLAY0952 |
Warning | A screen’s sketch, mockup or image file is not beside the model: it does not exist, or its path leaves the model root. |
PLAY0953 |
Error | A slice’s shows line is not shows event <Name> or shows readmodel <Name>. |
PLAY0954 |
Warning | A slice shows an event or read model the application does not declare. |
PLAY0955 |
Warning | A slice shows an element it already declares itself, or shows the same element twice. Remove the extra line. |
Projection dictionary keys, set once and children ordering
Section titled “Projection dictionary keys, set once and children ordering”Dynamic dictionary keys, the remove mapping line and the ordering of a children block, see Property mapping and Children. Both compilers report every code in this table.
| Code | Severity | Meaning |
|---|---|---|
PLAY0956 |
Error | A remove <target> line names a target without a dynamic key, so there is no entry to remove. End the target in .$eventContent.<property>, .$eventContext.<path> or .$causedBy.<member>; to empty the whole property, write clear <target>. |
PLAY0957 |
Error | A dynamic key is malformed: .$eventContent names no event property, or .$causedBy names a member other than subject, name or userName. |
PLAY0958 |
Error | A children ordering line is not insert first, insert last or sort by <property> [ascending|descending], takes indented lines, or stands outside a children block. |
PLAY0959 |
Error | A children block declares more than one ordering line. Keep one. |
PLAY0960 |
Warning | A children sort by names a property the element type of the collection does not declare. |
PLAY0961 |
Warning | A .$eventContent.<path> key names a path the event the mapping handles does not have, so the entry is never written. |
PLAY0962 |
Warning | A dynamic key writes into a declared read-model property. Chronicle accepts a dictionary entry only in a dictionary property, and Screenplay has no dictionary type, so Chronicle refuses the projection when it registers it. |
PLAY0963 |
Error | A clear line names a target with a dynamic key. Clearing would keep the entry with no value; write remove <target> to delete it. |
Toolbar buttons
Section titled “Toolbar buttons”The button lines of a screen toolbar and of an actions outlet. See Screens and Outlets. The canonical corpus pins PLAY0761 and PLAY0762 (State View and Automation slices) in its toolbar-button-not-state-change rejection vector.
| Code | Severity | Meaning |
|---|---|---|
PLAY0760 |
Error | A toolbar button line is malformed: no or an unquoted title, an unknown or repeated part, an unknown emphasis, a runs other than close, submit or refresh, or a block under it. |
PLAY0761 |
Error | A toolbar button’s slice names no slice the document declares. Mirrors Scene toolbarButtonSliceNotFound. |
PLAY0762 |
Error | A toolbar button’s slice is a State View, Automation or Translate slice; a button invokes State Change slices only. Mirrors Scene toolbarButtonSliceNotStateChange. |
PLAY0763 |
Warning | A toolbar button names no slice and runs no built-in, so it invokes nothing. A layout’s or template’s default button is a placeholder and is exempt. Mirrors Scene toolbarButtonSliceEmpty. |
PLAY0764 |
Error | A toolbar button’s slice matches slices in more than one feature; qualify it with the feature or module. |
PLAY0765 |
Error | Two buttons, or a button and an item, of one toolbar share an id. |
PLAY0809 |
Error | A capture declares is event source on its key but is not a source events capture with a single property key. |
Application calendar and clock operands
Section titled “Application calendar and clock operands”Decisions 0106 and 0107 add the application calendar and clock operands. A model that uses them binds to ESM v37. Clock operands outside command conditions and validate comparison rules, a clock compared with another clock, and a today offset in hours or minutes report PLAY0268.
| Code | Severity | Meaning |
|---|---|---|
PLAY0812 |
Error | A time zone "<id>" or time zone configurable default "<id>" declaration is repeated, malformed or outside the application root. Declare it once at the application root. |
PLAY0813 |
Error | A command declares calendar more than once, or the line is neither calendar "<id>" nor calendar from $context.<member>. |
PLAY0814 |
Error | A specification declares given time zone more than once, or the line is not given time zone "<id>". |
Application-declared context members
Section titled “Application-declared context members”Decision 0132 adds the application-root context block. A command reads a member as its calendar, and the model then binds to ESM v37. A command calendar naming an undeclared member reports PLAY0853. One block is allowed per application folder across its files; a second file’s block reports PLAY0172, as with identity.
| Code | Severity | Meaning |
|---|---|---|
PLAY0854 |
Error | A context header or member is malformed, a member has a body, the block is repeated in one file, or it is outside the application root. |
PLAY0855 |
Error | A context member uses an unsupported type. Only time zone is supported. |
PLAY0856 |
Error | A context member name is repeated after removing its @ escape. The first declaration is retained. |
PLAY0857 |
Error | A context member uses reserved timeZone or a built-in $context root. The member is not retained. |
Specification case tables
Section titled “Specification case tables”| Code | Severity | Meaning |
|---|---|---|
PLAY0577 |
Error | A parameter requires a name and property-line type, without a body or default. |
PLAY0578 |
Error | A case requires an identifier and at most one inline assignment. |
PLAY0579 |
Error | A parameter name is repeated within a table. |
PLAY0580 |
Error | A case name is repeated within a table. |
PLAY0581 |
Error | Tables require parameters and at least one case. |
PLAY0582 |
Error | A case omits, repeats or invents a parameter assignment. |
PLAY0583 |
Error | A case value is not concrete or cannot be normalized to its declared parameter type. |
PLAY0584 |
Error | A case reference names no declared table parameter or occurs in an excluded position. |
PLAY0585 |
Error | An optional parameter feeds a required target. |
PLAY0586 |
Error | A derived specification name collides in its scope. |
PLAY0587 |
Error | The parameter type is unknown or incompatible with its target type. |
PLAY0588 |
Warning | A declared parameter is never referenced. |
PLAY0589 |
Error | Singular effective expansion cannot represent a table; use ExpandAll. |
See Named case tables.
Design systems and themes
Section titled “Design systems and themes”The design system construct and the theme that implements it. See Design system and Theme.
| Code | Severity | Meaning |
|---|---|---|
PLAY0916 |
Error | A design system line or block is malformed: an unknown section, an unknown token category, component part or state, a bad line shape, a part the component does not declare, or a section declared twice. |
PLAY0917 |
Error | The application declares a second design system; an application has exactly one. |
PLAY0918 |
Error | A theme has a block for a mode the design system’s modes line does not declare. |
PLAY0919 |
Error | A mode, token, component, variant, part, palette entry, value or word is declared twice. |
PLAY0920 |
Error | A theme assigns a value to a token the design system does not declare. |
PLAY0921 |
Error | A theme that implements a design system gives a color token no value in a declared mode. |
PLAY0922 |
Error | A design reference (palette.<name>, <category>.<token>) names something that is not declared, or a token that has no value. |
PLAY0923 |
Error | Design references refer to each other in a loop, so no value can be resolved. |
PLAY0924 |
Error | A component part references a token of a category it cannot take, for example background = space.sm. |
PLAY0925 |
Error | A theme implements a design system the application does not declare. |
PLAY0926 |
Error | A ui profile selects a theme that does not implement the application’s design system. |
PLAY0927 |
Error | The design system has no default theme, or its default theme is not declared or does not implement the design system. |
PLAY0928 |
Warning | In some theme and mode, a component’s text and background resolve to a pair below a contrast rule. The disabled state is not checked. |
PLAY0929 |
Warning | accent, corners or font in a ui profile’s appearance is deprecated; the value belongs in the selected theme. appearance keeps only color scheme. |
PLAY0930 |
Error | A theme’s implements, palette, values or mode block is malformed or repeated. |
Graph queries that collect nested rows
Section titled “Graph queries that collect nested rows”Decision 0163 lets a graph query collect nested rows along one edge from its root, and selects ESM v54. Both compilers report these codes.
| Code | Severity | Meaning |
|---|---|---|
PLAY1144 |
Error | A collect is malformed: its line is not <property> = collect <root> -[alias:]TYPE-> [alias:]Label (or <-[alias:]TYPE-), it does not start at the query’s root, it has no row lines, or a row line is not <property> = <alias>.<property> naming the collected node or edge. |
PLAY1145 |
Error | A collect does not fit the read model: its property is not a list of a composite type (Row[]) or an optional composite type (Row optional), or its row assigns a property the type lacks, assigns one twice, leaves a required one out or assigns a value of another type. |
PLAY1146 |
Error | A collect is nested inside another collect. This version collects one level of rows; follow the edge from the root in a collect of its own. |
PLAY1147 |
Error | A query that collects does not have the shape of a view: it needs exactly one match <alias>:<Label> of its root node alone, its scalar returns come from the root, and a where condition names the root or a collected node, never a collected edge. |
PLAY1149 |
Error | A shape declaration is malformed: it is not shape <Name> at the top level of a document (a shape cannot sit in a module, a feature or a file imported into one), or a field line is not <name> <Type> or carries a key, identifier, subject or generated modifier. |
PLAY1150 |
Error | A uses screen adoption is malformed: it is not uses screen <Name> directly in a slice, a provision under it is not data <Need> via query <Query> [by <param>], or a mapping under a provision is not <field> from <path>. |
PLAY1151 |
Error | A shape is declared more than once. A shape is declared once at the top level of the model. |
PLAY1152 |
Error | A screen is declared more than once in the same scope: at the top level of a document, in a module or in a feature. A slice may still declare a screen of the same name as a screen elsewhere; a reference resolves from where it is written, then by unique match. |
PLAY1153 |
Error | A screen needs the same shape twice (data Invoice[] and data Invoice[]) or two needs share an alias. Tell them apart with data Invoice[] as overdue, and provide it as data overdue via query .... |
PLAY1154 |
Error | A slice adopts the same screen with uses screen more than once. Adopt it once and put every provision under that line. |
PLAY1155 |
Warning | A screen a slice adopts, or declares, needs data that no provision of the slice supplies. It is a warning while the model is being built; a release gate that treats warnings as errors fails on it, and executable screen admission refuses the model with a reason naming the screen and the shape. |
PLAY1156 |
Error | A provision names a shape or alias the adopted screen does not need. The message lists what the screen needs. |
PLAY1157 |
Error | A provision names data the adopted screen already sources with its own data <ReadModel> via query. A provision never overrides a source the screen resolves. |
PLAY1158 |
Error | One uses screen provides the same need more than once. |
PLAY1159 |
Error | A provision’s query returns a list where the screen needs a single value, or a single value where it needs a list. |
PLAY1160 |
Error | A field the adopted screen reads, or its shape declares, is not a property of the providing query’s read model, by the same name or through a <field> from <path> mapping. |
PLAY1161 |
Error | A read model property that provides a shape field has another type than the explicit shape declares for it. A concept stands for its underlying primitive. |
PLAY1162 |
Error | A provision’s by names a parameter the providing query does not declare. |
PLAY1163 |
Error | A provision maps a field (<field> from <path>) that the adopted screen does not read and its shape does not declare. |
PLAY1164 |
Information | A screen declared outside any slice is not adopted by any slice. It is design-only: it never blocks the rest of the model. |
Invocation mapping paths
Section titled “Invocation mapping paths”| Code | Severity | Meaning |
|---|---|---|
PLAY1166 |
Error | Invalid action presentation: hints require a plain action with explicit for item; keys must be unique and nonempty, and placement must be nonempty. Unknown keys and nonempty placement values are retained. Omit the hint to keep the flat action bar. |
PLAY1165 |
Error | A reaction invokes mapping names a field absent from the declared command or triggering event/trigger, or traverses a collection as though it were one record. Use a declared scalar or nested record path, or pass the collection itself to a collection field. A dotted path does not imply collection fan-out, and compilation does not discard a path prefix to find a matching field. Values whose declared shape is unknown remain unchecked beyond their known fields. |
Retired codes
Section titled “Retired codes”A retired code stays out of use forever.
| Code | Retired in | Replacement |
|---|---|---|
PLAY0035 |
Attached-handler admission (decision 0117) | Unconditional produces declares result contract v1 beside an attached or pending handler; unconstrained or unresolved attachments retain PLAY0800. |
PLAY0176 |
v4.25.0 | Repeated reads without aliases are reported as PLAY0410. |
PLAY0686 |
v4.152.0 | Event rename pins that differ from the name are carried as storedName in ESM v16 (decision 0075); no warning is needed. |
PLAY0224 |
Screenplay 6 (outlets) | A contribution to an outlet nothing declares is the error PLAY0903. |
PLAY0740 |
Screenplay 6 (outlets) | Navigation regions are outlets; a malformed outlet is PLAY0897 and the old header is PLAY0894. |
PLAY0742 |
Screenplay 6 (outlets) | An outlet declared or changed twice is PLAY0904. |
PLAY0745 |
Screenplay 6 (outlets) | A mode on a layout’s outlet, or items under inherits, is PLAY0897. |
PLAY0746 |
Screenplay 6 (outlets) | Any navigation outlet nests items. |
PLAY0747 |
Screenplay 6 (outlets) | A repeated item id is PLAY0905. |
PLAY0808 |
Screenplay 6 (outlets) | Feature and module toolbars are outlets, whose buttons name slices (PLAY0761). |