@cratis/pi 7.39.0 → 7.41.0

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 (72) hide show
  1. package/package/corpus/product-sync.json +12 -12
  2. package/package/corpus/skills/cratis-arc-command/references/generated-values.md +3 -2
  3. package/package/corpus/skills/cratis-chronicle-reactor/SKILL.md +2 -2
  4. package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +4 -2
  5. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/audit-format.md +2 -2
  6. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +1 -1
  7. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/provenance.md +2 -2
  8. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/public-events-and-direction.md +1 -1
  9. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +13 -7
  10. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +3 -1
  11. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +7 -6
  12. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/invocation-identity.md +4 -2
  13. package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +10 -8
  14. package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +13 -2
  15. package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +9 -8
  16. package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +137 -46
  17. package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +13 -8
  18. package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +13 -13
  19. package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +2 -2
  20. package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +4 -4
  21. package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +1 -1
  22. package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +6 -4
  23. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +3 -1
  24. package/package/corpus/skills/cratis-screenplay-model-review/references/anti-patterns.md +1 -1
  25. package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +1 -1
  26. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +2 -2
  27. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/phases.md +1 -1
  28. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +5 -3
  29. package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +1 -1
  30. package/package/corpus/skills/cratis-screenplay-read-surface/references/equality-filters.md +15 -13
  31. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +22 -18
  32. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/delivery-protocol.md +1 -1
  33. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md +6 -5
  34. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +8 -8
  35. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +2 -2
  36. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +6 -5
  37. package/package/corpus/skills/cratis-screenplay-slice-design/references/field-lineage.md +1 -1
  38. package/package/corpus/skills/cratis-screenplay-specifications/references/generated-fixtures.md +12 -5
  39. package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +5 -4
  40. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +4 -4
  41. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +2 -1
  42. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +2 -2
  43. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +1 -1
  44. package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +19 -14
  45. package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet-example.md +2 -3
  46. package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet.md +1 -1
  47. package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +7 -4
  48. package/package/corpus/skills/cratis-screenplay-toolchain/references/doc-contradictions.md +3 -3
  49. package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +30 -25
  50. package/package/corpus/skills/cratis-screenplay-toolchain/references/generation-strategies-example.md +43 -0
  51. package/package/corpus/skills/cratis-screenplay-toolchain/references/production-routes-and-filters.md +5 -2
  52. package/package/corpus/skills/cratis-screenplay-toolchain/references/provenance.md +1 -1
  53. package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +37 -34
  54. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +1499 -46
  55. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +1 -1
  56. package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +3 -2
  57. package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +3 -3
  58. package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +3 -3
  59. package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +56 -48
  60. package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +9 -2
  61. package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +7 -7
  62. package/package/corpus/skills/cratis-screenplay-ui-composition/references/response-continuations.md +109 -0
  63. package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +4 -3
  64. package/package/corpus/skills/cratis-screenplay-ui-composition/references/worked-flow.md +3 -2
  65. package/package/corpus/skills/cratis-screenplay-ui-composition/verification.json +5 -0
  66. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +31 -32
  67. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +71 -27
  68. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/rendered-application.md +18 -21
  69. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +30 -14
  70. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/scene-runtime.md +4 -3
  71. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +5 -2
  72. package/package.json +1 -1
@@ -107,13 +107,12 @@ is the fallback, and neither names the other's verdict. Versions and commands:
107
107
  - [ ] Every event is past tense, single-purpose, and carries no event-source id.
108
108
  - [ ] Personal data is classified on the `concept`, with a reason.
109
109
  - [ ] Specifications name the rejections, not only the happy path.
110
- - [ ] If the model must reach a runtime, check it binds with the tool that will
111
- consume it. Current pins: `cratis-screenplay-toolchain` `references/versions.md`. Stage 4.73.1
112
- (in CLI 3.53.1) admits ESM v1 to v10 by version and renders `StateChange` and `StateView`
113
- slices; reactions, captures, Automation and Translate, and the v7+ constructs in Stage's
114
- admission table refuse with their own `STAGE-ESM-*` code, so those scopes are gap-fill with
115
- the model as the contract. A reaction that produces events and invokes commands is refused
116
- (`STAGE-ESM-037`) although Arc 22.72.0 and later can run it (the Arc the Stage scaffold pins needs a proven override): hand-write it as one reactor, never split the modeled reaction.
110
+ - [ ] Bind with the runtime's compiler; pins: toolchain `references/versions.md`.
111
+ CLI 3.57.0 / Stage 4.89.1 admit through v15, including supported event Automation,
112
+ generation strategies/responses, equality filters, enum numbers and compliance. Translate/captures
113
+ and refused reactions remain gaps (Stage `references/admission.md`).
114
+ Mixed effects remain `STAGE-ESM-037`: retries can duplicate events. Keep the reaction
115
+ whole and prove retry-safe gap-fill; never split or drop effects.
117
116
 
118
117
  ## Parsed is not runnable
119
118
 
@@ -130,12 +129,12 @@ What binds depends on **which tool** you ask, so name the tool and its version:
130
129
 
131
130
  - `Automation` and `Translate` slices, reactions, captures and triggers bind (ESM v6) on the
132
131
  standalone tool and the CLI bundle. (Historical: the cratis 3.27.1 bundle, Screenplay 4.60.1,
133
- reported *Slice '<name>' of type '<type>' is not admitted by ESM v1.*) Stage 4.73.1 renders none of them.
132
+ reported *Slice '<name>' of type '<type>' is not admitted by ESM v1.*) Stage 4.89.1 renders supported event-triggered Automation, not Translate/captures or non-event triggers.
134
133
  - `reads` and `concurrency` on a command do not bind (`PLAY0271`), so no decision is
135
134
  protected against stale state. A reaction trigger's `reads` that only `invokes` is
136
135
  report-only intent (`PLAY0270`); one that `produces` directly fails binding (`PLAY0268`).
137
136
  - `persona` declarations are report-only and never block; bare `pii` and `secret`
138
- concepts bind as ESM v13 on standalone 4.142.0 (since 4.141.0), but still block the pinned CLI.
137
+ concepts bind as ESM v13 on standalone 4.142.0 (since 4.141.0), and the pinned CLI; Stage renders admitted v13 protection.
139
138
  Enum/identity compliance and protected events with explicit subject marks remain
140
139
  refused (PLAY0268); see command-surface `references/compliance.md`. Keep protection.
141
140
  - Generated values/responses bind and reference-execute as v7; sources, streams
@@ -143,10 +142,11 @@ What binds depends on **which tool** you ask, so name the tool and its version:
143
142
  qualifying Double literals lower exactly as v11 and non-positional enum numbers
144
143
  as v12. Use `screenplay test` or MCP `run-specifications` for V4.
145
144
  Operations/systems, the `numbers exact` **source mode** (PLAY0268) and
146
- refusal/redelivery remain unadmitted. Stage still refuses generated values and
147
- responses (`STAGE-ESM-028`/`029`). For the pinned CLI/Stage pair
148
- (`cratis-screenplay-toolchain/references/versions.md`), v10 reaches construct
149
- admission, not full support.
145
+ refusal/redelivery remain unadmitted. CLI 3.57.0 / Stage 4.89.1 render supported generation strategies and v15 freshness,
146
+ scalar/named responses, enum numbers, compliance and supported event reactions.
147
+ The pair reaches construct checks through v15, not blanket rendering; supported v14 filters
148
+ now render. Current boundaries and source evidence:
149
+ `cratis-screenplay-toolchain/references/renderable-subset.md`.
150
150
  Source/binding admission and target realization are separate gates.
151
151
 
152
152
  The ESM versions, the full disposition table and the Step 7 clock example's binding
@@ -199,10 +199,10 @@ system state?"* If no, it is co-production — one `StateChange` slice with seve
199
199
 
200
200
  **Output:** the `reaction`, in an `Automation` slice. It binds on the standalone
201
201
  `screenplay` and the `cratis` bundle (ESM v6; the 3.27.1 bundle rejected the slice at binding) and
