@cratis/pi 7.38.3 → 7.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/package/corpus/agents/screenplay-modeler.md +1 -1
  2. package/package/corpus/agents/screenplay-reviewer.md +1 -1
  3. package/package/corpus/product-sync.json +11 -11
  4. package/package/corpus/skills/cratis-chronicle-reactor/SKILL.md +2 -2
  5. package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +4 -2
  6. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/audit-format.md +1 -1
  7. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +1 -1
  8. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/public-events-and-direction.md +3 -6
  9. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +12 -7
  10. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +5 -6
  11. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translate-example.md +2 -5
  12. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +12 -15
  13. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +6 -15
  14. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/specifying-triggers-and-clock.md +1 -1
  15. package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +14 -15
  16. package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +14 -4
  17. package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +11 -13
  18. package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +10 -6
  19. package/package/corpus/skills/cratis-screenplay-command-surface/references/inline-events.md +23 -1
  20. package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +2 -2
  21. package/package/corpus/skills/cratis-screenplay-discovery/references/provenance.md +1 -1
  22. package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +13 -13
  23. package/package/corpus/skills/cratis-screenplay-event-modeling/references/invoicing-example.md +3 -7
  24. package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +9 -12
  25. package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +4 -4
  26. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md +1 -1
  27. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/intent-example.md +3 -8
  28. package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +9 -4
  29. package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +9 -7
  30. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +26 -6
  31. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +40 -0
  32. package/package/corpus/skills/cratis-screenplay-model-authoring/references/property-links.md +3 -1
  33. package/package/corpus/skills/cratis-screenplay-model-review/references/anti-patterns.md +1 -1
  34. package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +1 -1
  35. package/package/corpus/skills/cratis-screenplay-model-review/references/report-template.md +1 -1
  36. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +2 -2
  37. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/phases.md +1 -1
  38. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/verdicts-and-modes.md +3 -2
  39. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +5 -3
  40. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/worked-example.md +2 -6
  41. package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +2 -0
  42. package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +26 -18
  43. package/package/corpus/skills/cratis-screenplay-read-surface/references/equality-filters.md +208 -0
  44. package/package/corpus/skills/cratis-screenplay-read-surface/references/screen-patterns.md +2 -5
  45. package/package/corpus/skills/cratis-screenplay-read-surface/verification.json +4 -0
  46. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +20 -16
  47. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/delivery-protocol.md +1 -1
  48. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md +4 -3
  49. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +8 -8
  50. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/worked-example.md +2 -5
  51. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +2 -2
  52. package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +4 -1
  53. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/berth-reservations.md +8 -19
  54. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-design.md +8 -20
  55. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-example.md +9 -23
  56. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-examples.md +9 -3
  57. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +6 -5
  58. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/view-and-story-specs.md +2 -1
  59. package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +7 -4
  60. package/package/corpus/skills/cratis-screenplay-slice-design/references/field-lineage.md +1 -1
  61. package/package/corpus/skills/cratis-screenplay-slice-design/references/model-reasoning.md +2 -5
  62. package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +5 -10
  63. package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +8 -19
  64. package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +17 -25
  65. package/package/corpus/skills/cratis-screenplay-specifications/references/actions-beyond-commands.md +2 -1
  66. package/package/corpus/skills/cratis-screenplay-specifications/references/generated-fixtures.md +3 -3
  67. package/package/corpus/skills/cratis-screenplay-specifications/references/persona-callers-and-cases.md +2 -5
  68. package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +5 -4
  69. package/package/corpus/skills/cratis-screenplay-specifications/references/source-notes.md +10 -0
  70. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +3 -3
  71. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +2 -1
  72. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +2 -2
  73. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +10 -24
  74. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +1 -1
  75. package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +23 -17
  76. package/package/corpus/skills/cratis-screenplay-toolchain/references/automation-translate-example.md +4 -10
  77. package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet-example.md +11 -23
  78. package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet.md +1 -1
  79. package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +3 -3
  80. package/package/corpus/skills/cratis-screenplay-toolchain/references/doc-contradictions.md +4 -3
  81. package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-example.md +3 -7
  82. package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +40 -24
  83. package/package/corpus/skills/cratis-screenplay-toolchain/references/pdl-example.md +27 -69
  84. package/package/corpus/skills/cratis-screenplay-toolchain/references/preferred-syntax.md +73 -0
  85. package/package/corpus/skills/cratis-screenplay-toolchain/references/production-routes-and-filters.md +1 -1
  86. package/package/corpus/skills/cratis-screenplay-toolchain/references/provenance.md +1 -1
  87. package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +34 -31
  88. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +21 -0
  89. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +7 -1
  90. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +1 -1
  91. package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +4 -3
  92. package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +4 -4
  93. package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +17 -5
  94. package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +50 -34
  95. package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +7 -2
  96. package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +13 -18
  97. package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +4 -3
  98. package/package/corpus/skills/cratis-screenplay-ui-composition/references/worked-flow.md +3 -2
  99. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +32 -32
  100. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +58 -26
  101. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/rendered-application.md +17 -20
  102. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +18 -14
  103. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/scene-runtime.md +4 -3
  104. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +2 -2
  105. package/package.json +1 -1
@@ -0,0 +1,73 @@
1
+ <!-- Copyright (c) Cratis. All rights reserved. -->
2
+ <!-- Licensed under the MIT license. See LICENSE file in the project root for full license information. -->
3
+
4
+ # Preferred Screenplay syntax
5
+
6
+ Use these forms when writing or reviewing `.play`. Acceptance of an older
7
+ spelling is not a recommendation to teach it. Information diagnostics do not
8
+ fail `--warnaserror`; the corpus verification gate rejects the nine style codes
9
+ below even when a fence declares `expect`, unless an exact, reasoned migration
10
+ exception exists in the verifier's preferred-syntax allowlist. That allowlist also
11
+ covers deliberate legacy explanations in prose; stale entries fail.
12
+
13
+ ## Forms
14
+
15
+ | Construct | Preferred form | Accepted older form or redundancy | Diagnostic |
16
+ | --- | --- | --- | --- |
17
+ | Optional type | `T optional`, `T[] optional` | `T?`, `T[]?` | PLAY0479 (information) |
18
+ | Compliance | Header `concept X : String pii` or `secret`; body settings `pii reason`, `pii special health`, `secret scope namespace` | `@pii`, `@sensitive`, `sensitive`; `personal` is an accepted alias without a diagnostic | PLAY0565 (information); repeated markers warn PLAY0653 |
19
+ | Inline code | A construct header such as `validate`, followed by an indented language-tagged fence; descriptions use a tagged `text` fence, event documentation `markdown` | `validate csharp`, a language line above a bare fence, or a bare description fence | PLAY0397 (warning) |
20
+ | Event identity | Omit `id` for a new event; preserve `id "OldName"` for a renamed stored contract | `id` equal to the current event name | PLAY0471 (information) |
21
+ | Source/stream identity | Omit `id` unless preserving a previous stored name | A pin equal to the current name | PLAY0507 (information) |
22
+ | Production route | Inherit the command's route | Repeating the same `stream` / `streamId` on a production | PLAY0664 (warning) |
23
+ | Imports | Import only declarations not already declared by the application | Importing the application's own names | PLAY0290 (warning) |
24
+ | Interaction guard | Block-form `when` alternatives | Opaque interaction `where` on click, double click or select | PLAY0564 (warning or information) |
25
+ | Projection transition cardinality | Source binding emits `One` | Constructed/deserialized ESM v1–v3 `ZeroOrOne` / `Many` | PLAY0445 (warning; ESM-only, not a source spelling) |
26
+
27
+ `query Q => observable?` is not a legacy optional type suffix and has no keyword
28
+ replacement. Reaction/Translate `where` is current syntax, not an interaction
29
+ legacy guard. Keep a real rename pin; do not remove it to resemble a new event.
30
+
31
+ ## Command productions
32
+
33
+ **Cratis convention:** prefer inline `produces event <Name>` when one command
34
+ owns the event. Declare payload types and mappings together; omit `for` to use
35
+ the command identifier and never copy that identifier into the event payload.
36
+ For an event shared by commands or reactions, keep a standalone `event` and use
37
+ plain `produces <Name>` with explicit `for <identifier>` on commands. Reactions
38
+ cannot declare inline events; omission there follows the triggering event's
39
+ source, and clock/application triggers require a destination.
40
+
41
+ Plain command production omission is accepted *legacy omission behavior*, not
42
+ identifier inference: it can use allocation or a sibling's resolved destination.
43
+ PLAY0478 is advice, not a forbidden style code or permission to retarget a stored
44
+ contract automatically. PLAY0469 concerns payload design and contract impact;
45
+ it is not a syntax-style ban either. Neither are PLAY0516, PLAY0553 or PLAY0520.
46
+ Read command-surface [inline events and destinations](../../cratis-screenplay-command-surface/references/inline-events.md)
47
+ for mixed destinations, extraction and generation evolution.
48
+
49
+ **Stage caveat:** rendered Arc commands ignore production `for` (Stage#187).
50
+ An authored destination is not proof of rendered routing; verify the target
51
+ implementation separately.
52
+
53
+ ## Navigation `by` and form `columns`
54
+
55
+ Both are current, not legacy (settled in Screenplay#688, v4.145.1). Screen
56
+ navigation passes the target's key with `by <parameter>` (`on row-click navigate
57
+ to InvoiceDetail by invoiceId`) and further values with `parameter <name> from
58
+ <binding>`; navigation inside an interaction block passes values with `with <name>
59
+ from <binding>`. A form's `columns auto|manual` chooses which command properties
60
+ it shows and in which order; `layout`/`place` positions them. Use whichever the
61
+ case needs; neither has a style diagnostic.
62
+
63
+ ## Verified product sources
64
+
65
+ Screenplay **v4.145.0** (syntax unchanged from 4.144.0):
66
+ `Documentation/screenplay/types.md:23-25`, `concepts.md:34-37,142-146`,
67
+ `ast-compatibility.md:68`, `commands.md:80-90,136-176,503`,
68
+ `events.md:114,118-120`, `event-sources.md:7,86,132`, `reactions.md:298-312`,
69
+ `interactions.md:105-107`, `folders.md:418-421`, `diagnostics.md:825,979-987,1013,1084,1105-1120,1271`.
70
+ Printer: `Source/DotNET/Screenplay/Printing/ScreenplaySyntaxText.cs:41`,
71
+ `ScreenplayPrinter.Expressions.cs:18-32`, `ScreenplayPrinter.Commands.cs:481-530`.
72
+ Navigation and forms: Screenplay v4.145.1 `glossary.md:65`, `forms.md:40`; https://github.com/Cratis/Screenplay/issues/688.
73
+ The published contract is the selector's authority, not this hand-written table.
@@ -108,7 +108,7 @@ contract. A consumer admitting v10 must include all three, not just identity.
108
108
  Composite **read-model** keys are separate and remain unadmitted (PLAY0268, #599).
109
109
 
110
110
  Previous CLI 3.46.1/Stage 4.52.0 refused versions above v7 before planning.
111
- The pinned CLI/Stage pair (`versions.md`) admits through v10 to construct checks: production overrides
111
+ The pinned CLI/Stage pair (`versions.md`) admits through v13 to construct checks: production overrides
112
112
  still refuse STAGE-ESM-036 and reaction filters STAGE-ESM-035; reducer filters render.
113
113
  A supported version number alone never proves target support or a passing render.
114
114
 
@@ -74,7 +74,7 @@ by Martin Dilger and Nebulit GmbH (https://nebulit.de), used with the explicit c
74
74
  ESM v7 and v11 allocations; added numbers-exact, concurrency, approval-policy, visualization,
75
75
  bodied-reducer, file-mode and cascade rows.
76
76
  - Corrected the code-attachment rule (a handler never binds, with or without `hint`), the
77
- automation rendering rule (Stage renders no Automation or Translate slices) and the
77
+ historical automation rendering rule (Stage 4.24 rendered no Automation or Translate slices; current admission is in `renderable-subset.md`) and the
78
78
  Stage output description (a React/Vite scaffold is emitted too).
79
79
  - Verdict names follow the frozen V1 to V5 (V2 is executable diagnostics, V3 binding-ready);
80
80
  the earlier "authoring accepted" meaning of V2 was dropped because it proves only that the
@@ -2,26 +2,26 @@
2
2
 
3
3
  ## Contents
4
4
 
5
- - Current admission (Stage 4.73.1)
5
+ - Current admission (Stage 4.83.0)
6
6
  - Historical: what Stage 4.24 admitted
7
7
  - Authoring consequences in renderable mode
8
8
  - Ownership, publication and recovery
9
9
  - Reading V5
10
10
 
11
- Current compiler/CLI/Stage pins: `versions.md`. CLI/Stage admit through v10 to construct
12
- checks, not blanket rendering; above v10 is CLI-RENDER-004 (direct Stage:
11
+ Current compiler/CLI/Stage pins: `versions.md`. CLI 3.56.0 / Stage 4.83.0 admit through v13 to construct
12
+ checks, not blanket rendering; above v13 is CLI-RENDER-004 (direct Stage:
13
13
  STAGE-ESM-016). v9 publication/foreign facts and v10 reaction identity,
14
14
  reaction filters and production overrides still refuse STAGE-ESM-032–036;
15
- reducer filters render. v8 routes reach specific checks (including routed
16
- read-model/query replay refusal STAGE-ESM-030). Case tables and v8+ `long`
15
+ reducer filters render. v8 routed read-model/query companion replay now renders; reserved names and
16
+ unformattable fixtures remain STAGE-ESM-030 (Stage
17
+ `v4.83.0:Documentation/reference/event-source-routing.md:62-72`). Case tables and v8+ `long`
17
18
  whole numbers apply to the current default. Previous CLI 3.46.1/Stage 4.52.0
18
19
  admitted only through v7 and applied neither newer rule. The historical v7 canonical-corpus check got
19
20
  STAGE-ESM-028/029 for generated values/responses
20
21
  (`v3.41.0:Source/Cli.Specs/for_ScreenplayPlanning/when_planning_an_esm_v7_model.cs`).
21
22
  The following detailed Stage 4.24.x results are **historical**, not reverified
22
- 4.73.1 claims. Non-positional enum numbers select v12 on standalone 4.139.0,
23
- but the CLI's 4.137.0 compiler does not bind them and Stage does not admit v12.
24
- Keep the pins and report the consumer gap. Run the bundled renderer before asserting current renderability.
23
+ 4.83.0 claims. Non-positional enum numbers select v12 and now render through
24
+ the CLI bundle; concept compliance selects v13 and also renders. Run the bundled renderer before asserting current renderability.
25
25
 
26
26
  Historical sources, all read at tags: Stage v4.24.1 `Source/Rendering.Cratis/Semantics/SemanticSurfaceLedger.cs`
27
27
  (an exhaustive map of every ESM member to Rendered, Rejected(code) or Ignored),
@@ -31,34 +31,38 @@ render itself before claiming renderability: this table is a reading of the sour
31
31
  render result.
32
32
 
33
33
  Renderable is a strict subset of executable (`executable-subset.md`). Order of events in
34
- `cratis render`: the CLI binds the **whole** model with its **bundled Screenplay** (4.137.0 in cratis
35
- 3.53.1, so PLAY0268 and friends appear first, even with `--scope`), then Stage admits or rejects
34
+ `cratis render`: the CLI binds the **whole** model with its **bundled Screenplay** (4.145.1 in cratis
35
+ 3.56.0, so PLAY0268 and friends appear first, even with `--scope`), then Stage admits or rejects
36
36
  members of the selected scope. (Historical, cratis 3.28.2: an ESM v6 model bound but Stage refused it
37
37
  whole with `STAGE-ESM-016`.)
38
38
 
39
- ## Current admission (Stage 4.73.1)
39
+ ## Current admission (Stage 4.83.0)
40
40
 
41
- Read at Stage `v4.73.1` (`Documentation/guides/build-renderer-target.md`, `SemanticVersionFeatures.cs`,
42
- `SemanticCratisAdmission*.cs`) and cli `v3.53.1`; source reading, not a render run (the worked
43
- example in `cratis-screenplay-render-and-gap-fill` was probed). Stage admits ESM v1 to v10 by
41
+ Read at Stage `v4.83.0` (`Source/Rendering.Cratis/Semantics/SemanticVersionFeatures.cs:100`,
42
+ `SemanticVersionFeatureAdmission.cs:25-45`, `SemanticCratisAdmission.Automation.cs:15-123`,
43
+ `Documentation/guides/build-renderer-target.md:306-347`) and CLI
44
+ `v3.56.0:Source/Cli/Commands/Render/RenderedSemanticVersions.cs:33-47`.
45
+ Source reading, not a render run. Stage admits ESM v1 to v13 by
44
46
  version; each construct it does not render refuses with its own code before any artifact is planned.
45
47
 
46
- | Area | Renders at 4.73.1 | Refused (code) |
48
+ | Area | Renders at 4.83.0 | Refused (code) |
47
49
  | --- | --- | --- |
48
- | Slice kinds | `StateChange`, `StateView` | `Automation`, `Translate`, every reaction, capture, application trigger and clock specification (`STAGE-ESM-001`/`-024`); a reaction that both produces and invokes (`-037`, Stage#207; Arc 22.72.0+ can run it, and the Arc the scaffold pins needs a proven override; hand-write one reactor, never split the reaction) |
49
- | Queries | optional keyed snapshot lookups; observable collections, keyed or unkeyed (since 4.49.0) | a snapshot list: `STAGE-ESM-010`; `filter`, `scoped to`, `performer`, composite `by`: `PLAY0268` at binding |
50
+ | Slice kinds | `StateChange`, `StateView`, supported event-triggered `Automation` with Chronicle reactors | Translate, captures, non-event triggers, opaque bodies, clock/trigger/capture specs (`-024`); `runs as` (`-034`), `from` (`-035`), mixed effects from one handler (`-037`, redelivery can duplicate events), unsupported conditions/destinations/mappings (`-039`). Keep refused reactions whole |
51
+ | Queries | optional keyed snapshot lookups; observable collections, keyed or unkeyed (since 4.49.0) | a snapshot list: `STAGE-ESM-010`; context/single-result filters, opaque `scoped to`/`performer` and composite `by`: PLAY0268. Caller-supplied collection equality filters bind since 4.143.0 as v14, above this bundle's v13 rendering ceiling; validated scalar keys render as primitives and convert inside the query (an out-of-rule key finds no instance), nested validated keys still refuse `-010` |
50
52
  | Authorization | role-only, authenticated, opaque pure policies, claim conditions with Uuid, Date, DateTime or text targets (numeric and Boolean claim matches render as always false; Stage 4.73.1 `IsSupportedClaimPath`), `not`/and/or; roles read through the identity's `RoleClaimType` | role-claim URIs, nested opaque policies, unresolved or non-portable policies, no single identifier, opaque-policy subjects that are not text, Uuid, Date or DateTime (`STAGE-ESM-015`; Stage 4.73.1 `IsTextualSubject`, a restriction separate from declarative claim targets) |
51
- | Event sources, streams, routes (ESM v8) | rendered, with routed specifications | reserved stored names, unformattable routed fixtures, unsupported routed replay (`STAGE-ESM-030`) |
53
+ | Event sources, streams, routes (ESM v8) | rendered, including routed read-model/query companion replay | reserved stored names, unformattable routed fixtures (`STAGE-ESM-030`) |
52
54
  | Numbers, case tables | whole numbers as `long` from ESM v8; case tables | out-of-`int` literals below v8 (`STAGE-ESM-031`) |
53
- | Generated values and responses (v7) | not rendered by Stage 4.73.1 (cli 3.53.1); rendered from standalone Stage 4.74.0 (UUID concepts, scalar and named responses) | `STAGE-ESM-028`/`-029` at 4.73.1 (Stage#175); `STAGE-ESM-038` for combinations the target cannot preserve |
54
- | Specifications | as in Stage's `admission.md` | `then no readmodel` (`-027`); an unauthenticated caller carrying roles or claims, `$context.occurred`-derived fixed values asserted (`-011`) |
55
+ | Generated values and responses (v7) | required scalar UUID concepts, scalar/named responses, generation fixtures and `then returns` | unsupported generated types (`-028`); routed/generated-rule/legacy-allocation/unique-constraint/name-collision or unsupported response combinations, unpinned unordered/projected expectations (`-038`); no blanket `-029` refusal |
56
+ | Enum numbers / compliance | explicit enum numbers (v12); concept `[PII]` or scoped `[Encrypted]` + `[NotAudited]` (v13), property-level `[NotAudited]` for protected command inputs | protected identities/enums (`-040`); explicit subject lineage remains unadmitted |
57
+ | Specifications | as in Stage's `admission.md` | direct appends and commands cascading into reactions (`-011`); `then no readmodel` (`-027`); an unauthenticated caller carrying roles or claims, `$context.occurred`-derived fixed values asserted (`-011`) |
55
58
  | v9 and v10 | reducer observer `from` filters | public events and event-target projections (`-032`); foreign origins and event-source captures (`-033`); directed Translate (`-024`); reaction `runsAs` (`-034`); reaction `from` filters (`-035`); per-production route overrides (`-036`) |
56
59
  | Evolved events | initial revisions only | `STAGE-ESM-026` (Stage#204) |
57
60
  | Descriptions, documentation | XML `<summary>`/`<remarks>` doc comments only (Stage#178 closed) | characters invalid in XML: `CLI-RENDER-005`; never behavior |
58
61
 
59
- CLI 3.53.1 bundles Screenplay 4.137.0. That compiler refuses `reads` and
60
- `concurrency` (PLAY0271), command `handler`s and concept `pii`/`secret` markers
61
- (PLAY0268) at binding, before Stage admission. Rows below naming Stage 4.24
62
+ CLI 3.56.0 bundles Screenplay 4.145.1. That compiler still refuses `reads` and
63
+ `concurrency` (PLAY0271), command `handler`s (PLAY0268) at binding, before Stage
64
+ admission. It binds v13 compliance and v14 collection filters; rendering refuses
65
+ v14 before planning. Rows below naming Stage 4.24
62
66
  behavior are historical.
63
67
 
64
68
  ## Historical: what Stage 4.24 admitted
@@ -87,14 +91,13 @@ whole automation is hand-written (gap-fill).
87
91
  | Constraints | unique property value, unique event occurrence; admitted even though Chronicle#4123 means index updates run after commit | intra-command multi-event change to one constraint; multi-claim in one command: 014 |
88
92
  | Authorization | authenticated, role, claim and logical policies; caller fixtures; ownership claims against text-backed targets | opaque policy code, role-claim URIs, a claim matched against a Uuid-backed subject or path: 015 |
89
93
  | Specifications | command-action scenarios: given events, `when <Command>`, `then` events (ordered or any order), `then readmodel`, `then query`, `then error` (naming a rendered constraint or message), `then denied`, `given caller`. Two narrow when-less routes: an unprotected single `then query` seeded by exactly one `given readmodel` whose key and values match (no given events, no caller), and a query-only denial (`given caller`, one `then query` with no results, `then denied`, a protected query, no role claims) | `then no readmodel`, `when append`, composite values, error codes not naming a rendered constraint: 011. Any other when-less specification (for example given events with `then query`) fails 011 |
90
- | Compliance | none | any `@pii` or `@sensitive` already fails binding (PLAY0268). The C# provider mapping (Stage v4.29.0, Stage#197) is `@pii` to `[PII]`, `@sensitive` to `[Encrypted]` + `[NotAudited]`, both to `[PII]` only |
94
+ | Compliance | none | any `pii` or `secret` already fails binding (PLAY0268) on the pinned CLI. The C# provider mapping (Stage v4.29.0, Stage#197) is personal data to `[PII]`, operational secrets to `[Encrypted]` + `[NotAudited]`, both to `[PII]` only |
91
95
 
92
96
  At standalone 4.127.0, compliance uses bare `pii`/`secret` (legacy markers are
93
97
  accepted with PLAY0565 information); either still refuses binding on that compiler.
94
98
  Standalone 4.142.0 admits concept compliance as v13 (from 4.141.0) with narrower refusals
95
- (command-surface `references/compliance.md`). CLI 3.53.1 bundles Screenplay
96
- 4.137.0, which refuses markers; standalone Stage 4.76.0 admits only through v12
97
- (Stage#345). Identity blocks,
99
+ (command-surface `references/compliance.md`). CLI 3.56.0 bundles Screenplay
100
+ 4.145.1 / Stage 4.83.0 and renders concept protection as v13. Identity blocks,
98
101
  purposes and event `subject` are authoring metadata, not provider realization;
99
102
  executing identity detail reads still refuses PLAY0268. Current source/stream
100
103
  routes are admitted as v8, including composite ids, not the historical binding
@@ -110,9 +113,9 @@ legacy ids or drop protected ids into routing to fit a renderer (PLAY0515).
110
113
  readmodel`). The seeded when-less `then query` only checks a lookup over a given read-model
111
114
  state; it proves no projection (Stage `SemanticSpecificationAdmission.Callers.cs`).
112
115
  - Use `$context.occurred` only; no `$context.identity.*` mappings.
113
- - A list query binds (unfiltered, or narrowed by one `by` key); Stage 4.73.1 renders it only as an
114
- `observable` collection, and refuses a snapshot list with `STAGE-ESM-010`. `filter`, `scoped to` and
115
- `performer` queries block binding of the whole application. Keep a list the domain needs and report
116
+ - A list query binds (unfiltered, or narrowed by one `by` key); Stage 4.83.0 renders it only as an
117
+ `observable` collection, and refuses a snapshot list with `STAGE-ESM-010`. Caller-supplied collection filters bind as v14 but block rendering;
118
+ context/single-result filters, opaque `scoped to` and `performer` block binding. Keep a list the domain needs and report
116
119
  the capability gap; marking it `observable` or keying it is a modeling decision for the user.
117
120
  - A `handler` (with or without `implementation` or `hint`) never binds; the slice is
118
121
  gap-fill, never "customized into" rendering.
@@ -137,7 +140,7 @@ legacy ids or drop protected ids into routing to fit a renderer (PLAY0515).
137
140
  `Customizations/styles.css`. The planner never reads it, and it never binds a modeled
138
141
  reaction or capture. A customization never makes a rejected model renderable.
139
142
  - `cratis render` does **not** build, test or run the application.
140
- - Stage 4.73.1's scaffold pins .NET 10 and Arc and Chronicle client/kernel releases
143
+ - Stage 4.83.0's scaffold pins .NET 10 and Arc and Chronicle client/kernel releases
141
144
  and emits a `.frontend/` React/Vite app (Components and Scene releases pinned too); these are not the latest
142
145
  releases (`cratis-stage-rendering-and-sandbox` `references/rendered-application.md`).
143
146
  `CratisEmbeddedScreenplayEnabled=false`; `Directory.Packages.props` is managed,
@@ -1,4 +1,25 @@
1
1
  [
2
+ {
3
+ "file": ".cratis/ai/skills/cratis-screenplay-model-authoring/references/mcp-loop.md",
4
+ "text": " 3 unsupported/unbound. `test` rejects `--no-color`. Hand off to the verdict",
5
+ "kind": "cliOption",
6
+ "value": "--no-color",
7
+ "reason": "Explicitly documents a rejected option, not a supported CLI argument; Screenplay v4.145.0 ModelTest.cs:22-26. Remove with the warning."
8
+ },
9
+ {
10
+ "file": ".cratis/ai/skills/cratis-screenplay-model-authoring/references/mcp-tools.md",
11
+ "text": "or unbound. `--no-color` is rejected (exit 2); there is no proposal or paging option.",
12
+ "kind": "cliOption",
13
+ "value": "--no-color",
14
+ "reason": "Explicit warning that test does not accept this flag; Screenplay v4.145.0 ModelTest.cs:22-26. Remove with the warning."
15
+ },
16
+ {
17
+ "file": ".cratis/ai/skills/cratis-screenplay-toolchain/references/verdicts.md",
18
+ "text": "is not proof of coverage. `test` rejects `--no-color` (exit 2).",
19
+ "kind": "cliOption",
20
+ "value": "--no-color",
21
+ "reason": "Negative option guidance, not a command recommendation; Screenplay v4.145.0 ModelTest.cs:22-26. Remove with the warning."
22
+ },
2
23
  {
3
24
  "file": ".cratis/ai/skills/cratis-screenplay-model-authoring/references/mcp-loop.md",
4
25
  "text": "4.63.1. Cratis CLI 3.28.2 bundles Screenplay 4.66.0 (probed: 29 tools and the same views);",
@@ -24512,12 +24512,17 @@
24512
24512
  "expectedSourceRevision",
24513
24513
  "limit",
24514
24514
  "offset",
24515
+ "proposalId",
24515
24516
  "scope",
24516
24517
  "specification"
24517
24518
  ],
24518
24519
  "inputSchema": {
24519
24520
  "type": "object",
24520
24521
  "properties": {
24522
+ "proposalId": {
24523
+ "type": "string",
24524
+ "description": "Outstanding proposal from this connection. Runs its retained candidate and identity catalog without refreshing, applying or mutating it; an externally changed base does not replace the snapshot."
24525
+ },
24521
24526
  "specification": {
24522
24527
  "type": "string"
24523
24528
  },
@@ -24534,7 +24539,8 @@
24534
24539
  "maximum": 200
24535
24540
  },
24536
24541
  "expectedSourceRevision": {
24537
- "type": "string"
24542
+ "type": "string",
24543
+ "description": "Echo sourceRevision from the first execution response on continuation. With proposalId, pins the candidate source rather than the current model."
24538
24544
  }
24539
24545
  },
24540
24546
  "required": [],
@@ -11,12 +11,13 @@
11
11
  ## Admission
12
12
 
13
13
  Sources, streams and command/specification routes bind and reference-execute as
14
- **ESM v8** on Screenplay 4.125.0. Current evidence: released `event-sources.md`,
14
+ **ESM v8** since Screenplay 4.125.0. Current evidence: released `event-sources.md`,
15
15
  `specifications.md`, `Versions.cs`; the complete example below compiled with
16
16
  `--warnaserror` and passed `screenplay test` on 4.125.0.
17
17
 
18
- The pinned CLI/Stage pair (`versions.md`) admits through v10 to construct checks, including v8
19
- routes. Routed read-model/query replay scenarios can still refuse STAGE-ESM-030;
18
+ The pinned CLI/Stage pair (`versions.md`) admits through v13 to construct checks, including v8
19
+ routes. Stage 4.83.0 renders routed read-model/query companion replay; reserved names and
20
+ unformattable fixtures remain STAGE-ESM-030 (`Documentation/reference/event-source-routing.md:62-72`);
20
21
  run admission before promising parity. Previous CLI 3.46.1/Stage 4.52.0 refused
21
22
  above v7 with CLI-RENDER-004. Keep routing intact when a target refuses it;
22
23
  never remove routing to obtain a render. Pins: `versions.md`. Per-production
@@ -7,9 +7,9 @@ bind as v8, v7 reaches Stage planning, reference tests have CLI/MCP routes, and
7
7
  exact numbers are documented in the grammar. Compiler syntax: `cheat-sheet.md`.
8
8
 
9
9
  1. Clean V1 is not executable: binding errors appear through MCP (V2), `render` or `cratis screenplay validate --executable` (bundled compiler, writes nothing). Neither `screenplay <folder>` nor plain `cratis screenplay validate` binds. [probed]
10
- 2. The Screenplay samples validate clean but are not all executable; copying their idioms (filtered queries, `@pii`, `today`, `reads`, `$causedBy`, templates, performers) breaks V3. [probed]
10
+ 2. The Screenplay samples validate clean but are not all executable; copying their idioms (context-filtered queries, enum/identity compliance, `today`, `reads`, `$causedBy`, templates, performers) can block V3. Caller-supplied collection equality filters bind since 4.143.0 (ESM v14); read read-surface `references/equality-filters.md`. [historical probes; current filter source checked]
11
11
  3. Know the target mode (design/executable/renderable) before writing; state it.
12
- 4. Plain `produces` without `for` means allocation in the ESM but "the identifier" in rendered code. Always write `for <identifier>`. [PLAY0478 probed]
12
+ 4. Plain `produces` without `for` means allocation in the ESM but "the identifier" in rendered code. Always write `for <identifier>` on a plain `produces <Name>`; inline `produces event <Name>` omits `for` and defaults to the identifier. [PLAY0478 probed]
13
13
  5. PLAY0029 is a warning: a misspelled keyword (or `type` inside a slice) drops the construct silently. Use `--warnings-as-errors`. [probed]
14
14
  6. Validate the folder: `cratis screenplay validate file.play` ignores imports and reports false unknown-name warnings (cli#244, open); the standalone tool follows them. [probed on 3.28.2 and 4.66.0]
15
15
  7. Current V1 warns on absent projection/children/nested targets (PLAY0514) and unknown removal/capture events (PLAY0166). Opt-in field-origins checks find unmapped declared fields (PLAY0534) where coverage is known; still walk lineage for skipped/opaque shapes.
@@ -31,7 +31,7 @@ exact numbers are documented in the grammar. Compiler syntax: `cheat-sheet.md`.
31
31
  23. `@` escapes are mandatory for `tag`, `authorize`, `produces`, `reads`, `file`, `validate`, `sequence`, `occurred`, `causedBy`, `namespace`, `correlation`, `causation`, and projection `key`/`parent`/`with` as names.
32
32
  24. Canonicalizing edits can drop unplaceable comments (PLAY0288; inspect `droppedCommentCount`); keep durable rationale in fenced Markdown `documentation`, not `//`, and summaries in `description`. Documentation survives canonical printing but changes neither executable bytes nor `modelRevision`; it is not rendered code.
33
33
  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`).
34
- 26. Operations/systems and `numbers exact` source mode remain unadmitted. Qualifying retained non-route Double literals instead select published v11 at 4.135.0. Sources/streams/routes bind as v8, public/direction forms v9, identity/overrides/filters v10. The pinned CLI (`versions.md`) reaches Stage construct checks through v10; v11 needs explicit consumer admission. See `versions.md`.
34
+ 26. Operations/systems and `numbers exact` source mode remain unadmitted. Qualifying retained non-route Double literals instead select published v11 at 4.135.0. Sources/streams/routes bind as v8, public/direction forms v9, identity/overrides/filters v10. The pinned CLI (`versions.md`) reaches Stage construct checks through v13; v14 filters remain refused. See `versions.md`.
35
35
  27. Translate crosses the public boundary: inbound foreign/data to private local facts; outbound private facts to one local public type. Public metadata needs explicit direction; a quoted origin is an unverified store name, not a path. Commands never publish public events. In-app private follow-up is Automation; see public-events-and-direction in the method skill.
36
36
  28. Personas drive the board: a persona must list every policy on the path, including module-level `IsAuthenticated`.
37
37
  29. A sample's source check is not execution. Run selected admitted specifications through `screenplay test`/MCP; given==when clock still fires no scheduled occurrence.
@@ -42,7 +42,7 @@ exact numbers are documented in the grammar. Compiler syntax: `cheat-sheet.md`.
42
42
 
43
43
  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.
44
44
  35. `description`/`documentation` are authoring metadata: board, MCP and Prologue show them; `cratis render` emits them only as XML doc comments (Stage#178 closed; invalid XML characters are CLI-RENDER-005), never as behavior. A rule only in prose is unenforced in rendered code; make it a rule layer, a spec or a recorded target requirement.
45
- 36. One unadmitted construct (operations, `numbers exact`, composite view keys, refusal/redelivery) blocks whole-model binding. Routing is admitted v8, unlike composite view keys (#599); current CLI admits through v10 to construct checks. Overrides replace the whole route, filters never match unrouted facts. Do not remove routing or authorization to render a model.
45
+ 36. One unadmitted construct (operations, `numbers exact`, composite view keys, refusal/redelivery) blocks whole-model binding. Routing is admitted v8, unlike composite view keys (#599); current CLI admits through v13 to construct checks. Overrides replace the whole route, filters never match unrouted facts. Do not remove routing or authorization to render a model.
46
46
  37. Personas remain outside ESM bytes, but 4.127.0 specifications accept `given caller as <Persona>`: one authenticated deterministic policy witness, not every matching caller. Inspect the chosen `or` branch; use explicit callers when synthesis is refused.
47
47
  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) and name the target: Arc `[ProtectedDecision]` + `DecisionRead<T>` (Arc v22.39.0 and later; available to gap-fill on Stage 4.51.3's Arc 22.50.5/Chronicle 19.32.0, not emitted protection), 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.
48
48
 
@@ -53,7 +53,7 @@ V3 are read from the MCP server or from a render, V1 and V5 from the CLIs.
53
53
  Needs an MCP connection (V2 and V3 belong to the session that owns MCP; a subagent without
54
54
  MCP reports `V2 not run: no MCP in this agent` unless the brief supplies fresh output). Without
55
55
  MCP, a binding check exists: `cratis screenplay validate --executable <root>` binds with the
56
- **bundled** compiler (CLI 3.53.1 bundles Screenplay 4.137.0, not the standalone 4.142.0), never
56
+ **bundled** compiler (CLI 3.56.0 bundles Screenplay 4.145.1, not standalone 4.145.0), never
57
57
  renders or writes files, and exits 5 with "The model does not bind into an executable semantic
58
58
  model" when it does not. Report it as `V3 (bundled 4.137.0 via cratis validate --executable)`; it
59
59
  gives binding errors, not the V2 `executable-diagnostics` view, so V2 stays MCP-only.
@@ -89,8 +89,8 @@ never "specifications pass".
89
89
  Bare `pii`/`personal` and `secret` bind as v13 on standalone 4.142.0; reasons
90
90
  remain report-only PLAY0270. Enum/identity compliance and personal or explicitly
91
91
  subject-scoped secret event values with an explicit `subject` mark still refuse
92
- PLAY0268 at binding only. CLI 3.53.1 bundles Screenplay 4.137.0, which refuses
93
- markers; standalone Stage 4.76.0 admits only through v12 (Stage#345).
92
+ PLAY0268 at binding only. CLI 3.56.0 bundles Screenplay 4.145.1 / Stage 4.83.0 and renders v13
93
+ concept protection (not protected identities/enums or explicit subject lineage).
94
94
  V3 does not prove rendering.
95
95
  - A blocked V3 is not repaired by deleting protection or domain rules. Never remove `pii`,
96
96
  `secret`, authorization, list queries, automations or rules to reach V3; record the
@@ -104,13 +104,25 @@ never "specifications pass".
104
104
  ## V4: reference specifications run
105
105
 
106
106
  Run `screenplay test <root> [--filter <exact-address>] [--format text|json]` on
107
- 4.125.0, or MCP `run-specifications`. The compile command alone still does not
107
+ the standalone pin, or MCP `run-specifications`. The compile command alone still does not
108
108
  execute scenarios. Reference execution is in-memory: no external services or
109
109
  opaque code run. Record route, expected versus discovered/selected counts,
110
110
  passed, failed and unsupported outcomes. Exit 0 means all selected passed; 1
111
111
  failed, 2 could not run/invalid input or selection, 3 unbound or unsupported.
112
112
  Unknown filters refuse rather than select zero. No discovered specifications
113
- is not proof of coverage.
113
+ is not proof of coverage. `test` rejects `--no-color` (exit 2).
114
+
115
+ MCP selectors are `specification` (exact address/id) and `scope` (prefix);
116
+ both supplied mean intersection. `offset`/`limit` page results; continuation
117
+ requires `expectedSourceRevision`. On **Screenplay 4.145.0 and later**, pass
118
+ `proposalId` between proposal review and `apply` to run the retained candidate
119
+ read-only. Without that argument it runs the workspace. A candidate
120
+ V4 belongs only to its returned source revision, not to the disk model.
121
+ Unknown/applied/discarded/reopened proposals give `UnknownProposal`.
122
+ A statically impossible `then` reports PLAY0285: the whole model is unbound,
123
+ exit 3, and no specifications run. Details and source evidence:
124
+ [reference execution](../../cratis-screenplay-model-authoring/references/mcp-tools.md#run-reference-specifications).
125
+
114
126
  The reference runner returns unsupported for a specification that reads a reducer-built read
115
127
  model and for any construct whose evaluation needs an opaque body.
116
128
 
@@ -3,6 +3,7 @@
3
3
  ## Contents
4
4
 
5
5
  - Pin set
6
+ - Equality-filter rendering boundary
6
7
  - Two compilers, one rule
7
8
  - Commands and exit codes
8
9
  - Model notes gate
@@ -18,16 +19,16 @@ probe; older probes retain their original labels in the other references.
18
19
 
19
20
  | Source | Pin | Evidence |
20
21
  | --- | --- | --- |
21
- | Screenplay language, standalone tool and MCP | **4.144.0** (`b5da55a2`) | Released tag `v4.144.0` and its unchanged published contract; committed model notes and the standalone open-question gate; equality query filters admitted as ESM v14 since 4.143.0 |
22
- | cratis CLI | **3.53.1** | Released tag `v3.53.1`; source-checked, not a new render/browser probe |
23
- | Screenplay bundled by CLI | **4.137.0** | CLI `v3.53.1:Directory.Packages.props`; enum-number authoring, not v12 binding |
24
- | Stage bundled by CLI | **4.73.1** | Same file; Stage's own `Directory.Packages.props` also pins Screenplay 4.137.0 |
25
- | Latest standalone Stage released when this was checked | **4.76.0** (Screenplay 4.139.0) | Released tag `v4.76.0`; no cli release bundles Stage 4.74.0 to 4.76.0, so a cli user observes none of it. It admits ESM v1 to v12 (v11 from 4.75.0, v12 from 4.76.0), renders UUID-concept generated values and responses (4.74.0) and explicit enum numbers (4.76.0). Its scaffold pins match 4.73.1 (Arc 22.68.0, Chronicle 19.45.0, frontend pins); `Directory.Packages.props` takes Scene 4.21.0 |
26
- | Screenplay.Generation / CritterStack / Prologue bundled by CLI | **0.18.0 / 0.24.0 / 2.0.0** | CLI `v3.53.1:Directory.Packages.props`. Latest released: Generation 0.18.1, CritterStack 0.26.0, Prologue 2.0.0 (no release after 2.0.0); the newer Generation and CritterStack releases are not in a cli |
22
+ | Screenplay language, standalone tool and MCP | **4.145.0** (`bf58b489`) | Released tag `v4.145.0`, published NuGet tool and byte-identical Golden contract; read-only proposal specification execution with `proposalId`; model notes/open-question gate and ESM v14 equality filters retained |
23
+ | cratis CLI | **3.56.0** | Released tag `v3.56.0`; source-checked, not a new render/browser probe |
24
+ | Screenplay bundled by CLI | **4.145.1** | CLI `v3.56.0:Directory.Packages.props:8`; binds v12 enum numbers, v13 compliance and v14 collection filters |
25
+ | Stage bundled by CLI | **4.83.0** | Same file, line 10; Stage `v4.83.0:Directory.Packages.props` pins Screenplay 4.141.0; rendering admits through v13, not v14 |
26
+ | Historical standalone Stage source baseline | **4.76.0** (Screenplay 4.139.0) | First v12 enum-number rendering; generated UUID-concept values and responses shipped in 4.74.0, v11 admission in 4.75.0. Those capabilities are now in the CLI bundle; standalone Stage beyond 4.83.0 is not this baseline |
27
+ | Screenplay.Generation / CritterStack / Prologue bundled by CLI | **0.18.0 / 0.24.0 / 2.0.0** | CLI `v3.56.0:Directory.Packages.props:5-7,28-33`. Latest released: Generation 0.18.1, CritterStack 0.26.0, Prologue 2.0.0 (no release after 2.0.0); the newer Generation and CritterStack releases are not in a cli |
27
28
  | Cratis.Arc.Screenplay bundled by CLI | **22.54.0** | Same file; this is the generator package, not a blanket rendered-app dependency pin |
28
29
  | Chronicle / Fundamentals bundled by CLI | **19.32.0 / 7.22.8** | Same file |
29
- | Latest Arc / Chronicle / Fundamentals released when this was checked | **22.76.0 / 19.51.0 / 7.23.0** | Released tags; newer than the CLI bundle and than Stage's scaffold. Arc 22.72.0 and later run a reactor returning events and commands (absent through 22.71.0); the Stage 4.73.1 scaffold pins Arc 22.68.0, whose command handler accepts a collection only when every element is a command, so a rendered app needs a proven dependency override to 22.72.0 or later |
30
- | Stage 4.73.1 rendered backend and frontend | **Arc 22.68.0 / Chronicle 19.45.0**; `@cratis/components` 4.26.2, `@cratis/scene.*` 4.21.0, `@cratis/arc` 22.58.2, Fundamentals 7.22.8 | Stage `v4.73.1:Source/Rendering.Cratis/Scaffolding/CratisBackendApplicationScaffoldProfile.cs` and `CratisFrontendPackageSet.cs` (`Current`); not the latest releases and not bumped by hand |
30
+ | Previously checked Arc / Chronicle / Fundamentals releases | **22.76.0 / 19.51.0 / 7.23.0** | Historical product reads, not latest-release claims. Arc 22.72.0+ supports events-and-commands reactor results; Stage still refuses mixed reactions because failed commands can cause duplicate events on redelivery |
31
+ | Stage 4.83.0 rendered backend and frontend | **Arc 22.78.0 / Chronicle 19.45.0**; `@cratis/components` 4.26.2, `@cratis/scene.*` 4.22.1, `@cratis/arc` 22.58.2, Fundamentals 7.22.8 | Stage `v4.83.0:Source/Rendering.Cratis/Scaffolding/CratisBackendApplicationScaffoldProfile.cs:59-71` and `CratisFrontendPackageSet.cs:208-229` (`Current`); not bumped by hand |
31
32
  | Historical Stage 4.51.3 rendered backend | **Arc 22.50.5 / Chronicle 19.32.0** | Stage `v4.51.3:Source/Rendering.Cratis/Scaffolding/CratisBackendApplicationScaffoldProfile.cs`; client/testing/image match; scaffold disables embedded reverse extraction |
32
33
 
33
34
  Scene's family id denotes the six scaffold packages listed in
@@ -52,9 +53,24 @@ and `Source/Cli.Specs/for_AiMcpRegistration/when_installing/with_a_composed_prof
52
53
  at tag `v3.46.1` (CLI#322 / CLI#311). This minimum does not re-label the compiler
53
54
  or renderer probes below as results from the newer bundle.
54
55
 
56
+ ## Equality-filter rendering boundary
57
+
58
+ Caller-supplied collection equality filters shipped in Screenplay **4.143.0**
59
+ (decision 0069), selecting ESM v14; the standalone **4.145.0** pin binds and
60
+ reference-tests them. No-filter models retain their version/bytes/revision.
61
+ CLI **3.56.0** bundles Screenplay **4.145.1** / Stage **4.83.0**: its compiler
62
+ binds filters, but rendering refuses v14 with `CLI-RENDER-004` before planning.
63
+ Direct Stage refuses v14 with `STAGE-ESM-016`; it admits through v13
64
+ (`Source/Rendering.Cratis/Semantics/SemanticVersionFeatures.cs:100`,
65
+ `EsmSchemaV13Support`). Sources: CLI `v3.56.0:Directory.Packages.props:8-10`,
66
+ `Source/Cli/Commands/Render/RenderedSemanticVersions.cs:33-47`; Stage `v4.83.0`.
67
+ These are source checks, not new render probes. A future consumer must explicitly admit
68
+ v14 and preserve equality selection rather than drop filters. Complete examples:
69
+ read-surface [equality filters](../../cratis-screenplay-read-surface/references/equality-filters.md).
70
+
55
71
  ## Two compilers, one rule
56
72
 
57
- Standalone Screenplay 4.144.0 and CLI 3.53.1's 4.137.0 bundle are different releases.
73
+ Standalone Screenplay 4.145.0 and CLI 3.56.0's 4.145.1 bundle are different releases.
58
74
  Prefer standalone for the current language checks; CLI owns generation, Prologue
59
75
  and rendering. Name the tool/version with every verdict. No verdict transfers
60
76
  between differing compilers without checking the same inputs there.
@@ -76,23 +92,27 @@ conflicts: `cratis-screenplay-model-authoring`.
76
92
  | Completeness | Add `--check <name>[,<name>]` (repeatable) or `--check all` | Opt-in warnings; whole-source errors skip checks, not pass them |
77
93
  | CLI source validation | `cratis screenplay validate <root> --warnings-as-errors -o json-compact` | Read producer exit and JSON errors/warnings/file count. Passing source-only probe on CLI 3.41.0: dependencies example, exit 0 |
78
94
  | Binding | MCP workspace readiness and `executable-diagnostics` | V2 reads diagnostics; V3 requires binding with no blocking diagnostics |
79
- | Reference specifications | `screenplay test <root> [--filter <address>] [--format text|json]`, or MCP `run-specifications` | 0 all selected passed; 1 failed; 2 could not run/invalid selection; 3 unsupported or unbound. Counts of zero do not prove coverage |
95
+ | Reference specifications | `screenplay test <root> [--filter <address>] [--format text|json]`, or MCP `run-specifications` (`specification`, `scope`, `offset`, `limit`, `expectedSourceRevision`; `proposalId` from 4.145.0) | 0 all selected passed; 1 failed; 2 invalid arguments/input/selection or IO; 3 unsupported or unbound. `test` rejects `--no-color`; counts of zero do not prove coverage |
80
96
  | Rendering | `cratis render` | Separate admission, publication, target build and target tests (V5) |
81
97
 
82
98
  Source validation does not bind or run attached code. Reference execution is
83
99
  in-memory and does not run opaque attachments or external services. CLI-derived
84
100
  specification IDs need not match persisted MCP identities after renames; use MCP
85
- for identity-stable selection.
101
+ for identity-stable selection. On Screenplay **4.145.0 and later**, run a retained
102
+ proposal read-only with `proposalId` after review and before apply. Without that
103
+ argument it runs the current workspace. An impossible `then` (PLAY0285)
104
+ unbinds the entire model and prevents every specification running.
86
105
 
87
106
  ## Model notes gate
88
107
 
89
108
  **Standalone Screenplay 4.144.0** ships `--open-questions report|fail`.
90
- **Cratis CLI 3.53.1 does not have this gate** and bundles Screenplay 4.137.0,
91
- which also predates the notes MCP tools. Do not add this option to
92
- `cratis screenplay validate` or assume its bundled MCP supports model notes.
109
+ **Cratis CLI 3.56.0 does not have this gate** on `cratis screenplay validate`.
110
+ Its bundled compiler is newer; that does not add the standalone tool's option to
111
+ the CLI adapter. Discover bundled MCP schemas separately. Historical:
112
+ **Cratis CLI 3.53.1 does not have this gate** and its older compiler predated notes tools.
93
113
  Sources: Screenplay `v4.144.0:Source/DotNET/Tool/ModelOpenQuestions.cs:18-69,87-131`;
94
- CLI `v3.53.1:Source/Cli/Commands/Screenplay/ValidateScreenplaySettings.cs:11-85`
95
- and `Directory.Packages.props:8,35-37`. No newer Cratis CLI gate was verified.
114
+ CLI `v3.56.0:Source/Cli/Commands/Screenplay/ValidateScreenplaySettings.cs:11-85`
115
+ and `Directory.Packages.props:8,35-37`.
96
116
 
97
117
  ```shell
98
118
  screenplay <model-folder> --open-questions report --no-color
@@ -153,8 +173,9 @@ schema pairs through v14. Admission selects by use:
153
173
  it proves no storage encryption or erasure. Enum/identity compliance and an
154
174
  event combining personal or explicitly subject-scoped secret values with an
155
175
  explicit `subject` mark refuse PLAY0268. See command-surface
156
- `references/compliance.md` and Screenplay decision 0068. Stage 4.76.0 admits
157
- only through v12; no current cli bundles this compiler or admits v13.
176
+ `references/compliance.md` and Screenplay decision 0068. CLI 3.56.0 and
177
+ Stage 4.83.0 admit v13 and render protection; protected identities/enums
178
+ remain `STAGE-ESM-040`.
158
179
  - **Published v14 in 4.143.0:** caller-supplied equality filters on collection
159
180
  queries with same-named, type-matched scalar read-model properties; no `from`.
160
181
  Optional filters may be omitted, supplied null is refused, and `by` plus supplied
@@ -173,19 +194,14 @@ Composite read-model keys/query blocks are also still PLAY0268 (#599), not
173
194
  admitted by the 4.129.0 authoring delivery; a single explicit key preserves bytes.
174
195
  Never delete these contracts to obtain a green bind.
175
196
 
176
- CLI 3.53.1 `RenderedSemanticVersions.Newest` is **v10**:
177
- `Source/Cli/Commands/Render/RenderedSemanticVersions.cs`. Stage 4.73.1 uses
178
- EsmSchemaV10Support in `Source/Rendering.Cratis/Semantics/SemanticVersionFeatures.cs`
179
- and construct checks in `SemanticVersionFeatureAdmission.cs`. Both bundle
180
- Screenplay 4.137.0: non-positional enum numbers pass source validation but
181
- fail executable binding with PLAY0268, before renderer version admission.
182
- Standalone >= 4.139.0 binds them as v12; that verdict does not transfer to
183
- `cratis render`. The bundled compiler and Stage do not support reading v12 ESM.
184
- A compiler upgrade alone would not lift the CLI/Stage v10 admission ceiling.
185
- Bound v11 models get CLI-RENDER-004 before planning (STAGE-ESM-016 at the
186
- Stage version gate); this is not the diagnostic path for v12 source on these pins.
187
- Through v10 is not blanket
188
- render support: public publication STAGE-ESM-032, foreign events/event captures
197
+ CLI 3.56.0 `RenderedSemanticVersions.Newest` is **v13**
198
+ (`Source/Cli/Commands/Render/RenderedSemanticVersions.cs:33-47`). Stage 4.83.0
199
+ uses `EsmSchemaV13Support` (`Source/Rendering.Cratis/Semantics/SemanticVersionFeatures.cs:100`)
200
+ and construct checks in `SemanticVersionFeatureAdmission.cs:25-45`.
201
+ Non-positional enum numbers, generated UUID-concept values/responses and concept
202
+ compliance now reach rendering. Bound v14 collection filters still get
203
+ `CLI-RENDER-004` before planning (`STAGE-ESM-016` at the direct Stage gate).
204
+ Through v13 is not blanket render support: public publication STAGE-ESM-032, foreign events/event captures
189
205
  033, reaction identity 034, reaction filters 035 and production overrides 036
190
206
  remain refused; reducer filters render. ESM v8 routes reach their own checks.
191
207
  Previous CLI 3.46.1/Stage 4.52.0 admitted only through v7 (CLI-RENDER-004 and
@@ -199,7 +215,7 @@ read them as tested snapshots, not as a claim that Stage 4.52.0 shares every
199
215
 
200
216
  Stage case tables require 4.59.0; ESM v8 whole numbers as `long` and the
201
217
  pre-v8 out-of-`int` refusal STAGE-ESM-031 require 4.61.0. Historical CLI 3.50.0
202
- defaulted to Stage 4.67.0; current CLI 3.53.1 defaults to 4.73.1, so both rules apply. Previous CLI 3.46.1 bundled Screenplay
218
+ defaulted to Stage 4.67.0; current CLI 3.56.0 defaults to 4.83.0, so both rules apply. Previous CLI 3.46.1 bundled Screenplay
203
219
  4.130.0 and Stage 4.52.0; neither rule applied there. `cratis run --tag 4.63.2`
204
220
  selects a newer sandbox image only (`RunSettings.cs`), not a renderer package.
205
221
  `cratis render` has a statically bundled target (`RenderSettings.cs`,
@@ -208,8 +224,8 @@ The Stage skill teaches the version-gated examples.
208
224
 
209
225
  At 4.127.0, `$identity` aliases built-in caller paths; declared identity details
210
226
  remain metadata and their executable reads report PLAY0268. Bare `pii`/`secret`
211
- bind as v13 on standalone 4.142.0, but still block binding on CLI 3.53.1's
212
- 4.137.0 bundle; `personal` aliases `pii`. Legacy markers are accepted with
227
+ bind as v13 on standalone 4.142.0 and CLI 3.56.0's
228
+ 4.145.1 bundle; `personal` aliases `pii`. Legacy markers are accepted with
213
229
  PLAY0565 information, duplicates warn PLAY0653. Event `subject` and processing
214
230
  purposes are report-only metadata (PLAY0270); purpose checks/reports do not prove
215
231
  lawfulness or enforce retention. See command-surface context/compliance references.
@@ -31,16 +31,21 @@
31
31
  { "kind": "skill-contains", "value": "4.66.0" },
32
32
  { "kind": "skill-contains", "value": "references/generated-responses-example.md" },
33
33
  { "kind": "skill-contains", "value": "Operations and exact numeric" },
34
- { "kind": "skill-contains", "value": "`STAGE-ESM-028`/`029`, not a blanket compiler refusal" },
34
+ { "kind": "skill-contains", "value": "generated UUID-concept\n values/responses, enum numbers, compliance and supported event reactions render" },
35
35
  { "kind": "skill-contains", "value": "cratis screenplay validate --executable" },
36
36
  { "kind": "skill-contains", "value": "XML doc comments" },
37
- { "kind": "skill-contains", "value": "Stage 4.73.1 rendered backend", "file": "references/versions.md" },
37
+ { "kind": "skill-contains", "value": "Stage 4.83.0 rendered backend", "file": "references/versions.md" },
38
38
  { "kind": "skill-contains", "value": "cratis screenplay validate" },
39
39
  { "kind": "skill-contains", "value": "cli#244" },
40
40
  { "kind": "skill-contains", "value": "`notifications/initialized`" },
41
41
  { "kind": "skill-contains", "value": "A handler never binds" },
42
42
  { "kind": "skill-contains", "value": "references/sources-and-streams.md" },
43
43
  { "kind": "skill-contains", "value": "CLI-RENDER-004" },
44
+ { "kind": "skill-contains", "value": "**3.56.0**", "file": "references/versions.md" },
45
+ { "kind": "skill-contains", "value": "**4.145.1**", "file": "references/versions.md" },
46
+ { "kind": "skill-contains", "value": "**4.83.0**", "file": "references/versions.md" },
47
+ { "kind": "skill-contains", "value": "rendering refuses v14", "file": "references/versions.md" },
48
+ { "kind": "skill-contains", "value": "protected identities/enums (`-040`)", "file": "references/renderable-subset.md" },
44
49
  { "kind": "skill-contains", "value": "PLAY0514" },
45
50
  { "kind": "skill-contains", "value": "bind as ESM v8" },
46
51
  { "kind": "skill-contains", "value": "PLAY0530/0531", "file": "references/diagnostics.md" },