@cratis/pi 7.11.2 → 7.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +3 -3
  2. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +3 -3
  3. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +1 -1
  4. package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +1 -1
  5. package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +2 -2
  6. package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +1 -1
  7. package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +1 -1
  8. package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +1 -1
  9. package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +1 -1
  10. package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +1 -1
  11. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +3 -3
  12. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +1 -1
  13. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +5 -3
  14. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/provenance.md +1 -1
  15. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +5 -4
  16. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +4 -0
  17. package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +1 -1
  18. package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +2 -2
  19. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +1 -1
  20. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +1 -1
  21. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +4 -1
  22. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +2 -1
  23. package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +3 -3
  24. package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +5 -3
  25. package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +2 -3
  26. package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +1 -1
  27. package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +2 -2
  28. package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +7 -7
  29. package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +1 -0
  30. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +7 -7
  31. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +6 -4
  32. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/render-example.md +2 -2
  33. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +4 -1
  34. package/package.json +1 -1
@@ -29,7 +29,7 @@ identity, effect and pending-work contract at that point; do not postpone it to
29
29
  (4.60.1) reports PLAY0268 at binding: report "V3 blocked: PLAY0268 (ESM v6)" and
30
30
  name the tool, never remove them.
31
31
  - No MCP tool, `validate` or render runs Automation or Translate specs. V4 is "not run: no route".