202
- Stage 4.73.1 renders none, so the automation is gap-fill there (versions:
202
+ Stage 4.89.1 renders supported event-triggered Automation; refused scope stays gap-fill (versions:
203
203
  `cratis-screenplay-toolchain`). A reaction that `produces` and `invokes` stays one reaction: Stage
204
204
  refuses it (`STAGE-ESM-037`) but Arc 22.72.0 and later run it as one reactor (events first, then
205
- commands; no cross-effect transaction; the Arc the Stage scaffold pins needs a proven override), so gap-fill it whole, never split it. When the automation decides from a view, declare it under
205
+ commands; no cross-effect transaction; the scaffold includes the handler, but retries can duplicate events), so gap-fill it whole, never split it. When the automation decides from a view, declare it under
206
206
  the trigger with `reads` (see `cratis-screenplay-captures-and-reactions`).
207
207
 
208
208
  The example below is a complete document: a Monday-morning clock occurrence invokes a command
@@ -29,14 +29,14 @@ Pins and consumer boundaries: toolchain `references/versions.md`.
29
29
  | Construct | Standalone disposition (v4.125.0/v4.139.0 evidence; compliance updated at v4.141.0) |
30
30
  | --- | --- |
31
31
  | `persona`, domain/authentication metadata | Report-only; unknown named policies remain source defects |
32
- | Compliance concepts | Bare `pii`/`personal` and `secret`, qualifiers and scope bind as v13 (4.142.0 checked); enum/identity compliance and events combining personal or explicitly subject-scoped secret values with an explicit `subject` mark refuse PLAY0268 at binding only. CLI 3.53.1's 4.137.0 bundle still refuses markers; Stage 4.76.0 admits only through v12 (Stage#345). Never remove protection |
32
+ | Compliance concepts | Bare `pii`/`personal` and `secret`, qualifiers and scope bind as v13 (4.142.0 checked); enum/identity compliance and events combining personal or explicitly subject-scoped secret values with an explicit `subject` mark refuse PLAY0268 at binding only. CLI 3.57.0's 4.147.1 bundle binds markers; Stage 4.89.1 renders v13 protection, not protected identities/enums or subject lineage. Never remove protection |
33
33
  | Identity details / processing purposes / event subject | Report-only metadata (4.127.0); executable detail reads refuse PLAY0268, not source declaration errors |
34
34
  | Composite stream ids | v8 routing; complete named parts/canonical comparisons, PLAY0515 refuses protected keys/sources; not a legacy text split |
35
35
  | Command reads/concurrency | Legacy unprotected decisions, PLAY0271 |
36
36
  | Invokes-only trigger reads | Report-only, not protected state; direct production with reads refuses |
37
- | Generated values/responses | v7 binding/reference execution; Stage 4.73.1 member refusals STAGE-ESM-028/029 |
38
- | Sources/streams and command/specification routes | v8 binding/reference execution; the pinned CLI (toolchain `references/versions.md`) reaches Stage checks through v10 |
39
- | Declared reaction invocation actor | v10 binding/reference execution; older CLI parser PLAY0137; Stage planner refuses v10 |
37
+ | Generated values/responses | v7 binding/reference execution; v15 strategies/strict fixtures/freshness since Screenplay 4.147.0. Stage 4.89.1 renders supported UUID/String strategies, responses and fixtures; unsupported types/combinations remain -028/-038 |
38
+ | Sources/streams and command/specification routes | v8 binding/reference execution; the pinned CLI (toolchain `references/versions.md`) reaches Stage checks through v15 |
39
+ | Declared reaction invocation actor | v10 binding/reference execution; older CLI parser PLAY0137; Stage 4.89.1 renders role/authenticated reaction identity; claim-reading/opaque gates retain STAGE-ESM-034, not a v10 version refusal |
40
40
  | Operations/systems, `numbers exact` source mode, refusal/redelivery | Source accepted; whole binding refuses PLAY0268 |
41
41
  | UI | Authoring/deferred metadata; runtime support is a separate consumer contract |
42
42
 
@@ -289,7 +289,7 @@ paths or diagnosing `PLAY0430`-`PLAY0434`; `read-workspace`/`read-proposal`
289
289
  boundaries v9, identity/overrides/filters v10, qualifying non-route Double
290
290
  literals v11, enum numbers v12, compliance v13 (since 4.141.0;
291
291
  limits: command-surface `references/compliance.md`).
292
- CLI 3.53.1/Stage 4.73.1 bundle 4.137.0 and do not admit v12. Never drop or stub source contracts to bind.
292
+ CLI 3.57.0 bundles Screenplay 4.147.1 / Stage 4.89.1 and renders v12 enum numbers. Never drop or stub source contracts to bind.
293
293
  - Distinguish authoring acceptance from `executableReady`; unsupported backend
294
294
  capabilities are not a reason to drop source constructs or invent stubs.
295
295
  - If execution is intended, validate with the owning downstream runtime as well.
@@ -250,7 +250,7 @@ the standalone 4.66.0 tool for the rows marked "probed"; Cratis CLI 3.28.2 and 3
250
250
  Screenplay 4.66.0 (before 3.28.2, Screenplay 4.60.1, differ where stated).
251
251
 
252
252
  Read-model identity below is corrected to 4.135.0; equality query filters are
253
- updated to standalone 4.145.0 (admitted in 4.143.0, ESM v14):
253
+ updated to standalone 4.148.0 (admitted in 4.143.0, ESM v14):
254
254
  explicit trailing `key` wins; otherwise single-instance queries in the owning slice
255
255
  must agree on `by`. Only with no single-instance identifier and an admitted list
256
256
  query does conventional `*Id` inference run. Queryless views need explicit `key`.
@@ -260,15 +260,17 @@ See read-surface `references/named-keys.md` for the collection-key exclusion alg
260
260
  | --- | --- |
261
261
  | Binds and runs in the reference runner | `StateChange`/`StateView` slices; `produces` including `when` conditions over command properties and literal tags; the portable validation rules, `matches email`, quoted `matches` patterns and `require` over command properties; declarative policies and `authorize` on modules, features, commands and keyed queries; `unique` constraints; projections as Chronicle lowers them, including variants, except the projection constructs in the next row; specifications, including `given caller`, `then denied` and `when append` |
262
262
  | Binds, but the reference execution plan refuses it | A projection-level `remove via join`; `all` beside removals, `children` or `nested`; a `join`, `children` or `remove via join` inside `nested`; any event-context value other than the event source identity in a projection mapping or key, such as `$eventContext.occurred`, `$eventContext.sequenceNumber` or `$eventContext.causedBy.subject` (`$eventSourceId` and `$eventContext.eventSourceId` run) |
263
- | Binds as ESM v6 on Screenplay 4.66.0, standalone and Cratis CLI 3.28.2 (probed); `PLAY0268` on Cratis CLI before 3.28.2 | `Automation` and `Translate` slices, reactions that produce or invoke, captures, top-level `trigger`, clock, trigger and capture specifications. The current standalone `screenplay test`/MCP reference route evaluates admitted v6 actions; the historical Stage 4.24.2 probe rendered none of them (the whole automation is gap-fill) |
263
+ | Binds as ESM v6 on Screenplay 4.66.0, standalone and Cratis CLI 3.28.2 (probed); `PLAY0268` on Cratis CLI before 3.28.2 | `Automation` and `Translate` slices, reactions that produce or invoke, captures, top-level `trigger`, clock, trigger and capture specifications. The current standalone `screenplay test`/MCP reference route evaluates admitted v6 actions; the historical Stage 4.24.2 probe rendered none; Stage 4.89.1 renders supported event-triggered Automation, with remaining refusals in the Stage skill's `references/admission.md` |
264
264
  | Reaction with trigger `reads` | Direct-producing (or code-bodied) reaction with `reads`: `PLAY0268` ("ESM v6 cannot protect that decision dependency", decision 0006), non-executable. Invokes-only reaction with `reads`: information only; the invoked command must declare and protect its own decision reads. Keep the `reads`; never remove them to obtain binding |
265
265
  | Binds as opaque code (v3); reference runner reports unsupported | Bodied reducers, bodied named rules, fenced `validate` blocks, code or file policies. A pure reducer body is the only attachment Stage 4.24.0 admits |
266
266
  | Information only, never blocks (probed) | `persona` (report-only: `PLAY0270`, the policies it lists must exist), `authentication`, `domain`, `seed`, descriptions and `file` provenance. A persona does not block binding and does not change behavior, so state persona scope in a description or a policy the model uses |
267
- | Binds as ESM v7 on standalone Screenplay 4.68.0 (source and release notes; `PLAY0268` on the 4.66.0 in Cratis CLI 3.28.x, probed) | `generated` properties and `returns` responses, generated fixtures and `then returns`: bound and executed by the reference runner; a policy, rule or requirement that references a generated value is `PLAY0273`, and a generated property on a concept with validation rules is `PLAY0268`. Stage 4.73.1 refuses them (`STAGE-ESM-028`/`-029`, Stage#175): gap-fill |
267
+ | Binds as ESM v7 on standalone Screenplay 4.68.0 (source and release notes; `PLAY0268` on the 4.66.0 in Cratis CLI 3.28.x, probed) | `generated` properties and `returns` responses, generated fixtures and `then returns`: bound and executed by the reference runner; a policy, rule or requirement that references a generated value is `PLAY0273`, and a generated property on a concept with validation rules is `PLAY0268`. Stage 4.89.1 renders supported UUID/String strategies, scalar/named responses and fixtures; unsupported types/result combinations remain `-028`/`-038` |
268
268
  | Authorable, not executable (PLAY0268) | Systems/operations, the `numbers exact` source mode (PLAY0268; exact lowering of qualifying Double literals is the admitted v11) and refusal/redelivery remain unadmitted |
269
+ | Concept generation strategies (ESM v15, since 4.147.0) | Required scalar generatable Uuid/String concepts; concept-owned uuid/uuidv7/ulid/typeid/nanoid/bytes strategies and admitted modifiers. Strict fixture encoding; Guarded whole-source freshness rejects Concurrency with no append/retry. Rules, generated secrets, pattern/random/rule and sequence remain refused. CLI 3.57.0 / Stage 4.89.1 render supported strategies: command-surface `references/generated-values-and-responses.md` |
270
+ | Response-name UI continuations (4.148.0, no ESM change) | Form submit and execute-success scopes, own failure PLAY0685, nested shadowing and outer success in inner failure; field/parameter precedence. CLI's 4.147.1 lacks resolution; Scene runtime binding remains downstream. UI composition `references/response-continuations.md` |
269
271
  | Collection equality filters (ESM v14, since 4.143.0) | Caller-supplied `filter name Type [optional]`, no `from`, matching a same-named scalar primitive/concept/enum read-model property with the same nominal type. AND with `by`; optional omission does not narrow, supplied null is refused. PLAY0468 covers unknown/repeated/missing required spec arguments; result rows compare by read-model/key regardless of order. Read read-surface `references/equality-filters.md` for the compiled example and renderer ceilings |
270
272
  | 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 on 4.125.0. Whole-workspace binding determines executable availability; CLI/Stage realization remains separate |
271
- | Blocks binding (`PLAY0268`) | enum/identity compliance and events combining personal or explicitly subject-scoped secret values with explicit subject marks (4.141.0); the older CLI bundle refuses all `pii`/`secret` concepts (historical probe: "compliance attributes require portable data-subject semantics"); command `handler` (never binds; a command cannot declare both `produces` and `handler`, `PLAY0035`), bare `rule <Name>`, `require` or conditions over read-model paths, dates and `today` in comparisons, `$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 (composite keys remain unadmitted), queries with context `from` sources (typed query context is unadmitted), single-result filters (collections only), `scoped to` (opaque scope), `performer` (opaque implementation) or composite `by` blocks (#599); optional keyed and collection queries, including caller-supplied equality filters and observable delivery, bind, `$causedBy` and templates in projections |
273
+ | Blocks binding (`PLAY0268`) | enum/identity compliance and events combining personal or explicitly subject-scoped secret values with explicit subject marks (4.141.0); historical CLI 3.53.1 refuses all `pii`/`secret` concepts; CLI 3.57.0 binds v13 and Stage 4.89.1 renders protection (historical probe: "compliance attributes require portable data-subject semantics"); command `handler` (never binds; a command cannot declare both `produces` and `handler`, `PLAY0035`), bare `rule <Name>`, `require` or conditions over read-model paths, dates and `today` in comparisons, `$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 (composite keys remain unadmitted), queries with context `from` sources (typed query context is unadmitted), single-result filters (collections only), `scoped to` (opaque scope), `performer` (opaque implementation) or composite `by` blocks (#599); optional keyed and collection queries, including caller-supplied equality filters and observable delivery, bind, `$causedBy` and templates in projections |
272
274
  | Blocks binding (`PLAY0271`, legacy meaning) | Command `reads` and `concurrency` |
273
275
  | Deferred (`PLAY0269`, information) | Screens, layouts, templates, forms, contributions, UI profiles, themes, behaviors and `on`/`uses` |
274
276
  | Metadata only (`PLAY0270`, information) | `domain`, `seed`, `persona`, trigger and other descriptions, and `file` provenance on declarations |
@@ -245,7 +245,9 @@ response-only command reports `syntaxOnly: false` and a null `executionReadiness
245
245
  also uses operations, streams, handlers or exact numeric mode keeps a readiness string naming each
246
246
  unadmitted feature. Null readiness does not prove the whole application binds or that every generation
247
247
  fixture exists. Canonical `executable-model` pages include `generated`, `response`, `generatedValues`
248
- and `thenReturns` when present. Form response scopes and a renderer response type remain downstream work.
248
+ and `thenReturns` when present. Screenplay 4.148.0 resolves form/execute-success response names (no ESM change);
249
+ Scene runtime continuation binding remains downstream at Stage 4.89.1. See UI composition
250
+ `references/response-continuations.md` for scope, failure PLAY0685 and tagged evidence.
249
251
 
250
252
  ## Descriptions and specification views
251
253
 
@@ -62,7 +62,7 @@ the problem, the checks it violates, the fix, all pinned to one declaration.
62
62
  | Missing `for` | an event production (`produces <Event>` or `produces event`) without `for`. Not operation productions: they are authorable design intent, belong to commands, and take no event `for`, tags or routing | runtimes disagree on the destination | C (executable) / D | `for <identifier>` |
63
63
  | Unbuilt read-model field | field no projection maps and AutoMap cannot fill | always empty; not reported by the compiler | D | map it or remove it |
64
64
  | Undeclared removal/append event | `remove with` or capture `append` names an undeclared event | V1 warns (PLAY0166, a failure under warnings as errors); binding fails PLAY0273 | C (executable) / D | declare or fix the name; run V3 |
65
- | Gated command invoked by a reaction without a declared actor | reaction `invokes` a command under a caller policy and has no `runs as system role "<Role>"` that satisfies the gate | the invocation carries no caller: rejected at run time | D (major) | declare `runs as system role "<Role>"` with the least-privilege role the gate admits (ESM v10, Screenplay 4.125.0; Stage 4.73.1 refuses `runsAs` with STAGE-ESM-034 and every reaction model, so gap-fill) or record another trusted-path decision - never just delete the gate. A matching `runs as system role` is the admitted trusted path, not a defect |
65
+ | Gated command invoked by a reaction without a declared actor | reaction `invokes` a command under a caller policy and has no `runs as system role "<Role>"` that satisfies the gate | the invocation carries no caller: rejected at run time | D (major) | declare `runs as system role "<Role>"` with the least-privilege role the gate admits (ESM v10, Screenplay 4.125.0; Stage 4.89.1 renders role/authenticated trusted actors, but claim-reading/opaque gates still refuse STAGE-ESM-034 and need gap-fill) or record another trusted-path decision - never just delete the gate. A matching `runs as system role` is the admitted trusted path, not a defect |
66
66
  | `reads` + `produces` reaction | reaction both reads a view and produces | fails binding | C (executable) | invoke a command, or produce without reads |
67
67
  | `reads` treated as protection | rule "checked" because the command or reaction `reads` a view | `reads` enforces nothing | D (major) | keep or introduce `reads <View>` + `require ... message` as stated intent, mark it NOT enforced in the slice `description`, name the target (`[ProtectedDecision]` + `DecisionRead<T>`, Chronicle DCB, or a constraint where it fits); checklist E3 |
68
68
  | Caller-supplied state rule | `require currentStatus == "open"` where the caller sends `currentStatus` | the caller decides its own permission | D (major) | read the stored state with `reads`; keep or introduce `reads <View>` + `require ... message` as stated intent, mark it NOT enforced in the slice `description`, name the target (`[ProtectedDecision]` + `DecisionRead<T>`, Chronicle DCB, or a constraint where it fits); checklist E3 |
@@ -180,7 +180,7 @@ Nebulit (`provenance.md`).
180
180
  | Id | Check | Evidence | Tier |
181
181
  |---|---|---|---|
182
182
  | H1 | Query shape follows the business view (list where people scan; lookup where they open one) | queries, screens | D |
183
- | H2 | Executable scope: a keyed `=> RM optional` query with `by` named like a read-model property, or a collection (`=> RM[]`, observable too) with caller-supplied `by` and/or equality filters (ESM v14 since 4.143.0). `from`, single-result filters, opaque `scoped to`/`performer` and composite `by` remain PLAY0268. The projection routes by the same identity (a `from` key or an event property, or `$eventSourceId`; `$eventSourceId` is not mandated). Filtered models: Stage 4.73.1 (through v10) and latest checked 4.80.0 (through v13) do not admit v14. Renderable scope only: Stage-specific identity limits (Stage 4.73.1 renders a keyed optional snapshot lookup and observable collection queries; any other query is `STAGE-ESM-010`) | queries, projections | C (executable); C (render admission, renderable only) |
183
+ | H2 | Executable scope: a keyed `=> RM optional` query with `by` named like a read-model property, or a collection (`=> RM[]`, observable too) with caller-supplied `by` and/or equality filters (ESM v14 since 4.143.0). `from`, single-result filters, opaque `scoped to`/`performer` and composite `by` remain PLAY0268. The projection routes by the same identity (a `from` key or an event property, or `$eventSourceId`; `$eventSourceId` is not mandated). Filtered models: CLI 3.57.0 / Stage 4.89.1 admit through v15, including supported v14 equality filters. Renderable scope only: Stage-specific identity/filter limits (Stage 4.89.1 renders a keyed optional snapshot lookup and observable collection queries; any other query is `STAGE-ESM-010`) | queries, projections | C (executable); C (render admission, renderable only) |
184
184
  | H3 | One builder per read model; projection `key` only on `from` | projections | C |
185
185
  | H4 | Screens show one actor's point of view; a form submits one command | screens, forms | D |
186
186
 
@@ -43,7 +43,7 @@ an unproven pass.
43
43
  | An accepted model covers the scope | **Model** | Change the `.play`, verify V1-V3, review, then render or gap-fill |
44
44
  | Opted in, but this scope has no model yet | **Model** | New behavior starts in discovery, then slice design |
45
45
  | A computed rule inside a modeled slice | **Model + code attachment** | `csharp`/`file` block; it binds only as the construct allows (`cratis-screenplay-model-authoring`) |
46
- | Scope Stage cannot render yet, including every modeled automation and translation (Stage 4.73.1 renders neither; the whole behavior is gap-fill, not just its outside call; a reaction that produces and invokes stays one reaction, `STAGE-ESM-037`, hand-written as one reactor on Arc 22.72.0 or later) | **Gap-fill code** | Hand-written; the `.play` slice and specs are the contract. `cratis-screenplay-render-and-gap-fill` separates an authorized existing generated base from fully hand-written delivery |
46
+ | Scope Stage cannot render yet (Stage 4.89.1 renders supported event-triggered Automation; Translate/captures and refused reactions remain gap-fill. Mixed effects stay one reaction, `STAGE-ESM-037`; a hand-written realization must prove retry safety) | **Gap-fill code** | Hand-written; the `.play` slice and specs are the contract. `cratis-screenplay-render-and-gap-fill` separates an authorized existing generated base from fully hand-written delivery |
47
47
  | Outside call, transport or credentials | **Adapter code** | `Customizations/` or the host, applying `cratis-engineering-effect-boundaries` |
48
48
  | Infrastructure, clients, framework-profile repositories, brownfield not opted in | **Code** | Arc, Chronicle, spec and React skills; trivial changes keep the proportional-delegation policy |
49
49
 
@@ -221,7 +221,7 @@ the packet opens with `Outcome:`; STATE.md is current.
221
221
  ## Verified product sources
222
222
  Model notes: Screenplay `v4.144.0:Documentation/screenplay/model-notes.md:12-77`,
223
223
  `decisions/0045-model-notes-sidecar.md:40-79`; exact tool sources in model-authoring
224
- `references/model-notes.md`. Full pin table: `cratis-screenplay-toolchain/references/versions.md`. Read `cratis-screenplay-toolchain/references/versions.md` when selecting or reverifying tool versions. Current pins (Stage 4.73.1, cratis CLI 3.53.1 and the rest) are in that file. Older source reads used here: Screenplay
224
+ `references/model-notes.md`. Full pin table: `cratis-screenplay-toolchain/references/versions.md`. Read `cratis-screenplay-toolchain/references/versions.md` when selecting or reverifying tool versions. Current pins (Stage 4.89.1, cratis CLI 3.57.0 and the rest) are in that file. Older source reads used here: Screenplay
225
225
  `v4.66.0` (`c89198b`): `Source/DotNET/Tool/Program.cs` (`--warnaserror`, folder mode),
226
226
  `Source/DotNET/Screenplay/Semantics/SemanticModelBinder.cs:209-216` (personas are report-only),
227
227
  `Documentation/screenplay/{constraints,specifications}.md`, `mcp/reference.md` (`modelRevision`);
@@ -127,7 +127,7 @@ phase, a decision important enough that a later reader could misread the model (
127
127
  - **Input**: the accepted identity.
128
128
  - **Carry-forward**: the admission result; render output and named gaps in `Customizations/`;
129
129
  non-renderable scope handed to a code agent with the model as contract, plus a fallback record
130
- naming the blocking codes. Automations and translations are not rendered at the pinned Stage version (4.73.1), so the whole behavior is gap-fill (a reaction that produces and invokes keeps its one modeled form; `STAGE-ESM-037` is Stage's refusal, not a reason to split it). Three cases stay distinct: admission failure (nothing rendered); an
130
+ naming the blocking codes. Stage 4.89.1 renders supported event-triggered Automation; Translate/captures and refused reactions remain gap-fill (mixed effects keep one modeled reaction; `STAGE-ESM-037` is a redelivery-safety refusal, not a reason to split it). Three cases stay distinct: admission failure (nothing rendered); an
131
131
  existing generated base plus separately authorized gap-fill; fully hand-written delivery.
132
132
  - **Gate**: V5 sub-results, or a fallback entry per non-renderable scope. A customization never
133
133
  makes a rejected model renderable; no whole-application V5 from a subset.
@@ -42,9 +42,11 @@ Screenplay meaning, and when you meet the older usage, translate it and say so.
42
42
  - Screenplay **`reaction`**: the construct that models it (`when` trigger, optional `where`,
43
43
  `invokes` a command or `produces` events).
44
44
  - Chronicle **reactor**: C# observer, usually for side effects; it does not by itself define
45
- business decisions. A Screenplay reaction is authorable and bindable, but Stage 4.73.1 renders no Automation or
46
- Translate slice: the reactor and command are gap-fill code. A reaction that both produces events and invokes commands is
47
- refused by Stage (`STAGE-ESM-037`); Arc 22.72.0 and later run one reactor returning events and commands (the Arc the Stage scaffold pins needs a proven override), so keep the reaction whole.
45
+ business decisions. Stage 4.89.1 renders supported event-triggered Automation as Chronicle reactors.
46
+ Translate/captures and refused reactions remain gap-fill. Mixed events and commands
47
+ in one handler remain `STAGE-ESM-037`: Arc supports the return shape, but redelivery
48
+ after a failed command duplicates events. Keep the reaction whole and prove retry safety.
49
+ Source boundary: Stage skill `references/admission.md`.
48
50
 
49
51
  ## Scenario vs specification
50
52
  "Scenario" is the Event Modeling example and the scenario *types* `cratis-screenplay-scenario-coverage` uses for
@@ -178,7 +178,7 @@ on the header line is a declaration error, not a shorthand.
178
178
 
179
179
  ### What runs
180
180
 
181
- These bind on standalone 4.145.0: keyed `=> RM optional`, unfiltered collections,
181
+ These bind on standalone 4.148.0: keyed `=> RM optional`, unfiltered collections,
182
182
  collections narrowed by caller-supplied `by`, and their `observable` forms.
183
183
  Caller-supplied equality filters on collections select ESM v14: same-named scalar
184
184
  primitive/concept/enum properties, same nominal type ignoring optionality, no
@@ -11,7 +11,7 @@
11
11
  - Rendering is a different verdict
12
12
  - Verified product sources
13
13
 
14
- Screenplay **4.143.0 and later**, including the standalone **4.145.0** pin,
14
+ Screenplay **4.143.0 and later**, including the standalone **4.148.0** pin,
15
15
  binds `filter <name> <Type> [optional]` on a collection query when:
16
16
 
17
17
  - there is no `from` source;
@@ -189,12 +189,14 @@ module FilteringExamples
189
189
 
190
190
  ## Rendering is a different verdict
191
191
 
192
- The latest Stage release checked here, **v4.80.0**, admits version pairs through
193
- **ESM v13**, not v14, and its legacy query renderer also refuses authored filter
194
- contracts. **CLI 3.53.1** bundles **Screenplay 4.137.0 / Stage 4.73.1**:
195
- its compiler predates v14 and its renderer admits through v10. Standalone V3/V4
196
- success therefore proves neither bundled binding nor rendering. A consumer must
197
- explicitly admit v14 and preserve filter arguments and equality selection;
192
+ **CLI 3.57.0** bundles **Screenplay 4.147.1 / Stage 4.89.1**, admitting through
193
+ **ESM v15**. Equality filters render on observable collections, with or without
194
+ `by`, combined by AND. Optional omission is preserved. Snapshot lists, DateTime
195
+ filters and required filter parameters after optional ones refuse `STAGE-ESM-010`;
196
+ parameter name collisions refuse `-012`. Generated query specifications pass named
197
+ arguments and check result counts. The semantic Host executes filters, but the
198
+ independent specification executor refuses filtered assertions with `-010`
199
+ (and retains the GivenReadModel gap). V3/V4 is still not a render/build/test result;
198
200
  never erase filters to obtain a render.
199
201
 
200
202
  ## Verified product sources
@@ -203,9 +205,9 @@ never erase filters to obtain a render.
203
205
  `decisions/0069-admit-equality-query-filters-as-esm-v14.md`;
204
206
  `Documentation/screenplay/queries.md` (Executable equality filters),
205
207
  `specifications.md:145,307-319,409-428`; admission shipped in v4.143.0.
206
- - Stage **v4.80.0**: `Source/Rendering.Cratis/Semantics/SemanticVersionFeatures.cs:95-100`
207
- uses `EsmSchemaV13Support`; `Renderers/QueryAdmission.cs:13-22` refuses filters;
208
- `Directory.Packages.props` pins Screenplay 4.141.0.
209
- - Stage **v4.73.1**: `Source/Rendering.Cratis/Semantics/SemanticVersionFeatures.cs:89`
210
- uses `EsmSchemaV10Support`. CLI **v3.53.1**:
211
- `Directory.Packages.props:8,10` pins Screenplay 4.137.0 and Stage 4.73.1.
208
+ - Stage **v4.89.1**: `Source/Rendering.Cratis/Semantics/SemanticVersionFeatures.cs:105`
209
+ uses `EsmSchemaV15Support`; `SemanticCratisAdmission.StateView.cs:139-178`
210
+ checks filters/order; `Documentation/docker/index.md:143-153`, `docker/spec-runner.md:35-43`
211
+ distinguish Host and independent executor.
212
+ - CLI **v3.57.0**: `Directory.Packages.props:8-10` pins Screenplay 4.147.1 / Stage
213
+ 4.89.1; `Source/Cli/Commands/Render/RenderedSemanticVersions.cs:34-47` admits v1-v15.
@@ -23,10 +23,11 @@ rule is in `cratis-screenplay-modeling-lifecycle` ("Decide the level first"); it
23
23
  ## Verified product sources
24
24
 
25
25
  Version pins live once in `cratis-screenplay-toolchain` `references/versions.md`; read it before
26
- selecting the compiler and renderer for delivery: the CLI bundles its own Screenplay and Stage, older
27
- than the standalone compiler. Render options (`--scope`,
26
+ selecting the compiler and renderer for delivery: the CLI bundles its own Screenplay and Stage;
27
+ its compiler version differs from the standalone pin. Render options (`--scope`,
28
28
  `--check`, `--package-set`) and exit codes were read at cli `v3.53.1` `Documentation/reference/screenplay.md`
29
- and `cratis render --help`; admission at Stage `v4.73.1`. Stage's scaffold pins Arc and
29
+ and `cratis render --help`; admission at Stage `v4.89.1` (`SemanticVersionFeatures.cs:105`,
30
+ `SemanticVersionFeatureAdmission.cs:25-46`, `SemanticCratisAdmission.Automation.cs:15-123`). Stage's scaffold pins Arc and
30
31
  Chronicle releases, which are not the latest (`cratis-stage-rendering-and-sandbox`
31
32
  `references/rendered-application.md`). Source reading is not a new render run.
32
33
 
@@ -70,29 +71,32 @@ assume an answer to 4, and record it as `blocked` for the user.
70
71
  | **B. Generated base plus authorized gap-fill** | an admitted render (whole, or a `--scope` of the admitted slices) exists and the user separately authorized hand-written scope, or a seam the model names needs an adapter | the generated output stays managed and untouched; hand-written code lives in `Customizations/` or a separate project (seam adapters by this skill, business gap-fill by `slice-implementer`), serves named model elements only, never claims render admission, and V5 is reported for the generated base **with its scope stated** |
71
72
  | **C. Fully hand-written delivery** | the scope cannot render and no generated base is wanted | `slice-implementer` delivers it with the model as the contract (`references/gap-fill-handoff.md`); V5 is `not run: no render` |
72
73
 
73
- Evolved events are gap-fill too: Stage still refuses (4.73.1) any evolved event and its dependent scope with `STAGE-ESM-026`, because it cannot render Chronicle event-type migrations yet (Stage#204). Events at their initial revision still render. Hand-write the evolved events and their migrations per `cratis-chronicle-event-type-migration`, with the model as the contract.
74
+ Evolved events are gap-fill too: Stage still refuses (4.89.1) any evolved event and its dependent scope with `STAGE-ESM-026`, because it cannot render Chronicle event-type migrations yet (Stage#204). Events at their initial revision still render. Hand-write the evolved events and their migrations per `cratis-chronicle-event-type-migration`, with the model as the contract.
74
75
 
75
- Generated command values and `returns` responses (ESM v7) bind and run in the reference runner on the standalone
76
- tool. Stage still refuses them with `STAGE-ESM-028`/`STAGE-ESM-029` (4.73.1). When target admission refuses these members, use case A or C: keep
77
- the model, hand-write the command and its response with the model (and its fixtures and `then returns`
78
- specifications) as the contract, and report V3 from the standalone tool and V5 as `not run: no render`.
76
+ Supported UUID/String generation strategies, v15 freshness and scalar/named `returns`
77
+ responses, fixtures and `then returns` render with CLI 3.57.0 / Stage 4.89.1. Unsupported generated
78
+ types (`STAGE-ESM-028`) and result combinations (`-038`) still require case A or C:
79
+ preserve the model and its specifications. See Stage's `references/admission.md`.
80
+ Supported event-triggered Automation slices also render as managed Chronicle reactors;
81
+ refused reactions, captures and Translate slices remain gap-fill.
79
82
 
80
83
  Models with event sources, streams or command routes bind and reference-execute as ESM v8 on the standalone
81
84
  tool, so report V3 and V4 from that tool. The pinned CLI/Stage pair
82
85
  (`cratis-screenplay-toolchain/references/versions.md`) reaches v8 route checks
83
- and construct admission through v10. Public publication,
84
- foreign events/event captures and v10 reaction identity/filters/production overrides
85
- still receive typed refusals; reducer filters render. Keep refused scope as case A/C,
86
+ and construct admission through v15. Public/foreign events and production overrides
87
+ still refuse; semantic reaction/reducer filters and role/authenticated `runs as` render.
88
+ Claim-reading/opaque system gates, legacy actor/filter paths and mixed effects still refuse. Keep refused scope as case A/C,
86
89
  never infer target support from binding. Read Stage's `references/admission.md` and
87
90
  toolchain `references/sources-and-streams.md`.
88
91
 
89
92
  **Mixed reaction effects.** A reaction that both `produces` events and `invokes` commands is refused by
90
93
  Stage (`STAGE-ESM-037`, Stage#207) although Arc 22.72.0 and later run one reactor returning events
91
94
  and commands (events appended first as one batch, then commands in order, no cross-effect
92
- transaction; a retry can repeat the events, so use `[OnceOnly]`/idempotent handling per
93
- `cratis-chronicle-reactor`). Keep the modeled reaction whole and gap-fill it as that one reactor; never
94
- split it or drop an effect to get a render. The scaffold pins an older Arc; whether a newer Arc
95
- override in `Customizations/Dependencies.props` restores next to it is unverified, so prove it with a restore and build.
95
+ transaction; a retry can repeat the events). The scaffold now includes the mixed-result handler,
96
+ but Stage still refuses it because redelivery can duplicate events. `[OnceOnly]` excludes replay,
97
+ not retries. Keep the modeled reaction whole; gap-fill needs a proven retry-safe realization,
98
+ not splitting or dropping effects to get a render. Source: Stage
99
+ `v4.89.1:Documentation/reference/reaction-rendering.md:53-98`.
96
100
 
97
101
  Two rules hold in every case: a customization never makes a rejected model renderable, and
98
102
  a whole-application V5 is never claimed from a subset. `--scope` renders an admitted part (the whole
@@ -106,7 +110,7 @@ model still compiles and binds) and its V5 states the scope.
106
110
  `--project-name`, `--root-namespace` and target `cratis`. Take V1 and V3 from
107
111
  `cratis-screenplay-toolchain`; report each with tool and version. V3 from a different
108
112
  compiler version does not prove the cratis-bundled binder admits the model (the bundle is
109
- 4.137.0, the standalone tool 4.139.0). `cratis screenplay validate --executable <root>` binds with
113
+ 4.147.1, the standalone tool 4.148.0). `cratis screenplay validate --executable <root>` binds with
110
114
  the bundled compiler and writes nothing: use it as the bundled-binder check (toolchain `references/verdicts.md`).
111
115
  2. **Probe.** `cratis render <model-root> --name <App> --destination <probe-dir> -o json`
112
116
  (exit 0 published, 5 refused with nothing published, 1 missing input); add `--check` to plan
@@ -153,7 +157,7 @@ Adapters and non-renderable scope follow the contract rules of `cratis-applicati
153
157
  (`cratis-application-slice-conformance` `references/build-prompts.md`).
154
158
  - One ledger scope per `slice-implementer` brief; the brief carries addresses and paths, not contents.
155
159
  - Model-enforced rules realized in code (state-dependent rules) need a protected read or
156
- concurrency scope; never claim them from prose. Stage 4.73.1 rendered apps scaffold
160
+ concurrency scope; never claim them from prose. Stage 4.89.1 rendered apps scaffold
157
161
  the Arc/Chronicle set in `cratis-stage-rendering-and-sandbox` `references/rendered-application.md`; API availability alone is not verified enforcement.
158
162
  - Adapters that call outside systems follow `cratis-engineering-effect-boundaries`; slice
159
163
  specifications follow `cratis-application-slice-specifications`.
@@ -205,7 +209,7 @@ Before reporting done:
205
209
  - Which specification forms Stage accepts: `cratis-screenplay-scenario-coverage`, `cratis-screenplay-specifications`.
206
210
  - Verdict commands, subsets, versions: `cratis-screenplay-toolchain`.
207
211
  - Renderer facts, publication recovery, sandbox: `cratis-stage-rendering-and-sandbox`.
208
- - Automation or translation scope (the whole slice is gap-fill): `cratis-screenplay-automations-and-translations`.
212
+ - Refused automation or translation scope (the refused behavior is gap-fill): `cratis-screenplay-automations-and-translations`.
209
213
  - Hand-written code against its contract: `cratis-application-slice-conformance`.
210
214
  - Code review of delivered code: `cratis-code-review`.
211
215
 
@@ -30,7 +30,7 @@ per tool call and read each result from its exit status, never from a grep of th
30
30
  | --- | --- | --- |
31
31
  | Admission and publication | `cratis render <root> --name <App> --destination <dir> [--project-name <P>] [--root-namespace <N>] -o json` (forward every option recorded in section 1) | exit 0 published (receipt on stdout), 5 refused (diagnostics, nothing published), 1 missing input |
32
32
  | Drift or pending-change check | the same command plus `--check` (and `--scope`, `--force` as used) | no write, no recovery: exit 0 current, 6 `changes_pending`, 5 planning failure, refusal or pending recovery |
33
- | Bundled-binder check | `cratis screenplay validate --executable <root>` | exit 5 with "does not bind into an executable semantic model" when it does not; never renders or writes. Uses the bundled compiler (CLI 3.53.1 = Screenplay 4.137.0), not standalone 4.139.0 |
33
+ | Bundled-binder check | `cratis screenplay validate --executable <root>` | exit 5 with "does not bind into an executable semantic model" when it does not; never renders or writes. Uses the bundled compiler (CLI 3.57.0 = Screenplay 4.147.1), not standalone 4.148.0 |
34
34
  | Debug build | `dotnet build <dir>/<Project>.csproj -c Debug` | the build's exit status |
35
35
  | Debug tests | `dotnet test <dir>/<Project>.csproj -c Debug --no-build` | the test runner's exit status plus per-test results |
36
36
  | List the generated classes | `dotnet test <dir>/<Project>.csproj -c Debug --no-build --list-tests` | the names to map to specifications |
@@ -74,8 +74,9 @@ are available to gap-fill, with projection/key admission and active enrollment),
74
74
  a caller-supplied status is not enforcement.
75
75
 
76
76
  ## Automation and Translate scope
77
- Stage (4.73.1) renders no Automation or Translate slice and no reaction or capture, so the whole
78
- automation is gap-fill, written against the slice and its specifications. The realization follows the actual construct and
77
+ Stage 4.89.1 renders supported event-triggered Automation as Chronicle reactors.
78
+ Translate/captures and refused reactions are gap-fill against the slice and its specifications;
79
+ see Stage's `references/admission.md` for precise limits. The realization follows the actual construct and
79
80
  trigger, not the slice label: a capture is an ingestion adapter, an event reaction (including a
80
81
  translator reaction) is a reactor, a clock or application trigger is a scheduler or host signal. Where they are
81
82
  registered depends on the case. Case B (a generated base exists, and the user authorized the
@@ -86,14 +87,14 @@ composition conventions (`rules/vertical-slices.md`, `cratis-chronicle-reactor`)
86
87
  Declare the trusted actor with reaction `runs as system role "<Role>"`
87
88
  (standalone 4.125.0, ESM v10); `given caller` is not an invocation actor.
88
89
  Historical CLI 3.41.0's older compiler rejected the syntax. The pinned CLI/Stage pair
89
- (`cratis-screenplay-toolchain/references/versions.md`) reaches v10 construct admission but still refuses reaction identity
90
- (STAGE-ESM-034). Gap-fill retains the declared role and uses Arc
90
+ (`cratis-screenplay-toolchain/references/versions.md`) renders role/authenticated reaction identity; claim-reading/opaque system gates still
91
+ refuse STAGE-ESM-034. Gap-fill retains the declared role and uses Arc
91
92
  `[ExecuteCommandsAsSystem]` for returned commands. Checked model and diagnostics:
92
93
  captures-and-reactions `references/invocation-identity.md`.
93
94
 
94
95
  A reaction that both produces events and invokes commands keeps its single modeled form
95
96
  (`STAGE-ESM-037` is Stage's refusal, not a model defect). Hand-write one reactor returning the events
96
- and the commands: on Arc 22.72.0 or later (the Arc the Stage scaffold pins accepts a collection in a command handler only when every element is a command, so a rendered app needs a proven dependency override) the runtime appends the events first as one batch, then
97
+ and the commands: on Arc 22.72.0 or later (the Stage 4.89.1 scaffold includes the handler, but mixed reactions remain refused because redelivery can duplicate events) the runtime appends the events first as one batch, then
97
98
  runs the commands in order, with no transaction across the two effects; a failing command stops the
98
99
  later ones but keeps the committed events, and a retry can append the events again, so make the
99
100
  handler idempotent independently of `[OnceOnly]`, which excludes replay only, not recovery
@@ -7,16 +7,16 @@ The admitted subset itself (what Stage renders, member by member) is owned by
7
7
  probe reports and choosing what to do. Do not copy the code table here.
8
8
 
9
9
  ## Pipeline that produces the codes
10
- 1. The CLI compiles and binds the **whole** model with its **bundled** Screenplay (4.137.0 in
11
- cratis 3.53.1, ESM up to v10 for rendering; older bundles bound less). Binding is never scoped:
10
+ 1. The CLI compiles and binds the **whole** model with its **bundled** Screenplay (4.147.1 in
11
+ cratis 3.57.0, ESM up to v15 for rendering; older bundles bound less). Binding is never scoped:
12
12
  any binding error blocks even a `--scope` render. Binding errors are `PLAY0268` (outside the admitted vertical), `PLAY0269`
13
13
  (deferred), `PLAY0270` (report-only information), `PLAY0271` (legacy semantics) and `PLAY0273`
14
14
  (a specification shape).
15
15
  2. Execution planning builds the plan and can emit `PLAN-*` diagnostics before Stage runs.
16
16
  3. Stage plans the target and admits or rejects each member: `STAGE-ESM-0xx`; profile and path
17
17
  problems `STAGE-CRATIS-0xx`. An evolved event is reported with Stage's own `STAGE-ESM-026`
18
- (still refused at Stage 4.73.1); the CLI adds nothing. Stage admits ESM v1 to v10 by version and
19
- refuses each construct it does not render with its own code (`-024`, `-027` to `-037`).
18
+ (still refused at Stage 4.89.1); the CLI adds nothing. Stage admits ESM v1 to v15 by version and
19
+ refuses each construct it does not render with its own code (see Stage's current code table, including `-024`, `-027`, `-028`, `-030` to `-041`).
20
20
  4. Any error in the selected scope publishes nothing: the run ends with exit 5 and the diagnostics.
21
21
  Without `--scope` the scope is the whole application. With `--scope`, `PLAN-*` problems in
22
22
  unselected slices are warnings and `STAGE-ESM-*` refusals in unselected slices do not block;
@@ -30,7 +30,7 @@ ESM). Only the probe answers renderability. `PLAY0270` entries are information,
30
30
  | Class | Meaning | Typical examples (each verified in `admission.md`) | Action |
31
31
  | --- | --- | --- | --- |
32
32
  | **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; one `StateChange` slice with two commands (`STAGE-ESM-004`); two projections for one read model (`-007`); a policy Stage cannot express portably (`-015`; role-only and opaque pure policies render at 4.73.1) | edit request to the modeler session with address, change and rationale |
33
- | **Capability gap** | the intended meaning needs a construct Stage does not render yet | a snapshot list query (`-010`; observable lists and keyed or unkeyed lists bind and observable lists render), caller-supplied collection equality filters bind as v14 since 4.143.0 but exceed Stage 4.73.1's v10 ceiling and latest checked 4.80.0's v13 ceiling; context/single-result filters, opaque `scoped to`/`performer` and composite `by` remain PLAY0268; Automation and Translate slices (`-001`/`-024`, Stage#79); reactions, clocks, captures and triggers (`-024`); a reaction that both produces and invokes (`-037`: keep it whole and hand-write one reactor on Arc 22.72.0 or later (the Arc the scaffold pins needs a proven override), never split it; Stage#207); generated values and responses (`-028`/`-029`, Stage#175); `then no readmodel` (`-027`); evolved events (`STAGE-ESM-026`); conditional `produces when` (`-006`); `reads` (`PLAY0271`); code validation (`-005`); compliance attributes (`PLAY0268` "require portable data-subject semantics"); a command `handler` (`PLAY0268`) | keep the model; ledger entry; options a to c in `SKILL.md`; link the Stage issue |
33
+ | **Capability gap** | the intended meaning needs a construct Stage does not render yet | a snapshot list query (`-010`; observable lists and keyed or unkeyed lists bind and observable lists render), DateTime equality filters and required parameters after optional filters (`-010`); context/single-result filters, opaque `scoped to`/`performer` and composite `by` remain PLAY0268; 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`); conditional `produces when` (`-006`); `reads` (`PLAY0271`); code validation (`-005`); protected identities/enums (`-040`), non-text secrets (`-041`) or unadmitted explicit subject lineage (`PLAY0268`); a command `handler` (`PLAY0268`) | keep the model; ledger entry; options a to c in `SKILL.md`; link the Stage issue |
34
34
  | **Tool skew** | the bundled compiler disagrees with documented semantics | the false `PLAY0285` on reaction cascades from a cratis before 3.28.2 bundle (cli#242); codes the standalone compiler does not raise | record in the session state and the ledger; never "fix" a correct model |
35
35
  | **Environment** | not the model | restore failures, missing SDK, a destination that is not writable | fix the environment or report blocked |
36
36
 
@@ -49,10 +49,10 @@ ESM). Only the probe answers renderability. `PLAY0270` entries are information,
49
49
  `cratis-stage-rendering-and-sandbox` `references/render-example.md`.
50
50
 
51
51
  ## Stage issues to cite in ledger entries
52
- Read as open against Stage 4.73.1: portable query semantics Stage#58; Automation and Translate
53
- slices Stage#79; mapping expressions and projection blocks Stage#117; modeled authentication
52
+ Historical issue pointers (not a fresh issue-state check): portable query semantics Stage#58;
53
+ Translate and unsupported automation forms Stage#79; mapping expressions and projection blocks Stage#117; modeled authentication
54
54
  Stage#120; per-persona screens Stage#194; evolved events Stage#204; mixed reaction effects Stage#207;
55
- generated values and responses Stage#175. Closed: event generation Stage#165, descriptions as code docs
55
+ generated values/responses Stage#175 (now render on the pinned bundle). Closed: event generation Stage#165, descriptions as code docs
56
56
  Stage#178, ESM v7 Stage#201. Check that an issue is still open before citing
57
57
  it, and cite only numbers you have just read. A closed issue is a trigger to probe again.
58
58
 
@@ -44,8 +44,8 @@
44
44
  "kind": "skill-contains",
45
45
  "value": "STAGE-ESM-026"
46
46
  },
47
- { "kind": "skill-contains", "value": "Generated command values and `returns` responses (ESM v7) bind and run" },
48
- { "kind": "skill-contains", "value": "STAGE-ESM-028`/`STAGE-ESM-029" },
47
+ { "kind": "skill-contains", "value": "render with CLI 3.57.0 / Stage 4.89.1" },
48
+ { "kind": "skill-contains", "value": "Unsupported generated\ntypes (`STAGE-ESM-028`) and result combinations (`-038`)" },
49
49
  { "kind": "skill-contains", "value": "authored-UI parity" },
50
50
  { "kind": "skill-contains", "value": "responsible tool version" }
51
51
  ]
@@ -14,18 +14,19 @@ Typed example/override forms: `cratis-screenplay-specifications`
14
14
  | `when <Cmd>` -> `then <Event>` / `then error` / `then denied` | yes | yes | yes |
15
15
  | `given <Event>` with `for` | yes | yes (needed for keyed views) | yes |
16
16
  | `given readmodel` | yes | yes (complete instance with key) | only as the query-only lookup below |
17
- | `when append <Event>` | yes | yes | no |
17
+ | `when append <Event>` | yes | yes | supported single-hop reaction effects/invocation only; fan-out, deeper cascades and other refused assertions retain STAGE-ESM-011 |
18
18
  | `then readmodel` / `then query` (keyed `ById`, `arguments`, `result`) | yes | yes | yes |
19
19
  | `then query` on an unfiltered list or a list narrowed by one `by` key (observable too) | yes | yes since 4.105.0: no `arguments` for an unkeyed list, one `result` per row stating the read-model identifier, no `result` = empty list | observable lists render, a non-observable list is `STAGE-ESM-010` (Stage 4.73.1) |
20
- | Collection query with caller-supplied equality `filter`, including observable | yes | yes since 4.143.0, ESM v14: same-named scalar property/type, AND with `by`; optional omission allowed, supplied null refused; PLAY0468 checks arguments; row order does not matter | no on Stage 4.73.1 (v10 ceiling) or latest checked 4.80.0 (v13 ceiling) |
20
+ | Collection query with caller-supplied equality `filter`, including observable | yes | yes since 4.143.0, ESM v14: same-named scalar property/type, AND with `by`; optional omission allowed, supplied null refused; PLAY0468 checks arguments; row order does not matter | yes on supported observable collections in CLI 3.57.0 / Stage 4.89.1; DateTime/filter parameter order and snapshot lists refuse -010; independent Stage executor still refuses filtered assertions (-010) |
21
21
  | Context `from`, single-result filters, `scoped to`, `performer` or composite `by` | yes | PLAY0268: query context, collection-only filtering, opaque scope/implementation or multipart lookup are unadmitted | no |
22
22
  | `then no readmodel <RM> for "<key>"` | yes | yes | no |
23
23
  | `when query` -> `then result` / `then no result` | yes | yes | same as `then query`: only the query-only cases below |
24
24
  | `given clock` / `when clock`, `when trigger`, `given`/`when capture` | yes | yes (standalone and any current cratis; history: a cratis before 3.28.2 bundle no, see versions.md) | no |
25
- | Command spec listing reaction cascade events | yes (v6 semantics) | false PLAY0285 on a cratis before 3.28.2 bundle only; see SKILL.md "Version skew" | no (no reactions) |
26
- | `generated <name> = <value>` under `when`, `then returns` (ESM v7) | yes | yes on standalone Screenplay 4.68.0 or later and the current cratis bundle (history: PLAY0268 on the 4.66.0 bundled in cratis 3.28.x) | no: Stage 4.73.1 admits v7 but refuses generated values (STAGE-ESM-028) and responses / `then returns` (STAGE-ESM-029); the spec pins the contract of a hand-written command |
25
+ | Command spec listing reaction cascade events | yes (v6 semantics) | false PLAY0285 on a cratis before 3.28.2 bundle only; see SKILL.md "Version skew" | no: STAGE-ESM-011; generated CommandScenario does not settle reactions (Stage 4.89.1) |
26
+ | `generated <name> = <value>` under `when`, `then returns` (ESM v7) | yes | yes on standalone Screenplay 4.68.0 or later and the current cratis bundle (history: PLAY0268 on the 4.66.0 bundled in cratis 3.28.x) | yes on Stage 4.89.1 for supported UUID/String strategies and v15 freshness and scalar/named responses; unsupported types/combinations remain -028/-038 |
27
+ | v15 generation strategy fixtures and used-source rejection | yes | strict encoding/size/case/version/variant; Contract for invalid pins, Concurrency for reused source | supported strategies/freshness render; invalid pins refuse -011, unpinned unordered/projected assertions -038; source: command-surface `references/generated-values-and-responses.md` |
27
28
  | `then events in any order` | yes | yes | yes |
28
- | Event `stream` / `no stream`, typed `for` and stream ids | yes | ESM v8 at 4.125.0 | The pinned CLI reaches Stage route checks (toolchain `references/versions.md`); routed read-model/query replay can still refuse STAGE-ESM-030 |
29
+ | Event `stream` / `no stream`, typed `for` and stream ids | yes | ESM v8 at 4.125.0 | The pinned CLI reaches Stage route checks (toolchain `references/versions.md`); routed read-model/query replay now renders (Stage 4.89.1); reserved names/unformattable fixtures remain STAGE-ESM-030 |
29
30
  | Typed examples and overrides | yes | expanded and type-checked before binding; required fields remain required | depends on expanded contract, not fixture reuse |
30
31
  | `given operation ... fails`, `then operation`, `then compensated` | yes | unadmitted PLAY0268 | gap-fill |
31
32
  | Refusal branches, `when redelivered`, `then no events` | yes | unadmitted PLAY0268 | gap-fill |
@@ -21,7 +21,7 @@ event field goes nowhere, ask why it is recorded (audit and history are valid an
21
21
  | the user types or picks it | screen `action`, form or dialog input | default for business decisions |
22
22
  | shown before the user acts | form `populate via query` from a read model | the read model must exist and be traced |
23
23
  | the instance being acted on | the `identifier` property, carried from the screen row or route | |
24
- | allocated by the runtime | `Type generated` on a required `Uuid`-backed concept (ESM v7: binds and runs on standalone Screenplay 4.68.0 and later, including the 4.137.0 bundled in CLI 3.53.1 (`PLAY0268` on the 4.66.0 bundled in cratis 3.28.x); Stage 4.73.1 refuses it with STAGE-ESM-028; no concept rules) | never a request input or form field; no policy, rule or requirement may read it (`PLAY0273`); return it with `returns`; where a tool cannot bind it, executable scope needs explicit allocation |
24
+ | allocated by the runtime | `Type generated` on a required scalar generatable Uuid/String concept (implicit UUID is v7; explicit serialized strategy selects v15, Screenplay 4.147.0+ with strict fixtures and whole-source freshness). CLI 3.57.0 / Stage 4.89.1 render supported strategies; types/combinations retain -028/-038; no concept rules. See command-surface `references/generated-values-and-responses.md` | never a request input or form field; no policy, rule or requirement may read it (`PLAY0273`); return it with `returns`; where a tool cannot bind it, executable scope needs explicit allocation |
25
25
  | an outside party | capture field `$.x` or a reaction trigger value | `cratis-screenplay-automations-and-translations` |
26
26
  | the caller | not an input: `$context.identity.*` in `produces`; who may act in `authorize`; "acting on own X" is a claim policy matched to the identifier or a command property | never trust a caller-supplied "who am I" |
27
27
 
@@ -1,9 +1,9 @@
1
- ## Generated fixtures and return expectations (ESM v7)
1
+ ## Generated fixtures and return expectations (ESM v7 and v15)
2
2
 
3
3
  Standalone `screenplay` 4.68.0 or later binds and runs these, and so does the current cratis bundle (the
4
- cratis 3.28.3 bundle, 4.66.0, did not); Stage 4.73.1 admits ESM v7 but refuses generated values
5
- (`STAGE-ESM-028`) and responses (`STAGE-ESM-029`; Stage#175), so they pin the
6
- contract of a hand-written command. The model and rules are in `cratis-screenplay-command-surface`; the
4
+ cratis 3.28.3 bundle, 4.66.0, did not); CLI 3.57.0 / Stage 4.89.1 render supported UUID/String generation strategies,
5
+ scalar/named responses, fixtures and `then returns`. Unsupported types/result combinations
6
+ remain `STAGE-ESM-028`/`-038`; preserve refused specifications as gap-fill contracts. The model and rules are in `cratis-screenplay-command-surface`; the
7
7
  complete example is `cratis-screenplay-toolchain` `references/generated-responses-example.md`. Read that file when writing generated-value fixtures or scalar and record return expectations and needing a complete reference-executable model.
8
8
 
9
9
  ```screenplay excerpt
@@ -35,6 +35,13 @@ specification RegisteringReturnsIdentifiers
35
35
  keeps its own outcome.
36
36
  - For a generated identifier `for` is the generation fixture, not a destination assertion: expected events state their
37
37
  own destinations. For commands without a generated identifier `when ... for` keeps the destination assertion.
38
- UUID spellings on generated values normalize to lowercase hyphenated form.
38
+ UUID fixtures require canonical lowercase hyphenated form. From v15, pins must also match
39
+ exact strategy size, case, UUID version/variant and zero trailing encoding bits; invalid pins are
40
+ Contract rejections. Earlier models check canonical UUID type, not its version.
41
+ - A serialized concept generation strategy selects v15 and Guarded whole-source freshness for all
42
+ generated destinations, including implicit UUIDs. Reusing a generated source with existing facts
43
+ rejects the entire command with Concurrency, without append, response or silent retry. Below v15
44
+ fixtures retain legacy reuse. See the complete [strategy example](../../cratis-screenplay-toolchain/references/generation-strategies-example.md)
45
+ and command-surface `references/generated-values-and-responses.md` for tagged sources.
39
46
  - A reaction-invoked command that reaches generation is `Unsupported(IdentityAllocation)` (no fixture channel); a
40
47
  response-only command runs and its response is discarded.