@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
@@ -53,10 +53,11 @@ module Collections
53
53
  - A reached reaction with a code body (`file` or inline) returns unsupported, as
54
54
  does a reaction that never settles. The reference stops at 1,000 new facts per
55
55
  scenario and 10,000 due occurrences per clock advance.
56
- - A model that uses these forms selects ESM v6 (`schemaVersion: 6`). Stage 4.73.1
57
- admits ESM v1-v10 by version but renders no `Automation` or `Translate` slice and no reaction
58
- (`STAGE-ESM-024`; `-034` runsAs, `-035` filters, `-037` mixed effects), so the whole
59
- automation is gap-fill against this contract: `cratis-screenplay-render-and-gap-fill`.
56
+ - A model that uses these forms selects ESM v6 (`schemaVersion: 6`). Stage 4.89.1
57
+ admits ESM v1-v15 and renders supported event-triggered Automation, but not Translate,
58
+ captures, non-event triggers or opaque bodies (`-024`), claim-reading/opaque `runs as` gates (`-034`), legacy filters (`-035`)
59
+ or mixed effects (`-037`). Single-hop reaction append specs render; deeper appends and
60
+ command specs cascading into reactions remain `-011`. Keep refused scope as gap-fill against this contract: `cratis-screenplay-render-and-gap-fill`.
60
61
 
61
62
  ### Version skew: cascades and the false `PLAY0285` (cratis before 3.28.2)
62
63
 
@@ -38,7 +38,7 @@ the CLI bundle's Chronicle is in `cratis-screenplay-toolchain` `references/versi
38
38
  | Screenplay | v4.68.0 (`79801bf`) | ESM v7 generated values (`generated identifier`, decision 0026) and decision 0025's numbering; the diagnostics below were read at v4.66.0 (`c89198b`): `identifier`, `for`, constraints, generations, `id` pins, diagnostics PLAY0019/0135/0268/0271/0273/0391-0393/0446-0449/0469/0471 |
39
39
  | Chronicle | v19.50.0 (read; first read at v19.32.0 `f17a2ff`) | CHR0012, CHR0034; open defects #3744, #4123, #4131 (still open) |
40
40
  | Arc | v22.72.0 | `[ProtectedDecision]` and `DecisionRead<T>` (since v22.39.0) |
41
- | Stage | v4.73.1 | rendered apps pin the Arc and Chronicle client/kernel listed in the Stage skill's `references/rendered-application.md`; protected-read APIs available to gap-fill. Historical 4.24.2 admission probe: ESM v4, evolved events refused with `STAGE-ESM-026` |
41
+ | Stage | v4.89.1 | rendered apps pin the Arc and Chronicle client/kernel listed in the Stage skill's `references/rendered-application.md`; protected-read APIs available to gap-fill. Historical 4.24.2 admission probe: ESM v4, evolved events refused with `STAGE-ESM-026` |
42
42
 
43
43
  Full pin table: `references/versions.md` in `cratis-screenplay-toolchain`. Re-check the three
44
44
  Chronicle issues before relying on a constraint in a later release.
@@ -88,9 +88,9 @@ option, mark it `ASSUMED` in the slice or module `documentation` and in the sess
88
88
  namespace, process-stream routing and concurrency scope apart
89
89
  (`references/chronicle-boundaries.md`). Declared `eventsource`/`stream`/`streamId` and
90
90
  command/specification routes bind and reference-execute as ESM v8 on 4.125.0.
91
- The pinned CLI (toolchain `references/versions.md`) reaches Stage construct checks through v10; keep the routing
91
+ The pinned CLI (toolchain `references/versions.md`) reaches Stage construct checks through v15; keep the routing
92
92
  contract when target admission requires gap-fill. Forms/boundaries:
93
- toolchain `references/sources-and-streams.md`. A `generated identifier` (ESM v7, standalone 4.68.0 and later; Stage 4.73.1 refuses it, STAGE-ESM-028) is
93
+ toolchain `references/sources-and-streams.md`. A `generated identifier` (ESM v7, standalone 4.68.0 and later; Stage 4.89.1 renders supported UUID/String strategies and v15 freshness; unsupported types/results still refuse -028/-038) is
94
94
  generated fresh on every acceptance: it is not a retry identity, and generated values give no
95
95
  idempotency, retry or deduplication guarantee. When a retry must find the same stream, the caller
96
96
  supplies the identifier before the first attempt.
@@ -156,7 +156,7 @@ option, mark it `ASSUMED` in the slice or module `documentation` and in the sess
156
156
  block compiles but is PLAY0271 at binding. Keep both when they state real intent; they are not
157
157
  protection. `description` text never reaches rendered code: a rule that lives only in prose is
158
158
  unenforced there.
159
- - `pii` and `secret` bind as ESM v13 on standalone 4.142.0 (since 4.141.0), not the pinned CLI;
159
+ - `pii` and `secret` bind as ESM v13 on standalone 4.142.0 (since 4.141.0) and the pinned CLI;
160
160
  enum/identity compliance and protected events with explicit subject marks still
161
161
  refuse PLAY0268 (command-surface `references/compliance.md`). Legacy markers are