32
- - Stage 4.24.1 (bundled in cratis 3.28.2) renders no Automation or Translate slice (Stage#79); `cratis render` refuses the whole v6 model with STAGE-ESM-016: the whole automation is
32
+ - Stage 4.24.2 (bundled in cratis 3.28.3) renders no Automation or Translate slice (Stage#79); `cratis render` refuses the whole v6 model with STAGE-ESM-016: the whole automation is
33
33
  gap-fill or hand-written delivery with the model as contract (`references/realization-and-gap-fill.md`).
34
34
  - Invoked commands run with no caller; `.play` cannot name an actor (Screenplay#383).
35
35
 
@@ -37,8 +37,8 @@ identity, effect and pending-work contract at that point; do not postpone it to
37
37
  | Package | Version | Used for |
38
38
  | --- | --- | --- |
39
39
  | Screenplay | v4.66.0 (`c89198b`) | `Documentation/screenplay/{reactions,captures,triggers,specifications,diagnostics}.md`; examples compiled with the standalone tool |
40
- | cratis CLI | v3.28.2 | bundles Screenplay 4.66.0 and Stage 4.24.1 (before 3.28.2: 4.60.1, which gave PLAY0268 on v6 constructs and a false PLAY0285 on cascades, cli#242) |
41
- | Stage | v4.24.1 | admits ESM v1 to v3; renders no Automation or Translate slice |
40
+ | cratis CLI | v3.28.3 | bundles Screenplay 4.66.0 and Stage 4.24.2 (before 3.28.2: 4.60.1, which gave PLAY0268 on v6 constructs and a false PLAY0285 on cascades, cli#242) |
41
+ | Stage | v4.24.2 | admits ESM v1 to v4; renders no Automation or Translate slice |
42
42
  | Arc | v22.50.5 | `ExecuteCommandsAsSystemAttribute` (since v20.56.0) |
43
43
  | Chronicle | v19.32.0 | `OnceOnlyAttribute`, `ReactorDelivery` and `Documentation/reactors/delivery-identity.mdx` |
44
44
 
@@ -5,9 +5,9 @@ the automation-and-translation addendum to `cratis-screenplay-render-and-gap-fil
5
5
  skill for the admission, publication and ownership rules.
6
6
 
7
7
  ## What Stage does not do
8
- Stage 4.24.1 renders no Automation or Translate slice (Stage#79). A model that contains one is not
9
- admitted: it needs ESM v6, and Stage admits ESM v1 to v3 (STAGE-ESM-016 for the whole model; probed
10
- with `cratis render` 3.28.2, whose bundled compiler binds these slices, where 3.27.1 stopped earlier
8
+ Stage 4.24.2 renders no Automation or Translate slice (Stage#79). A model that contains one is not
9
+ admitted: it needs ESM v6, and Stage admits ESM v1 to v4 (STAGE-ESM-016 for the whole model; probed
10
+ with `cratis render` 3.28.2 and 3.28.3, whose bundled compiler binds these slices, where 3.27.1 stopped earlier
11
11
  with PLAY0268). So the automation or translation is
12
12
  hand-written delivery with the model as its contract. A `Customizations/` file never makes a
13
13
  rejected model renderable, and never claim a whole-application V5 from a subset. Choose the route
@@ -58,7 +58,7 @@ decides, not the slice type:
58
58
  *requires portable occurrence and effect semantics* and captures as *require a portable
59
59
  compiled CDL plan*, and gave a false `PLAY0285` on a specification that follows a reaction
60
60
  cascade (Cratis/cli#242).
61
- - **Stage 4.24.1** admits ESM v1-v3 and renders no `Automation` or `Translate`
61
+ - **Stage 4.24.2** admits ESM v1-v4 and renders no `Automation` or `Translate`
62
62
  slice. The automation is gap-fill, with the `.play` slice and its specifications
63
63
  as the contract: `cratis-screenplay-render-and-gap-fill`.
64
64
 
@@ -35,7 +35,7 @@ syntax and tool commands in `cratis-screenplay-toolchain`.
35
35
 
36
36
  ## Verified product sources
37
37
 
38
- Pins (Screenplay v4.66.0 `c89198b`, cratis CLI v3.28.2, Stage v4.24.1, Arc v22.50.5, Chronicle
38
+ Pins (Screenplay v4.66.0 `c89198b`, cratis CLI v3.28.3, Stage v4.24.2, Arc v22.50.5, Chronicle
39
39
  v19.32.0) are listed once in `cratis-screenplay-toolchain` `references/versions.md`.
40
40
  Statements here were checked at those tags:
41
41
 
@@ -343,7 +343,7 @@ is the fallback, and neither names the other's verdict. Versions and commands:
343
343
  - [ ] Specifications name the rejections, not only the happy path.
344
344
  - [ ] If the model must reach a runtime, check it binds with the tool that will
345
345
  consume it. The standalone 4.66.0 binder admits Automation and Translate slices
346
- (ESM v6); Stage 4.24.0 admits ESM v1 to v3 and renders only `StateChange` and
346
+ (ESM v6); Stage 4.24.0 admits ESM v1 to v3 (4.24.2: v1 to v4, evolved events refused with `STAGE-ESM-026`) and renders only `StateChange` and
347
347
  `StateView` slices, so automations and translations are gap-fill there.
348
348
 
349
349
  ## Parsed is not runnable
@@ -362,7 +362,7 @@ What binds depends on **which tool** you ask, so name the tool and its version:
362
362
  - `Automation` and `Translate` slices, reactions, captures and triggers: the
363
363
  standalone `screenplay` 4.66.0 and the `cratis` 3.28.2 bundle (same compiler) bind them (ESM v6).
364
364
  The `cratis` 3.27.1 bundle (Screenplay 4.60.1) reported *Slice '<name>' of type '<type>'
365
- is not admitted by ESM v1.* Stage 4.24.1 admits only ESM v1 to v3 and renders none of them.
365
+ is not admitted by ESM v1.* Stage 4.24.2 admits only ESM v1 to v4 and renders none of them.
366
366
  - `reads` and `concurrency` on a command do not bind (`PLAY0271`), so no decision is
367
367
  protected against stale state. A reaction trigger's `reads` that only `invokes` is
368
368
  report-only intent (`PLAY0270`); one that `produces` directly fails binding (`PLAY0268`).
@@ -185,7 +185,7 @@ system state?"* If no, it is co-production — one `StateChange` slice with seve
185
185
 
186
186
  **Output:** the `reaction`, in an `Automation` slice. It binds on the standalone
187
187
  `screenplay` 4.66.0 and the `cratis` 3.28.2 bundle (ESM v6; the 3.27.1 bundle rejected the slice
188
- at binding) and Stage 4.24.1 renders none, so the automation is gap-fill there (versions:
188
+ at binding) and Stage 4.24.2 renders none, so the automation is gap-fill there (versions:
189
189
  `cratis-screenplay-toolchain`). When the automation decides from a view, declare it under
190
190
  the trigger with `reads` (see `cratis-screenplay-captures-and-reactions`).
191
191
 
@@ -31,7 +31,7 @@ then hands off to review (P5) and acceptance (P6).
31
31
 
32
32
  ## Verified product sources
33
33
 
34
- Pins (Screenplay v4.66.0 `c89198b`, cratis CLI v3.28.2, Stage v4.24.1, Arc v22.50.5, Chronicle
34
+ Pins (Screenplay v4.66.0 `c89198b`, cratis CLI v3.28.3, Stage v4.24.2, Arc v22.50.5, Chronicle
35
35
  v19.32.0): `cratis-screenplay-toolchain` `references/versions.md`. Checked at these sources:
36
36
 
37
37
  | Fact used here | Source |
@@ -22,7 +22,7 @@ the executable profile and a complete compiled model.
22
22
  | `Cratis.Screenplay` / `Cratis.Screenplay.Tool` | `4.66.0` (`c89198b`) | Current compiler, MCP (29/30 tools), roots fix; examples compiled with `--warnaserror` |
23
23
  | `Cratis.Screenplay` | main `fd18129` | Inline events, repairs, rename/extraction and `optional` |
24
24
  | `Cratis.Screenplay` | `4.31.0` | Original compiler, ESM and workspace evidence |
25
- | `cratis` CLI | `3.28.2` | Bundles Screenplay 4.66.0 and Stage 4.24.1 (before 3.28.2: 4.60.1, ESM v5 at most, roots bug) |
25
+ | `cratis` CLI | `3.28.3` | Bundles Screenplay 4.66.0 and Stage 4.24.2 (3.28.2 bundled 4.24.1; before 3.28.2: 4.60.1, ESM v5 at most, roots bug) |
26
26
 
27
27
  Facts about the MCP connection, source-map, `whenAppendedEvent`, identity
28
28
  persistence and the syntax-only constructs were read at tag `v4.66.0`
@@ -172,7 +172,7 @@ same Screenplay 4.66.0 (before 3.28.2, Screenplay 4.60.1, differ where stated).
172
172
  | --- | --- |
173
173
  | 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` |
174
174
  | 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) |
175
- | 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 library reference runner evaluates them (v6 actions); no `screenplay` command or MCP tool runs it, and Stage 4.24.1 renders none of them (the whole automation is gap-fill) |
175
+ | 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 library reference runner evaluates them (v6 actions); no `screenplay` command or MCP tool runs it, and Stage 4.24.2 renders none of them (the whole automation is gap-fill) |
176
176
  | 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 |
177
177
  | 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 |
178
178
  | 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 |
@@ -31,7 +31,7 @@ adapted to `.play` declarations (`references/provenance.md`).
31
31
  |---|---|---|
32
32
  | Screenplay | `v4.66.0` (`c89198b`) | MCP catalog (29 tools: `describe-application`, `search-declarations`, `dependencies`, `find-assertion-gaps`, `read-workspace`, `declaration-details`) in `Source/DotNET/Screenplay.Mcp/McpToolCatalog.cs`; diagnostics PLAY0029, PLAY0191, PLAY0268, PLAY0271, PLAY0350, PLAY0381, PLAY0469 in `Source/DotNET/Screenplay/Diagnostics/DiagnosticCodes.cs`; decision 0008 (one data subject per event) |
33
33
  | Screenplay issues | open at v4.66.0 | Screenplay#393 advisory modeling-smell report (the sweep is its manual form); Screenplay#377 spec execution and Screenplay#388 lineage report: not available, so "specs written" is never "specs pass" and lineage is walked by hand |
34
- | cratis CLI | `v3.28.2` | bundles Screenplay 4.66.0 and Stage 4.24.1; see the toolchain skill |
34
+ | cratis CLI | `v3.28.3` | bundles Screenplay 4.66.0 and Stage 4.24.2; see the toolchain skill |
35
35
 
36
36
  The full pin table lives in `cratis-screenplay-toolchain` `references/versions.md`; do not copy
37
37
  it here. Compilation (V1) does not establish reference execution.
@@ -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 `v4.24.1` renders neither; the whole behavior is gap-fill, not just its outside call) | **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, including every modeled automation and translation (Stage `v4.24.2` renders neither; the whole behavior is gap-fill, not just its outside call) | **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
 
@@ -216,8 +216,8 @@ Full pin table: `cratis-screenplay-toolchain/references/versions.md`. Used here:
216
216
  `v4.66.0` (`c89198b`): `Source/DotNET/Tool/Program.cs` (`--warnaserror`, folder mode),
217
217
  `Source/DotNET/Screenplay/Semantics/SemanticModelBinder.cs:209-216` (personas are report-only),
218
218
  `Documentation/screenplay/{constraints,specifications}.md`, `mcp/reference.md` (`modelRevision`);
219
- cratis CLI `v3.28.2` (`cratis screenplay validate --warnings-as-errors`, bundled Screenplay 4.66.0);
220
- Stage `v4.24.1` (admits ESM v1-v3); opt-in key `mcpServers.screenplay.root` in cratis CLI `v3.28.2`
219
+ cratis CLI `v3.28.3` (`cratis screenplay validate --warnings-as-errors`, bundled Screenplay 4.66.0);
220
+ Stage `v4.24.2` (admits ESM v1-v4 and refuses evolved events with `STAGE-ESM-026`); opt-in key `mcpServers.screenplay.root` in cratis CLI `v3.28.3`
221
221
  `Documentation/reference/screenplay-mcp.md`. The worked example compiles with both tools.
222
222
  ## Verify
223
223
  ```shell
@@ -42,7 +42,7 @@ 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 `v4.24.1` renders no Automation or
45
+ business decisions. A Screenplay reaction is authorable and bindable, but Stage `v4.24.2` renders no Automation or
46
46
  Translate slice: the reactor and command are gap-fill code.
47
47
 
48
48
  ## Scenario vs specification
@@ -25,12 +25,12 @@ Version pins live once in `cratis-screenplay-toolchain` `references/versions.md`
25
25
 
26
26
  | Source | Pin | Used for |
27
27
  | --- | --- | --- |
28
- | cratis CLI | `v3.28.2` (`141c499`) | `cratis render` options, exit codes, publication receipt, bundled Screenplay 4.66.0 and Stage 4.24.1 (before 3.28.2 bundled 4.60.1 and 4.24.0) |
29
- | Stage | `v4.24.1` (`2cadf59`) | admission (`STAGE-ESM-*`), ownership manifest, `Customizations/` seams, Debug-only specifications |
28
+ | cratis CLI | `v3.28.3` (`8b43fef`) | `cratis render` options, exit codes, publication receipt, bundled Screenplay 4.66.0 and Stage 4.24.2 (3.28.2 bundled Stage 4.24.1; before 3.28.2: 4.60.1 and 4.24.0) |
29
+ | Stage | `v4.24.2` (`32dcac4`) | admission (`STAGE-ESM-*`), ownership manifest, `Customizations/` seams, Debug-only specifications |
30
30
  | Screenplay | `v4.66.0` (`c89198b`) | standalone compiler for V1 to V3; binding codes `PLAY0268` and the code-attachment rules |
31
31
  | Rendered apps | Arc `22.25.0`, Chronicle `19.8.1` | `[ProtectedDecision]` (Arc 22.39.0 and later) is not available in code written into one |
32
32
 
33
- Facts were read at those tags and `cratis render` was run at 3.28.2 for the worked example
33
+ Facts were read at those tags and `cratis render` was run at 3.28.2 and 3.28.3 for the worked example
34
34
  (`references/worked-example.md`). The renderer facts are owned by `cratis-stage-rendering-and-sandbox`;
35
35
  this skill links them and never restates the admission table.
36
36
 
@@ -62,6 +62,8 @@ assume an answer to 4, and record it as `blocked` for the user.
62
62
  | **B. Generated base plus authorized gap-fill** | an earlier admitted whole-model render 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** |
63
63
  | **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` |
64
64
 
65
+ Evolved events (a model that selects ESM v4) are gap-fill too: Stage 4.24.2 admits the v4 model but refuses 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. The cratis CLI bundles Stage 4.24.2 since 3.28.3 and reports an evolved event with `STAGE-ESM-026` (probed); 3.28.2 bundled Stage 4.24.1 (3.28.1 and earlier: 4.24.0) and refused a v4 model with `STAGE-ESM-016`.
66
+
65
67
  Models with event sources, streams or command routes are case A or C today: they cannot
66
68
  bind or render (`PLAY0268`, `STAGE-ESM-016`), so hand-write the code with the model as the
67
69
  contract (`cratis-screenplay-toolchain` `references/sources-and-streams.md`).
@@ -3,7 +3,7 @@
3
3
  ## Moved and rewritten (Cratis)
4
4
  - The render workflow of the earlier model skill set: capability probe, renderability
5
5
  classification, delivery protocol, drift and fallback ledger. Rewritten for Stage 4.24 and cli
6
- 3.27.1, then re-verified on cli 3.28.2 (Stage 4.24.1) by running `cratis render`; the
6
+ 3.27.1, then re-verified on cli 3.28.2 (Stage 4.24.1) and 3.28.3 (Stage 4.24.2) by running `cratis render`; the
7
7
  helper scripts are not shipped (their steps are the manual commands in `references/delivery-protocol.md`).
8
8
  - The fallback-conformance checklist moved into `cratis-application-slice-conformance`
9
9
  (`references/checklists.md`); this skill links it and keeps no copy.
@@ -13,9 +13,10 @@ probe reports and choosing what to do. Do not copy the code table here.
13
13
  (a specification shape).
14
14
  2. Execution planning builds the plan and can emit `PLAN-*` diagnostics before Stage runs.
15
15
  3. Stage plans the target and admits or rejects each member: `STAGE-ESM-0xx`; profile and path
16
- problems `STAGE-CRATIS-0xx`. For an ESM v4 model with evolved events the CLI adds
17
- `CLI-RENDER-003` after Stage's own `STAGE-ESM-016` version refusal, as a supplementary
18
- generation diagnostic, not as a pre-check.
16
+ problems `STAGE-CRATIS-0xx`. An ESM v4 model with an evolved event is reported with Stage's
17
+ own `STAGE-ESM-026` (Stage 4.24.2 admits v4 but not evolved events); the CLI adds nothing
18
+ since 3.28.3 (3.28.2 also reported `CLI-RENDER-003`, and refused a v4 model
19
+ with `STAGE-ESM-016` on its bundled Stage 4.24.1).
19
20
  4. Any error anywhere publishes nothing: the run ends with exit 5 and the diagnostics.
20
21
 
21
22
  The standalone `screenplay` tool can report V3 ready where the bundled binder refuses (newer
@@ -26,7 +27,7 @@ ESM). Only the probe answers renderability. `PLAY0270` entries are information,
26
27
  | Class | Meaning | Typical examples (each verified in `admission.md`) | Action |
27
28
  | --- | --- | --- | --- |
28
29
  | **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 without `authenticated` (`-015`) | edit request to the modeler session with address, change and rationale |
29
- | **Capability gap** | the intended meaning needs a construct Stage does not render yet | list, observable and filtered queries (`PLAY0268` "must declare one caller-supplied 'by'", `-010`); Automation and Translate slices (`PLAY0268` "not admitted by ESM v1", `-001`, Stage#79); reactions, clocks, captures and triggers (v6, `-016`); event generations (`CLI-RENDER-003`); conditional `produces when` (`-006`); `reads` (`PLAY0271`); code validation (`-005`); opaque policies (`-015`); 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 |
30
+ | **Capability gap** | the intended meaning needs a construct Stage does not render yet | list, observable and filtered queries (`PLAY0268` "must declare one caller-supplied 'by'", `-010`); Automation and Translate slices (`PLAY0268` "not admitted by ESM v1", `-001`, Stage#79); reactions, clocks, captures and triggers (v6, `-016`); evolved events (`STAGE-ESM-026`); conditional `produces when` (`-006`); `reads` (`PLAY0271`); code validation (`-005`); opaque policies (`-015`); 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 |
30
31
  | **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 |
31
32
  | **Environment** | not the model | restore failures, missing SDK, a destination that is not writable | fix the environment or report blocked |
32
33
 
@@ -38,6 +38,10 @@
38
38
  {
39
39
  "kind": "skill-contains",
40
40
  "value": "case A or C today"
41
+ },
42
+ {
43
+ "kind": "skill-contains",
44
+ "value": "STAGE-ESM-026"
41
45
  }
42
46
  ]
43
47
  }
@@ -204,7 +204,7 @@ Slice design is done when these hold; otherwise report what is open.
204
204
  | Screenplay | `v4.66.0` (`c89198b`) | `commands.md`, `constraints.md`, `specifications.md`, `diagnostics.md` (`PLAY0191`, `PLAY0268`, `PLAY0271`, `PLAY0350`, `PLAY0381`, `PLAY0397`), `projections/keys.md` |
205
205
 
206
206
  Examples compile with `screenplay` 4.66.0 `--warnaserror` and `cratis screenplay validate
207
- --warnings-as-errors` (cratis 3.28.2); other pins: `cratis-screenplay-toolchain`
207
+ --warnings-as-errors` (cratis 3.28.2 or later); other pins: `cratis-screenplay-toolchain`
208
208
  `references/versions.md`. Compiling proves syntax, not that the model is executable or renders.
209
209
 
210
210
  ## Verify
@@ -332,8 +332,8 @@ module Collections
332
332
  - A reached reaction with a code body (`file` or inline) returns unsupported, as
333
333
  does a reaction that never settles. The reference stops at 1,000 new facts per
334
334
  scenario and 10,000 due occurrences per clock advance.
335
- - A model that uses these forms selects ESM v6 (`schemaVersion: 6`). Stage 4.24.1
336
- admits ESM v1-v3 and renders no `Automation` or `Translate` slice, so the whole
335
+ - A model that uses these forms selects ESM v6 (`schemaVersion: 6`). Stage 4.24.2
336
+ admits ESM v1-v4 and renders no `Automation` or `Translate` slice, so the whole
337
337
  automation is gap-fill against this contract: `cratis-screenplay-render-and-gap-fill`.
338
338
 
339
339
  ### Version skew: cascades and the false `PLAY0285` (cratis before 3.28.2)
@@ -19,7 +19,7 @@ lives only in code, or only in a description, is a finding, not a solution.
19
19
  | Screenplay | v4.66.0 (`c89198b`) | `identifier`, `for`, constraints, generations, `id` pins, diagnostics PLAY0019/0135/0268/0271/0273/0391-0393/0446-0449/0469/0471 |
20
20
  | Chronicle | v19.32.0 (`f17a2ff`) | CHR0012, CHR0034; open defects #3744, #4123, #4131 |
21
21
  | Arc | v22.50.5 | `[ProtectedDecision]` and `DecisionRead<T>` (since v22.39.0) |
22
- | Stage | v4.24.1 | rendered apps pin Arc 22.25.0 and Chronicle client 19.8.1 (unchanged from 4.24.0) |
22
+ | Stage | v4.24.2 | rendered apps pin Arc 22.25.0 and Chronicle client 19.8.1 (unchanged from 4.24.0); admits ESM v4 but refuses evolved events with `STAGE-ESM-026` (migrations not rendered, Stage#204) |
23
23
 
24
24
  Full pin table: `references/versions.md` in `cratis-screenplay-toolchain`. Re-check the three
25
25
  Chronicle issues before relying on a constraint in a later release.
@@ -1,6 +1,6 @@
1
1
  # Consistency and concurrency
2
2
 
3
- Pins: Screenplay v4.66.0, Chronicle v19.32.0, Arc v22.50.5, Stage v4.24.1 (table in `versions.md` of
3
+ Pins: Screenplay v4.66.0, Chronicle v19.32.0, Arc v22.50.5, Stage v4.24.2 (table in `versions.md` of
4
4
  `cratis-screenplay-toolchain`).
5
5
 
6
6
  ## 1. Invariant table (fill before writing constraints)
@@ -60,6 +60,9 @@ Procedure and ownership: the identity procedure in `cratis-screenplay-modeling-l
60
60
  owning session, or a brief that asks for the rename, applies it; a subagent without MCP returns
61
61
  the catalog-changing request to the owner; never leave a requested change silently unapplied).
62
62
  - Several generations select ESM v4; that binds executably on both tools (compiled
63
- with `evolution-example.md`).
63
+ with `evolution-example.md`). Stage 4.24.2 admits v4 but refuses any evolved event and its
64
+ dependent scope with `STAGE-ESM-026` (it cannot render event-type migrations yet, Stage#204,
65
+ which depends on Screenplay#71), and its runtime still refuses evolved events: the evolved
66
+ events are gap-fill, with migrations hand-written per `cratis-chronicle-event-type-migration`.
64
67
 
65
68
  Complete compiled example: `evolution-example.md` (generation, rename pin, meaning change).
@@ -12,6 +12,7 @@
12
12
  { "kind": "skill-contains", "value": "CHR0034" },
13
13
  { "kind": "skill-contains", "value": "No calculated events" },
14
14
  { "kind": "skill-contains", "value": "decision tree and red flags" },
15
- { "kind": "skill-contains", "value": "not bound, run or rendered" }
15
+ { "kind": "skill-contains", "value": "not bound, run or rendered" },
16
+ { "kind": "skill-contains", "value": "STAGE-ESM-026" }
16
17
  ]
17
18
  }
@@ -25,8 +25,8 @@ The only version table is `references/versions.md`; other skills point to it.
25
25
  | Package | Version | Purpose |
26
26
  | --- | --- | --- |
27
27
  | `Cratis.Screenplay.Tool` | `4.66.0` (`c89198b`) | standalone compiler, binder and MCP server |
28
- | cratis CLI | `3.28.2` (`141c499`) | bundles Screenplay 4.66.0 and Stage 4.24.1 (3.28.1 and earlier bundled 4.60.1 and 4.24.0); `render`, `generate`, `prologue`, and the same compiler for `screenplay validate` and `screenplay mcp` |
29
- | Stage | `4.24.1` (`2cadf59`) | renders ESM v1 to v3 (C# backend plus a React/Vite scaffold on Arc 22.25.0); bundled by the cratis CLI 3.28.2 |
28
+ | cratis CLI | `3.28.3` (`8b43fef`) | bundles Screenplay 4.66.0 and Stage 4.24.2 (3.28.2: Stage 4.24.1; 3.28.1 and earlier bundled 4.60.1 and 4.24.0); `render`, `generate`, `prologue`, and the same compiler for `screenplay validate` and `screenplay mcp` |
29
+ | Stage | `4.24.2` (`32dcac4`) | renders ESM v1 to v4 (C# backend plus a React/Vite scaffold on Arc 22.25.0); an evolved event is refused with `STAGE-ESM-026`; the cratis CLI bundles it since 3.28.3 |
30
30
  | Arc / Chronicle | `22.50.5` / `19.32.0` | code-level facts cited here |
31
31
 
32
32
  Facts were read with `git show <tag>:<path>` and probed on the installed tools. Behaviour
@@ -102,7 +102,7 @@ changes with the root folder name.
102
102
  only; no handler (PLAY0268, with or without `implementation`/`hint`); `reads` and
103
103
  `concurrency` do not bind (PLAY0271); no `@pii`; v6 constructs bind on Screenplay 4.61 or
104
104
  later (standalone, and cratis 3.28.2 or later).
105
- - **Renderable** (V5): `references/renderable-subset.md`. Stage 4.24 renders ESM v1 to v3
105
+ - **Renderable** (V5): `references/renderable-subset.md`. Stage 4.24.2 renders ESM v1 to v4 (evolved events refused, `STAGE-ESM-026`)
106
106
  `StateChange`/`StateView` slices; Automation and Translate are gap-fill (Stage#79).
107
107
  - **Event sources, streams and command routes**: authorable and validatable, but never
108
108
  bound (`PLAY0268`: allocated, not implemented ESM version), run or rendered
@@ -92,9 +92,11 @@ Report each as `code file:line one-line meaning`; never paste more than about 30
92
92
  Full table with causes: `renderable-subset.md`. Codes you meet most:
93
93
  | Code | Meaning |
94
94
  |---|---|
95
- | STAGE-ESM-016 | model above ESM schema v3 (or v4 generations, v5 absence, v6 constructs): whole model refused |
96
- | STAGE-ESM-024 | ledger-only (Stage 4.24.1): the ESM v6 members are dispositioned Rejected; a v6 model is still refused whole by STAGE-ESM-016, so this is not the code a user sees |
97
- | CLI-RENDER-003 | the CLI pre-check for ESM v4 generations |
95
+ | STAGE-ESM-016 | model above the admitted ESM schema (v4 on Stage 4.24.2: v5 absence and v6 constructs; 4.24.1 admitted v3, so a v4 model with generations was refused): whole model refused |
96
+ | STAGE-ESM-025 | Stage 4.24.2: a typed-context member references a historical event revision or property identity; only the current revision renders |
97
+ | STAGE-ESM-026 | Stage 4.24.2: a selected event, or an event a selected scope depends on, is above its initial revision; Stage cannot render event-type migrations yet (Stage#204, needs Screenplay#71); gap-fill and hand-write the migrations |
98
+ | STAGE-ESM-024 | ledger-only (Stage 4.24.1 and later): the ESM v6 members are dispositioned Rejected; a v6 model is still refused whole by STAGE-ESM-016, so this is not the code a user sees |
99
+ | CLI-RENDER-003 | historical: reported by cratis 3.28.2 for an ESM v4 model with generations; not emitted since 3.28.3, which reports an evolved event with `STAGE-ESM-026` |
98
100
  | STAGE-ESM-001 | slice kind is not `StateChange`/`StateView` (Automation, Translate: Stage#79) |
99
101
  | STAGE-ESM-004 / 006 / 013 | more than one command per `StateChange`; conditional or value-expression production; other context value |
100
102
  | STAGE-ESM-005 / 015 | code rule or code validation; opaque policy or an ownership claim against a Uuid-backed target |
@@ -20,8 +20,7 @@ binding (`PLAY0268`) and Stage refuses their ESM version (`STAGE-ESM-016`); rend
20
20
  appends never carry event source type, event stream type or event stream id, so
21
21
  Chronicle's defaults apply (Stage#177, #200, #201). See `sources-and-streams.md`.
22
22
 
23
- Whole-model admission requires ESM schema v1 to v3; anything else is STAGE-ESM-016 (v4
24
- generations also fail the CLI pre-check CLI-RENDER-003). The admitted vertical is concepts,
23
+ Whole-model admission requires ESM schema v1 to v4 on Stage 4.24.2 (v1 to v3 on the 4.24.1 that cratis 3.28.2 bundled, where a v4 model was STAGE-ESM-016 and also failed the CLI pre-check CLI-RENDER-003; cratis 3.28.3 bundles 4.24.2); v5 and v6 are STAGE-ESM-016. On 4.24.2 a selected event above its initial revision, or any scope depending on it, is STAGE-ESM-026 (migrations are not rendered, Stage#204), and a historical typed-context reference is STAGE-ESM-025. The admitted vertical is concepts,
25
24
  composite types, one command to its events, a one-instance projection, an optional keyed
26
25
  snapshot query, declarative authorization (including query authorization) and modeled
27
26
  specifications. **Automation and Translate slices are not rendered** (Stage#79, open): the
@@ -29,7 +28,7 @@ whole automation is hand-written (gap-fill).
29
28
 
30
29
  | Area | Renders | Rejected (code) |
31
30
  | --- | --- | --- |
32
- | ESM version | schema v1 to v3 | v4 generations, v5 `then no readmodel`, v6 constructs: STAGE-ESM-016 for the whole model (Stage 4.24.1 also ledgers the v6 members as `STAGE-ESM-024`; users still see STAGE-ESM-016) |
31
+ | ESM version | schema v1 to v4 (4.24.2; initial-revision events only) | evolved events: STAGE-ESM-026 (4.24.2); historical references: STAGE-ESM-025; v5 `then no readmodel`, v6 constructs: STAGE-ESM-016 for the whole model (Stage 4.24.1 also ledgers the v6 members as `STAGE-ESM-024`; users still see STAGE-ESM-016) |
33
32
  | Slice kinds | `StateChange`, `StateView` | `Automation`, `Translate`: STAGE-ESM-001 |
34
33
  | Types | concepts over Uuid, String, Int, Decimal, Bool, Date, DateTime; composite types; collections; optional | unknown types: 002 and 003 |
35
34
  | Validation | not empty, min, max, equal, not equal, comparisons, length, `all >`/`all >=`, matches, `$strings` keys (missing default keys: 018) | code rules and code validation: 005 |
@@ -9,7 +9,7 @@ Stage v4.24.0 (`SemanticCratisAdmission.cs`) and Chronicle v19.30.0 / Arc v22.49
9
9
  | Author in `.play` (syntax, MCP views `event-sources`, `event-streams`, `command-routes`) | yes, since Screenplay v4.62.0 |
10
10
  | Validate (V1: authorable) | yes |
11
11
  | Bind (V3) and run specifications | no: binding reports `PLAY0268`; the whole application then has no executable model. V2 (executable diagnostics) shows that blocking `PLAY0268` as the evidence for the blocked V3 |
12
- | Render (V5) | no: Stage admits ESM v1 to v3 only, so the model is refused with `STAGE-ESM-016` |
12
+ | Render (V5) | no: Stage admits ESM v1 to v4 only, so a v5 or v6 model is refused with `STAGE-ESM-016` and an evolved event with `STAGE-ESM-026` |
13
13
  | Deliver as code | gap-fill by hand with the model as the contract (`cratis-screenplay-render-and-gap-fill`, case C) |
14
14
 
15
15
  Why binding refuses: the constructs need an ESM version that is **allocated** but **not
@@ -66,7 +66,7 @@ never "specifications pass".
66
66
  `@sensitive`, authorization, list queries, automations or rules to reach V3; record the
67
67
  slice and the code in the gap list.
68
68
  - A model is "executable" only on the compiler that bound it. A V3 from the standalone tool
69
- does not carry to `cratis render`: Stage admits ESM v1 to v3 only (and on cratis before 3.28.2 the bundled 4.60.1 binder, ESM v1 to v5, refused v6 first).
69
+ does not carry to `cratis render`: Stage admits ESM v1 to v4 only on 4.24.2 (v1 to v3 on 4.24.1, bundled by cratis 3.28.2; cratis 3.28.3 bundles 4.24.2; evolved events are STAGE-ESM-026) (and on cratis before 3.28.2 the bundled 4.60.1 binder, ESM v1 to v5, refused v6 first).
70
70
 
71
71
  ## V4: reference specifications run
72
72
 
@@ -114,7 +114,7 @@ V1 pass (screenplay 4.66.0, 3 files)
114
114
  V2 read (screenplay 4.66.0 via MCP): 0 blocking, 3 informational (PLAY0270)
115
115
  V3 ready (screenplay 4.66.0, ESM v3)
116
116
  V4 not run: no route
117
- V5 admission pass (cratis 3.28.2, Stage 4.24.1); publication written 14 files; build not run; tests not run
117
+ V5 admission pass (cratis 3.28.3, Stage 4.24.2); publication written 14 files; build not run; tests not run
118
118
  ```
119
119
 
120
120
  Rules: a clean verdict never implies a later one; a verdict names the **source identity** it
@@ -5,7 +5,7 @@ or a tool capability. When a tool changes, update this file first, then re-run t
5
5
  example compile gate with both tools (see `verdicts.md`, "Example gate").
6
6
 
7
7
  Pinned and re-verified against product source on 2026-10-05; the cratis CLI rows were
8
- re-probed on cratis 3.28.2 (Screenplay 4.66.0 bundled) after it shipped. Facts marked
8
+ re-probed on cratis 3.28.2 and 3.28.3 (Screenplay 4.66.0 bundled in both). Facts marked
9
9
  *source* were read with `git show <tag>:<path>`; facts marked *probed* were run against the
10
10
  installed tool.
11
11
 
@@ -14,8 +14,8 @@ installed tool.
14
14
  | Source | Pin | Notes |
15
15
  | --- | --- | --- |
16
16
  | Screenplay (language, compiler, standalone tool, MCP server) | **v4.66.0** (`c89198b`), published as `Cratis.Screenplay.Tool` 4.66.0 | Most behaviour below was probed on 4.63.1 (`7769dc4`) and re-checked on 4.66.0. 4.63.1 to 4.64.0 added only the `numbers exact` syntax (binding refuses it), the MCP roots fix from 4.63.2 and fence-registry plumbing. 4.65.0 adds the command named-rule `implementation` block and rejects `implementation` on concept rules, built-in property rules and whole-command `require`/`validate` bodies (a hints-only block binds as PLAY0268). 4.66.0 adds only an experimental VS Code repair bridge. `Semantics/Execution` is unchanged since 4.63.1. Example compile and the toolchain commands in this skill were run on 4.66.0 |
17
- | cratis CLI | **v3.28.2** (`141c499`, Cratis/cli#257, closes #253) | Bundles **Screenplay 4.66.0** (ESM v1 to v6), **Stage 4.24.1**, `Cratis.Arc.Screenplay` 22.50.5, Chronicle 19.32.0, Fundamentals 7.22.8, Generation 0.18.0 (`Directory.Packages.props` at the tag). Same compiler as the standalone tool, so the two agree on binding and diagnostics; they still differ on file-mode imports. v3.28.1 and earlier (including v3.28.0 and the probed v3.27.1) bundled Screenplay 4.60.1 and Stage 4.24.0 (ESM v1 to v5, MCP roots bug, false PLAY0285, Automation/Translate refused at binding) |
18
- | Stage | **v4.24.1** (`2cadf59`) | Pins Screenplay 4.66.0, Arc 22.50.5 and Chronicle 19.32.0 for its own build and the sandbox host image (`cratis/chronicle:19.32.0-development`); admits ESM schema v1 to v3 (v4.24.0, `fa48546`, pinned Screenplay 4.60.0); bundled by cratis 3.28.2. 4.24.1 adds `STAGE-ESM-024` to the surface ledger only; no admission change. The scaffold profile is unchanged at 4.24.1: rendered apps use .NET 10, **Arc 22.25.0**, **Chronicle 19.8.1** and a React/Vite frontend scaffold (Components 4.14.0, Scene 4.2.0) |
17
+ | cratis CLI | **v3.28.3** (`8b43fef`, Cratis/cli#260) | Bundles **Screenplay 4.66.0** (ESM v1 to v6), **Stage 4.24.2**, `Cratis.Arc.Screenplay` 22.50.5, Chronicle 19.32.0, Fundamentals 7.22.8, Generation 0.18.0 (`Directory.Packages.props` at the tag): otherwise as v3.28.2, so Screenplay behaviour is identical. `cratis render` no longer emits `CLI-RENDER-003`; an evolved event is reported with Stage's `STAGE-ESM-026` (`ScreenplayPlanning.cs` at the tag; probed). v3.28.2 (`141c499`, Cratis/cli#257, closes #253) bundled Stage 4.24.1 and the same Screenplay. Same compiler as the standalone tool, so the two agree on binding and diagnostics; they still differ on file-mode imports. v3.28.1 and earlier (including v3.28.0 and the probed v3.27.1) bundled Screenplay 4.60.1 and Stage 4.24.0 (ESM v1 to v5, MCP roots bug, false PLAY0285, Automation/Translate refused at binding) |
18
+ | Stage | **v4.24.2** (`32dcac4`, Cratis/Stage#205, closes #165) | Admits ESM v4: initial-revision events render as before, any evolved event and its dependent scope is refused with `STAGE-ESM-026`, historical typed-context references with `STAGE-ESM-025`; migration rendering is Stage#204 (needs Screenplay#71); v5 and v6 stay `STAGE-ESM-016`; the Host runtime still refuses evolved events. The cratis CLI bundles it since 3.28.3; 3.28.2 bundled 4.24.1 (v4.24.1, `2cadf59`: below). Pins Screenplay 4.66.0, Arc 22.50.5 and Chronicle 19.32.0 for its own build and the sandbox host image (`cratis/chronicle:19.32.0-development`); admits ESM schema v1 to v3 at 4.24.1 (v4.24.0, `fa48546`, pinned Screenplay 4.60.0); bundled by cratis 3.28.2. 4.24.1 adds `STAGE-ESM-024` to the surface ledger only; no admission change. The scaffold profile is unchanged at 4.24.1: rendered apps use .NET 10, **Arc 22.25.0**, **Chronicle 19.8.1** and a React/Vite frontend scaffold (Components 4.14.0, Scene 4.2.0) |
19
19
  | Arc | **v22.50.5** (`eefd098`) | `[ExecuteCommandsAsSystem]` since v20.56.0; `[ProtectedDecision]` and `DecisionRead<T>` since v22.39.0. A Stage-rendered application is on 22.25.0, so `[ProtectedDecision]` is **not** available there |
20
20
  | Chronicle | **v19.32.0** (`f17a2ff`) | CHR0012 (`EventTypeShouldAvoidNullableProperties`) and CHR0034 (`PiiOnEventSourceId`) exist. Open runtime defects at v19.32.0: #3744 (unique claims not settled by the store on SQL and InMemory), #4123 (constraint index updates run after commit and fail silently), #4131 (composite unique constraints collide when a component contains the separator) |
21
21
 
@@ -29,7 +29,7 @@ global `dotnet` tool) shadows a newer one; confirm with `which -a cratis`.
29
29
 
30
30
  | | Standalone `screenplay` | `cratis screenplay ...` |
31
31
  | --- | --- | --- |
32
- | Version | 4.66.0 (this pin) | 3.28.2, bundling Screenplay 4.66.0 (3.28.1 and earlier bundled 4.60.1) |
32
+ | Version | 4.66.0 (this pin) | 3.28.3 or 3.28.2, bundling Screenplay 4.66.0 (3.28.1 and earlier bundled 4.60.1) |
33
33
  | ESM admitted by the binder | v1 to v6 (v6: clocks, application triggers, captures, reactions, Automation and Translate slices) | v1 to v6, the same binder (probed on 3.28.2: the Automation, Translate and capture examples of this corpus are `executableReady` over `cratis screenplay mcp`) |
34
34
  | `numbers exact` | syntax parses; binding refuses (PLAY0268, `executableReady: false`). Absent from the grammar page; documented only in `diagnostics.md` (PLAY0508 to PLAY0513) | same (probed on 3.28.2; 3.27.1 reported PLAY0001 "Unexpected 'numbers'") |
35
35
  | Cascade specs (a command spec listing events a reaction appends) | compiles | compiles on 3.28.2 (probed); before 3.28.2 reported a **false PLAY0285** (cli#242, still open on GitHub at the time of writing) |
@@ -76,7 +76,7 @@ producing directly (decision 0006).
76
76
  | Empty root | `state: "empty"`, `authoringAccepted: true`, PLAY0289 | probed |
77
77
  | Pin of the roots bug | fixed (from 4.63.2); see "MCP roots bug" below | source `McpConnection.cs` |
78
78
 
79
- ## cratis 3.28.2 (Screenplay 4.66.0)
79
+ ## cratis 3.28.3 and 3.28.2 (Screenplay 4.66.0)
80
80
 
81
81
  | Fact | Value | Evidence |
82
82
  | --- | --- | --- |
@@ -85,14 +85,14 @@ producing directly (decision 0006).
85
85
  | Output | JSON lines: a `diagnostics` array with `severity`, `code`, `message`, `location`, then either `{"path","files","diagnostics":N}` (N counts information too) or an error object. A passing folder run prints the file count | probed on 3.28.2 |
86
86
  | File versus folder | file mode compiles one document and **ignores imports** (cli#244). Validate the folder | probed |
87
87
  | MCP | `cratis screenplay mcp <root>`, or no argument inside a project: the server locates the model itself (existing `.play` files, else `Source/`/`src/`, else a new `Screenplay/` folder) unless `.cratis/ai.json` sets `mcpServers.screenplay.root`; 29 tools and the same `read-workspace` views as the standalone tool, including `event-sources`, `event-streams` and `command-routes` (probed on 3.28.2; the 4.60.1 bundle had no such views). Fails fast only when an explicitly configured root does not exist | source `ScreenplayMcpRoot.cs:20-37` |
88
- | Render | `cratis render` binds with the bundled compiler first, then the bundled Stage (4.24.1) admits; a v6 model reaches Stage and is refused whole with `STAGE-ESM-016` (probed on 3.28.2). See `renderable-subset.md` | source, probed |
88
+ | Render | `cratis render` binds with the bundled compiler first, then the bundled Stage (4.24.2 since 3.28.3; 4.24.1 in 3.28.2) admits; a v6 model reaches Stage and is refused whole with `STAGE-ESM-016` (probed on 3.28.2), and an evolved event is `STAGE-ESM-026` with no `CLI-RENDER-003` (probed on 3.28.3). See `renderable-subset.md` | source, probed |
89
89
  | `prologue interpret` | no `--no-llm` flag; LLM resolution and `screenplay generate` flags were checked on 3.27.0 and are unchanged in 3.28.2 (`--help` shows no `--no-llm`; the Prologue and Screenplay generate sources have no diff between the tags) | source, probed |
90
90
 
91
91
  ## Event sources and streams
92
92
 
93
93
  Declared since Screenplay v4.62.0 but not bound: PLAY0268, allocated-not-implemented ESM
94
94
  version (highest implemented: v6). Stage 4.24.0 and 4.24.1 admit ESM v1 to v3 and refuse with
95
- STAGE-ESM-016 (4.24.1 also records the v6 members as rejected `STAGE-ESM-024` in its ledger; users still see STAGE-ESM-016). Details and trackers: `sources-and-streams.md`.
95
+ STAGE-ESM-016; Stage 4.24.2 admits v4 and refuses v5 and v6 with STAGE-ESM-016 (4.24.1 also records the v6 members as rejected `STAGE-ESM-024` in its ledger; users still see STAGE-ESM-016). Details and trackers: `sources-and-streams.md`.
96
96
 
97
97
  ## MCP roots bug (4.63.1 and earlier; fixed in 4.63.2; not present in cratis 3.28.2)
98
98
 
@@ -13,6 +13,7 @@
13
13
  { "kind": "skill-contains", "value": "A handler never binds" },
14
14
  { "kind": "skill-contains", "value": "references/sources-and-streams.md" },
15
15
  { "kind": "skill-contains", "value": "STAGE-ESM-016" },
16
+ { "kind": "skill-contains", "value": "STAGE-ESM-026" },
16
17
  { "kind": "skill-contains", "value": "authorable and validatable" }
17
18
  ]
18
19
  }
@@ -20,15 +20,15 @@ reading in this skill is not a render result.
20
20
 
21
21
  | Source | Pin | Notes |
22
22
  | --- | --- | --- |
23
- | Stage | `v4.24.1` (`2cadf59`) | Renderer, sandbox host, spec runner; pins Screenplay 4.66.0, Arc 22.50.5, Chronicle 19.32.0 (v4.24.0, `fa48546`, pinned Screenplay 4.60.0) |
24
- | cratis CLI | `v3.28.2` (`141c499`) | `cratis render`, `cratis run`; bundles Stage 4.24.1 and Screenplay 4.66.0 (Cratis/cli#253, shipped in Cratis/cli#257). v3.28.1 and earlier (v3.28.0 and v3.28.1 verified in `Directory.Packages.props`) bundled Stage 4.24.0 and Screenplay 4.60.1 |
23
+ | Stage | `v4.24.2` (`32dcac4`) | Renderer, sandbox host, spec runner; pins Screenplay 4.66.0, Arc 22.50.5, Chronicle 19.32.0; 4.24.2 admits ESM v4 models and refuses evolved events (`STAGE-ESM-025`, `-026`) (`v4.24.1`, `2cadf59`, admitted ESM v1 to v3; v4.24.0, `fa48546`, pinned Screenplay 4.60.0) |
24
+ | cratis CLI | `v3.28.3` (`8b43fef`) | `cratis render`, `cratis run`; bundles Stage 4.24.2 and Screenplay 4.66.0 (Cratis/cli#260; `Directory.Packages.props` at the tag). v3.28.2 (`141c499`, Cratis/cli#253, shipped in Cratis/cli#257) bundled Stage 4.24.1 and Screenplay 4.66.0. v3.28.1 and earlier (v3.28.0 and v3.28.1 verified in `Directory.Packages.props`) bundled Stage 4.24.0 and Screenplay 4.60.1 |
25
25
  | Rendered applications | Arc `22.25.0`, Chronicle `19.8.1`, .NET 10 | The scaffold profile (`CratisBackendApplicationScaffoldProfile.cs`), unchanged at 4.24.1 although Stage itself builds on Arc 22.50.5 and Chronicle 19.32.0; frontend Components 4.14.0, Scene 4.2.0 |
26
26
 
27
27
  Everything below was read at those tags (`Source/Rendering.Cratis/**`, `README.md`,
28
28
  `Documentation/**` in Stage; `Source/Cli/Commands/Render/**` and
29
29
  `Documentation/reference/screenplay.md` in the CLI), and the vertical in
30
30
  [references/render-example.md](references/render-example.md) was rendered, built and
31
- tested with cratis 3.28.2. The full version table (Screenplay 4.66.0, Arc 22.50.5,
31
+ tested with cratis 3.28.2 (re-run on 3.28.3). The full version table (Screenplay 4.66.0, Arc 22.50.5,
32
32
  Chronicle 19.32.0 and the tool split) is in the `cratis-screenplay-toolchain` skill,
33
33
  `references/versions.md`. Rendered apps are on Arc 22.25.0, so `[ProtectedDecision]`
34
34
  (Arc 22.39.0 and later) is not available in code written into one.
@@ -75,7 +75,8 @@ Facts that surprise:
75
75
  captures, application triggers, clock specifications) binds and is then refused whole by
76
76
  Stage with `STAGE-ESM-016` (probed on 3.28.2); on cratis before 3.28.2 the bundled
77
77
  4.60.1 binder stopped it first with `PLAY0268`. A model that binds is not necessarily
78
- renderable: Stage admits ESM v1 to v3 only.
78
+ renderable: Stage admits ESM v1 to v4, and a v4 model renders only while no selected
79
+ event has evolved (`STAGE-ESM-026`, Stage 4.24.2).
79
80
  - **Render never builds, tests or runs** the output. A published render is admission and
80
81
  publication only; build and tests are separate results (see "Verify"). Admission can be
81
82
  green while a rendered Debug test fails (the example hit this with a query assertion).
@@ -93,8 +94,7 @@ rendered appends never carry event source type, event stream type or event strea
93
94
  Chronicle's defaults apply (Stage#177, #200, #201; Screenplay#407). Gap-fill the routing by
94
95
  hand; see `cratis-screenplay-toolchain` `references/sources-and-streams.md`.
95
96
 
96
- Whole-model admission needs ESM schema v1 to v3; anything else is `STAGE-ESM-016`. Stage 4.24.1 also lists the ESM v6 members (reactions, captures, application triggers, clock and capture specifications) as rejected `STAGE-ESM-024` in its surface ledger, but the version gate refuses the model first, so a v6 model reports `STAGE-ESM-016` only. Event
97
- generations (v4) also fail the CLI pre-check `CLI-RENDER-003`. The admitted vertical:
97
+ Whole-model admission needs ESM schema v1 to v4; v5 and v6 are `STAGE-ESM-016`. Stage 4.24.2 admits ESM v4 (Screenplay compiles a model with evolved events to v4): an event at its initial revision renders exactly as before, but any selected event above the initial revision, and every scope depending on it (a command producing it, a projection or reducer observing it, a specification using it), is refused with `STAGE-ESM-026` and nothing is emitted. A typed-context reference to a historical revision or property identity is refused with `STAGE-ESM-025`. Stage cannot render Chronicle event-type migrations yet (Cratis/Stage#204, which depends on Cratis/Screenplay#71), and Stage's runtime (`cratis run`, the Host) still refuses evolved events, so deliver evolved events as gap-fill. Stage 4.24.1 also lists the ESM v6 members (reactions, captures, application triggers, clock and capture specifications) as rejected `STAGE-ESM-024` in its surface ledger, but the version gate refuses the model first, so a v6 model reports `STAGE-ESM-016` only. The bundled Stage 4.24.2 (cratis 3.28.3) reports an evolved event with `STAGE-ESM-026` only (probed); cratis 3.28.2 bundled Stage 4.24.1 (3.28.1 and earlier: 4.24.0), refused a v4 model with `STAGE-ESM-016` and also reported `CLI-RENDER-003`. The admitted vertical:
98
98
 
99
99
  - concepts, composite types, collections and optional values;
100
100
  - `StateChange` slices with exactly one command and an unconditional `produces` whose
@@ -216,5 +216,5 @@ Use `cratis render` (journaled, recoverable publication) instead.
216
216
 
217
217
  Rewritten for #493. The earlier version described Stage 3.15.1 (no CLI, eight-file
218
218
  backend scaffold, `not empty`-only validation, no frontend, Arc 22.3.0); each claim was
219
- re-verified at Stage 4.24.0 and cli 3.27.1 and replaced, then re-run on Stage 4.24.1 and cli 3.28.2. See
219
+ re-verified at Stage 4.24.0 and cli 3.27.1 and replaced, then re-run on Stage 4.24.1 and cli 3.28.2 and on Stage 4.24.2 and cli 3.28.3 (an evolved event reports `STAGE-ESM-026`). See
220
220
  [references/admission.md](references/admission.md) for source disagreements.
@@ -1,6 +1,6 @@
1
1
  # Stage 4.24 admission: codes, specification rules and observed refusals
2
2
 
3
- Read at Stage `v4.24.0`, re-read at `v4.24.1` (`Source/Rendering.Cratis/Semantics/SemanticSurfaceLedger.cs`, `Documentation/guides/build-renderer-target.md`; 4.24.1 changed only the ledger, dependency pins and the Dockerfile) (`Source/Rendering.Cratis/CratisArtifactRenderPlanner.cs`,
3
+ Read at Stage `v4.24.0`, re-read at `v4.24.1` and `v4.24.2` (`SemanticCratisAdmission.EventRevisions.cs`, `SemanticEventLineageAdmission.cs`, ESM v4 section of `Documentation/guides/build-renderer-target.md`) (`Source/Rendering.Cratis/Semantics/SemanticSurfaceLedger.cs`, `Documentation/guides/build-renderer-target.md`; 4.24.1 changed only the ledger, dependency pins and the Dockerfile) (`Source/Rendering.Cratis/CratisArtifactRenderPlanner.cs`,
4
4
  `Semantics/SemanticCratisAdmission*.cs`, `SemanticSpecificationAdmission*.cs`,
5
5
  `PureTransitionAdmission.cs`, `SemanticImplementationAdmission.cs`) and cli `v3.28.2`
6
6
  (`Commands/Render/ScreenplayPlanning.cs`, unchanged since `v3.27.1`). Items marked *observed* were reproduced with
@@ -11,7 +11,7 @@ One blocking diagnostic fails the **whole** plan and nothing is published (exit
11
11
  Informational diagnostics (`PLAY0270` authoring metadata, `PLAY0469`, `STAGE-ESM-023`) do not.
12
12
 
13
13
  A refusal can come from four layers, and the code tells you which: compilation and binding
14
- (`PLAY*`, from the CLI's bundled Screenplay: 4.66.0 in cratis 3.28.2), execution planning (`PLAN-*`), Stage
14
+ (`PLAY*`, from the CLI's bundled Screenplay: 4.66.0 in cratis 3.28.3), execution planning (`PLAN-*`), Stage
15
15
  admission (`STAGE-*`) and the CLI itself (`CLI-RENDER-*`). A publication conflict (a
16
16
  modified managed file, an unmanaged file at a planned path, a manifest from another
17
17
  target or renderer) is a plain ownership error with no code. Keep the actual diagnostic or
@@ -40,17 +40,19 @@ model owner's decision.
40
40
  | `STAGE-ESM-013` | An event-context value other than `$context.occurred` mapped in `produces` | Map a command property when that preserves the meaning; otherwise gap-fill |
41
41
  | `STAGE-ESM-014` | A constraint Chronicle cannot reproduce (kind, scope, message; multi-claim in one command; optional or composite targets) | A different constraint is a requirement change for the model owner; otherwise gap-fill |
42
42
  | `STAGE-ESM-015` | Authorization Stage cannot render exactly: opaque (code) policy, role-claim URI, expression not requiring authentication, claim compared with a non-text value, authorized command without exactly one identifier | `require authenticated and ...`; text-backed claim targets |
43
- | `STAGE-ESM-016` | Model language or semantic version is not ESM v1 to v3 (event generations are v4; v5 and v6 constructs also raise the version) | Not fixable by editing: the model needs a newer renderer. Keep the model, record the gap, gap-fill |
43
+ | `STAGE-ESM-016` | Model language or semantic version is not ESM v1 to v4 (Stage 4.24.2; 4.24.1 and earlier: v1 to v3, so a v4 model was refused here); v5 and v6 constructs raise the version | Not fixable by editing: the model needs a newer renderer. Keep the model, record the gap, gap-fill |
44
44
  | `STAGE-ESM-017` | Read model or projection cannot render (property names that collide with Chronicle paths or expression syntax, mappings that overwrite the key or child identity, composite keys, `all`, the refused scope shapes below) | Reshape the projection without changing what it records, or record the gap |
45
45
  | `STAGE-ESM-018` | `$strings.` key missing in the default locale or containing formatting characters | Fix the strings |
46
46
  | `STAGE-ESM-019` | Reducer structure or body not admitted (outside a `StateView`, impure, does not compile) | An equivalent pure body, or gap-fill |
47
47
  | `STAGE-ESM-020` | Implementation body missing, changed (hash differs) or refused by the loader | Provide the body inside the model root |
48
48
  | `STAGE-ESM-021`, `-022` | Reducer typed-context or analysis failure; a construct outside the pure allowlist, or a generated name shadowing a reducer type | An equivalent pure body, or gap-fill |
49
+ | `STAGE-ESM-025` | Typed context references a historical event revision or a historical property identity (Stage 4.24.2); checked before `-026` | Reference the current revision; a historical reference is not renderable, so gap-fill |
50
+ | `STAGE-ESM-026` | A selected event, or an event a selected slice depends on (producing command, observing projection or reducer, specification, constraint target), is above its initial revision (Stage 4.24.2): `Event 'X' has evolved to revision N; Stage does not render event migrations yet.` The whole selection is refused, nothing is emitted | Not fixable by editing without dropping the evolution. Stage#204 (needs Screenplay#71) tracks migration rendering; gap-fill the evolved events and hand-write the migrations (`cratis-chronicle-event-type-migration`). A scoped slice of initial events that depends on no evolved event still renders |
49
51
  | `STAGE-ESM-024` | Ledger-only (4.24.1): every ESM v6 surface member is dispositioned Rejected. Not emitted on its own: the version gate raises `STAGE-ESM-016` first and refuses the whole v6 model | As `STAGE-ESM-016`: keep the model, record the gap, gap-fill |
50
52
  | `STAGE-ESM-023` | Information: transition bodies analysed | none |
51
53
  | `STAGE-CRATIS-001` to `-005` | Profile or `scene.json` not the package-owned shape; unrecognized or missing scaffold input; artifact path collision; a modeled module or feature that would render into the reserved `Customizations/` | Rename the module or feature (005) |
52
54
  | `STAGE-AUTH-001` | Authorization cannot be rendered faithfully | As `STAGE-ESM-015` |
53
- | `CLI-RENDER-001`, `-002`, `-003` | Unknown target; invalid rendering name; event generations (ESM v4) | Fix the option, or the model |
55
+ | `CLI-RENDER-001`, `-002` | Unknown target; invalid rendering name (`CLI-RENDER-003`, event generations, was reported by cratis 3.28.2 only) | Fix the option, or the model |
54
56
 
55
57
  `STAGE-CRATIS-FILE-001`, `-INLINE-001`, `-QUERY-001`, `-KEY-001`, `-KEY-002`,
56
58
  `-PROJECTION-001` and `STAGE-EVENT-001` come from the legacy syntax renderer and the direct
@@ -1,6 +1,6 @@
1
1
  # Example: a model inside the Stage 4.24 renderable subset
2
2
 
3
- A complete marina-berth model that `cratis render` 3.28.2 accepts, followed by what the
3
+ A complete marina-berth model that `cratis render` 3.28.2 and 3.28.3 accept, followed by what the
4
4
  render produced and how each claim was checked. Use it as a shape to stay inside when a
5
5
  model must be renderable; it is not a template for richer slices (see `admission.md`).
6
6
 
@@ -105,7 +105,7 @@ Why it is shaped this way:
105
105
 
106
106
  ## What was run
107
107
 
108
- All with cratis 3.28.2 (re-run end to end from 3.27.1: same counts) on a folder holding only `berths.play`:
108
+ All with cratis 3.28.2 (re-run end to end from 3.27.1: same counts; admission and publication re-run on 3.28.3 with Stage 4.24.2: the same 30 artifacts) on a folder holding only `berths.play`:
109
109
 
110
110
  | Step | Command | Result |
111
111
  | --- | --- | --- |
@@ -18,7 +18,10 @@
18
18
  { "kind": "skill-contains", "value": "Stage#177" },
19
19
  { "kind": "skill-contains", "value": "never carry event source type" },
20
20
  { "kind": "skill-contains", "value": "STAGE-ESM-024" },
21
- { "kind": "skill-contains", "value": "`v4.24.1`" },
21
+ { "kind": "skill-contains", "value": "`v4.24.2`" },
22
+ { "kind": "skill-contains", "value": "STAGE-ESM-026" },
23
+ { "kind": "skill-contains", "value": "Stage 4.24.2 admits ESM v4" },
24
+ { "kind": "skill-contains", "value": "`v4.24.2`" },
22
25
  { "kind": "skill-contains", "value": "Cratis/cli#253" }
23
26
  ]
24
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.11.2",
3
+ "version": "7.11.3",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [