@cratis/pi 7.11.2 → 7.11.4

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 (58) 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 +4 -4
  4. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +1 -1
  5. package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +49 -7
  6. package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +8 -2
  7. package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +2 -2
  8. package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +12 -8
  9. package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +1 -1
  10. package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +11 -6
  11. package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +2 -2
  12. package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +7 -5
  13. package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +20 -13
  14. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +3 -3
  15. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +12 -4
  16. package/package/corpus/skills/cratis-screenplay-model-authoring/references/provenance.md +1 -1
  17. package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +1 -1
  18. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +3 -3
  19. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +1 -1
  20. package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +1 -1
  21. package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +1 -1
  22. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +13 -5
  23. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/provenance.md +1 -1
  24. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +5 -4
  25. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +7 -1
  26. package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +3 -2
  27. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +8 -0
  28. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +1 -0
  29. package/package/corpus/skills/cratis-screenplay-scenario-coverage/verification.json +1 -0
  30. package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +2 -2
  31. package/package/corpus/skills/cratis-screenplay-slice-design/references/field-lineage.md +1 -1
  32. package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +49 -6
  33. package/package/corpus/skills/cratis-screenplay-specifications/verification.json +4 -0
  34. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +8 -4
  35. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +1 -1
  36. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +4 -1
  37. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +2 -2
  38. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +4 -1
  39. package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +15 -14
  40. package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet.md +1 -1
  41. package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +5 -3
  42. package/package/corpus/skills/cratis-screenplay-toolchain/references/doc-contradictions.md +3 -3
  43. package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +41 -4
  44. package/package/corpus/skills/cratis-screenplay-toolchain/references/generated-responses-example.md +59 -0
  45. package/package/corpus/skills/cratis-screenplay-toolchain/references/provenance.md +1 -0
  46. package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +3 -4
  47. package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +6 -6
  48. package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +3 -3
  49. package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +3 -3
  50. package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +20 -18
  51. package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +5 -0
  52. package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +4 -3
  53. package/package/corpus/skills/cratis-screenplay-ui-composition/references/worked-flow.md +3 -3
  54. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +7 -7
  55. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +6 -4
  56. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/render-example.md +2 -2
  57. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +4 -1
  58. package/package.json +1 -1
@@ -11,7 +11,7 @@ Renderable is a strict subset of executable (`executable-subset.md`). Order of e
11
11
  `cratis render`: the CLI binds the model with its **bundled Screenplay** (4.66.0 in cratis 3.28.2, so PLAY0268
12
12
  and friends appear first), then Stage admits or
13
13
  rejects members. An ESM v6 model binds but Stage refuses it whole with `STAGE-ESM-016`
14
- (probed on 3.28.2; on before 3.28.2 it failed binding first, with PLAY0268).
14
+ (probed on 3.28.2; an ESM v7 model with generated values or responses fails binding first on the bundled 4.66.0 with `PLAY0268`, and Stage 4.24.2 would refuse it with `STAGE-ESM-016` too, tracked in Stage#201; on before 3.28.2 it failed binding first, with PLAY0268).
15
15
 
16
16
  ## What Stage 4.24 admits
17
17
 
@@ -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, v7 generated values and responses: 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 |
@@ -1,7 +1,7 @@
1
1
  # Event sources, streams and command routes
2
2
 
3
3
  What a model that uses `eventsource`, `stream`, `streamId` or a command route can and
4
- cannot do today. Facts read at Screenplay v4.66.0 (`SemanticModelBinder.CommandProductions.cs`),
4
+ cannot do today. Facts read at Screenplay v4.68.0 (`SemanticModelBinder.CommandProductions.cs`),
5
5
  Stage v4.24.0 (`SemanticCratisAdmission.cs`) and Chronicle v19.30.0 / Arc v22.49.0.
6
6
 
7
7
  | Activity | Today |
@@ -9,13 +9,13 @@ 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 model of v5 or later 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
- Why binding refuses: the constructs need an ESM version that is **allocated** but **not
16
- implemented**. The highest **implemented** ESM version is v6. At 4.66.0 the `PLAY0268`
17
- message names the allocated version; do not copy a number into a model, a skill or a
18
- decision, because the numbering is under decision (Cratis/Screenplay PR #401). Tracked in
15
+ Why binding refuses: no supported executable model (ESM) version admits these constructs. At 4.68.0 the
16
+ `PLAY0268` message reads "Event sources, streams and routes are not admitted by any supported executable model
17
+ (ESM) version yet (#302)." They have no ESM version number: by decision 0025 a number is assigned only at a
18
+ release-ready admission, so do not copy a number into a model, a skill or a decision. Tracked in
19
19
  Cratis/Screenplay#407 (increment 2 of #302).
20
20
 
21
21
  Stage: even when a model uses none of these constructs, Stage 4.24.0 renders appends
@@ -27,7 +27,7 @@ Re-checked against Screenplay v4.66.0 and cli v3.28.2 where marked [probed] or [
27
27
  23. `@` escapes are mandatory for `tag`, `authorize`, `produces`, `reads`, `file`, `validate`, `sequence`, `occurred`, `causedBy`, `namespace`, `correlation`, `causation`, and projection `key`/`parent`/`with` as names.
28
28
  24. Comments do not survive canonicalizing edits (PLAY0288 reprint; `droppedCommentCount`); keep durable rationale in `description` text, not `//`.
29
29
  25. MCP writes: propose, review, approval, apply by the identity owner (the session that owns the MCP connection); other subagents return edit requests; proposals are connection-local, at most 16 (`cratis-screenplay-model-authoring`).
30
- 26. Future syntax (`generated`, `returns`, operations, systems, eventsource/stream) parses but never binds; never invent ADR-planned syntax (`derive`, `provide`, `advisory`, `origin`, subject marks, `order by`, paging, `occurred at`, `from` filters, `for each`).
30
+ 26. Future syntax (operations, systems, eventsource/stream) parses but never binds (not admitted by any supported ESM version); `generated` and `returns` bind from standalone 4.68.0 (ESM v7) and still report PLAY0268 on the 4.66.0 bundled in cratis 3.28.x; never invent ADR-planned syntax (`derive`, `provide`, `advisory`, `origin`, subject marks, `order by`, paging, `occurred at`, `from` filters, `for each`).
31
31
  27. Translate vs Automation is semantic: external facts become local facts in `Translate`; in-app event-to-event goes in `Automation`.
32
32
  28. Personas drive the board: a persona must list every policy on the path, including module-level `IsAuthenticated`.
33
33
  29. Sample specifications are never executed; their expected values (e.g. `.0000000Z` clock fraction, given==when clock boundary) are illustrative only.
@@ -38,13 +38,13 @@ Re-checked against Screenplay v4.66.0 and cli v3.28.2 where marked [probed] or [
38
38
 
39
39
  34. A `from <Event> key <property>` routes only if every such event carries that property: an event that frees or updates a row keyed by another stream's id must carry that id in its payload, or the row never changes. Whether the compiler reports a missing key property is unverified [to probe]; check by hand.
40
40
  35. `description`/`documentation` are authoring metadata: board, MCP and Prologue show them; `cratis render` never does (Stage#178). A rule only in prose is unenforced in rendered code; make it a rule layer, a spec or a recorded target requirement.
41
- 36. Any `system`/`operation` (v9) or `generated`/`returns` (v8) leaves the whole application without an executable model (PLAY0268), not just the slice: keep them out of executable/renderable scope.
41
+ 36. Any `system`/`operation`, event source or stream (not admitted by any supported ESM version), and `generated`/`returns` on a compiler before 4.68.0 (including the 4.66.0 in cratis 3.28.x), leaves the whole application without an executable model (PLAY0268), not just the slice: keep them out of executable/renderable scope. Even on 4.68.0 Stage 4.24.2 refuses generated values and responses (ESM v7) whole with `STAGE-ESM-016`; gap-fill.
42
42
  37. Personas are not in the ESM (Screenplay#254); specs cannot reference them. Write `given caller` as the roles/claims that stand for the persona.
43
43
  38. A rule that depends on stored state is `reads <View>` + `require <expr> message "..."` (stated intent; PLAY0268/0271 at binding are expected in design mode). The slice `description` must mark it NOT enforced in the model today (Screenplay#129/#209) and name the target: Arc `[ProtectedDecision]` + `DecisionRead<T>` (Arc v22.39.0 and later; not available in a Stage-rendered app on Arc 22.25.0), Chronicle DCB (`concurrency` scope), or a constraint where one fits. Forbidden: caller-supplied copies of state in `require`, boolean attestation inputs (`confirmsX == true`), rules hidden in `handler`/implementation-hint prose. An unguarded materialized read is unsafe for a protected decision.
44
44
 
45
45
  The SKILL.md top 12: 1, 4, 5, 6, 7, 10, 12, 13, 17, 18, 20, 21 (+ mode/version notes there). Traps 39 to 44 are tool traps added at the 4.66.0 pin.
46
46
  39. A handler never binds: PLAY0268 "Command '<n>' handler requires a constrained implementation attachment", with a file, a fence, `implementation` or `hint` alike. `implementation` and `hint` are accepted on a command handler, an operation execute/compensate phase and (from 4.65.0) a command property named rule, and are rejected on concept rules, built-in property rules and whole-command `require`/`validate` bodies; on a handler they are authoring intent only (no execution, lock or confirmation). A handler slice is gap-fill, not a customization of a rendered slice. [source, probed]
47
- 40. `numbers exact` parses on 4.66.0 but never binds (PLAY0268; ESM v7 is not admitted) and is PLAY0001 on older compilers; it is absent from `grammar.md`. Never use it in a model or example meant to execute. [probed]
47
+ 40. `numbers exact` parses on 4.66.0 to 4.68.0 but never binds (PLAY0268; "not admitted by any supported executable model (ESM) version yet") and is PLAY0001 on older compilers; it is absent from `grammar.md`. Never use it in a model or example meant to execute. [probed]
48
48
  41. MCP roots bug (4.63.1 and earlier, including the 4.60.1 bundled by cratis before 3.28.2; not present in 4.66.0 or cratis 3.28.2, probed): a dynamic-root server answers the roots request with an `id: null` error right after `notifications/initialized`; hosts treat it as fatal. `open-workspace.path` does not help. Start with a fixed root (`screenplay mcp <folder>`, `cratis screenplay mcp` in a project with `.cratis/ai.json`) or use 4.63.2 or later (cratis 3.28.2 or later). [source, probed]
49
49
  42. A symlinked model path is refused by the MCP server (macOS `/tmp` is a symlink); pass the physical path. Proposals are connection-local (at most 16); `apply` persists identities to `.screenplay/identities.json` and is not crash-atomic across files; never retry `apply` after `ApplyOutcomeUnknown`. [source]
50
50
  43. `modelRevision` is canonical semantic (line positions and descriptions do not change it; a file move only if it changes logical placement or application identity) and, without `identities.json`, changes with the root folder name; it is not comparable with a render's `semanticRevision`. Source identity for verdicts is the commit plus the digest from the source-identity helper (`cratis-screenplay-modeling-lifecycle` `references/verdicts-and-modes.md` "Source identity"). [probed]
@@ -60,13 +60,13 @@ do not block. The ESM then binds (and `read-workspace view=executable-model` rep
60
60
  comparison needs it). Binding is what makes a model renderable at all. V3 means "binds",
61
61
  never "specifications pass".
62
62
 
63
- - Report the ESM version the model needs: `V3 ready (screenplay 4.66.0, ESM v6)`,
63
+ - Report the ESM version the model needs: `V3 ready (screenplay 4.68.0, ESM v6)`,
64
64
  `V3 blocked: PLAY0268 x3 (list query, @pii) - design scope kept`.
65
65
  - A blocked V3 is not repaired by deleting protection or domain rules. Never remove `@pii`,
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; the 4.66.0 bundled by cratis 3.28.x refuses ESM v7 generated values and responses at binding with `PLAY0268`).
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
@@ -4,8 +4,8 @@ Every other Screenplay skill and reference points here instead of repeating a ve
4
4
  or a tool capability. When a tool changes, update this file first, then re-run the
5
5
  example compile gate with both tools (see `verdicts.md`, "Example gate").
6
6
 
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
7
+ Pinned and re-verified against product source on 2026-10-07 (standalone Screenplay 4.68.0); the cratis CLI rows were
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
 
@@ -13,9 +13,9 @@ installed tool.
13
13
 
14
14
  | Source | Pin | Notes |
15
15
  | --- | --- | --- |
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) |
16
+ | Screenplay (language, compiler, standalone tool, MCP server) | **v4.68.0** (`79801bf`), published as `Cratis.Screenplay.Tool` 4.68.0 | 4.67.0 changed only the MCP model-root defaults (no project: `Documents/Screenplay`; with a project root: the folder holding the `.play` files, else `Source` or `src`, else `Screenplay`). 4.68.0 admits **ESM v7**: generated command values and responses bind and execute (decision 0026, `Semantics/Versions.cs`; `generated-responses-example.md`); the existing compiled examples were recompiled on 4.68.0 with the same results as on 4.66.0. Most other 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` was unchanged from 4.63.1 through 4.66.0 (historical; 4.68.0 adds generated-value execution). Example compile and the toolchain commands in this skill were run on 4.66.0 |
17
+ | cratis CLI | **v3.28.3** (`8b43fef`, Cratis/cli#260) | Bundles **Screenplay 4.66.0** (ESM v1 to v6; it does not bind ESM v7, so `generated` and `returns` report `PLAY0268` there), **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. The bundled 4.66.0 compiler agrees with standalone 4.66.0 on binding and diagnostics for ESM v1 to v6 but not with standalone 4.68.0 (ESM v7); the two also 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 later, including v7 (generated values and responses; tracked in Stage#201), 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,15 +29,15 @@ 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) |
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`) |
32
+ | Version | 4.68.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
+ | ESM admitted by the binder | v1 to v7 (v6: clocks, application triggers, captures, reactions, Automation and Translate slices; v7: generated command values and responses) | v1 to v6 (3.28.3 bundles 4.66.0, so `generated` and `returns` fail binding with `PLAY0268`), the binder of 4.66.0 (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) |
36
36
  | Imports in file mode | follows imports | still ignores imports, reports false unknown-name warnings (PLAY0165, cli#244, open; probed on 3.28.2): validate the folder |
37
- | Used for | V1, V2, V3; MCP | `render`, `screenplay generate`, `prologue`, `run`; V1, V2 and V3 as well, since it bundles the same compiler |
37
+ | Used for | V1, V2, V3; MCP | `render`, `screenplay generate`, `prologue`, `run`; V1, V2 and V3 as well, with its bundled 4.66.0 compiler (cratis 3.28.3), which lacks ESM v7 that standalone 4.68.0 admits |
38
38
 
39
- **Routing rule.** With cratis 3.28.2 or later both tools compile and bind with Screenplay
40
- 4.66.0, so either gives V1 to V3. Prefer the standalone tool when it is installed (file mode
39
+ **Routing rule.** With cratis 3.28.2 or later both tools compile and bind the same
40
+ models up to ESM v6 (the cratis bundle is Screenplay 4.66.0, the standalone pin 4.68.0), so either gives V1 to V3 for models up to v6; a model with generated values or responses (ESM v7) binds only with the standalone tool. Prefer the standalone tool when it is installed (file mode
41
41
  follows imports); `cratis` is the route for rendering (V5), generation and Prologue. Projects
42
42
  set up by `cratis ai install` register `cratis screenplay mcp`, which runs the bundled
43
43
  compiler: on cratis 3.28.1 or earlier (all releases before 3.28.2) that is 4.60.1 and lags (ESM v5, false PLAY0285,
@@ -51,11 +51,12 @@ Only binding (MCP or `render`) prints these; neither `screenplay <folder>` nor
51
51
  `SemanticModelBinder.Structure.cs`, `SemanticModelBinder.SliceMembers.cs`,
52
52
  `SemanticModelBinder.Specifications.cs`.
53
53
 
54
- | Construct | cratis before 3.28.2 (Screenplay 4.60.1) reported (PLAY0268) | 4.66.0, standalone and cratis 3.28.2 |
54
+ | Construct | cratis before 3.28.2 (Screenplay 4.60.1) reported (PLAY0268) | 4.66.0 to 4.68.0, standalone and cratis 3.28.2 |
55
55
  | --- | --- | --- |
56
56
  | Automation or Translate slice | `Slice '<name>' of type '<type>' is not admitted by ESM v1.` | binds as ESM v6 |
57
57
  | Reaction | `Reaction '<n>' requires portable occurrence and effect semantics.` | binds |
58
58
  | Capture | `Capture '<n>' requires a portable compiled CDL plan.` | binds |
59
+ | Generated property, `returns` response, generated fixture or `then returns` | `PLAY0268` | `PLAY0268` on 4.66.0 and 4.67.0 (so on every cratis 3.28.x bundle); binds as ESM v7 from 4.68.0 (standalone only) |
59
60
  | Clock, trigger or capture specification | `... which the executable model does not admit yet - clocks, application triggers and capture records are proposed for ESM v6 in decision 0022.` | binds |
60
61
 
61
62
  The substring "is not admitted by ESM v1" still appears on 4.66.0 for constraints,
@@ -64,7 +65,7 @@ not prove an older compiler: read the construct it names. A v6 model that still
64
65
  on 4.66.0 names a different construct, for example a reaction that reads a view before
65
66
  producing directly (decision 0006).
66
67
 
67
- ## Standalone `screenplay` 4.66.0
68
+ ## Standalone `screenplay` 4.68.0
68
69
 
69
70
  | Fact | Value | Evidence |
70
71
  | --- | --- | --- |
@@ -76,7 +77,7 @@ producing directly (decision 0006).
76
77
  | Empty root | `state: "empty"`, `authoringAccepted: true`, PLAY0289 | probed |
77
78
  | Pin of the roots bug | fixed (from 4.63.2); see "MCP roots bug" below | source `McpConnection.cs` |
78
79
 
79
- ## cratis 3.28.2 (Screenplay 4.66.0)
80
+ ## cratis 3.28.3 and 3.28.2 (Screenplay 4.66.0)
80
81
 
81
82
  | Fact | Value | Evidence |
82
83
  | --- | --- | --- |
@@ -85,14 +86,15 @@ producing directly (decision 0006).
85
86
  | 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
87
  | File versus folder | file mode compiles one document and **ignores imports** (cli#244). Validate the folder | probed |
87
88
  | 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 |
89
+ | 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
90
  | `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
91
 
91
92
  ## Event sources and streams
92
93
 
93
- Declared since Screenplay v4.62.0 but not bound: PLAY0268, allocated-not-implemented ESM
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`.
94
+ Declared since Screenplay v4.62.0 but not bound: PLAY0268, "not admitted by any supported
95
+ executable model (ESM) version yet" (Screenplay 4.68.0, `SemanticModelBinder.CommandProductions.cs`; the
96
+ highest admitted version is v7). Stage 4.24.0 and 4.24.1 admit ESM v1 to v3 and refuse with
97
+ STAGE-ESM-016; Stage 4.24.2 admits v4 and refuses v5 and later (v6 reactions and clocks, v7 generated values and responses) 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
98
 
97
99
  ## MCP roots bug (4.63.1 and earlier; fixed in 4.63.2; not present in cratis 3.28.2)
98
100
 
@@ -136,7 +138,7 @@ meaning), #379 (`visualize-model` counts reactions); Stage#79 (render Automation
136
138
  Translate slices), Stage#165 (admit ESM v4), Stage#197 (`@pii` identifier renders as
137
139
  `[PII]` event source id); cli#242 (false PLAY0285 on the 4.60.1 bundle; fixed in effect by the 4.66.0 bundle but still open on GitHub), cli#243 (`validate --executable`),
138
140
  cli#244 (file mode ignores imports), cli#245 (`render --check`). The standalone tool at
139
- 4.66.0 has only the compile command and `mcp` (no `test`); the reference runner is library
141
+ 4.68.0 has only the compile command and `mcp` (no `test`; `screenplay --help` checked); the reference runner is library
140
142
  only. Until these land, "specifications written" or "bound" is never "specifications
141
143
  pass".
142
144
 
@@ -6,13 +6,18 @@
6
6
  { "kind": "skill-contains", "value": "references/versions.md" },
7
7
  { "kind": "skill-contains", "value": "PLAY0029" },
8
8
  { "kind": "skill-contains", "value": "--warnaserror" },
9
+ { "kind": "skill-contains", "value": "4.68.0" },
9
10
  { "kind": "skill-contains", "value": "4.66.0" },
11
+ { "kind": "skill-contains", "value": "references/generated-responses-example.md" },
12
+ { "kind": "skill-contains", "value": "not admitted by any supported ESM version" },
13
+ { "kind": "skill-contains", "value": "generated values and responses (ESM v7: Stage refuses it with `STAGE-ESM-016`, tracked in Stage#201)" },
10
14
  { "kind": "skill-contains", "value": "cratis screenplay validate" },
11
15
  { "kind": "skill-contains", "value": "cli#244" },
12
16
  { "kind": "skill-contains", "value": "`notifications/initialized`" },
13
17
  { "kind": "skill-contains", "value": "A handler never binds" },
14
18
  { "kind": "skill-contains", "value": "references/sources-and-streams.md" },
15
19
  { "kind": "skill-contains", "value": "STAGE-ESM-016" },
20
+ { "kind": "skill-contains", "value": "STAGE-ESM-026" },
16
21
  { "kind": "skill-contains", "value": "authorable and validatable" }
17
22
  ]
18
23
  }
@@ -269,9 +269,10 @@ module Invoicing
269
269
  ```
270
270
 
271
271
  The inline event targets `invoiceId` without copying it into payload; the
272
- projection obtains it from event context. At v4.66.0 a command `returns` clause
273
- (scalar or record) is authorable but syntax-only: binding reports `PLAY0268` until
274
- ESM v8 (`commands.md`, "Generated values and responses"). Form `on submit` and
272
+ projection obtains it from event context. A command `returns` clause (scalar or
273
+ record) binds and executes from standalone Screenplay 4.68.0 (ESM v7, `commands.md`,
274
+ "Generated values and responses"); the 4.66.0 bundled in `cratis` 3.28.x reports `PLAY0268`, and
275
+ Stage 4.24.2 does not render ESM v7 (`STAGE-ESM-016`, tracked in Stage#201). Form `on submit` and
275
276
  interaction `on success` response-name scopes, failure clearing and response
276
277
  execution remain unavailable.
277
278
  An existing success continuation does not imply a response contract.
@@ -58,8 +58,8 @@ payload field the event never declares, so the event payload line matters.
58
58
  - `identifier` marks which property names the event source. It neither generates the value nor
59
59
  fills it. Here the user supplies the berth. Other sources are a prefill (`populate via query`
60
60
  or `populate from item` when the user chose a berth on the previous screen) or a modeled
61
- selection. `generated identifier` is syntax-only at v4.66.0 (binding reports `PLAY0268` until
62
- ESM v8).
61
+ selection. `generated identifier` is ESM v7: it binds on standalone Screenplay 4.68.0 and reports `PLAY0268`
62
+ on the 4.66.0 bundled in `cratis` 3.28.x; Stage 4.24.2 does not render it.
63
63
  - The form is found through `action BookBerth`; neither screen names it.
64
- - Compiled with `screenplay` 4.66.0 `--warnaserror` and `cratis screenplay validate
64
+ - Compiled with `screenplay` 4.68.0 `--warnaserror` and `cratis screenplay validate
65
65
  --warnings-as-errors` 3.28.2.
@@ -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 later constructs raise the version (v6 reactions and clocks; v7 generated values and responses, tracked in Stage#201) | 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.4",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [