@cratis/pi 7.48.0 → 7.48.3

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.
Files changed (97) hide show
  1. package/package/corpus/harnesses/copilot/instructions/local-work-artifacts.instructions.md +6 -2
  2. package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +1 -1
  3. package/package/corpus/hooks/README.md +11 -5
  4. package/package/corpus/hooks/scripts/cratis-cleanup-worktrees.sh +44 -4
  5. package/package/corpus/prompts/ship-changes.prompt.md +4 -1
  6. package/package/corpus/rules/local-work-artifacts.md +6 -2
  7. package/package/corpus/rules/profiles.md +1 -1
  8. package/package/corpus/skills/cratis-application-slice-conformance/SKILL.md +2 -2
  9. package/package/corpus/skills/cratis-chronicle-event-modeling/SKILL.md +1 -1
  10. package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +1 -1
  11. package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +4 -4
  12. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/audit-format.md +1 -1
  13. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +3 -3
  14. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/cases-to-specify.md +1 -1
  15. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/provenance.md +2 -2
  16. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/public-events-and-direction.md +2 -2
  17. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +1 -1
  18. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +6 -6
  19. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/invocation-identity.md +3 -3
  20. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/product-sources.md +1 -1
  21. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/specifying-triggers-and-clock.md +1 -1
  22. package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +3 -3
  23. package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +1 -1
  24. package/package/corpus/skills/cratis-screenplay-command-surface/references/context.md +1 -1
  25. package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +1 -1
  26. package/package/corpus/skills/cratis-screenplay-delivery-planning/SKILL.md +1 -1
  27. package/package/corpus/skills/cratis-screenplay-delivery-planning/references/slice-counting.md +1 -1
  28. package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +1 -1
  29. package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +3 -3
  30. package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +2 -2
  31. package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +1 -1
  32. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/chronicle-observations.md +1 -1
  33. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md +4 -5
  34. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generated-recovery.md +1 -1
  35. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/prologue-safety.md +1 -1
  36. package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +1 -1
  37. package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +4 -4
  38. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +3 -3
  39. package/package/corpus/skills/cratis-screenplay-model-authoring/references/model-notes.md +1 -1
  40. package/package/corpus/skills/cratis-screenplay-model-authoring/references/screen-authoring-workflow.md +1 -1
  41. package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +1 -1
  42. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +1 -1
  43. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/stop-or-assume.md +1 -1
  44. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/verdicts-and-modes.md +1 -1
  45. package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +1 -1
  46. package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +1 -1
  47. package/package/corpus/skills/cratis-screenplay-read-surface/references/provenance.md +2 -2
  48. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +3 -3
  49. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/drift-and-ledger.md +1 -1
  50. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md +2 -2
  51. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +2 -2
  52. package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +2 -2
  53. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/provenance.md +2 -2
  54. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +1 -1
  55. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +5 -5
  56. package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +2 -2
  57. package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +1 -1
  58. package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +3 -3
  59. package/package/corpus/skills/cratis-screenplay-specifications/references/examples-and-routes.md +2 -2
  60. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +4 -4
  61. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +1 -1
  62. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +1 -1
  63. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +2 -2
  64. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +1 -1
  65. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +2 -2
  66. package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +42 -61
  67. package/package/corpus/skills/cratis-screenplay-toolchain/references/automation-translate-example.md +1 -1
  68. package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet-example.md +7 -9
  69. package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet.md +15 -18
  70. package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +33 -53
  71. package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-example.md +1 -1
  72. package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +82 -93
  73. package/package/corpus/skills/cratis-screenplay-toolchain/references/generated-responses-example.md +4 -5
  74. package/package/corpus/skills/cratis-screenplay-toolchain/references/generation-strategies-example.md +1 -2
  75. package/package/corpus/skills/cratis-screenplay-toolchain/references/preferred-syntax.md +5 -9
  76. package/package/corpus/skills/cratis-screenplay-toolchain/references/production-routes-and-filters.md +7 -16
  77. package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +38 -92
  78. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +4 -11
  79. package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +14 -19
  80. package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +32 -35
  81. package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +119 -52
  82. package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +18 -24
  83. package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +3 -3
  84. package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +2 -2
  85. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +110 -167
  86. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +74 -170
  87. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/case-tables-and-whole-numbers.md +15 -35
  88. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/choosing-generation.md +4 -6
  89. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/render-example.md +23 -27
  90. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/rendered-application.md +21 -33
  91. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +61 -92
  92. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/scene-runtime.md +4 -12
  93. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +10 -14
  94. package/package.json +1 -1
  95. package/package/corpus/skills/cratis-screenplay-toolchain/references/doc-contradictions.md +0 -72
  96. package/package/corpus/skills/cratis-screenplay-toolchain/references/provenance.md +0 -81
  97. package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +0 -341
@@ -2,49 +2,41 @@
2
2
 
3
3
  ## Contents
4
4
 
5
- - Caller and compliance boundary (4.142.0)
5
+ - Caller and compliance boundary
6
6
  - Admitted on both compilers
7
- - Text `not empty` reference correction (4.151.0)
8
- - Child-before-parent reference execution (4.149.1)
9
- - Equality query filters (ESM v14, since 4.143.0)
10
- - Admitted from Screenplay 4.61 (ESM v6): standalone tool and cratis 3.28.2 or later
11
- - Generated values and responses (ESM v7/v15): current compiler and renderer boundaries
7
+ - Text `not empty` reference correction
8
+ - Child-before-parent reference execution
9
+ - Equality query filters (ESM v14)
10
+ - Time, reactions and captures (ESM v6)
11
+ - Generated values and responses (ESM v7)
12
12
  - Released public boundaries and observer routes
13
13
  - Code attachments (what binds, what never does)
14
14
  - Refused (code, reason): fix, or record as a mode gap
15
15
  - Not refused, but do not rely on it
16
16
  - Never do this to reach V3
17
17
 
18
- Current pins: `versions.md`. Detailed
19
- 4.66.0/4.68.0 binder probes below retain their historical labels. Current source
20
- admits routes as ESM v8, public/direction constructs as v9, identity/overrides/filters
21
- as v10, qualifying non-route Double literals as v11 (exact lowering of Double-mode literals)
22
- and non-positional enum numbers as v12; concept compliance as v13; caller-supplied
23
- collection equality filters as v14 since 4.143.0; concept generation strategies/freshness
24
- as v15 since 4.147.0. Operations, the `numbers exact` **source mode** (PLAY0268) and
25
- reaction refusals/redelivery remain unadmitted. Use the actual
26
- binder before promoting an older probe to a current capability claim.
27
-
28
- What the binder admits, and what it refuses with which code. The answer depends on the
29
- compiler version: the standalone tool (4.153.0) binds through v16; the compiler bundled in cratis
30
- 3.57.0 (4.147.1) and its renderer admit through v15; older bundles (4.66.0 in cratis 3.28.x, admitting v1 to v6; 4.60.1 before 3.28.2, v1 to v5)
31
- are history.
32
- Tool facts and the exact v6 messages: `versions.md`. Always name
18
+ What the binder admits, and what it refuses with which code, depends on the compiler: the
19
+ standalone tool binds the newest ESM versions, while the compiler bundled in the CLI (and the
20
+ renderer that uses it) admits through an older version. Operations, the `numbers exact`
21
+ **source mode** (PLAY0268) and reaction refusals/redelivery remain unadmitted. Routes bind as
22
+ ESM v8, public/direction constructs as v9, identity/overrides/filters as v10, qualifying
23
+ non-route Double literals (exact lowering of Double-mode literals) as v11, non-positional enum
24
+ numbers as v12, concept compliance as v13, caller-supplied collection equality filters as v14,
25
+ concept generation strategies and freshness as v15 and stored event names as v16. Always name
33
26
  the tool with a V2 or V3 result. When tool and documentation disagree, the tool decides
34
27
  current capability; the documentation and the domain decide intended correctness. Record
35
- the gap, never strip the model to pass.
28
+ the gap, never strip the model to pass. Use the actual binder before promoting an older
29
+ observation to a capability claim.
36
30
 
37
31
  Binding is observed through MCP (`read-workspace view=executable-diagnostics`), a render, or
38
32
  `cratis screenplay validate --executable <root>` (bundled compiler; binding errors only, writes
39
33
  nothing; exit 5 when it does not bind). `screenplay <folder>` and plain `cratis screenplay validate`
40
34
  never bind (`verdicts.md`).
41
35
 
42
- Complete examples that bind live in `executable-example.md` (both compilers),
43
- `pdl-example.md` (projections, both compilers) and `automation-translate-example.md`
44
- (ESM v6; standalone tool and cratis 3.28.2 or later) and `generated-responses-example.md`
45
- (ESM v7; standalone tool 4.68.0 or later, and the cratis 3.57.0 bundle).
36
+ Complete examples that bind live in `executable-example.md`, `pdl-example.md` (projections),
37
+ `automation-translate-example.md` (ESM v6) and `generated-responses-example.md` (ESM v7).
46
38
 
47
- ## Caller and compliance boundary (4.142.0)
39
+ ## Caller and compliance boundary
48
40
 
49
41
  `$identity.id`/`.name`/`.userName` are aliases of the admitted
50
42
  `$context.identity` produces-mapping values. Authentication status, roles and
@@ -53,14 +45,13 @@ A top-level `identity` block alone is authoring metadata and does not block
53
45
  readiness. Executable reads of declared `$identity.<detail>` do (PLAY0268);
54
46
  `$context.identity` remains built-ins only. Purposes and event `subject` marks
55
47
  are metadata (PLAY0270), not source resolution, retention or subject propagation.
56
- Bare `pii`/`personal` and `secret` concepts, scopes and qualifiers bind as v13
57
- on standalone 4.142.0; CLI 3.57.0 bundles Screenplay 4.147.1, which binds them too. Enum/identity
48
+ Bare `pii`/`personal` and `secret` concepts, scopes and qualifiers bind as v13. Enum/identity
58
49
  compliance and events mixing protected values with explicit subject marks remain
59
50
  refused; see command-surface `references/compliance.md` for the precise boundary.
60
51
  Legacy spellings compile with PLAY0565 information; duplicates warn PLAY0653.
61
52
  Never remove protection. Reference execution proves neither encryption nor erasure.
62
- Authority: v4.142.0 `SemanticModelBinder.Compliance.cs`, `concepts.md`, `events.md`;
63
- caller and purpose guidance retains v4.127.0 `context.md`, `identity.md`, `purposes.md`.
53
+
54
+ Requires Screenplay 4.141.0 or later (`screenplay --version`) to bind concept compliance (ESM v13); older compilers refuse it with PLAY0268.
64
55
 
65
56
  ## Admitted on both compilers
66
57
 
@@ -80,16 +71,15 @@ caller and purpose guidance retains v4.127.0 `context.md`, `identity.md`, `purpo
80
71
  feature, command and query. Ownership policies `claim "x" matches subject` or `matches
81
72
  <commandProperty>`.
82
73
  - `constraint ... unique <prop> on <Event>`. Admission is separate from the open Chronicle
83
- durability defects (`versions.md`): never treat admission as proof of uniqueness.
74
+ durability defects: never treat admission as proof of uniqueness.
84
75
  - A `readmodel` with one explicit trailing `key`, or an unambiguous inferred key:
85
76
  single-instance queries in the owning slice agreeing on `by xId XId`; only if
86
77
  none supplies identity and an admitted list query exists does conventional
87
78
  `*Id` inference run (collection-key exclusions: read-surface `references/named-keys.md`).
88
79
  Queryless read models need an explicit `key`. Explicit single keys preserve
89
80
  equivalent inferred ESM bytes. Composite read-model keys, query `by` blocks and
90
- their fixtures remain PLAY0268 (#599), not the 4.129.0 authoring delivery's
91
- executable admission. Collections and observable delivery bind. Since 4.143.0,
92
- caller-supplied equality filters on collections also bind as ESM v14; context
81
+ their fixtures remain PLAY0268. Collections and observable delivery bind.
82
+ Caller-supplied equality filters on collections also bind as ESM v14; context
93
83
  sources, single-result filters, scope, performer and composite `by` remain blocked.
94
84
  - One projection per read model: `from`, `every`, `all` (one block per level), `join`,
95
85
  `children`, `nested`, `remove with`, `remove via join` (binds; blocks the execution plan at the projection level, see below), `clear with`, counters, `add`,
@@ -101,22 +91,20 @@ caller and purpose guidance retains v4.127.0 `context.md`, `identity.md`, `purpo
101
91
  - `seed`. Personas, screens and descriptions are PLAY0270/PLAY0269 information, not
102
92
  blocking.
103
93
 
104
- ## Text `not empty` reference correction (4.151.0)
94
+ ## Text `not empty` reference correction
105
95
 
106
- Screenplay **4.151.0** changes reference outcomes in **every ESM version**:
107
- concept and command property `not empty` reject null, empty and whitespace-only
108
- text, using Unicode `White_Space` (.NET `char.IsWhiteSpace`). U+0085 and U+00A0
96
+ Concept and command property `not empty` reject null, empty and whitespace-only
97
+ text in reference execution, using Unicode `White_Space` (.NET `char.IsWhiteSpace`). U+0085 and U+00A0
109
98
  count; U+FEFF does not. No trimming/normalization or canonical-byte/ESM-version
110
- change. Specifications that relied on whitespace being accepted now fail.
99
+ change, in every ESM version. Specifications that relied on whitespace being accepted now fail.
111
100
  Collections still require only one element, and event-source/stream-id identity
112
- text still treats whitespace as a value. This does not upgrade the older bundled
113
- compiler or Stage/Arc target behavior; run their own specs to establish parity.
114
- Sources: Cratis/Screenplay `v4.151.0`,
115
- `Source/DotNET/Screenplay/Semantics/Execution/SemanticEvaluator.cs:102-110` and
116
- `Documentation/screenplay/commands.md:404-407`. Complete passing model:
101
+ text still treats whitespace as a value. Stage and Arc target behavior is separate; run
102
+ their own specs to establish parity. Complete passing model:
117
103
  [whitespace rules](../../cratis-screenplay-specifications/references/whitespace-rules.md).
118
104
 
119
- ## Child-before-parent reference execution (4.149.1)
105
+ Requires Screenplay 4.151.0 or later (`screenplay --version`) for the whitespace-only rejection; earlier compilers accept whitespace-only text.
106
+
107
+ ## Child-before-parent reference execution
120
108
 
121
109
  An admitted child projection event before its parent is deferred, not Unsupported.
122
110
  The reference evaluator retries pending children in arrival order with original event
@@ -124,15 +112,13 @@ values/context and parent keys, including grandchildren and across given/when an
124
112
  accepted command commits. A parent that never arrives leaves the child absent;
125
113
  an ambiguous parent still fails closed. Pin child-before-parent, parent-before-child
126
114
  and absence with [child-ordering specifications](../../cratis-screenplay-specifications/references/child-ordering.md).
127
- Decision 0007's earlier-child-creation routing branch remains a known difference:
128
- the evaluator uses the current root handler key for shared root/child events, not
115
+ For shared root/child events the evaluator uses the current root handler key, not
129
116
  a child's location resolved through a different creation event. This is reference
130
- semantics, not real Chronicle runtime conformance. Sources: Cratis/Screenplay
131
- `v4.149.1:Documentation/screenplay/projections/semantic-model.md:77-81` and
132
- `Source/DotNET/Screenplay/Semantics/Execution/SemanticScopedProjection.Deferred.cs:11-96`.
133
- CLI 3.57.0's Screenplay 4.147.1 bundle predates this deferral.
117
+ semantics, not real Chronicle runtime conformance.
134
118
 
135
- ## Equality query filters (ESM v14, since 4.143.0)
119
+ Requires Screenplay 4.149.1 or later (`screenplay --version`) for deferral; earlier compilers report such a child as Unsupported.
120
+
121
+ ## Equality query filters (ESM v14)
136
122
 
137
123
  `filter <name> <Type> [optional]` binds on collections with no `from`, targeting a
138
124
  same-named scalar primitive/concept/enum property of the same nominal type
@@ -140,19 +126,19 @@ same-named scalar primitive/concept/enum property of the same nominal type
140
126
  filters AND with `by`; optional omission does not narrow, supplied null is refused.
141
127
  `then query … arguments` and `when query` accept both `by` and filters; PLAY0468
142
128
  reports unknown/repeated/missing required arguments. Collection results match by
143
- read model/key regardless of row order. The standalone 4.153.0 pin admits this;
144
- CLI 3.57.0's 4.147.1 compiler and Stage 4.89.1 admit it through v15, subject to
145
- construct checks (snapshot lists/DateTime filters/parameter order still refuse). Complete compiled specs:
129
+ read model/key regardless of row order. Stage admits and renders these filters, subject to
130
+ construct checks (snapshot lists, DateTime filters and parameter order still refuse). Complete compiled specs:
146
131
  read-surface [equality filters](../../cratis-screenplay-read-surface/references/equality-filters.md).
147
132
 
148
- ## Admitted from Screenplay 4.61 (ESM v6): standalone tool and cratis 3.28.2 or later
133
+ Requires Screenplay 4.143.0 or later (`screenplay --version`) for equality filters; earlier compilers refuse them.
134
+
135
+ ## Time, reactions and captures (ESM v6)
149
136
 
