@cratis/pi 7.165.6 → 7.165.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/corpus/skills/cratis-application-slice-conformance/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +3 -2
- package/package/corpus/skills/cratis-screenplay-command-surface/references/described-handlers.md +21 -7
- package/package/corpus/skills/cratis-screenplay-command-surface/references/validate-rules.md +11 -2
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generated-recovery.md +2 -2
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +1 -1
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +4 -4
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +3 -3
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostic-arguments.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +3 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +8 -6
- package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +2 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +1 -1
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/application-shell.md +6 -0
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/file-references.md +1 -1
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +1 -1
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +5 -5
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +4 -1
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +2 -0
- package/package.json +1 -1
|
@@ -44,7 +44,7 @@ This skill is a method: it names no API of its own. When the Screenplay skills a
|
|
|
44
44
|
| --- | --- |
|
|
45
45
|
| Where each rule lives (validator, `Provide()`, handler result, constraint, exception) | `rules/vertical-slices.md` "The decision matrix" |
|
|
46
46
|
| A customization never makes a rejected model renderable; managed output is never hand-edited | Stage (`Customizations/` is the unmanaged seam; managed output is regenerated) |
|
|
47
|
-
| Attached file or inline command handlers bind beside unconditional `produces`
|
|
47
|
+
| Attached file or inline command handlers bind beside unconditional `produces` (Screenplay 4.250.0) or a `may produce` block (ESM v35) with a resolved body and are otherwise refused with PLAY0800 (4.210.0 to 4.249.x refuse every attached handler; older binders report PLAY0268); pending handlers with unconditional productions bind v23 as described commands, but reached bodies are Unsupported ImplementationBody and Stage refuses STAGE-IMPL-002 even in Stub mode | Screenplay and Stage; use the model as the gap-fill contract |
|
|
48
48
|
|
|
49
49
|
## Procedure
|
|
50
50
|
|
|
@@ -73,8 +73,9 @@ Keep to it.
|
|
|
73
73
|
|
|
74
74
|
A file/code `handler` beside unconditional `produces`, with a resolved nonempty body,
|
|
75
75
|
binds as the v23 result contract: `produces` fixes the
|
|
76
|
-
events and the body owns their property values. Without `produces
|
|
77
|
-
|
|
76
|
+
events and the body owns their property values. Without `produces` or a `may produce` block
|
|
77
|
+
(ESM v35: the body returns an ordered subset of the declared events), with `produces ... when`,
|
|
78
|
+
or with an unresolved body (even with `may produce`) it fails binding with PLAY0800. A pending
|
|
78
79
|
`handler implementation` beside unconditional `produces` is a described command (ESM v23).
|
|
79
80
|
Prefer plain `produces` for declarative logic. Read [described handlers](references/described-handlers.md)
|
|
80
81
|
for the result contract, version gates, PLAY0695–0698 and Stage's STAGE-IMPL-002 refusal.
|
package/package/corpus/skills/cratis-screenplay-command-surface/references/described-handlers.md
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
# Described command handlers
|
|
5
5
|
|
|
6
|
+
## Contents
|
|
7
|
+
|
|
8
|
+
- Result contract v1
|
|
9
|
+
- Execution and realization
|
|
10
|
+
|
|
6
11
|
Requires Screenplay 4.182.0 or later (`screenplay --version`); older compilers refuse pending handlers with PLAY0268.
|
|
7
12
|
|
|
8
13
|
Use a described command when payload computation needs words rather than an invented
|
|
@@ -39,10 +44,18 @@ an attached handler. Beside unconditional `produces`, with a resolved, nonempty,
|
|
|
39
44
|
language-tagged body, it binds with the same v23 result contract (Screenplay 4.250.0,
|
|
40
45
|
decision 0117): the productions fix event types, count, order and destinations, and
|
|
41
46
|
the body owns property values. Reaching the body in reference execution is Unsupported
|
|
42
|
-
(`ImplementationBody`) and appends nothing. An attached handler with
|
|
43
|
-
with `produces ... when`, or with an empty or
|
|
44
|
-
(`CommandHandlerRequiresAttachment`): declare
|
|
45
|
-
|
|
47
|
+
(`ImplementationBody`) and appends nothing. An attached handler with neither unconditional
|
|
48
|
+
`produces` nor a `may produce` block, with `produces ... when`, or with an empty or
|
|
49
|
+
unresolved body fails binding with PLAY0800 (`CommandHandlerRequiresAttachment`): declare
|
|
50
|
+
unconditional `produces`, declare a `may produce` block, split variable outcomes into
|
|
51
|
+
separate commands, or attach a resolved body.
|
|
52
|
+
|
|
53
|
+
A resolved, nonempty, language-tagged handler can instead declare a `may produce` block
|
|
54
|
+
(ESM v35, handler result contract v2): the body returns an ordered subset or multiset of the
|
|
55
|
+
listed events, each with a destination (`for <property>` or `for one of <collection property>`).
|
|
56
|
+
It cannot sit beside `produces` (PLAY0822/PLAY0823). Declaring `may produce` does not waive
|
|
57
|
+
the body requirement: an empty or unresolved body still fails PLAY0800. A pending
|
|
58
|
+
`handler implementation` binds as a described command.
|
|
46
59
|
|
|
47
60
|
Requires Screenplay 4.250.0 (`screenplay --version`) for attached handlers beside `produces` to bind; 4.210.0 to 4.249.x refuse every attached handler with PLAY0800, and older binders use PLAY0268. Hosts switch on the code and read `arguments.subject`, never parse the message.
|
|
48
61
|
|
|
@@ -67,7 +80,7 @@ explicitly admit this version, never silently drop the body.
|
|
|
67
80
|
|
|
68
81
|
| Diagnostic | Meaning and action |
|
|
69
82
|
| --- | --- |
|
|
70
|
-
| PLAY0800 (error) | File/inline handler
|
|
83
|
+
| PLAY0800 (error) | File/inline handler with neither unconditional `produces` nor a `may produce` block, or without a resolved, nonempty body; `subject` identifies the command |
|
|
71
84
|
| PLAY0695 (information) | Described command admitted; command and RequirementId name the missing body |
|
|
72
85
|
| PLAY0696 (error) | No productions, including response-only; add unconditional productions |
|
|
73
86
|
| PLAY0697 (error) | Conditional productions; result v1 needs unconditional events |
|
|
@@ -87,8 +100,9 @@ Host and specification executor, including Stub mode: it emits no stubs. Hand-wr
|
|
|
87
100
|
the body against the declared contract as authorized gap-fill; do not claim that a
|
|
88
101
|
pending requirement is implementation evidence. Moving the body into `handler file`
|
|
89
102
|
keeps its RequirementId; beside unconditional `produces` it binds like any resolved
|
|
90
|
-
attached handler (above), while with
|
|
91
|
-
or
|
|
103
|
+
attached handler (above), while with neither `produces` nor a `may produce` block, with
|
|
104
|
+
`produces ... when`, or with an empty or unresolved body (even beside a `may produce` block)
|
|
105
|
+
it still fails PLAY0800. Stage renders a body resolved in C#, but
|
|
92
106
|
still refuses a pending body or one resolved in another language with STAGE-IMPL-002.
|
|
93
107
|
|
|
94
108
|
Validate the model root with `screenplay <root> --warnaserror`; expect no errors or
|
package/package/corpus/skills/cratis-screenplay-command-surface/references/validate-rules.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
- Rule vocabulary
|
|
6
6
|
- `require` message
|
|
7
|
+
- A `rule <predicate>` outside `validate`
|
|
7
8
|
- Code bodies
|
|
8
9
|
- Date and DateTime comparisons
|
|
9
10
|
- `not empty` means non-blank text
|
|
@@ -43,6 +44,14 @@ validate
|
|
|
43
44
|
message "The end must not be before the start"
|
|
44
45
|
```
|
|
45
46
|
|
|
47
|
+
## A `rule <predicate>` outside `validate`
|
|
48
|
+
|
|
49
|
+
A predicate rule such as `rule not empty` or `rule > 0` written directly in a command or concept body is
|
|
50
|
+
rejected: rules live beneath `validate`. The rejection appends a
|
|
51
|
+
hint to declare `validate` and indent the rule beneath it (`<property> <predicate>` in a command, the bare
|
|
52
|
+
predicate in a concept). The hint is guidance, not a repair: the parser still rejects the line until you move
|
|
53
|
+
it. A named `rule <Name>` and other unknown directives keep the generic diagnostic.
|
|
54
|
+
|
|
46
55
|
## Code bodies
|
|
47
56
|
|
|
48
57
|
Built-in inline languages are `csharp`, `typescript`, `react`, `html`, `sql` and `java`;
|
|
@@ -119,8 +128,8 @@ see the same opaque requirement with file provenance instead of an inline span.
|
|
|
119
128
|
|
|
120
129
|
A bodied rule or fenced block on a validation, rule or policy binds as opaque code
|
|
121
130
|
(ESM v3): the reference runner reports it unsupported, and a target must supply the
|
|
122
|
-
implementation. Attached command handlers bind beside unconditional `produces`
|
|
123
|
-
|
|
131
|
+
implementation. Attached command handlers bind beside unconditional `produces` (Screenplay 4.250.0) or a
|
|
132
|
+
`may produce` block (ESM v35) with a resolved body, and otherwise refuse PLAY0800; `file` constraints
|
|
124
133
|
retain PLAY0268 (only `unique` constraints bind). Pending and attached command handlers
|
|
125
134
|
beside unconditional `produces` share the v23 result contract; see
|
|
126
135
|
[described handlers](described-handlers.md).
|
package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generated-recovery.md
CHANGED
|
@@ -179,8 +179,8 @@ resolved adapter version, diagnostic, retained/withheld form and open question:
|
|
|
179
179
|
with SP0073 and dependent values/responses/mappings with SP0052; pins against them
|
|
180
180
|
withhold scenarios with SP0039. Below v7 responses/return expectations are withheld.
|
|
181
181
|
A cap describes less behavior, not an equivalent implementation. A file/inline command
|
|
182
|
-
handler binds only beside unconditional `produces`
|
|
183
|
-
|
|
182
|
+
handler binds only beside unconditional `produces` (Screenplay 4.250.0) or a `may produce`
|
|
183
|
+
block (ESM v35) with a resolved body; otherwise it refuses executable binding with PLAY0800. Record that verdict
|
|
184
184
|
separately and gap-fill the slice in code.
|
|
185
185
|
Requires Screenplay 4.210.0 (`screenplay --version`); older binders use PLAY0268 for these handlers.
|
|
186
186
|
Never remove protection, required payloads or loss rows to obtain a green result.
|
package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md
CHANGED
|
@@ -321,7 +321,7 @@ See read-surface `references/named-keys.md` for the collection-key exclusion alg
|
|
|
321
321
|
| Chronological command dates (ESM v26) | Same-primitive Date/DateTime `==`, `!=`, `>`, `>=`, `<`, `<=` in require/produces-when (property or literal RHS) and command/property rules (literal RHS only). DateTime uses UTC ticks, participating offset-less inputs reject Validation before rules; then matching stays ordinal. Older binders refuse PLAY0268. The Stage Host and executor run v26 (older Stage refuses STAGE-ESM-016); the renderer and legacy engines refuse STAGE-ESM-046 (toolchain `language-admission.md`). Read command-surface `references/date-comparisons.md`. |
|
|
322
322
|
| Current routing and actor admission | Sources/streams and command/specification routes bind and reference-execute as v8; reaction `runs as system role` supplies the invocation actor as v10. Whole-workspace binding determines executable availability; CLI/Stage realization remains separate |
|
|
323
323
|
| Blocks binding (`PLAY0268`) | enum/identity compliance and events combining personal or explicitly subject-scoped secret values with explicit subject marks; a compiler that stops before v13 refuses all `pii`/`secret` concepts ("compliance attributes require portable data-subject semantics"), while v13 binds them and Stage renders protection; bare `rule <Name>`, read paths without protected opt-in or in unsupported positions such as `produces when`, date comparisons with mixed primitives, optional condition operands, `$context`, or protected read paths (clock operands such as `today` bind in command conditions from v37), date rules on concepts or reaction `where`, `$context.tenant`/claims/roles/causation in `produces`, `$env` conditions, `file` constraints, unquoted `import` of an external contract, a read model with neither explicit `key` nor unambiguous query-based identity as described above (several key marks bind as v27; older binders refuse PLAY0268; toolchain `language-admission.md`), queries with context `from` sources (typed query context is unadmitted), single-result filters (collections only), `scoped to` (opaque scope) or a `by` block on a list query or non-optional single result (a `performer` query is not refused: it is an opaque read, PLAY0270, left out of the executable model; [version gate](../../cratis-screenplay-toolchain/references/executable-subset.md#code-attachments-what-binds-what-never-does)); optional keyed and collection queries, including caller-supplied equality filters and observable delivery, bind, `$causedBy` and templates in projections |
|
|
324
|
-
| Blocks binding (`PLAY0800`) | Attached file/inline command `handler` with
|
|
324
|
+
| Blocks binding (`PLAY0800`) | Attached file/inline command `handler` with neither unconditional `produces` nor a `may produce` block (which binds as v35 result contract v2 and returns an ordered subset of its declared events), with `produces ... when`, or with an unresolved body (even beside `may produce`). Beside unconditional `produces` with a resolved body it binds as the v23 result contract, and pending described intent also binds v23 (command-surface `references/described-handlers.md` has the compiler gate). Read required typed `arguments.subject` for the command, never parse the message. Compiler prerequisite and older PLAY0268 attribution: [diagnostic arguments](../../cratis-screenplay-toolchain/references/diagnostic-arguments.md) |
|
|
325
325
|
| Blocks binding (`PLAY0271`, legacy meaning) | Command reads without protected opt-in and `concurrency`; combined protected reads/concurrency is PLAY0783 |
|
|
326
326
|
| Deferred by default (`PLAY0269`, information; screens admitted on request as ESM v42 with `--screens`) | Screens, layouts, templates, forms, contributions, UI profiles, themes, behaviors and `on`/`uses` |
|
|
327
327
|
| Metadata only (`PLAY0270`, information) | `domain`, `seed`, `persona`, trigger and other descriptions, and `file` provenance on declarations |
|
|
@@ -44,11 +44,11 @@ mode; query-performer gaps are a separate contract, not completed behavior. Prot
|
|
|
44
44
|
support is not generated-app protection.
|
|
45
45
|
Preserve contracts; reference success is not target realization.
|
|
46
46
|
|
|
47
|
-
A file/inline command handler binds beside unconditional `produces` with a resolved
|
|
48
|
-
body (v23
|
|
49
|
-
required typed `arguments.subject`. 4.210.0
|
|
47
|
+
A file/inline command handler binds beside unconditional `produces` or `may produce` with a resolved
|
|
48
|
+
body (v23: Screenplay 4.250.0; `may produce`: ESM v35); else it refuses PLAY0800 with a
|
|
49
|
+
required typed `arguments.subject`. 4.210.0-4.249.x refuse every attached handler
|
|
50
50
|
with PLAY0800; older binders use PLAY0268. Read [renderability gate](references/renderability-gate.md)
|
|
51
|
-
when classifying a handler or
|
|
51
|
+
when classifying a handler or binding refusal; never parse message text.
|
|
52
52
|
|
|
53
53
|
Inline bodies (`csharp`, `typescript`, `react`, `html`, `sql`, `java`) are opaque and reach the target
|
|
54
54
|
unchanged; each target decides which it realizes. The Cratis target refuses `java` bodies: gap-fill
|
package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md
CHANGED
|
@@ -14,8 +14,8 @@ probe reports and choosing what to do. Do not copy the code table here.
|
|
|
14
14
|
runtime identity safety. Binding errors are `PLAY0268` (outside the admitted vertical), `PLAY0269`
|
|
15
15
|
(deferred), `PLAY0270` (report-only information), `PLAY0271` (legacy semantics) and `PLAY0273`
|
|
16
16
|
(a specification shape). A file/inline command handler without unconditional `produces`
|
|
17
|
-
or a resolved body instead reports PLAY0800 (`CommandHandlerRequiresAttachment`); beside
|
|
18
|
-
unconditional `produces` with a resolved body it binds as the v23 result contract.
|
|
17
|
+
(or a `may produce` block, ESM v35), or without a resolved body, instead reports PLAY0800 (`CommandHandlerRequiresAttachment`); beside
|
|
18
|
+
unconditional `produces` with a resolved body it binds as the v23 result contract, and beside `may produce` as v35.
|
|
19
19
|
Requires Screenplay 4.250.0 (`screenplay --version`); 4.210.0 to 4.249.x refuse every
|
|
20
20
|
attached handler with PLAY0800 and older bundled binders use PLAY0268 for these handlers. Hosts read the required typed `arguments.subject`
|
|
21
21
|
to identify the command, never the message.
|
|
@@ -40,7 +40,7 @@ ESM). Only the probe answers renderability. `PLAY0270` entries are information,
|
|
|
40
40
|
| --- | --- | --- | --- |
|
|
41
41
|
| **Model fix (in mode)** | the model is in, or the user chose, renderable mode and breaks its own subset in a way that has a renderable equivalent with the same meaning | a `produces` whose `for` is not the command identifier; two projections for one read model (`-007`); a policy Stage cannot express portably (`-015`; role-only and opaque pure policies render) | edit request to the modeler session with address, change and rationale |
|
|
42
42
|
| **Capability gap** | the intended meaning needs a construct Stage does not render yet | DateTime equality filters and required parameters after optional filters (`-010`); context/single-result filters, opaque `scoped to` and a list-query `by` block remain PLAY0268; an unsupported query performer (observable, a non-C# body, or a missing, changed or non-compiling body) becomes an explicit implementation gap, while a verified C# body renders ([performer bodies](../../cratis-screenplay-read-surface/SKILL.md#performer-bodies-are-rendered)); a read model with several key parts or a projection keyed by parts (v27) refuses `STAGE-ESM-048` (always for a DateTime or decimal key part; the decimal refusal lifts with Stage#847 once Chronicle#5427 lands) and a single-instance query by parts `STAGE-ESM-047` (Chronicle#4265); Translate, clocks, captures, non-event triggers and opaque reaction bodies (`-024`); claim-reading/opaque `runs as` gates (`-034`), legacy `from` (`-035`), mixed effects in one handler (`-037`, retries can duplicate events; keep it whole), unsupported reaction mappings (`-039`); unsupported generated types/result combinations (`-028`/`-038`); `then no readmodel` (`-027`); evolved events (`STAGE-ESM-026`); unsupported expression/enum production conditions (`-006`; supported conditional productions render); legacy reads (`PLAY0271`), protected reads the renderer cannot preserve, or any protected read in an older CLI bundle (STAGE-ESM-044 despite v25 admission; semantic Host/executor support is separate); code validation (`-005`); protected identities/enums (`-040`) or unadmitted explicit subject lineage (`PLAY0268`); described handlers (v23, STAGE-IMPL-002 even Stub mode), atomic mode (STAGE-ESM-043; v22 admission Requires Stage 4.139.0, older Stage reports -016) | keep the model; fallback record entry; options a to c in `SKILL.md`; link the Stage issue |
|
|
43
|
-
| **Implementation attachment** | the handler shape, not future ESM admission | file/inline command handlers without unconditional `produces` or a resolved body (PLAY0800; typed `subject` names the command) | declare unconditional `produces` beside a resolved body, split variable outcomes into separate commands, or keep the model contract and gap-fill the slice in code |
|
|
43
|
+
| **Implementation attachment** | the handler shape, not future ESM admission | file/inline command handlers without unconditional `produces` or `may produce`, or without a resolved body (PLAY0800; typed `subject` names the command) | declare unconditional `produces` or a `may produce` block beside a resolved body, split variable outcomes into separate commands, or keep the model contract and gap-fill the slice in code |
|
|
44
44
|
| **Tool skew** | the bundled compiler disagrees with documented semantics | the false `PLAY0285` on reaction cascades from an older bundle; codes the standalone compiler does not raise | record in the session state and the fallback record; never "fix" a correct model |
|
|
45
45
|
| **Environment** | not the model | restore failures, missing SDK, a destination that is not writable | fix the environment or report blocked |
|
|
46
46
|
|
package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md
CHANGED
|
@@ -45,7 +45,7 @@ Typed example/override forms: `cratis-screenplay-specifications`
|
|
|
45
45
|
| Date rules using `today`, `$context`, mixed `Date`/`DateTime`, concept or reaction-`where` positions; nested paths | spec them in design | rule does not bind: `recorded` | `recorded` |
|
|
46
46
|
| Bodied rules, code policies | spec them | spec reported **unsupported**, never passed | no |
|
|
47
47
|
| Pending described command handlers (v23) | specify intent | binds; denial/validation execute, body-reaching specs Unsupported ImplementationBody; all-Unsupported is not green | STAGE-IMPL-002 even Stub mode |
|
|
48
|
-
| Attached command handlers | spec them in design | beside unconditional `produces` with a resolved body: binds
|
|
48
|
+
| Attached command handlers | spec them in design | beside unconditional `produces` (v23) or a `may produce` block (v35) with a resolved body: binds, a spec reaching the body is Unsupported (`ImplementationBody`); otherwise PLAY0800, no spec runs | Stage renders a C# body; generated specifications execute verified synchronous C# handlers |
|
|
49
49
|
| `file` constraints | spec them in design | blocked: PLAY0268 at binding, no spec runs (V3 blocked) | no |
|
|
50
50
|
| Query `performer`s | spec them in design | opaque read: PLAY0270 information, left out of the executable model; a spec that reads it is left out, every other spec still runs ([version gate](../../cratis-screenplay-toolchain/references/executable-subset.md#code-attachments-what-binds-what-never-does); older compilers report PLAY0268) | no |
|
|
51
51
|
| Atomic reaction mode (v22) | declare for new models | failed batch adds no facts or view changes; earlier batches/commands remain; `then error` alone is insufficient | v22 STAGE-ESM-016; mode in admitted v23–v27 STAGE-ESM-043 |
|
|
@@ -118,8 +118,8 @@ with ordered imports means future files need explicit imports.
|
|
|
118
118
|
read-surface [equality filters](../cratis-screenplay-read-surface/references/equality-filters.md).
|
|
119
119
|
Pending handlers beside unconditional productions bind as described commands (v23),
|
|
120
120
|
but reached bodies are Unsupported; attached file/inline handlers bind the same way
|
|
121
|
-
beside unconditional `produces` with a resolved body and
|
|
122
|
-
refuse PLAY0800.
|
|
121
|
+
beside unconditional `produces` or a `may produce` block (v35) with a resolved body and
|
|
122
|
+
otherwise refuse PLAY0800.
|
|
123
123
|
Requires Screenplay 4.210.0 (`screenplay --version`); older binders use PLAY0268 for this refusal. Read `arguments.subject`, not the message, for the command.
|
|
124
124
|
Eligible protected reads opt into v25; legacy reads and `concurrency` retain PLAY0271.
|
|
125
125
|
Concept compliance binds as v13 (precise refusals: command-surface `references/compliance.md`);
|
|
@@ -212,7 +212,7 @@ Read [references/diagnostics.md](references/diagnostics.md) when a PLAY, STAGE o
|
|
|
212
212
|
11. Declare an event once, in its producing slice.
|
|
213
213
|
12. Quoted `import "glob"` is your own files; unquoted `import Ctx.Event` is a foreign
|
|
214
214
|
contract and does not bind.
|
|
215
|
-
13. Pending described handlers bind but do not execute their bodies; attached handlers
|
|
215
|
+
13. Pending described handlers bind but do not execute their bodies; `numbers exact` does not bind; attached handlers bind only beside `produces`/`may produce` with a resolved body. Descriptions render as XML doc comments, not behavior.
|
|
216
216
|
|
|
217
217
|
## Gate
|
|
218
218
|
|
package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostic-arguments.md
CHANGED
|
@@ -66,7 +66,7 @@ PLAY0781–PLAY0785 need Screenplay 4.207.0; earlier compilers omit these argume
|
|
|
66
66
|
command gives one, else the read model name. The PLAY0781 `reason` keywords are listed in command-surface
|
|
67
67
|
[protected reads](../../cratis-screenplay-command-surface/references/protected-reads.md); each refused read gets its own PLAY0781.
|
|
68
68
|
|
|
69
|
-
Requires Screenplay 4.210.0 (`screenplay --version`) for PLAY0800 (`CommandHandlerRequiresAttachment`) and its `subject`; older binders report attached command handlers as PLAY0268. `arguments.subject.kind` is `command` and `path` names the command. From Screenplay 4.250.0 the code fires only when the handler lacks unconditional `produces` or a resolved, nonempty body; fix that shape or gap-fill in code. Switch on the code and navigate the subject, never match message text.
|
|
69
|
+
Requires Screenplay 4.210.0 (`screenplay --version`) for PLAY0800 (`CommandHandlerRequiresAttachment`) and its `subject`; older binders report attached command handlers as PLAY0268. `arguments.subject.kind` is `command` and `path` names the command. From Screenplay 4.250.0 the code fires only when the handler lacks unconditional `produces` (or a `may produce` block, ESM v35) or a resolved, nonempty body; fix that shape or gap-fill in code. Switch on the code and navigate the subject, never match message text.
|
|
70
70
|
|
|
71
71
|
For PLAY0524, `step` is given, given readmodel, when, when append or then.
|
|
72
72
|
`stepIndex` counts every authored given/when/then clause once across all forms,
|
|
@@ -66,7 +66,7 @@ These are V1 source checks, not binding-only gaps:
|
|
|
66
66
|
| Code | Severity | Meaning |
|
|
67
67
|
| --- | --- | --- |
|
|
68
68
|
| PLAY0514 | W | Projection mapping, children or nested target absent from the declared read-model/element shape; unknown/imported shapes are not guessed |
|
|
69
|
-
| PLAY0166 | W | Unknown event, including `remove with`, `remove via join on` and capture `append` |
|
|
69
|
+
| PLAY0166 | W/E | Unknown event, including `remove with`, `remove via join on` and capture `append`. An unresolved qualified `from` input of a `source events` capture is an error (Screenplay 5.4.0); unknown bare inputs and other usages stay warnings |
|
|
70
70
|
| PLAY1142 | W | Projection or reducer copies a `secret` (incl. `pii secret`) concept into a read-model property; no automatic repair (Screenplay 6.28.0+) |
|
|
71
71
|
| PLAY0515 | E | Personal/secret concept in a command identifier, typed `for` destination, event-source identity, stream-id type/part or route mapping source (including nested paths); keep a surrogate identity and protected data in payload |
|
|
72
72
|
|
|
@@ -625,12 +625,12 @@ Requires Stage 4.129.0 for semantic Host/executor protected reads; older engines
|
|
|
625
625
|
|
|
626
626
|
## Binding (V2 and V3) - see `executable-subset.md` for the full table
|
|
627
627
|
|
|
628
|
-
Requires Screenplay 4.210.0 (`screenplay --version`) for PLAY0800 and its required typed `subject`; older binders attribute attached command handlers to PLAY0268. From Screenplay 4.250.0 an attached handler beside unconditional `produces` with a resolved body binds instead. Other PLAY0268 refusal families are unchanged.
|
|
628
|
+
Requires Screenplay 4.210.0 (`screenplay --version`) for PLAY0800 and its required typed `subject`; older binders attribute attached command handlers to PLAY0268. From Screenplay 4.250.0 an attached handler beside unconditional `produces` with a resolved body binds instead, as does one beside a `may produce` block (ESM v35) with a resolved body; an unresolved body still fails. Other PLAY0268 refusal families are unchanged.
|
|
629
629
|
|
|
630
630
|
| Code | Meaning | Fix |
|
|
631
631
|
|---|---|---|
|
|
632
632
|
| PLAY0268 | construct not representable in a supported ESM version yet (`executable-subset.md` lists unsupported query shapes, protected enum/identity concepts, read paths without opt-in or in `produces when`, Uuid ordering, different Uuid concepts and Uuid rules, and older bundled-compiler limits) | stay in design mode, or change the construct if the domain allows; never strip `pii`/authorization |
|
|
633
|
-
| PLAY0800 | error `CommandHandlerRequiresAttachment`: a file/inline command handler has
|
|
633
|
+
| PLAY0800 | error `CommandHandlerRequiresAttachment`: a file/inline command handler has neither an unconditional `produces` nor a `may produce` block (ESM v35, result contract v2), or no resolved, nonempty, language-tagged body; required typed `subject` identifies the command | declare unconditional `produces` or a `may produce` block beside a resolved body, split variable outcomes into separate commands, or gap-fill the slice in code; hosts switch on the code and read `arguments.subject`, never match the message |
|
|
634
634
|
| PLAY0269 / 0270 | UI deferred / authoring metadata (I) | none |
|
|
635
635
|
| PLAY0271 | legacy `reads` or a `concurrency` block keeps its legacy meaning and cannot bind (error) | opt eligible command reads into v25 with reviewed preamble repair; `concurrency` remains unbound; uniqueness uses a constraint, target realization stays separate |
|
|
636
636
|
| PLAY0273 | incoherent: ambiguous `for`, property not on event revision, operand type mismatch, derived `$eventContext` path, unparsable date literal or offset-less DateTime literal in an admitted v26 comparison, or a Uuid comparison literal that is not lowercase hyphenated (v28) | fix the reference or literal; DateTime needs offset/Z; Uuid literals are lowercase hyphenated |
|
|
@@ -337,11 +337,11 @@ Pending `handler implementation` beside unconditional `produces` binds as a desc
|
|
|
337
337
|
command (v23). Its payload-only body returns Unsupported ImplementationBody when reached;
|
|
338
338
|
denial/validation specs still run. Read [language admission](language-admission.md) for
|
|
339
339
|
v22–v28 and [described handlers](../../cratis-screenplay-command-surface/references/described-handlers.md)
|
|
340
|
-
for the result contract.
|
|
340
|
+
for the result contract. An attached handler binds only as described below.
|
|
341
341
|
|
|
342
342
|
Inline fences (`csharp`, `typescript`, `react`, `html`, `sql`, `java`) and `file <path>` attach
|
|
343
343
|
code to an owner. Two kinds block binding (V3 blocked, no specification runs):
|
|
344
|
-
an attached command `handler` without unconditional `produces` or a resolved body
|
|
344
|
+
an attached command `handler` without unconditional `produces` or `may produce`, or without a resolved body
|
|
345
345
|
(PLAY0800) and the `file` constraint (PLAY0268, see below).
|
|
346
346
|
A query `performer` does not block: it is an opaque read, reported as information
|
|
347
347
|
`PLAY0270` and left out of the executable model; a specification that reads it is left
|
|
@@ -363,8 +363,10 @@ standalone single-event reaction body (Requires Screenplay 4.258.0; see
|
|
|
363
363
|
- A file/fenced command `handler`, wrapped or direct, binds as the v23 result contract
|
|
364
364
|
beside unconditional `produces` with a resolved, nonempty, language-tagged body:
|
|
365
365
|
`produces` fixes the events, the body owns their
|
|
366
|
-
values, and a reached body is Unsupported (`ImplementationBody`). With
|
|
367
|
-
with `produces ... when
|
|
366
|
+
values, and a reached body is Unsupported (`ImplementationBody`). With neither `produces` nor
|
|
367
|
+
a `may produce` block, with `produces ... when`, or with an unresolved body (even beside
|
|
368
|
+
`may produce`) it refuses PLAY0800. A resolved, nonempty, language-tagged body beside a
|
|
369
|
+
`may produce` block binds at ESM v35, result contract v2; hosts read the
|
|
368
370
|
required typed `arguments.subject` for the command rather than matching message text.
|
|
369
371
|
Requires Screenplay 4.250.0 or later (`screenplay --version`) for an attached handler beside `produces` to bind; 4.210.0 to 4.249.x refuse every attached handler with PLAY0800 and older binders use PLAY0268.
|
|
370
372
|
A pending intent instead selects v23 with unconditional productions (PLAY0695 information).
|
|
@@ -382,7 +384,7 @@ standalone single-event reaction body (Requires Screenplay 4.258.0; see
|
|
|
382
384
|
- The reference runner returns Unsupported for the opaque bodies that do bind (rule and
|
|
383
385
|
policy predicates, code validation, reducer transitions) when no host body execution provider
|
|
384
386
|
is supplied (the standalone tool supplies none); a specification that needs one never passes.
|
|
385
|
-
A host can opt in: [host body execution](../../cratis-screenplay-specifications/references/host-body-execution.md). Attached handlers and file constraints (and reaction effects on a trigger with
|
|
387
|
+
A host can opt in: [host body execution](../../cratis-screenplay-specifications/references/host-body-execution.md). Attached handlers without `produces`/`may produce` or a resolved body, and file constraints (and reaction effects on a trigger with
|
|
386
388
|
`reads`) are different: under strict binding (`ISemanticModelCompiler.Compile`, which the standalone
|
|
387
389
|
tool uses) they leave the whole model unbound, so no specification runs at all.
|
|
388
390
|
- **Admissible compilation is narrower than that.** `CompileAdmissible` (the opt-in host API
|
|
@@ -415,7 +417,7 @@ standalone single-event reaction body (Requires Screenplay 4.258.0; see
|
|
|
415
417
|
| Uuid comparison with `<`, `>`, different concepts, optional operands, a validation rule or a concept rule | PLAY0268 | v28 admits `==`/`!=` in command conditions only, between the same concept or a bare Uuid and a concept |
|
|
416
418
|
| Legacy `reads <View> ...` on a command | PLAY0271 (error) | `command reads protected` opts eligible views into v25; see command-surface protected reads |
|
|
417
419
|
| `concurrency` block on a command | PLAY0271 (error) | "concurrency metadata keeps its legacy meaning and cannot bind to ESM v1" |
|
|
418
|
-
| File/inline `handler` without unconditional `produces` or a resolved body (see above) | PLAY0800 | declare unconditional `produces` beside a resolved body or gap-fill in code; pending and attached handlers beside `produces` bind v23, with body execution/rendering separate |
|
|
420
|
+
| File/inline `handler` without unconditional `produces` or `may produce`, or without a resolved body (see above) | PLAY0800 | declare unconditional `produces` or a `may produce` block (v35) beside a resolved body, or gap-fill in code; pending and attached handlers beside `produces` bind v23, with body execution/rendering separate |
|
|
419
421
|
| `$context.tenant`, roles, claims, causation | PLAY0268 | no portable scalar counterpart |
|
|
420
422
|
| Arithmetic or raw expression in a `produces` mapping | PLAY0268 | |
|
|
421
423
|
| Template `` `${x}` `` or `$causedBy` in a projection | PLAY0268 | |
|
|
@@ -109,8 +109,8 @@ ids into routing to fit a renderer (PLAY0515).
|
|
|
109
109
|
older renderers refuse snapshot lists with STAGE-ESM-010.
|
|
110
110
|
context/single-result filters, and opaque `scoped to` block binding; a `performer` query is left out of the executable model ([version gate](executable-subset.md#code-attachments-what-binds-what-never-does)). Keep a list the domain needs and report
|
|
111
111
|
the capability gap; marking it `observable` or keying it is a modeling decision for the user.
|
|
112
|
-
- Attached file/inline handlers bind beside unconditional `produces
|
|
113
|
-
|
|
112
|
+
- Attached file/inline handlers bind beside unconditional `produces`, or a `may produce` block
|
|
113
|
+
(ESM v35), with a resolved body; Stage renders a C# body beside `produces`. Otherwise they refuse PLAY0800 (version gate:
|
|
114
114
|
[executable subset](executable-subset.md)).
|
|
115
115
|
Pending handlers beside unconditional
|
|
116
116
|
productions bind v23 but Stage still refuses rendering STAGE-IMPL-002 even in
|
|
@@ -62,7 +62,7 @@ Identity and compliance traps (`identity.md`, `concepts.md`, `events.md`, `purpo
|
|
|
62
62
|
unknown, not safe. Arc needs `[ExecuteCommandsAsSystem]` to supply a principal.
|
|
63
63
|
|
|
64
64
|
Traps 39 to 44 are tool traps.
|
|
65
|
-
39. An attached file/inline command handler binds as the v23 result contract
|
|
65
|
+
39. An attached file/inline command handler binds as the v23 result contract beside unconditional `produces` (or as v35 beside a `may produce` block) with a resolved, nonempty body; with neither `produces` nor a `may produce` block (ESM v35, result contract v2), `produces ... when` or an unresolved body (even beside `may produce`) it refuses PLAY0800 (`CommandHandlerRequiresAttachment`). Read required typed `arguments.subject`, not the message; older binders refuse every attached handler (version gate: [diagnostic arguments](diagnostic-arguments.md)). Pending `handler implementation` beside unconditional productions binds as a described v23 command (PLAY0695). Body-reaching specs are Unsupported ImplementationBody; Stage still refuses rendering STAGE-IMPL-002 even in Stub mode; semantic execution reports ImplementationBody only when reached after gates. `implementation` and `hint` are accepted on a command handler, an operation execute/compensate phase and a command property named rule, and are rejected on concept rules, built-in property rules and whole-command `require`/`validate` bodies; hints do not execute, lock or confirm a body. A handler slice is gap-fill, not a customization of a rendered slice.
|
|
66
66
|
40. `numbers exact` (the source mode) parses but never binds (PLAY0268; "not admitted by any supported executable model (ESM) version yet") and is PLAY0001 on older compilers; it is absent from `grammar.md`. Exact lowering of qualifying Double-mode literals is separate (v11). Never use it in a model or example meant to execute.
|
|
67
67
|
41. MCP roots bug: a dynamic-root server on an old tool answers the roots request with an `id: null` error right after `notifications/initialized`; hosts treat it as fatal, and `open-workspace.path` does not help. Start with a fixed root (`screenplay mcp <folder>`, `cratis screenplay mcp` in a project with `.cratis/ai.json`).
|
|
68
68
|
Requires Screenplay 4.63.2 or later (`screenplay --version`) for a dynamic-root server; the compiler bundled in older cratis releases lacks it.
|
package/package/corpus/skills/cratis-screenplay-ui-composition/references/application-shell.md
CHANGED
|
@@ -383,6 +383,12 @@ The template offers places, the slice says which it fits, and the hook picks one
|
|
|
383
383
|
- A `sample data <Name>` pack holds rows per shape (`shape <ReadModel>` then `row` with `<field> = <literal>`), and an
|
|
384
384
|
optional `title` and `locale`. Fields must be properties of the read model (`PLAY0710`) and literals must fit
|
|
385
385
|
their types (`PLAY0711`).
|
|
386
|
+
- **A collection of a declared top-level `type` uses nested rows** (decision 0136): write the
|
|
387
|
+
collection field bare, then a `row` block per element with that element's fields beneath it, recursively. A bare
|
|
388
|
+
field with no rows is an **explicit empty list**; omitting the field leaves it absent for generation or preview
|
|
389
|
+
fallback, which is not the same. Primitive collections and a single composite object take no nested rows
|
|
390
|
+
(`PLAY0711`), and scalar-list literals and JSON are not collection syntax. Preview needs matching Stage/Studio
|
|
391
|
+
conversion support.
|
|
386
392
|
- **The active pack is chosen once, in the `ui profile`** (`sample data` then `active <Pack>` or `active blueprint <id>`),
|
|
387
393
|
never per screen, slice or component. A pack the document does not declare is `PLAY0714`. `shape <Shape> maps to
|
|
388
394
|
<ReadModel>` maps a differently named shape; `bind <ReadModel> to <Pack>` is a rare per-read-model override.
|
package/package/corpus/skills/cratis-screenplay-ui-composition/references/file-references.md
CHANGED
|
@@ -8,7 +8,7 @@ Three meanings, one word:
|
|
|
8
8
|
|
|
9
9
|
- **Backend implementation attachment.** On an attached command `handler`
|
|
10
10
|
(binds as the v23 result contract beside unconditional `produces` with a resolved
|
|
11
|
-
body from Screenplay 4.250.0, otherwise PLAY0800; pending described handlers bind
|
|
11
|
+
body from Screenplay 4.250.0, or v35 beside a `may produce` block with a resolved body, otherwise PLAY0800; pending described handlers bind
|
|
12
12
|
v23 without a file), a validation
|
|
13
13
|
rule predicate, a query `performer`, a reducer rule, a reaction trigger, a
|
|
14
14
|
`constraint` and a `policy`, `file` stands in for the inline body: the
|
|
@@ -152,7 +152,7 @@ and unaudited-version refusals still stop first. Codes, limits and fixes:
|
|
|
152
152
|
Protected reads render as Arc read protection in a new enough bundle; shapes it cannot preserve, and every protected read in an older bundle, refuse `STAGE-ESM-044` (see admission.md). Described handlers still refuse `STAGE-IMPL-002` even in Stub mode. Query-performer gaps are a separate contract, not a completed implementation.
|
|
153
153
|
- **Attached command handlers:** a file/inline handler beside unconditional `produces`
|
|
154
154
|
with a resolved body binds as the v23 result contract and Stage renders its C# body.
|
|
155
|
-
Without `produces`, with `produces ... when` or with an unresolved body it refuses
|
|
155
|
+
Without `produces` or `may produce`, with `produces ... when` or with an unresolved body it refuses
|
|
156
156
|
`PLAY0800`: read the required typed `arguments.subject` for the command, never match
|
|
157
157
|
message text. Older bundled binders refuse every attached handler (version gate:
|
|
158
158
|
toolchain `references/executable-subset.md`).
|
|
@@ -173,7 +173,7 @@ Requires Stage 4.90.0 for snapshot/live lists, 4.96.0 for non-text secrets and 4
|
|
|
173
173
|
| Code | Meaning | Usual fix |
|
|
174
174
|
| --- | --- | --- |
|
|
175
175
|
| `STAGE-ESM-001` | Unsupported slice kind; `StateChange`, `StateView` and supported event-triggered `Automation` slices render; unsupported Translate shapes are `-024` | Keep the model; gap-fill refused scope |
|
|
176
|
-
| `STAGE-ESM-002`, `-003` | Concept values or validation Stage cannot express; unresolved property type | Simplify the concept; fix the type |
|
|
176
|
+
| `STAGE-ESM-002`, `-003` | Concept values or validation Stage cannot express; unresolved property type. `-002` names the concept and the cause: an unknown primitive, values on a non-text concept, enumerated values combined with any validation (a C# enum carries no concept validator), or a validation Stage cannot render | Simplify the concept; fix the type |
|
|
177
177
|
| `STAGE-ESM-004` | A `StateChange` slice without commands | Add the modeled command; multiple commands render |
|
|
178
178
|
| `STAGE-ESM-005` | Code validation or rule predicate bodies; or a command beyond the first capability (optional event property, event revision other than the first, validation or requirement that cannot be rendered, neither `produces` nor a response) | Use declarative validation; non-initial event generations are not rendered |
|
|
179
179
|
| `STAGE-ESM-006` | `produces` that cannot render without changing its destination or mappings (expression/enum conditions, literal or computed mappings, `for` not a command identifier, mappings not one-to-one with event properties, duplicate tags) | Map properties one to one; supported conditional productions render as guarded events, not separate commands |
|
|
@@ -182,8 +182,8 @@ Requires Stage 4.90.0 for snapshot/live lists, 4.96.0 for non-text secrets and 4
|
|
|
182
182
|
| `STAGE-ESM-011` | A specification cannot render (see the rules below) | Reshape it only if the assertion keeps its meaning; otherwise keep the specification, record the gap, and gap-fill with the specification as the oracle. Never weaken or delete it to get a render |
|
|
183
183
|
| `STAGE-ESM-012` | Generated C# names collide (properties, types, namespaces, constraints) | Rename |
|
|
184
184
|
| `STAGE-ESM-013` | An event-context value other than `$context.occurred` mapped in `produces` | Map a command property when that preserves the meaning; otherwise gap-fill |
|
|
185
|
-
| `STAGE-ESM-014` | A constraint Chronicle cannot reproduce (kind, scope, message; multi-claim in one command; optional or composite targets) | A different constraint is a requirement change for the model owner; otherwise gap-fill |
|
|
186
|
-
| `STAGE-ESM-015` | Authorization Stage cannot render exactly: a role-claim URI, an opaque policy nested inside a condition, an unresolved or non-portable policy, no single identifier, an opaque-policy subject that is not text, Uuid, Date or DateTime (a restriction on opaque-policy subjects, separate from declarative claim targets), an unsupported claim artifact. Role-only, authenticated, opaque pure policies, claim conditions with Uuid, Date, DateTime or text targets (numeric and Boolean claim matches render as always false) and `not`/and/or render; roles are read through the identity's `RoleClaimType` | Reshape the policy to a portable condition; otherwise gap-fill |
|
|
185
|
+
| `STAGE-ESM-014` | A constraint Chronicle cannot reproduce (kind, scope, message; multi-claim in one command; optional or composite targets). The message names the constraint and the command, events or properties involved (the optional, composite or nontext/collection limitation) | A different constraint is a requirement change for the model owner; otherwise gap-fill |
|
|
186
|
+
| `STAGE-ESM-015` | Authorization Stage cannot render exactly: a role-claim URI, an opaque policy nested inside a condition, an unresolved or non-portable policy, no single identifier (the message names the command and whether it declares none or several), an opaque-policy subject that is not text, Uuid, Date or DateTime (a restriction on opaque-policy subjects, separate from declarative claim targets), an unsupported claim artifact. Role-only, authenticated, opaque pure policies, claim conditions with Uuid, Date, DateTime or text targets (numeric and Boolean claim matches render as always false) and `not`/and/or render; roles are read through the identity's `RoleClaimType` | Reshape the policy to a portable condition; otherwise gap-fill |
|
|
187
187
|
| `STAGE-ESM-016` | Model language/semantic pair is not admitted by the installed Stage; matched 1.0–30.0 and 32.0 are admitted, not 31.0 or mixed pairs; older Stage also refuses the versions listed in the minimums above. A CLI bundle reports `CLI-RENDER-004` above its ceiling (v27 for CLI 3.75.0) first. v14 filters and v15 generation join v11 numbers, v12 enum numbers and v13 compliance as supported constructs, not blanket construct support | Not fixable by editing: the model needs a newer renderer. Keep the model, record the gap, gap-fill |
|
|
188
188
|
| `STAGE-ESM-017` | Read model or projection cannot render (property names that collide with Chronicle paths or expression syntax, mappings that overwrite the key or child identity, unsupported key/scope shapes and unsupported `all` mappings below) | Reshape the projection without changing what it records, or record the gap |
|
|
189
189
|
| `STAGE-ESM-018` | `$strings.` key missing in the default locale or containing formatting characters | Fix the strings |
|
|
@@ -323,8 +323,8 @@ paths; unsupported body/context shapes still refuse. An attached command handler
|
|
|
323
323
|
beside unconditional `produces` with a resolved body binds as the v23 result contract
|
|
324
324
|
(Screenplay 4.250.0, decision 0117); Stage renders a C# body (`STAGE-IMPL-LANGUAGE` when
|
|
325
325
|
no `csharp` body exists) and its semantic Host and executor report a reached body as
|
|
326
|
-
`Unsupported(ImplementationBody)`. Without `produces
|
|
327
|
-
an unresolved body the handler refuses `PLAY0800` at binding; 4.210.0 to 4.249.x refuse
|
|
326
|
+
`Unsupported(ImplementationBody)`. Without `produces` or a `may produce` block, with `produces ... when`
|
|
327
|
+
or with an unresolved body (even beside `may produce`) the handler refuses `PLAY0800` at binding; 4.210.0 to 4.249.x refuse
|
|
328
328
|
every attached handler with it and older binders use PLAY0268. Read the required typed
|
|
329
329
|
`arguments.subject` for the command rather than the message.
|
|
330
330
|
A pending handler beside unconditional productions binds as a described v23
|
|
@@ -257,7 +257,10 @@ invalid semantic option.
|
|
|
257
257
|
`Passed`, `Failed`, `Unsupported` (carrying kind, construct id and reason) or
|
|
258
258
|
`Cancelled`. Not supported: given read models, conditional production, implicit identity
|
|
259
259
|
allocation, external effects, composite values, queries other than optional snapshots, and
|
|
260
|
-
a reached opaque authorization policy (reported as `Unsupported`).
|
|
260
|
+
a reached opaque authorization policy (reported as `Unsupported`). An exact `Int64` overflow in a
|
|
261
|
+
whole-number projection product (the product or one of its operands), reached directly or through a
|
|
262
|
+
command append, is also `Unsupported` (projection capability): it names the event and product
|
|
263
|
+
instead of failing in the executor. Unsupported is never a pass. Do not feed the file to a legacy reader.
|
|
261
264
|
|
|
262
265
|
The runner and generated-fixture checks use Screenplay's public
|
|
263
266
|
`SemanticValidationRules.Check`. This shared rule check does not execute opaque
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
"fixtures": [],
|
|
5
5
|
"assertions": [
|
|
6
6
|
{ "kind": "skill-contains", "value": "reducer `from` filters" },
|
|
7
|
+
{ "kind": "skill-contains", "value": "enumerated values combined with any validation", "file": "references/admission.md" },
|
|
8
|
+
{ "kind": "skill-contains", "value": "exact `Int64` overflow in a\n whole-number projection product", "file": "references/sandbox-and-specrunner.md" },
|
|
7
9
|
{ "kind": "skill-contains", "value": "references/scene-runtime.md" },
|
|
8
10
|
{ "kind": "skill-contains", "value": "`@cratis/scene` is **not** a package", "file": "references/rendered-application.md" },
|
|
9
11
|
{ "kind": "skill-contains", "value": "`@cratis/scene` is not this product's package id", "file": "references/scene-runtime.md" },
|