162
162
  deprecated (PLAY0565). Never remove protection to pass a tool. PLAY0515 also refuses
@@ -178,7 +178,8 @@ integration support.
178
178
 
179
179
  Never let an external system's ids, codes or shapes become our domain vocabulary: translate at
180
180
  the edge, keep the external reference as a property when it is needed for correlation or dedup.
181
- Stage renders no Automation or Translate slice today, so the whole translation is gap-fill code
181
+ Stage 4.89.1 renders supported internal event-triggered Automation, but Translate,
182
+ captures and foreign/public event boundaries remain refused. The translation is gap-fill
182
183
  with the model as its contract (`cratis-screenplay-render-and-gap-fill`).
183
184
 
184
185
  ## Change data capture is not a domain event
@@ -38,8 +38,8 @@ number. Removing a member still needs replay and mixed-reader compatibility deci
38
38
 
39
39
  Numbered members may have sparse or negative unique int32 values, all or none per
40
40
  enum. Source authoring shipped in 4.137.0; non-positional numbers bind as ESM v12
41
- in 4.139.0. Positional pins retain older executable bytes/version. CLI 3.53.1 and
42
- Stage 4.73.1 bundle 4.137.0 and do not admit v12; keep the pins and report the gap.
41
+ in 4.139.0. Positional pins retain older executable bytes/version. CLI 3.57.0 bundles Screenplay 4.147.1 /
42
+ Stage 4.89.1, admitting v12 and rendering explicit member numbers; keep the pins.
43
43
  Short-lived input/view-only enums may remain positional. Use opt-in
44
44
  `--check enum-pinning` (PLAY0671) to find unnumbered enums used by event properties.
45
45
  Syntax/example and source evidence: command-surface [enum numbers](../../cratis-screenplay-command-surface/references/enum-numbers.md).
@@ -16,6 +16,6 @@
16
16
  { "kind": "skill-contains", "value": "bind and reference-execute as ESM v8" },
17
17
  { "kind": "skill-contains", "value": "STAGE-ESM-026" },
18
18
  { "kind": "skill-contains", "value": "generated values give no\n idempotency, retry or deduplication guarantee" },
19
- { "kind": "skill-contains", "value": "Stage construct checks through v10" }
19
+ { "kind": "skill-contains", "value": "Stage construct checks through v15" }
20
20
  ]
21
21
  }
@@ -24,7 +24,7 @@ files is one application: always check the folder, never one file of it.
24
24
 
25
25
  When choosing or upgrading a tool, or checking version-specific capabilities, read `references/versions.md`; it is the only version table, and other skills point to it. For exact diagnostic codes, MCP names/parameters and standalone CLI options, search the large published [references/screenplay-contract.json](references/screenplay-contract.json), pinned by [references/screenplay-contract.version](references/screenplay-contract.version), rather than loading it in full. Locate a diagnostic by its exact `code` (for example `"code": "PLAY0029"`), a tool by its exact `name` (for example `"name": "read-workspace"`), or a command in `cliCommands`; read the matched object for retirement, parameters or options. [references/screenplay-contract-exceptions.json](references/screenplay-contract-exceptions.json) records reasoned exceptions for historical statements; it does not change the current contract.
26
26
 
27
- The standalone pin is Screenplay 4.145.0.
27
+ The standalone pin is Screenplay 4.148.0.
28
28
  CLI and bundled package pins: `references/versions.md`. The single version table records
29
29
  released source evidence and historical probes separately; do not relabel an old
30
30
  render/browser result as a probe of the current packages.
@@ -33,7 +33,7 @@ Historical screens-release evidence: CLI 3.40.7 / Stage 4.51.1 / bundled
33
33
  Screenplay 4.114.0 opened the canonical corpus with `executableReady true`
34
34
  and the stdio transcript exposed 37 tools; standalone language 4.122.0 was
35
35
  recorded in that vector. These retained results are not a rerun on CLI 3.53.1
36
- or Screenplay 4.145.0.
36
+ or the current standalone pin.
37
37
 
38
38
  ## Ground rules
39
39
 
@@ -45,8 +45,8 @@ or Screenplay 4.145.0.
45
45
  PLAY0029 (a misspelt keyword or a `type` inside a slice) drops a construct silently.
46
46
  3. **Pick the compiler deliberately and name it.** Standalone `screenplay` for
47
47
  current language checks and reference specifications; `cratis` for rendering
48
- and generation. Bundled and standalone versions differ (CLI 3.53.1 bundles 4.137.0;
49
- the standalone pin is 4.145.0). Report both tool and
48
+ and generation. Bundled and standalone versions differ (CLI 3.57.0 bundles 4.147.1;
49
+ the standalone pin is 4.148.0). Report both tool and
50
50
  version, rather than transferring a verdict across releases.
51
51
  4. **Know the mode** (design, executable, renderable) and write from its subset.
52
52
  5. **Capability is not correctness.** The tool you ran decides what is accepted today; the
@@ -70,7 +70,7 @@ or Screenplay 4.145.0.
70
70
  | Scope/checks | `--scope <address>`, `--check <names>`; a scoped pass is not whole-application success | `validate --executable` (bundled binder, no write), `--check <names>`, `--scope`; `render --scope`/`--check`; `cratis screenplay conform` |
71
71
  | Reference execution | `screenplay test <root>` or MCP `run-specifications` | Discover bundled MCP capability; target tests are not V4 |
72
72
  | MCP | `screenplay mcp <root>`; discover schemas | `cratis screenplay mcp [root]`; registered by `cratis ai install` |
73
- | Render version boundary | Binder admission is not Stage admission | Pinned CLI (`versions.md`) passes through ESM v10 to Stage construct admission; bound newer models: `CLI-RENDER-004` |
73
+ | Render version boundary | Binder admission is not Stage admission | Pinned CLI (`versions.md`) passes through ESM v15 to Stage construct admission; bound newer models: `CLI-RENDER-004` |
74
74
 
75
75
  Read `references/versions.md` when you need the exact messages, exit codes or the MCP roots bug.
76
76
 
@@ -108,17 +108,19 @@ changes with the root folder name.
108
108
  filters, opaque `scoped to`/`performer` and composite `by` remain PLAY0268. Read
109
109
  read-surface [equality filters](../cratis-screenplay-read-surface/references/equality-filters.md). No handler (PLAY0268, with or without `implementation`/`hint`); `reads` and
110
110
  `concurrency` do not bind (PLAY0271); concept compliance binds as v13 on standalone
111
- 4.142.0 (since 4.141.0), not the pinned CLI (precise refusals: command-surface `references/compliance.md`);
111
+ 4.142.0 (since 4.141.0) and the pinned CLI (precise refusals: command-surface `references/compliance.md`);
112
112
  v6 constructs bind on Screenplay 4.61 or
113
113
  later (standalone, and cratis 3.28.2 or later); generated values and `returns` responses bind (ESM v7)
114
114
  from Screenplay 4.68.0 (also in the current CLI bundle) (`references/generated-responses-example.md`). Read [references/executable-example.md](references/executable-example.md) when you need a small StateChange and StateView model that binds executable, [references/pdl-example.md](references/pdl-example.md) when writing projection forms that bind and run, and [references/automation-translate-example.md](references/automation-translate-example.md) when writing Automation and Translate slices (ESM v6).
115
- - **Renderable** (V5): `references/renderable-subset.md` has the current Stage 4.73.1 table and
116
- explicitly labeled older probes. The CLI admits through v10 to Stage construct checks; generated
117
- values and responses get `STAGE-ESM-028`/`029`, not a blanket compiler refusal. Run admission
115
+ - **Renderable** (V5): `references/renderable-subset.md` has the current Stage 4.89.1 table and
116
+ explicitly labeled older probes. CLI 3.57.0 admits through v15; supported UUID/String
117
+ generation/responses, enum numbers, compliance, equality filters and event reactions render.
118
+ Unsupported generated types still get `STAGE-ESM-028`; result combinations get `-038`.
119
+ Newer versions refuse `CLI-RENDER-004`. Run admission
118
120
  before claiming a particular model renders (`cratis render --scope` for an admitted part, `--check`
119
121
  for no-write planning).
120
122
  - **Event sources, streams and routes** bind as ESM v8 at 4.125.0.
121
- The pinned CLI/Stage pair (`references/versions.md`) reaches admission through v10, not blanket
123
+ The pinned CLI/Stage pair (`references/versions.md`) reaches admission through v15, not blanket
122
124
  rendering. Operations and exact numeric source mode remain unadmitted.
123
125
  Details: `references/sources-and-streams.md` and `references/versions.md`.
124
126
  - **Released v9/v10 and published v11:** public contracts and direction select v9;
@@ -130,13 +132,16 @@ changes with the root folder name.
130
132
 
131
133
  - **Published v12 (4.139.0):** non-positional enum numbers bind; canonical
132
134
  `numbers` parallels `values`. Positional pins preserve earlier executable
133
- bytes/version. Specifications still use names. The pinned CLI's compiler accepts source
134
- authoring but refuses non-positional numbers at binding (PLAY0268), before
135
- renderer admission. Neither its compiler nor Stage reads v12 ESM; upgrading
136
- only the compiler would not lift their v10 admission ceiling (`references/versions.md`). Syntax:
135
+ bytes/version. Specifications still use names. CLI 3.57.0's compiler binds
136
+ non-positional numbers, and Stage 4.89.1 admits v12 and emits `Member = N`. Syntax:
137
137
  command-surface `references/enum-numbers.md`; errors PLAY0667–0670 and opt-in
138
138
  `enum-pinning` hint PLAY0671: `references/diagnostics.md`.
139
139
 
140
+ - **Published v15 (4.147.0):** concept strategies and Guarded freshness; strict fixture shapes,
141
+ no silent retry. Read [references/generation-strategies-example.md](references/generation-strategies-example.md)
142
+ and command-surface `references/generated-values-and-responses.md` for supported strategies/refusals.
143
+ Response-name continuations ship separately in 4.148.0, outside ESM; Scene runtime binding is not supplied.
144
+
140
145
  - **Caller/compliance metadata** at 4.127.0: `$identity` aliases caller built-ins;
141
146
  additional identity details are metadata and executable reads still refuse.
142
147
  Bare `pii`/`secret` replace legacy spellings; `pii personal` repeats one marker
@@ -5,9 +5,8 @@ One complete document with every construct family. Design mode, not executable.
5
5
  Binding blockers: unquoted import, `reads` (PLAY0271), `starts with`. Caller-supplied collection equality filters bind as ESM v14 since 4.143.0; context/single-result filters remain blocked. Executable shapes are in the sibling examples. The bare-marker fence compiles warning-free on standalone 4.127.0; the earlier legacy-marker version compiled on 4.66.0 and CLI 3.28.2. `RecordingAPayment` lists the `InvoiceClosed` cascade, which the cratis 3.27.1 bundle (4.60.1) rejected with a false PLAY0285 ("outcome cannot be produced by 'RecordPayment'"); 3.28.2 accepts it.
6
6
 
7
7
  Concept compliance itself binds as ESM v13 on standalone 4.142.0 (first released
8
- in 4.141.0); reasons remain report-only PLAY0270. CLI 3.53.1 bundles Screenplay
9
- 4.137.0, which refuses markers; standalone Stage 4.76.0 admits only through v12
10
- (Stage#345). Binder-only PLAY0268
8
+ in 4.141.0); reasons remain report-only PLAY0270. CLI 3.57.0 bundles Screenplay
9
+ 4.147.1 / Stage 4.89.1 and renders v13 concept protection. Binder-only PLAY0268
11
10
  refusals and subject-lineage limits: command-surface `references/compliance.md`.
12
11
 
13
12
  ```screenplay test=unbound
@@ -23,7 +23,7 @@ select released v10: [routes and filters](production-routes-and-filters.md).
23
23
  Qualifying non-route Double literals select published v11 at 4.135.0;
24
24
  `numbers exact` does not bind. Non-positional enum member numbers (`draft = 1`)
25
25
  select published v12 at 4.139.0; positional pins keep earlier bytes/version,
26
- while specifications still use names. The pinned CLI/Stage pair (`versions.md`) does not admit v12.
26
+ while specifications still use names. The pinned CLI/Stage pair (`versions.md`) admits v12 and renders explicit numbers.
27
27
  Syntax/example: command-surface `references/enum-numbers.md`.
28
28
  See `versions.md` for freeze and numeric boundaries.
29
29
 
@@ -174,8 +174,8 @@ Identity declarations and event `subject` are metadata; reading a declared
174
174
  `$identity` detail in executable clauses is PLAY0268. `runs as` is admitted as
175
175
  ESM v10 in the current standalone, not a current PLAY0268 gap. At standalone
176
176
  4.142.0, concept compliance binds as v13 (since 4.141.0); enum/identity compliance and protected
177
- events with explicit subject marks still refuse PLAY0268. CLI 3.53.1's 4.137.0
178
- bundle retains the blanket marker refusal; purpose metadata is PLAY0270. See command-surface
177
+ events with explicit subject marks still refuse PLAY0268. CLI 3.57.0's 4.147.1
178
+ bundle also binds concept compliance; purpose metadata is PLAY0270. See command-surface
179
179
  `references/compliance.md` and `references/context.md` for syntax and limits.
180
180
 
181
181
  `screenplay_repair_capabilities` and `propose-repair` advertise PLAY0653: a
@@ -326,6 +326,9 @@ or V4 execution. Run the CLI or MCP for those verdicts. Authority:
326
326
  | PLAY0469 (I/W) | command identifier copied into the payload while targeting it |
327
327
  | PLAY0479 (I) | legacy `?` optional |
328
328
  | PLAY0480/0484 | modifier order `Type optional generated identifier` |
329
+ | PLAY0682 | `generate sequence` is reserved; keep the intended sequence as a capability gap |
330
+ | PLAY0683/0684 | PLAY0683: generated non-identifier below 64 random bits warns (a single-property unique constraint suppresses it); PLAY0684: generated identifier below 64 random bits is an error |
331
+ | PLAY0685 | own response name used under execute failure; outer successful responses remain available. Screenplay 4.148.0, UI composition `references/response-continuations.md` |
329
332
  | PLAY0289 | (binding) no documents: empty root |
330
333
 
331
334
  Fix order: E at V1 -> W at V1 -> silent-gap check -> V2 codes (if the mode needs V3).
@@ -334,9 +337,9 @@ Report each as `code file:line one-line meaning`; never paste more than about 30
334
337
  ## Render admission (V5): `STAGE-*`, `CLI-RENDER-*`, `STAGE-CRATIS-*`
335
338
  Full table with causes: `renderable-subset.md`. The Stage 4.24.x rows below
336
339
  retain historical source/probe evidence. The pinned CLI/Stage pair (`versions.md`) admits
337
- through v10 to construct checks; above it is CLI-RENDER-004 (direct Stage:
340
+ through v15 to construct checks; above it is CLI-RENDER-004 (direct Stage:
338
341
  STAGE-ESM-016). Publication STAGE-ESM-032, foreign facts/event captures 033,
339
- reaction identity 034, reaction filters 035 and production overrides 036 remain
342
+ claim-reading/opaque reaction gates 034, legacy filters 035 and production overrides 036 remain
340
343
  refused; reducer filters render. Previous CLI 3.46.1 admitted through v7; its
341
344
  v7 corpus received STAGE-ESM-028/029, not the older v7 version gate.
342
345
  Codes in the historical snapshot:
@@ -17,8 +17,8 @@ Event `subject` remains report-only, despite accepted future lineage work.
17
17
  Rechecked at 4.142.0: concept `pii`/`personal` and `secret` bind as v13, while
18
18
  reasons stay PLAY0270 report-only. PLAY0268 at binding only rejects enum/identity
19
19
  compliance and events mixing personal or explicitly subject-scoped secret values
20
- with an explicit `subject` mark. CLI 3.53.1 bundles Screenplay 4.137.0, which
21
- refuses markers; standalone Stage 4.76.0 admits only through v12 (Stage#345). These are distinct boundaries,
20
+ with an explicit `subject` mark. CLI 3.57.0 bundles Screenplay 4.147.1 / Stage 4.89.1 and
21
+ renders v13 concept protection; protected identities/enums remain refused. These are distinct boundaries,
22
22
  not a reason to remove protection.
23
23
 
24
24
  `D/` is Screenplay `Documentation/screenplay/` at **v4.66.0**; line numbers were re-read at
@@ -49,7 +49,7 @@ read from source or documentation.
49
49
  | 14 | `$causedBy` | not evaluable (#4119), not ESM | showcase only |
50
50
  | 15 | literal keys | `key literal "global"` vs `key "global"` | both compile; prefer `literal` |
51
51
  | 16 | query admission | Older `D/queries.md:74` and historical binder probes rejected live/collection/filter queries | Current v4.145.0 `queries.md` admits collection/observable queries and caller-supplied equality filters (ESM v14 since 4.143.0). Context `from`, single-result filters, opaque scope/performer and composite `by` remain PLAY0268 with specific reasons; source/refusal details: read-surface `references/equality-filters.md` |
52
- | 17 | `@pii` | `D/concepts.md:3,33` "Chronicle applies `@pii` and `@sensitive` rules automatically" | the historical binder rejected any compliance attribute (PLAY0268); standalone 4.142.0 admits concept compliance as v13 (since 4.141.0) with narrower enum/identity/subject-lineage refusals (command-surface `references/compliance.md`). Keep protection; the pinned CLI still reports V3 blocked. `@sensitive` means an operational secret (`[Encrypted]` + `[NotAudited]`; Screenplay decision 0034); the historically probed tools (standalone 4.68.0, bundle 4.66.0) do **not** report `PLAY0515` (`@pii` from 4.69.1, `@sensitive` from 4.84.1): there only Chronicle catches either attribute on an event-source identifier, at build time of the generated code (CHR0034 for `@pii`, CHR0052 for `@sensitive`) |
52
+ | 17 | `@pii` | `D/concepts.md:3,33` "Chronicle applies `@pii` and `@sensitive` rules automatically" | the historical binder rejected any compliance attribute (PLAY0268); standalone 4.142.0 admits concept compliance as v13 (since 4.141.0) with narrower enum/identity/subject-lineage refusals (command-surface `references/compliance.md`). Keep protection; the historical pre-v13 CLI reported V3 blocked. `@sensitive` means an operational secret (`[Encrypted]` + `[NotAudited]`; Screenplay decision 0034); the historically probed tools (standalone 4.68.0, bundle 4.66.0) do **not** report `PLAY0515` (`@pii` from 4.69.1, `@sensitive` from 4.84.1): there only Chronicle catches either attribute on an event-source identifier, at build time of the generated code (CHR0034 for `@pii`, CHR0052 for `@sensitive`) |
53
53
  | 18 | read-model identity | `D/readmodels.md:32` "from the keyed query" | at 4.135.0 explicit `key` wins; else single-instance queries agree on one read-model `by` property; only with none and an admitted list query does conventional `*Id` inference run (collection-key exclusions: read-surface `references/named-keys.md`). Queryless views need explicit `key` |
54
54
  | 19 | `$strings` constraint messages | `D/constraints.md:31` vs `D/internationalization.md:55` | the compiler keeps the key; realization localizes |
55
55
  | 20 | composite key braces | optional in the EBNF; both forms in docs | both fine |
@@ -6,7 +6,7 @@
6
6
  - Admitted on both compilers
7
7
  - Equality query filters (ESM v14, since 4.143.0)
8
8
  - Admitted from Screenplay 4.61 (ESM v6): standalone tool and cratis 3.28.2 or later
9
- - Generated values and responses (ESM v7): standalone 4.68.0 or later; the cratis 3.53.1 bundle binds them too
9
+ - Generated values and responses (ESM v7/v15): current compiler and renderer boundaries
10
10
  - Released public boundaries and observer routes
11
11
  - Code attachments (what binds, what never does)
12
12
  - Refused (code, reason): fix, or record as a mode gap
@@ -18,14 +18,14 @@ Current pins: `versions.md`. Detailed
18
18
  admits routes as ESM v8, public/direction constructs as v9, identity/overrides/filters
19
19
  as v10, qualifying non-route Double literals as v11 (exact lowering of Double-mode literals)
20
20
  and non-positional enum numbers as v12; concept compliance as v13; caller-supplied
21
- collection equality filters as v14 since 4.143.0. Operations, the `numbers exact` **source mode** (PLAY0268) and
21
+ collection equality filters as v14 since 4.143.0; concept generation strategies/freshness
22
+ as v15 since 4.147.0. Operations, the `numbers exact` **source mode** (PLAY0268) and
22
23
  reaction refusals/redelivery remain unadmitted. Use the actual
23
24
  binder before promoting an older probe to a current capability claim.
24
25
 
25
26
  What the binder admits, and what it refuses with which code. The answer depends on the
26
- compiler version: the standalone tool (4.145.0) binds through v14; the compiler bundled in cratis
27
- 3.53.1 (4.137.0) binds ESM through v10 for rendering and refuses non-positional enum numbers at
28
- binding; older bundles (4.66.0 in cratis 3.28.x, admitting v1 to v6; 4.60.1 before 3.28.2, v1 to v5)
27
+ compiler version: the standalone tool (4.148.0) binds through v15; the compiler bundled in cratis
28
+ 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)
29
29
  are history.
30
30
  Tool facts and the exact v6 messages: `versions.md`. Always name
31
31
  the tool with a V2 or V3 result. When tool and documentation disagree, the tool decides
@@ -40,7 +40,7 @@ never bind (`verdicts.md`).
40
40
  Complete examples that bind live in `executable-example.md` (both compilers),
41
41
  `pdl-example.md` (projections, both compilers) and `automation-translate-example.md`
42
42
  (ESM v6; standalone tool and cratis 3.28.2 or later) and `generated-responses-example.md`
43
- (ESM v7; standalone tool 4.68.0 or later, and the cratis 3.53.1 bundle).
43
+ (ESM v7; standalone tool 4.68.0 or later, and the cratis 3.57.0 bundle).
44
44
 
45
45
  ## Caller and compliance boundary (4.142.0)
46
46
 
@@ -52,7 +52,7 @@ readiness. Executable reads of declared `$identity.<detail>` do (PLAY0268);
52
52
  `$context.identity` remains built-ins only. Purposes and event `subject` marks
53
53
  are metadata (PLAY0270), not source resolution, retention or subject propagation.
54
54
  Bare `pii`/`personal` and `secret` concepts, scopes and qualifiers bind as v13
55
- on standalone 4.142.0; CLI 3.53.1 bundles Screenplay 4.137.0, which refuses markers. Enum/identity
55
+ on standalone 4.142.0; CLI 3.57.0 bundles Screenplay 4.147.1, which binds them too. Enum/identity
56
56
  compliance and events mixing protected values with explicit subject marks remain
57
57
  refused; see command-surface `references/compliance.md` for the precise boundary.
58
58
  Legacy spellings compile with PLAY0565 information; duplicates warn PLAY0653.
@@ -107,9 +107,9 @@ same-named scalar primitive/concept/enum property of the same nominal type
107
107
  filters AND with `by`; optional omission does not narrow, supplied null is refused.
108
108
  `then query … arguments` and `when query` accept both `by` and filters; PLAY0468
109
109
  reports unknown/repeated/missing required arguments. Collection results match by
110
- read model/key regardless of row order. The standalone 4.145.0 pin admits this;
111
- CLI 3.53.1's 4.137.0 compiler does not. Stage 4.73.1 admits through v10 and the
112
- latest checked Stage 4.80.0 through v13, neither v14. Complete compiled specs:
110
+ read model/key regardless of row order. The standalone 4.148.0 pin admits this;
111
+ CLI 3.57.0's 4.147.1 compiler and Stage 4.89.1 admit it through v15, subject to
112
+ construct checks (snapshot lists/DateTime filters/parameter order still refuse). Complete compiled specs:
113
113
  read-surface [equality filters](../../cratis-screenplay-read-surface/references/equality-filters.md).
114
114
 
115
115
  ## Admitted from Screenplay 4.61 (ESM v6): standalone tool and cratis 3.28.2 or later
@@ -119,7 +119,7 @@ read-surface [equality filters](../../cratis-screenplay-read-surface/references/
119
119
  ...` with an explicit `for`. Without a declared actor, a gated invocation denies.
120
120
  On 4.125.0 reaction `runs as system role "<Role>"` supplies the actor and
121
121
  selects ESM v10; keep the gate. CLI 3.41.0's older compiler rejected this syntax;
122
- The pinned CLI bundle (`versions.md`) supports it, but Stage refuses reaction identity with STAGE-ESM-034.
122
+ The pinned CLI bundle (`versions.md`) supports it, and Stage renders role/authenticated reaction identity; claim-reading/opaque gates retain STAGE-ESM-034.
123
123
  Standalone reference execution admits it.
124
124
  - Application `trigger` declarations and `when trigger` specifications.
125
125
  - `slice Translate` with `capture` (`key`, `map ... translate`, `append ... when x from "a"
@@ -131,19 +131,24 @@ read-surface [equality filters](../../cratis-screenplay-read-surface/references/
131
131
  - Command specifications that list reaction cascades (no false PLAY0285).
132
132
  - In a `then` list after `when append`, only what followed the appended event.
133
133
 
134
- ## Generated values and responses (ESM v7): standalone 4.68.0 or later; the cratis 3.53.1 bundle binds them too
134
+ ## Generated values and responses (ESM v7/v15): current compiler and renderer boundaries
135
135
 
136
136
  Facts read at `v4.68.0`: decision 0026 and `Documentation/screenplay/{commands,specifications,interoperability}.md`.
137
137
  A model selects ESM v7 only when it uses a generated property, a response, a generated fixture or a `then returns`
138
138
  expectation; every other model keeps its version, bytes and revision. The cratis CLI 3.28.3 (bundled 4.66.0)
139
- reported `PLAY0268` for these constructs (history). The current CLI (3.53.1, bundled 4.137.0) binds them
140
- and reaches Stage planning, where Stage 4.73.1 refuses generated values with `STAGE-ESM-028` and
141
- responses with `STAGE-ESM-029` (Stage#175), so they bind and run but are not rendered: gap-fill with the
142
- model as contract. Complete example:
143
- `generated-responses-example.md`.
139
+ reported `PLAY0268` for these constructs (history). The current CLI (3.57.0, bundled 4.147.1) binds them
140
+ and Stage 4.89.1 renders supported UUID/String strategies, v15 freshness, scalar/named responses,
141
+ fixtures and `then returns`. Unsupported generated types (`-028`) and result combinations
142
+ (`-038`) remain refused; see `renderable-subset.md` and command-surface
143
+ `references/generated-values-and-responses.md`. The v15 rules below are sourced at
144
+ Screenplay `v4.148.0:Documentation/screenplay/generated-values.md:26-60`.
145
+ Complete examples: `generated-responses-example.md`, `generation-strategies-example.md`.
144
146
 
145
- - A generated property is command-only, required, scalar and a concept backed by `Uuid`; bare `Uuid`, optional and collection
146
- types are invalid. Modifier order is `Type optional generated identifier`.
147
+ - A generated property is command-only, required, scalar and a generatable concept backed by Uuid or String;
148
+ bare primitives, optional and collection types are invalid. Uuid has implicit `uuid`; String needs a strategy.
149
+ Explicit serialized generation selects v15, with strict fixture encoding and whole-source freshness for all
150
+ generated destinations. `pattern`, `random`, `rule`, `sequence`, generated rules/secrets remain unadmitted.
151
+ See command-surface `references/generated-values-and-responses.md` and `generation-strategies-example.md`. Modifier order is `Type optional generated identifier`.
147
152
  - Generated values are not request inputs, form fields, invocation arguments or ordinary `when` values. Generation
148
153
  runs after authorization and validation and before productions, so a denial or a validation failure never
149
154
  reaches it.
@@ -183,7 +188,7 @@ Qualifying retained non-route Double literals bind/reference-execute as v11 on
183
188
  Non-positional enum member numbers bind as ESM v12 from 4.139.0; positional
184
189
  pins preserve the earlier executable version/bytes. The optional canonical last
185
190
  `numbers` array parallels `values`; specifications still use member names.
186
- Consumers must admit v12 explicitly; CLI 3.53.1/Stage 4.73.1 do not. Syntax:
191
+ Consumers must admit v12 explicitly; CLI 3.57.0/Stage 4.89.1 do. Syntax:
187
192
  command-surface `references/enum-numbers.md`; version contract: `versions.md`.
188
193
 
189
194
  Concept `pii`/`personal` and `secret`, qualifiers and scopes bind as optional
@@ -191,8 +196,8 @@ Concept `pii`/`personal` and `secret`, qualifiers and scopes bind as optional
191
196
  report-only PLAY0270; reference execution proves neither encryption nor erasure.
192
197
  Enum/identity concepts and an event combining personal or explicitly subject-scoped
193
198
  secret values with an explicit `subject` mark refuse PLAY0268 at binding only.
194
- CLI 3.53.1 bundles Screenplay 4.137.0, which refuses markers; standalone Stage
195
- 4.76.0 admits only through v12 (Stage#345). Preserve protection, not a falsely green bind.
199
+ CLI 3.57.0 bundles Screenplay 4.147.1 / Stage 4.89.1 and renders v13 concept
200
+ protection; protected identities/enums still refuse `STAGE-ESM-040`. Preserve protection, not a falsely green bind.
196
201
 
197
202
  ## Code attachments (what binds, what never does)
198
203
 
@@ -237,7 +242,7 @@ bodies still leave their owner non-executable.
237
242
  | --- | --- | --- |
238
243
  | `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` |
239
244
  | Unquoted `import Other.Contract` | PLAY0268 | external contract import is not bound |
240
- | `pii` or `secret` on a concept | PLAY0268 | Blanket refusal on CLI 3.53.1's 4.137.0 bundle only. Standalone 4.142.0 admits 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 |
245
+ | `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 |
241
246
  | `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) |
242
247
  | 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 |
243
248
  | `contains` or `starts with` in conditions | PLAY0268 | equality and numeric ordering only |
@@ -280,8 +285,8 @@ bodies still leave their owner non-executable.
280
285
  Do not remove `pii`, `secret`, `authorize` or policies, list queries, automations or
281
286
  rules a domain needs just to make binding pass. Report `V3 blocked: <codes>` and record the
282
287
  slice in the gap list. A `pii` or `secret` marker selects v13 on standalone
283
- 4.142.0 (since 4.141.0). CLI 3.53.1 bundles Screenplay 4.137.0, which refuses
284
- markers; standalone Stage 4.76.0 admits only through v12 (Stage#345). Either attribute on an identifier or typed destination is a source error
288
+ 4.142.0 (since 4.141.0). CLI 3.57.0 bundles Screenplay 4.147.1 / Stage 4.89.1, which renders concept
289
+ protection; protected identities/enums still refuse `STAGE-ESM-040`. Either attribute on an identifier or typed destination is a source error
285
290
  PLAY0515 on the current compiler (including stream-id parts and route mapping
286
291
  sources). Chronicle also rejects `[PII]`/`[Encrypted]` on event-source identifiers
287
292
  (CHR0034/CHR0052). Keep surrogate identity and protected payload separate.
@@ -0,0 +1,43 @@
1
+ # Generation strategies example (ESM v15)
2
+
3
+ A deterministic UUIDv7 identifier and NanoID receipt, with an accepted response
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`.
7
+
8
+ ```screenplay
9
+ concept InvoiceId : Uuid
10
+ generate uuidv7
11
+ concept Receipt : String
12
+ generate nanoid
13
+ module Billing
14
+ feature Drafts
15
+ slice StateChange Start
16
+ command StartDraft
17
+ invoiceId InvoiceId generated identifier
18
+ receipt Receipt generated
19
+ produces event DraftStarted
20
+ receipt Receipt = receipt
21
+ returns invoiceId
22
+ specification StartsWithPinnedValues
23
+ when StartDraft
24
+ for "00112233-4455-7677-8899-aabbccddeeff"
25
+ generated receipt = "abcdefghijklmnopqrstu"
26
+ then DraftStarted
27
+ for "00112233-4455-7677-8899-aabbccddeeff"
28
+ receipt = "abcdefghijklmnopqrstu"
29
+ then returns "00112233-4455-7677-8899-aabbccddeeff"
30
+ specification RejectsAUsedGeneratedSource
31
+ given DraftStarted
32
+ for "00112233-4455-7677-8899-aabbccddeeff"
33
+ receipt = "abcdefghijklmnopqrstu"
34
+ when StartDraft
35
+ for "00112233-4455-7677-8899-aabbccddeeff"
36
+ generated receipt = "abcdefghijklmnopqrstu"
37
+ then error "A generated event source already has facts; retry the command with a fresh generated value."
38
+ ```
39
+
40
+ The rejection appends no new facts and returns no response. v15 guards the whole
41
+ source even if the old fact uses another stream or event type. Removing every
42
+ serialized generation strategy restores the earlier Unguarded contract, not an
43
+ alternative way to make a stale-source specification pass.
@@ -108,8 +108,11 @@ contract. A consumer admitting v10 must include all three, not just identity.
108
108
  Composite **read-model** keys are separate and remain unadmitted (PLAY0268, #599).
109
109
 
110
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 v10 to construct checks: production overrides
112
- still refuse STAGE-ESM-036 and reaction filters STAGE-ESM-035; reducer filters render.
111
+ The pinned CLI/Stage pair (`versions.md`) admits through v15 to construct checks: production overrides
112
+ still refuse STAGE-ESM-036; reaction/reducer filters render on the semantic path,
113
+ 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`.
113
116
  A supported version number alone never proves target support or a passing render.
114
117
 
115
118
  Source: Screenplay `v4.135.0:Documentation/screenplay/{event-sources,readmodels,reactions,diagnostics}.md`,
@@ -74,7 +74,7 @@ by Martin Dilger and Nebulit GmbH (https://nebulit.de), used with the explicit c
74
74
  ESM v7 and v11 allocations; added numbers-exact, concurrency, approval-policy, visualization,
75
75
  bodied-reducer, file-mode and cascade rows.
76
76
  - Corrected the code-attachment rule (a handler never binds, with or without `hint`), the
77
- automation rendering rule (Stage renders no Automation or Translate slices) and the
77
+ historical automation rendering rule (Stage 4.24 rendered no Automation or Translate slices; current admission is in `renderable-subset.md`) and the
78
78
  Stage output description (a React/Vite scaffold is emitted too).
79
79
  - Verdict names follow the frozen V1 to V5 (V2 is executable diagnostics, V3 binding-ready);
80
80
  the earlier "authoring accepted" meaning of V2 was dropped because it proves only that the