150
137
  - `slice Automation` with `reaction`: `when <Event>` (with values) then `produces` (no
151
138
  `for` means the trigger's event source) or `invokes <Command>`; `where`; clock `at ... on
152
139
  ...` with an explicit `for`. Without a declared actor, a gated invocation denies.
153
- On 4.125.0 reaction `runs as system role "<Role>"` supplies the actor and
154
- selects ESM v10; keep the gate. CLI 3.41.0's older compiler rejected this syntax;
155
- The pinned CLI bundle (`versions.md`) supports it, and Stage renders role/authenticated reaction identity; claim-reading/opaque gates retain STAGE-ESM-034.
140
+ Reaction `runs as system role "<Role>"` supplies the actor and
141
+ selects ESM v10; keep the gate. Stage renders role/authenticated reaction identity; claim-reading/opaque gates retain STAGE-ESM-034.
156
142
  Standalone reference execution admits it.
157
143
  - Application `trigger` declarations and `when trigger` specifications.
158
144
  - `slice Translate` with `capture` (`key`, `map ... translate`, `append ... when x from "a"
@@ -161,20 +147,21 @@ read-surface [equality filters](../../cratis-screenplay-read-surface/references/
161
147
  due **after** the given clock and **at or before** the when clock, once each, in time
162
148
  order. `when clock` needs `given clock`. Limits: 10,000 occurrences per advance, 1,000
163
149
  facts per scenario. A scenario with given equal to when fires nothing.
164
- - Command specifications that list reaction cascades (no false PLAY0285).
150
+ - Command specifications that list reaction cascades.
165
151
  - In a `then` list after `when append`, only what followed the appended event.
166
152
 
167
- ## Generated values and responses (ESM v7/v15): current compiler and renderer boundaries
153
+ Requires Screenplay 4.61 or later (`screenplay --version`) for ESM v6 constructs, and Cratis CLI 3.28.2 or later for the bundled compiler; older compilers refuse them with PLAY0268 and report a false PLAY0285 on cascades.
154
+
155
+ Requires Screenplay 4.125.0 or later (`screenplay --version`) for reaction `runs as system`.
156
+
157
+ ## Generated values and responses (ESM v7)
168
158
 
169
- Facts read at `v4.68.0`: decision 0026 and `Documentation/screenplay/{commands,specifications,interoperability}.md`.
170
159
  A model selects ESM v7 only when it uses a generated property, a response, a generated fixture or a `then returns`
171
- expectation; every other model keeps its version, bytes and revision. The cratis CLI 3.28.3 (bundled 4.66.0)
172
- reported `PLAY0268` for these constructs (history). The current CLI (3.57.0, bundled 4.147.1) binds them
173
- and Stage 4.89.1 renders supported UUID/String strategies, v15 freshness, scalar/named responses,
160
+ expectation; every other model keeps its version, bytes and revision. The CLI bundle binds these constructs
161
+ and Stage renders supported UUID/String strategies, v15 freshness, scalar/named responses,
174
162
  fixtures and `then returns`. Unsupported generated types (`-028`) and result combinations
175
163
  (`-038`) remain refused; see `renderable-subset.md` and command-surface
176
- `references/generated-values-and-responses.md`. The v15 rules below are sourced at
177
- Screenplay `v4.148.0:Documentation/screenplay/generated-values.md:26-60`.
164
+ `references/generated-values-and-responses.md`.
178
165
  Complete examples: `generated-responses-example.md`, `generation-strategies-example.md`.
179
166
 
180
167
  - A generated property is command-only, required, scalar and a generatable concept backed by Uuid or String;
@@ -205,32 +192,36 @@ Complete examples: `generated-responses-example.md`, `generation-strategies-exam
205
192
  - A reaction-invoked command that reaches generation is `Unsupported(IdentityAllocation)`; response-only commands run
206
193
  and discard the response. Generated values give no idempotency, retry or deduplication guarantee.
207
194
 
195
+ Requires Screenplay 4.68.0 or later (`screenplay --version`) for generated values and responses (ESM v7), and 4.147.0 or later for concept generation strategies and freshness (ESM v15); older compilers refuse them with PLAY0268.
196
+
208
197
  ## Released public boundaries and observer routes
209
198
 
210
199
  Public/origin events, explicit Translate direction, event-target builders and
211
- `source events` captures bind as ESM v9 from 4.117.0. Publication folds execute;
200
+ `source events` captures bind as ESM v9. Publication folds execute;
212
201
  source-event captures and reached opaque event-target reducers return typed
213
202
  Unsupported. Public/foreign imports still lack a local shape and refuse PLAY0268.
214
203
  See automations-and-translations `references/public-events-and-direction.md`.
215
- Production overrides and reaction/reducer filters bind and select released v10;
204
+ Production overrides and reaction/reducer filters bind and select v10;
216
205
  filters match routed source/stream names only. Read
217
206
  [production routes and filters](production-routes-and-filters.md).
218
- Qualifying retained non-route Double literals bind/reference-execute as v11 on
219
- 4.135.0, unlike `numbers exact`; see `versions.md`.
207
+ Qualifying retained non-route Double literals bind/reference-execute as v11,
208
+ unlike `numbers exact`.
220
209
 
221
- Non-positional enum member numbers bind as ESM v12 from 4.139.0; positional
210
+ Non-positional enum member numbers bind as ESM v12; positional
222
211
  pins preserve the earlier executable version/bytes. The optional canonical last
223
212
  `numbers` array parallels `values`; specifications still use member names.
224
- Consumers must admit v12 explicitly; CLI 3.57.0/Stage 4.89.1 do. Syntax:
225
- command-surface `references/enum-numbers.md`; version contract: `versions.md`.
213
+ Consumers must admit v12 explicitly; Stage does. Syntax:
214
+ command-surface `references/enum-numbers.md`.
226
215
 
227
216
  Concept `pii`/`personal` and `secret`, qualifiers and scopes bind as optional
228
- `compliance` in ESM v13 from 4.141.0 (rechecked at 4.142.0). Reasons remain
217
+ `compliance` in ESM v13. Reasons remain
229
218
  report-only PLAY0270; reference execution proves neither encryption nor erasure.
230
219
  Enum/identity concepts and an event combining personal or explicitly subject-scoped
231
220
  secret values with an explicit `subject` mark refuse PLAY0268 at binding only.
232
- CLI 3.57.0 bundles Screenplay 4.147.1 / Stage 4.89.1 and renders v13 concept
233
- protection; protected identities/enums still refuse `STAGE-ESM-040`. Preserve protection, not a falsely green bind.
221
+ Stage renders v13 concept protection; protected identities/enums still refuse
222
+ `STAGE-ESM-040`. Preserve protection, not a falsely green bind.
223
+
224
+ Requires Screenplay 4.117.0 or later (`screenplay --version`) for ESM v9, 4.129.0 or later for production overrides and observer filters (v10), 4.135.0 or later for v11 and 4.139.0 or later for enum numbers (v12).
234
225
 
235
226
  ## Code attachments (what binds, what never does)
236
227
 
@@ -245,7 +236,7 @@ predicates and reaction effects. Reaction effects bind only when the trigger has
245
236
  bodies still leave their owner non-executable.
246
237
 
247
238
  - A `file` constraint **never binds**: PLAY0268 "file implementation is not admitted by
248
- the executable model" (`SemanticModelBinder.Constraints.cs`). Chronicle file constraints
239
+ the executable model". Chronicle file constraints
249
240
  can only declare uniqueness: declare it with `unique ...`, and put other rules in command
250
241
  validation or a `require` condition.
251
242
 
@@ -253,16 +244,15 @@ bodies still leave their owner non-executable.
253
244
  constrained implementation attachment." This holds with a `file`, with a fence, and with
254
245
  `implementation` or `hint` (including a pending intent with no payload). On a handler,
255
246
  `implementation` and `hint` are authoring intent: no execution, lock or confirmation.
256
- - From 4.65.0 a command property named rule also accepts an `implementation` block (ordered
247
+ - A command property named rule also accepts an `implementation` block (ordered
257
248
  `hint` lines, at most one `file` or tagged fence). With a source attached it binds like a
258
249
  direct source; hints-only or empty is pending intent: valid source, PLAY0268 at binding.
259
250
  The block is rejected on concept rules, built-in property rules and whole-command
260
- `require`/`validate` bodies (`v4.66.0:Documentation/screenplay/commands.md`, `context.md`).
251
+ `require`/`validate` bodies.
261
252
  - A handler therefore makes the slice non-executable and non-renderable: it is gap-fill
262
253
  with the model as the contract.
263
254
  - Stage admits only pure reducer bodies (Roslyn allowlist, STAGE-ESM-019 and 022);
264
- code validation is refused (STAGE-ESM-005). Opaque pure policies render at Stage 4.73.1 (4.24
265
- refused them with STAGE-ESM-015).
255
+ code validation is refused (STAGE-ESM-005). Opaque pure policies render.
266
256
  - The reference runner returns Unsupported for the opaque bodies that do bind (rule and
267
257
  policy predicates, code validation, reducer transitions); a specification that needs one
268
258
  never passes. Handlers, file constraints and query performers (and reaction effects on a trigger with
@@ -273,15 +263,15 @@ bodies still leave their owner non-executable.
273
263
 
274
264
  | Construct | Code | Note |
275
265
  | --- | --- | --- |
276
- | `Automation` or `Translate` slice, `reaction`, `capture`, `trigger`; `given clock`, `when clock`, `when trigger`, `when capture` | PLAY0268 | **cratis before 3.28.2 bundles only** (4.60.1); messages in `versions.md` |
266
+ | `Automation` or `Translate` slice, `reaction`, `capture`, `trigger`; `given clock`, `when clock`, `when trigger`, `when capture` | PLAY0268 | **older bundled compilers only**; current compilers bind them (ESM v6) |
277
267
  | Unquoted `import Other.Contract` | PLAY0268 | external contract import is not bound |
278
- | `pii` or `secret` on a concept | PLAY0268 | Historical blanket refusal on CLI 3.53.1's 4.137.0 bundle only. CLI 3.57.0 and standalone 4.142.0+ admit v13 except enum/identity compliance and events mixing personal or explicitly subject-scoped secret values with explicit subject marks; see `compliance.md` in command-surface references |
279
- | `query` with a composite `by` block, or `by ... from` context-derived arguments | PLAY0268 | composite `by` blocks remain unadmitted (#599). An optional scalar snapshot lookup, an unfiltered list (`RM[]`) and a list narrowed by one caller-supplied `by` key bind, in their `observable` form too (since 4.105.0) |
268
+ | `pii` or `secret` on a concept | PLAY0268 | Older compilers refuse it outright. Current compilers admit v13 except enum/identity compliance and events mixing personal or explicitly subject-scoped secret values with explicit subject marks; see `compliance.md` in command-surface references |
269
+ | `query` with a composite `by` block, or `by ... from` context-derived arguments | PLAY0268 | composite `by` blocks remain unadmitted. An optional scalar snapshot lookup, an unfiltered list (`RM[]`) and a list narrowed by one caller-supplied `by` key bind, in their `observable` form too |
280
270
  | Context `from`, single-result filters, `scoped to`, `performer` queries | PLAY0268 | Typed query context, filtering of single results, opaque scope and query implementation remain unadmitted; each refusal names its reason. Caller-supplied collection equality filters bind as v14. `observable` goes in the return position (`=> observable RM[]`); as a body line it is PLAY0048 |
281
271
  | `contains` or `starts with` in conditions | PLAY0268 | equality and numeric ordering only |
282
272
  | Date or DateTime comparison, `today` | PLAY0268 | no runtime date value |
283
273
  | Rule on a nested path (`lines.qty all > 0`) | PLAY0268 | put the rule on the nested value's concept |
284
- | `require` or `produces when` over a read-model path | PLAY0268 | needs decision-consistent reads (Screenplay#129) |
274
+ | `require` or `produces when` over a read-model path | PLAY0268 | needs decision-consistent reads |
285
275
  | `reads <View> ...` on a command | PLAY0271 (error) | legacy, cannot imply decision consistency |
286
276
  | `concurrency` block on a command | PLAY0271 (error) | "concurrency metadata keeps its legacy meaning and cannot bind to ESM v1" |
287
277
  | `handler` (see above) | PLAY0268 | gap-fill |
@@ -295,10 +285,10 @@ bodies still leave their owner non-executable.
295
285
  | `join`, `children` or `remove via join` inside `nested` | blocked plan | binds; `UnsupportedProjectionBlock` |
296
286
  | `$eventContext.occurred.Week` | PLAY0273 | derived value |
297
287
  | Projection `parent p` where `p` is not on the child event | PLAY0273 | "Event property not found" |
298
- | `generated` or `returns` on a compiler before 4.68.0 (4.66.0 and 4.67.0 refuse; 4.66.0 is bundled in cratis 3.28.x) | PLAY0268 | admitted from standalone 4.68.0 (ESM v7), see above |
288
+ | `generated` or `returns` on an older compiler | PLAY0268 | admitted from ESM v7, see above |
299
289
  | Operations or systems, `numbers exact` source mode, reaction refusals/redelivery | PLAY0268 | not admitted by any supported ESM version; one such construct leaves the **whole** application without an executable model. Event sources/streams/routes instead bind as ESM v8 on the current compiler (`sources-and-streams.md`) |
300
290
  | Spec of a gated command or query without `given caller` | PLAY0389 | module and feature gates count |
301
- | `given` or `then readmodel` missing key parts | PLAY0351 | explicit `key` marks replace inference; composite fixtures need every part but remain unadmitted (#599) |
291
+ | `given` or `then readmodel` missing key parts | PLAY0351 | explicit `key` marks replace inference; composite fixtures need every part but remain unadmitted |
302
292
  | When-less spec asserting events or errors | PLAY0352 | |
303
293
  | `null` in command or event values | PLAY0350 | Chronicle semantics, not only a binder limit: an optional fact is a separate event (nullable event properties are CHR0012) |
304
294
  | `for` with no unambiguous destination type | PLAY0273 | |
@@ -308,7 +298,7 @@ bodies still leave their owner non-executable.
308
298
  - Plain `produces` without `for` binds (PLAY0478, information) but means allocation in the
309
299
  ESM and "the identifier" in rendered Arc code. Always write `for` on a plain `produces <Name>`; inline `produces event` omits it.
310
300
  - A projection-level (root) `remove via join` binds, but the reference execution plan refuses it (`UnsupportedProjectionBlock`), so no specification in the application runs; Chronicle wires it as a child pull. See the blocked-plan rows above.
311
- - At Screenplay 4.125.0, V1 reports absent projection/children/nested targets
301
+ - V1 reports absent projection/children/nested targets
312
302
  with PLAY0514 and unknown removal/capture events with PLAY0166. An unmapped
313
303
  declared field can be found by opt-in `--check field-origins` (PLAY0534);
314
304
  unknown or opaque coverage is skipped, so still check lineage by hand.
@@ -317,9 +307,8 @@ bodies still leave their owner non-executable.
317
307
 
318
308
  Do not remove `pii`, `secret`, `authorize` or policies, list queries, automations or
319
309
  rules a domain needs just to make binding pass. Report `V3 blocked: <codes>` and record the
320
- slice in the gap list. A `pii` or `secret` marker selects v13 on standalone
321
- 4.142.0 (since 4.141.0). CLI 3.57.0 bundles Screenplay 4.147.1 / Stage 4.89.1, which renders concept
310
+ slice in the gap list. A `pii` or `secret` marker selects v13. Stage renders concept
322
311
  protection; protected identities/enums still refuse `STAGE-ESM-040`. Either attribute on an identifier or typed destination is a source error
323
- PLAY0515 on the current compiler (including stream-id parts and route mapping
312
+ PLAY0515 (including stream-id parts and route mapping
324
313
  sources). Chronicle also rejects `[PII]`/`[Encrypted]` on event-source identifiers
325
314
  (CHR0034/CHR0052). Keep surrogate identity and protected payload separate.
@@ -2,11 +2,10 @@
2
2
 
3
3
  A small model with a generated identifier, a second generated value, an ordered record response, a scalar
4
4
  response, and specifications that pin both the emitted events and the response. It compiles with 0
5
- diagnostics, binds, and its two specifications pass in the reference runner on Screenplay 4.68.0
6
- (`Documentation/screenplay/fixtures/generated-responses.play` at `v4.68.0`). It needs the standalone
7
- `screenplay` 4.68.0 or later: the cratis CLI 3.28.3 bundles 4.66.0, which does not bind these constructs
8
- (`PLAY0268`), and `cratis render` does not render ESM v7 (Stage 4.24.2 refuses it with `STAGE-ESM-016`,
9
- Cratis/tracked in Stage#201). Rules and refusals: [executable-subset.md](executable-subset.md#generated-values-and-responses-esm-v7-standalone-4680-or-later-only).
5
+ diagnostics, binds, and its two specifications pass in the reference runner. Rules and refusals:
6
+ [executable-subset.md](executable-subset.md#generated-values-and-responses-esm-v7).
7
+
8
+ Requires Screenplay 4.68.0 or later (`screenplay --version`); older compilers refuse these constructs with `PLAY0268`.
10
9
 
11
10
  ```screenplay
12
11
  // ESM v7 reference-executable example: deterministic generated fixtures, events and command responses.
@@ -2,8 +2,7 @@
2
2
 
3
3
  A deterministic UUIDv7 identifier and NanoID receipt, with an accepted response
4
4
  and a reused-source rejection. Fixtures, not random seeds, make this executable.
5
- Source contract: Cratis/Screenplay `v4.148.0:Documentation/screenplay/generated-values.md:30-60`;
6
- strategy encodings: `generated-values/strategies.md:34-89`.
5
+ Contract: the Screenplay documentation pages `generated-values.md` and `generated-values/strategies.md`.
7
6
 
8
7
  ```screenplay
9
8
  concept InvoiceId : Uuid
@@ -52,7 +52,7 @@ implementation separately.
52
52
 
53
53
  ## Navigation `by` and form `columns`
54
54
 
55
- Both are current, not legacy (settled in Screenplay#688, v4.145.1). Screen
55
+ Both are current, not legacy. Screen
56
56
  navigation passes the target's key with `by <parameter>` (`on row-click navigate
57
57
  to InvoiceDetail by invoiceId`) and further values with `parameter <name> from
58
58
  <binding>`; navigation inside an interaction block passes values with `with <name>
@@ -62,12 +62,8 @@ case needs; neither has a style diagnostic.
62
62
 
63
63
  ## Verified product sources
64
64
 
65
- Screenplay **v4.145.0** (syntax unchanged from 4.144.0):
66
- `Documentation/screenplay/types.md:23-25`, `concepts.md:34-37,142-146`,
67
- `ast-compatibility.md:68`, `commands.md:80-90,136-176,503`,
68
- `events.md:114,118-120`, `event-sources.md:7,86,132`, `reactions.md:298-312`,
69
- `interactions.md:105-107`, `folders.md:418-421`, `diagnostics.md:825,979-987,1013,1084,1105-1120,1271`.
70
- Printer: `Source/DotNET/Screenplay/Printing/ScreenplaySyntaxText.cs:41`,
71
- `ScreenplayPrinter.Expressions.cs:18-32`, `ScreenplayPrinter.Commands.cs:481-530`.
72
- Navigation and forms: Screenplay v4.145.1 `glossary.md:65`, `forms.md:40`; https://github.com/Cratis/Screenplay/issues/688.
65
+ Screenplay documentation pages: `types.md`, `concepts.md`, `ast-compatibility.md`, `commands.md`,
66
+ `events.md`, `event-sources.md`, `reactions.md`, `interactions.md`, `folders.md`, `glossary.md`,
67
+ `forms.md` and `diagnostics.md`. Printer: the Screenplay printer's syntax text and its expression and
68
+ command printing.
73
69
  The published contract is the selector's authority, not this hand-written table.
@@ -12,7 +12,7 @@
12
12
 
13
13
  ## Command defaults and complete overrides
14
14
 
15
- Named event sources/streams and command routes bind as ESM v8 (verified at 4.125.0).
15
+ Named event sources/streams and command routes bind as ESM v8.
16
16
  A routed command's identifier and known destinations must match the source's nominal
17
17
  identifier type (PLAY0504). Allocation uses the generated identifier's type, or
18
18
  without one requires a UUID-based source. Composite `streamId` routes map every
@@ -31,7 +31,7 @@ Resolve the command route and every override eagerly after validation/requiremen
31
31
  and before generation. An invalid route in a skipped conditional production still
32
32
  rejects the command atomically as Contract, leaving no new facts or allocation.
33
33
  Mappings accept required nongenerated direct scalar command inputs or literals;
34
- property paths remain PLAY0268 (#574), generated inputs PLAY0273. A portable
34
+ property paths remain PLAY0268, generated inputs PLAY0273. A portable
35
35
  unkeyed override replaces a keyed command id, never inherits it; a renderer must
36
36
  refuse that form if its adapter cannot clear inherited metadata.
37
37
 
@@ -101,22 +101,13 @@ and wrong source/stream, and unrouted input. Read [specification route forms](so
101
101
 
102
102
  ## Admission and evidence
103
103
 
104
- ESM v10 was first published in 4.125.0 (reaction system identity). Production
105
- routes and observer filters shipped in 4.129.0. Decision 0066 records that already
106
- shipped extension as a retroactive exception; all three are now one frozen v10
107
- contract. A consumer admitting v10 must include all three, not just identity.
108
- Composite **read-model** keys are separate and remain unadmitted (PLAY0268, #599).
104
+ ESM v10 carries reaction system identity, production route overrides and observer filters as one
105
+ frozen contract. A consumer admitting v10 must include all three, not just identity.
106
+ Composite **read-model** keys are separate and remain unadmitted (PLAY0268).
109
107
 
110
- Previous CLI 3.46.1/Stage 4.52.0 refused versions above v7 before planning.
111
- The pinned CLI/Stage pair (`versions.md`) admits through v15 to construct checks: production overrides
108
+ The CLI/Stage pair admits through its newest version to construct checks: production overrides
112
109
  still refuse STAGE-ESM-036; reaction/reducer filters render on the semantic path,
113
110
  while legacy syntax paths retain STAGE-ESM-035.
114
- Source: Stage `v4.89.1:Source/Rendering.Cratis/Semantics/SemanticVersionFeatureAdmission.cs:27-34`,
115
- `Documentation/reference/reaction-rendering.md:33-34,83-98`.
116
111
  A supported version number alone never proves target support or a passing render.
117
112
 
118
- Source: Screenplay `v4.135.0:Documentation/screenplay/{event-sources,readmodels,reactions,diagnostics}.md`,
119
- decisions 0061–0063/0066 and canonical corpus
120
- `Source/DotNET/Screenplay.CanonicalCorpus/Corpus/EventRoutes/{production-routes,observer-filters}/source/`.
121
- Stage `v4.67.0:Source/Rendering.Cratis/Semantics/{SemanticVersionFeatures,SemanticVersionFeatureAdmission}.cs`;
122
- CLI `v3.50.0:Source/Cli/Commands/Render/RenderedSemanticVersions.cs`.
113
+ Requires Screenplay 4.125.0 or later (`screenplay --version`) for reaction system identity (ESM v10), and 4.129.0 or later for production route overrides and observer filters.