@cratis/pi 7.11.1 → 7.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/package/corpus/skills/cratis-application-slice-conformance/SKILL.md +1 -1
  2. package/package/corpus/skills/cratis-arc-react-page/references/from-screenplay.md +3 -3
  3. package/package/corpus/skills/cratis-arc-react-page/references/provenance.md +1 -1
  4. package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +12 -10
  5. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +2 -2
  6. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/cases-to-specify.md +4 -4
  7. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +4 -3
  8. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +7 -7
  9. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translate-example.md +3 -2
  10. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translation-patterns.md +2 -2
  11. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +24 -22
  12. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +5 -7
  13. package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +6 -6
  14. package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +9 -9
  15. package/package/corpus/skills/cratis-screenplay-discovery/references/facilitation.md +1 -1
  16. package/package/corpus/skills/cratis-screenplay-discovery/references/storming-loop.md +1 -1
  17. package/package/corpus/skills/cratis-screenplay-discovery/references/worked-session.md +1 -1
  18. package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +7 -7
  19. package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +3 -4
  20. package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +5 -5
  21. package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +6 -6
  22. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md +1 -1
  23. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/prologue-safety.md +1 -1
  24. package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +6 -5
  25. package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +14 -13
  26. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +8 -7
  27. package/package/corpus/skills/cratis-screenplay-model-authoring/references/provenance.md +3 -3
  28. package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +3 -3
  29. package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +1 -1
  30. package/package/corpus/skills/cratis-screenplay-model-review/references/provenance.md +1 -1
  31. package/package/corpus/skills/cratis-screenplay-model-review/references/report-template.md +1 -1
  32. package/package/corpus/skills/cratis-screenplay-model-review/references/worked-example.md +1 -1
  33. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +4 -4
  34. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/identity-and-edits.md +2 -2
  35. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/opt-in.md +25 -11
  36. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/verdicts-and-modes.md +1 -1
  37. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +1 -1
  38. package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +5 -5
  39. package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +5 -5
  40. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +9 -6
  41. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/drift-and-ledger.md +1 -1
  42. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/provenance.md +1 -1
  43. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +9 -8
  44. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/worked-example.md +5 -5
  45. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +4 -0
  46. package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +10 -9
  47. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-design.md +1 -2
  48. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-example.md +2 -3
  49. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/provenance.md +2 -2
  50. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +2 -2
  51. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-examples.md +1 -1
  52. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +4 -4
  53. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/view-and-story-specs.md +1 -1
  54. package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +3 -3
  55. package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +1 -1
  56. package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +1 -1
  57. package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +31 -30
  58. package/package/corpus/skills/cratis-screenplay-specifications/verification.json +2 -2
  59. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +3 -3
  60. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +1 -1
  61. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +4 -1
  62. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/provenance.md +1 -1
  63. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +2 -1
  64. package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +19 -18
  65. package/package/corpus/skills/cratis-screenplay-toolchain/references/automation-translate-example.md +1 -2
  66. package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet-example.md +2 -3
  67. package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet.md +4 -4
  68. package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +8 -5
  69. package/package/corpus/skills/cratis-screenplay-toolchain/references/doc-contradictions.md +7 -7
  70. package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +14 -10
  71. package/package/corpus/skills/cratis-screenplay-toolchain/references/pdl-example.md +1 -1
  72. package/package/corpus/skills/cratis-screenplay-toolchain/references/provenance.md +8 -8
  73. package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +8 -8
  74. package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +3 -3
  75. package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +8 -8
  76. package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +12 -10
  77. package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +46 -36
  78. package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +3 -2
  79. package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +4 -4
  80. package/package/corpus/skills/cratis-screenplay-ui-composition/references/provenance.md +1 -1
  81. package/package/corpus/skills/cratis-screenplay-ui-composition/references/worked-flow.md +3 -3
  82. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +13 -10
  83. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +12 -9
  84. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/render-example.md +3 -3
  85. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +1 -1
  86. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +7 -1
  87. package/package.json +1 -1
@@ -31,20 +31,20 @@ then hands off to review (P5) and acceptance (P6).
31
31
 
32
32
  ## Verified product sources
33
33
 
34
- Pins (Screenplay v4.64.0 `7e16162`, cratis CLI v3.27.1, Stage v4.24.0, Arc v22.50.5, Chronicle
34
+ Pins (Screenplay v4.66.0 `c89198b`, cratis CLI v3.28.3, Stage v4.24.2, Arc v22.50.5, Chronicle
35
35
  v19.32.0): `cratis-screenplay-toolchain` `references/versions.md`. Checked at these sources:
36
36
 
37
37
  | Fact used here | Source |
38
38
  | --- | --- |
39
- | `generate` options, no default-file certainty (stdout when `--file` is absent), spec-project exclusion by name, `CLI0005/0009/0014-0017` | cli `v3.27.1:Source/Cli/Commands/Screenplay/{GenerateScreenplayCommand,GenerateScreenplaySettings,ScreenplayProjectSelection,ScreenplayDiagnosticCodes}.cs` |
39
+ | `generate` options, no default-file certainty (stdout when `--file` is absent), spec-project exclusion by name, `CLI0005/0009/0014-0017` | cli `v3.28.2:Source/Cli/Commands/Screenplay/{GenerateScreenplayCommand,GenerateScreenplaySettings,ScreenplayProjectSelection,ScreenplayDiagnosticCodes}.cs` |
40
40
  | `SP0016` (rule in code, computed message, `When`/`Unless` written as unconditional), `SP0024` (source did not compile) | Arc `v22.50.5:Source/DotNET/Screenplay/ScreenplayDiagnosticCodes.cs`, `Documentation/backend/csharp/generating-a-screenplay.md` |
41
- | `prologue start` is an interactive wizard that writes `cratis-prologue.json`; `interpret` resolves its language model from the Prologue file, then the global CLI configuration (cli#241 open) | cli `v3.27.1:Source/Cli/Commands/Prologue/{StartPrologueCommand,LlmOptionsResolver}.cs`, `Documentation/reference/prologue.md` |
41
+ | `prologue start` is an interactive wizard that writes `cratis-prologue.json`; `interpret` resolves its language model from the Prologue file, then the global CLI configuration (cli#241 open) | cli `v3.28.2:Source/Cli/Commands/Prologue/{StartPrologueCommand,LlmOptionsResolver}.cs`, `Documentation/reference/prologue.md` |
42
42
  | Extractor effects (CDC enable, publication and replication slot), POST/PUT/DELETE only, 2 s correlation window, interpret payload (uncapped model outline and names, observed lists capped at 50, schema tables capped per schema observation), existing slot/publication reused; cleanup missing (Prologue#37) | Prologue `ad4bbe7:Source/Extractor/Sources/**`, `Source/Configuration/*`, `Source/Interpretation/EvidenceFormatter.cs` |
43
- | `then error`, `then denied`, `unique ... released by` | Screenplay `v4.64.0:Documentation/screenplay/{specifications,constraints}.md` |
43
+ | `then error`, `then denied`, `unique ... released by` | Screenplay `v4.66.0:Documentation/screenplay/{specifications,constraints}.md` |
44
44
  | No semantic diff or equivalence check exists (Screenplay#387 open) | `gh issue view 387 --repo Cratis/Screenplay` |
45
45
 
46
- Every complete `screenplay` fence here compiles with the standalone compiler 4.64.0 (`--warnaserror`) and
47
- `cratis screenplay validate --warnings-as-errors` 3.27.1.
46
+ Every complete `screenplay` fence here compiles with the standalone compiler 4.66.0 (`--warnaserror`) and
47
+ `cratis screenplay validate --warnings-as-errors` 3.28.2.
48
48
 
49
49
  ## Interview phase
50
50
  **Skip if** the brief already records the freeze or "not applicable", the observable
@@ -2,7 +2,7 @@
2
2
 
3
3
  Flags verified with `cratis screenplay generate --help` on the version recorded in
4
4
  cratis-screenplay-toolchain `references/versions.md`; behaviour from the cratis CLI
5
- (`v3.27.1:Source/Cli/Commands/Screenplay/`), Arc `v22.50.5`
5
+ (`v3.28.2:Source/Cli/Commands/Screenplay/`; the generate files are unchanged since `v3.27.1`), Arc `v22.50.5`
6
6
  (`Documentation/backend/csharp/generating-a-screenplay.md`,
7
7
  `Source/DotNET/Screenplay/ScreenplayDiagnosticCodes.cs`), Screenplay.Generation `v0.18.0` and
8
8
  Screenplay.CritterStack `v0.24.0`. Version-specific capability facts belong in cratis-screenplay-toolchain
@@ -1,7 +1,7 @@
1
1
  # Prologue capture and interpretation: safety
2
2
 
3
3
  Sources: Prologue `ad4bbe7` (Extractor, Configuration, Interpretation) and cratis CLI
4
- `v3.27.1` (`Source/Cli/Commands/Prologue/*`, `LlmOptionsResolver.cs`,
4
+ `v3.28.2` (`Source/Cli/Commands/Prologue/*`, unchanged since `v3.27.1`; `LlmOptionsResolver.cs`,
5
5
  `Documentation/reference/prologue.md`). Tool versions: `cratis-screenplay-toolchain`
6
6
  `references/versions.md`.
7
7
  Everything here that touches a target system is
@@ -19,15 +19,15 @@ the executable profile and a complete compiled model.
19
19
 
20
20
  | Package | Version | Purpose |
21
21
  | --- | --- | --- |
22
- | `Cratis.Screenplay` / `Cratis.Screenplay.Tool` | `4.64.0` (`7e16162`) | Current compiler, MCP (29/30 tools), roots fix; examples compiled with `--warnaserror` |
22
+ | `Cratis.Screenplay` / `Cratis.Screenplay.Tool` | `4.66.0` (`c89198b`) | Current compiler, MCP (29/30 tools), roots fix; examples compiled with `--warnaserror` |
23
23
  | `Cratis.Screenplay` | main `fd18129` | Inline events, repairs, rename/extraction and `optional` |
24
24
  | `Cratis.Screenplay` | `4.31.0` | Original compiler, ESM and workspace evidence |
25
- | `cratis` CLI | `3.27.1` | Bundles Screenplay 4.60.1 (ESM v5 at most, roots bug) |
25
+ | `cratis` CLI | `3.28.3` | Bundles Screenplay 4.66.0 and Stage 4.24.2 (3.28.2 bundled 4.24.1; before 3.28.2: 4.60.1, ESM v5 at most, roots bug) |
26
26
 
27
27
  Facts about the MCP connection, source-map, `whenAppendedEvent`, identity
28
- persistence and the syntax-only constructs were read at tag `v4.64.0`
28
+ persistence and the syntax-only constructs were read at tag `v4.66.0`
29
29
  (`Documentation/screenplay/mcp/{reference,install,edit}.md`,
30
- `Source/DotNET/Screenplay.Mcp/`) and probed against the 4.64.0 tool (persona,
30
+ `Source/DotNET/Screenplay.Mcp/`) and probed against the 4.66.0 tool (persona,
31
31
  trigger, `@pii`, generated values, operations, streams, automation binding).
32
32
  Repair and refactoring guidance follows main `fd18129` (`commands.md`,
33
33
  `events.md`, `types.md`, `diagnostics.md`, `mcp/authoring-tools.md`, `vscode.md`,
@@ -47,7 +47,8 @@ folder the user names. Without a project, the server works in `Documents/Screenp
47
47
  in the user's home folder, so do not invent a location. A root fixed at launch
48
48
  cannot be switched: another `path` returns `RootChangeRefused`.
49
49
 
50
- **Prefer a fixed root.** Screenplay up to 4.63.1 (so Cratis CLI 3.27.1) fails a
50
+ **Prefer a fixed root.** Screenplay up to 4.63.1 (so Cratis CLI before 3.28.2; fixed in
51
+ 4.63.2, so not in CLI 3.28.2 or later, probed) fails a
51
52
  dynamic-root server right after `notifications/initialized` when the client
52
53
  advertises roots; real hosts then drop the connection, and `open-workspace.path`
53
54
  cannot prevent it. Start `screenplay mcp <model-folder>` or `cratis screenplay mcp`
@@ -61,7 +61,7 @@ members or translating names from memory.
61
61
 
62
62
  This registration model uses an inline event and context identity rather than
63
63
  copying the identifier into payload. It was compiled at main `fd18129` with zero
64
- source diagnostics and recompiled with standalone 4.64.0 `--warnaserror`; neither
64
+ source diagnostics and recompiled with standalone 4.66.0 `--warnaserror`; neither
65
65
  check runs its specifications. Inline lowering
66
66
  and `optional` spelling do not themselves select a newer ESM version.
67
67
 
@@ -145,10 +145,11 @@ The ESM version is selected by what a model uses, never by the author:
145
145
  distinct revision property identities. Historical declarations are not migration
146
146
  implementations; a target without migration support must reject the contract.
147
147
  - **v5** adds keyed read-model absence assertions (`then no readmodel`).
148
- - **v6** (standalone tool 4.61 and later; v4.64.0 `Versions.cs`) admits reactions,
148
+ - **v6** (Screenplay 4.61 and later; v4.66.0 `Versions.cs`) admits reactions,
149
149
  captures, application triggers and the clock, hence `Automation` and
150
- `Translate` slices. The Cratis CLI 3.27.1 bundles Screenplay 4.60.1 (ESM 5 at
151
- most): there these constructs fail binding with `PLAY0268`. Name the tool
150
+ `Translate` slices. The Cratis CLI 3.28.2 bundles Screenplay 4.66.0 and binds them;
151
+ before 3.28.2 bundled 4.60.1 (ESM 5 at most), where these constructs failed
152
+ binding with `PLAY0268`. Name the tool
152
153
  with every bound result; `cratis-screenplay-toolchain` (`references/versions.md`)
153
154
  holds the per-tool table.
154
155
 
@@ -163,15 +164,15 @@ the model runs, including specifications that never touch it.
163
164
 
164
165
  What binds today, what the reference execution plan refuses, what is opaque, what is
165
166
  authorable but not executable, and what blocks binding. The snapshot comes from the
166
- v4.31.0 table, re-read against v4.64.0 documentation and probed through the MCP of
167
- the standalone 4.64.0 tool for the rows marked "probed"; Cratis CLI 3.27.1
168
- (Screenplay 4.60.1) differs where stated.
167
+ v4.31.0 table, re-read against v4.66.0 documentation and probed through the MCP of
168
+ the standalone 4.66.0 tool for the rows marked "probed"; Cratis CLI 3.28.2 bundles the
169
+ same Screenplay 4.66.0 (before 3.28.2, Screenplay 4.60.1, differ where stated).
169
170
 
170
171
  | Disposition | Constructs |
171
172
  | --- | --- |
172
173
  | Binds and runs in the reference runner | `StateChange`/`StateView` slices; `produces` including `when` conditions over command properties and literal tags; the portable validation rules, `matches email`, quoted `matches` patterns and `require` over command properties; declarative policies and `authorize` on modules, features, commands and keyed queries; `unique` constraints; projections as Chronicle lowers them, including variants, except the projection constructs in the next row; specifications, including `given caller`, `then denied` and `when append` |
173
174
  | Binds, but the reference execution plan refuses it | A projection-level `remove via join`; `all` beside removals, `children` or `nested`; a `join`, `children` or `remove via join` inside `nested`; any event-context value other than the event source identity in a projection mapping or key, such as `$eventContext.occurred`, `$eventContext.sequenceNumber` or `$eventContext.causedBy.subject` (`$eventSourceId` and `$eventContext.eventSourceId` run) |
174
- | Binds as ESM v6 on the standalone tool (probed), `PLAY0268` on Cratis CLI 3.27.1 | `Automation` and `Translate` slices, reactions that produce or invoke, captures, top-level `trigger`, clock, trigger and capture specifications. The library reference runner evaluates them (v6 actions); no `screenplay` command or MCP tool runs it, and Stage 4.24.0 renders none of them (the whole automation is gap-fill) |
175
+ | Binds as ESM v6 on Screenplay 4.66.0, standalone and Cratis CLI 3.28.2 (probed); `PLAY0268` on Cratis CLI before 3.28.2 | `Automation` and `Translate` slices, reactions that produce or invoke, captures, top-level `trigger`, clock, trigger and capture specifications. The library reference runner evaluates them (v6 actions); no `screenplay` command or MCP tool runs it, and Stage 4.24.2 renders none of them (the whole automation is gap-fill) |
175
176
  | Reaction with trigger `reads` | Direct-producing (or code-bodied) reaction with `reads`: `PLAY0268` ("ESM v6 cannot protect that decision dependency", decision 0006), non-executable. Invokes-only reaction with `reads`: information only; the invoked command must declare and protect its own decision reads. Keep the `reads`; never remove them to obtain binding |
176
177
  | Binds as opaque code (v3); reference runner reports unsupported | Bodied reducers, bodied named rules, fenced `validate` blocks, code or file policies. A pure reducer body is the only attachment Stage 4.24.0 admits |
177
178
  | Information only, never blocks (probed) | `persona` (report-only: `PLAY0270`, the policies it lists must exist), `authentication`, `domain`, `seed`, descriptions and `file` provenance. A persona does not block binding and does not change behavior, so state persona scope in a description or a policy the model uses |
@@ -182,7 +183,7 @@ the standalone 4.64.0 tool for the rows marked "probed"; Cratis CLI 3.27.1
182
183
  | Metadata only (`PLAY0270`, information) | `domain`, `seed`, `persona`, trigger and other descriptions, and `file` provenance on declarations |
183
184
 
184
185
  The table is a snapshot, not a contract (rows without "probed" are carried from
185
- v4.31.0 and v4.64.0 documentation): ask the binder (MCP `executable-diagnostics`
186
+ v4.31.0 and v4.66.0 documentation): ask the binder (MCP `executable-diagnostics`
186
187
  view) rather than extrapolating from it. Neither `screenplay` nor
187
188
  `cratis screenplay validate` binds, so a clean validation says nothing about this table. Retain valid source that the
188
189
  backend cannot represent rather than downgrading it to a stub. The MCP does not
@@ -193,10 +194,10 @@ realization files. Stage owns rendering and runtime admission.
193
194
 
194
195
  Decision 0006 shipped in Screenplay 4.31.0: a reaction trigger may declare
195
196
  `reads <View> [as <alias>] [by <trigger value>]` (see
196
- `cratis-screenplay-captures-and-reactions`). At v4.64.0 a direct-producing
197
+ `cratis-screenplay-captures-and-reactions`). At v4.66.0 a direct-producing
197
198
  reaction with `reads` fails binding (`PLAY0268`); an invokes-only reaction reports
198
199
  the reads as information, and the invoked command must protect its own
199
- dependencies. On Cratis CLI 3.27.1 every reaction fails binding.
200
+ dependencies. On Cratis CLI before 3.28.2 every reaction failed binding.
200
201
 
201
202
  Do not infer availability from an accepted decision. Event generations and typed
202
203
  diagnostic repairs now exist; see the event and MCP references rather than the
@@ -206,12 +207,12 @@ Code attachment/source-map support likewise does not prove code round-trip
206
207
  execution equivalence.
207
208
 
208
209
  Decision 0023's generated values and `returns`, operations and named event
209
- sources/streams are **authorable** at v4.64.0 (syntax only, see the table above and
210
+ sources/streams are **authorable** at v4.66.0 (syntax only, see the table above and
210
211
  `commands.md`, `operations.md`, `event-sources.md` in the Screenplay documentation):
211
212
  write them, but binding reports `PLAY0268` and nothing executes them until
212
213
  the allocated ESM versions are implemented (the highest implemented is v6). Do not drop them for the sake of a green bind.
213
214
  Protected reads and `derive`/`provide` (allocated v11) have no documented syntax at
214
- v4.64.0: do not teach or invent one. Affected-instance declarations, per-event data
215
+ v4.66.0: do not teach or invent one. Affected-instance declarations, per-event data
215
216
  subjects, external event origin and query paging/sorting/change-set delivery also
216
217
  remain unavailable here.
217
218
 
@@ -7,10 +7,10 @@ The working loop for the session that owns the model connection: connect, orient
7
7
  choose an edit route, propose, review, apply, verify. Tool-by-tool arguments and
8
8
  refusals are in the [MCP tool guide](mcp-tools.md); verdict names (V1 to V5) are
9
9
  defined by `cratis-screenplay-modeling-lifecycle`. Facts here were read at
10
- Screenplay v4.64.0 (`Source/DotNET/Screenplay.Mcp/`, `Documentation/screenplay/mcp/`)
11
- and probed against the standalone 4.64.0 tool and, for the connection behavior,
12
- 4.63.1. Cratis CLI 3.27.1 bundles Screenplay 4.60.1, whose tool set and views can
13
- differ: read `tools/list`.
10
+ Screenplay v4.66.0 (`Source/DotNET/Screenplay.Mcp/`, `Documentation/screenplay/mcp/`)
11
+ and probed against the standalone 4.66.0 tool and, for the connection behavior,
12
+ 4.63.1. Cratis CLI 3.28.2 bundles Screenplay 4.66.0 (probed: 29 tools and the same views);
13
+ Cratis CLI before 3.28.2 bundled 4.60.1, whose tool set and views differ: read `tools/list`.
14
14
 
15
15
  ## Connect
16
16
 
@@ -33,7 +33,7 @@ differ: read `tools/list`.
33
33
 
34
34
  ### Roots bug and the workaround
35
35
 
36
- Screenplay up to 4.63.1 (fixed in 4.63.2; the 4.64.0 tool is fixed) read the
36
+ Screenplay up to 4.63.1 (fixed in 4.63.2; the 4.66.0 tool is fixed) read the
37
37
  client's roots reply from the wrong member. A server started **without** a root,
38
38
  facing a client that advertises roots, answered with an error with `id: null`
39
39
  immediately after `notifications/initialized`, before any tool call. Real hosts
@@ -41,8 +41,9 @@ treat that as fatal and drop the connection. Passing `open-workspace.path` does
41
41
  **not** avoid it, because the error is sent before `open-workspace` runs.
42
42
 
43
43
  Avoid it by fixing the root at launch (the forms in step 1). The `cratis/screenplay`
44
- profile registration is not affected in an installed project, and the CLI now locates the model itself, so no model directory has to exist. Cratis CLI 3.27.1 bundles 4.60.1: for a
45
- dynamic root there, fix the root.
44
+ profile registration is not affected in an installed project, and the CLI now locates the model itself, so no model directory has to exist. Cratis CLI before 3.28.2 bundled 4.60.1: for a
45
+ dynamic root there, fix the root. Cratis CLI 3.28.2 bundles 4.66.0, which is fixed (probed:
46
+ the server sends `roots/list` and serves `tools/list` after the reply).
46
47
 
47
48
  ## Who owns the connection
48
49
 
@@ -5,9 +5,9 @@
5
5
 
6
6
  | Content | Source | How it is used |
7
7
  | --- | --- | --- |
8
- | `mcp-loop.md` (ownership, edit-request shape, edit routes, failure handling) | The project's own earlier event-modeling toolkit draft (MCP loop reference) | Restructured and re-verified against Screenplay v4.64.0 source and documentation; the roots-bug workaround and the identity rule (`id` pins are not enough when `identities.json` exists) were corrected or tightened |
9
- | Connection facts (29/30 tools, `notifications/initialized`, 16 connection-local proposals, fixed root) | Screenplay `v4.64.0` `Source/DotNET/Screenplay.Mcp/McpToolCatalog.cs`, `McpConnection.cs`, `McpWorkspaces.cs`, `Documentation/screenplay/mcp/reference.md`, `install.md` | Read at the tag and probed against the standalone 4.64.0 tool (4.63.1 for the roots behavior) |
10
- | Disposition table (personas, generated values, operations, streams, automation) | Screenplay `v4.64.0` `SemanticModelBinder.cs`, `commands.md`, `operations.md`, `event-sources.md`, `Versions.cs` | Probed through the MCP `executable-diagnostics` view of the 4.64.0 tool |
8
+ | `mcp-loop.md` (ownership, edit-request shape, edit routes, failure handling) | The project's own earlier event-modeling toolkit draft (MCP loop reference) | Restructured and re-verified against Screenplay v4.66.0 source and documentation; the roots-bug workaround and the identity rule (`id` pins are not enough when `identities.json` exists) were corrected or tightened |
9
+ | Connection facts (29/30 tools, `notifications/initialized`, 16 connection-local proposals, fixed root) | Screenplay `v4.66.0` `Source/DotNET/Screenplay.Mcp/McpToolCatalog.cs`, `McpConnection.cs`, `McpWorkspaces.cs`, `Documentation/screenplay/mcp/reference.md`, `install.md` | Read at the tag and probed against the standalone 4.66.0 tool (4.63.1 for the roots behavior) |
10
+ | Disposition table (personas, generated values, operations, streams, automation) | Screenplay `v4.66.0` `SemanticModelBinder.cs`, `commands.md`, `operations.md`, `event-sources.md`, `Versions.cs` | Probed through the MCP `executable-diagnostics` view of the 4.66.0 tool |
11
11
 
12
12
  No TrogonStack or Nebulit text is reproduced here: neither covers the Screenplay
13
13
  MCP surface.
@@ -29,9 +29,9 @@ adapted to `.play` declarations (`references/provenance.md`).
29
29
  ## Verified product sources
30
30
  | Source | Pin | Used for |
31
31
  |---|---|---|
32
- | Screenplay | `v4.64.0` (`7e16162`) | MCP catalog (29 tools: `describe-application`, `search-declarations`, `dependencies`, `find-assertion-gaps`, `read-workspace`, `declaration-details`) in `Source/DotNET/Screenplay.Mcp/McpToolCatalog.cs`; diagnostics PLAY0029, PLAY0191, PLAY0268, PLAY0271, PLAY0350, PLAY0381, PLAY0469 in `Source/DotNET/Screenplay/Diagnostics/DiagnosticCodes.cs`; decision 0008 (one data subject per event) |
33
- | Screenplay issues | open at v4.64.0 | Screenplay#393 advisory modeling-smell report (the sweep is its manual form); Screenplay#377 spec execution and Screenplay#388 lineage report: not available, so "specs written" is never "specs pass" and lineage is walked by hand |
34
- | cratis CLI | `v3.27.1` | bundles an older compiler; see the toolchain skill |
32
+ | Screenplay | `v4.66.0` (`c89198b`) | MCP catalog (29 tools: `describe-application`, `search-declarations`, `dependencies`, `find-assertion-gaps`, `read-workspace`, `declaration-details`) in `Source/DotNET/Screenplay.Mcp/McpToolCatalog.cs`; diagnostics PLAY0029, PLAY0191, PLAY0268, PLAY0271, PLAY0350, PLAY0381, PLAY0469 in `Source/DotNET/Screenplay/Diagnostics/DiagnosticCodes.cs`; decision 0008 (one data subject per event) |
33
+ | Screenplay issues | open at v4.66.0 | Screenplay#393 advisory modeling-smell report (the sweep is its manual form); Screenplay#377 spec execution and Screenplay#388 lineage report: not available, so "specs written" is never "specs pass" and lineage is walked by hand |
34
+ | cratis CLI | `v3.28.3` | bundles Screenplay 4.66.0 and Stage 4.24.2; see the toolchain skill |
35
35
 
36
36
  The full pin table lives in `cratis-screenplay-toolchain` `references/versions.md`; do not copy
37
37
  it here. Compilation (V1) does not establish reference execution.
@@ -37,7 +37,7 @@ not why: a signal, so confirm the hidden reason before reporting. The fix names
37
37
  change (`BerthReassigned`, `BerthLengthLimitRaised`), one event per reason, each with its own
38
38
  rules and consumers. A shared payload shape alone is not a defect: full generations repeat the
39
39
  prior shape on purpose and different facts may look alike. Cratis/Screenplay#393 proposes an
40
- advisory report for exactly these signals; at v4.64.0 no such report exists among the 29 MCP
40
+ advisory report for exactly these signals; at v4.66.0 no such report exists among the 29 MCP
41
41
  tools, so the sweep is done by hand.
42
42
 
43
43
  ## Phase 2. Entity walk (5 checks, T1-T5; feeds F1-F3 and scenario coverage)
@@ -36,6 +36,6 @@ is adapted with the agreement of Martin Dilger and Nebulit GmbH.
36
36
  the boundary rows of `anti-patterns.md`.
37
37
  - Draft lineage of the first draft of this skill: the field-copy signal, the element sweep
38
38
  and the entity walk are Cratis additions, grounded in Cratis/Screenplay#393 (advisory report
39
- of information-level modeling smells, open at v4.64.0).
39
+ of information-level modeling smells, open at v4.66.0).
40
40
  - Rejected anti-patterns (`checklist.md` R): Cratis/Screenplay strategy decisions and the
41
41
  closure comments of the Screenplay issues that rejected them.
@@ -27,7 +27,7 @@ V2 executable diagnostics: <clean | n diagnostics: codes | not run: reason>
27
27
  V3 binding-ready: <ready | blocked: codes | not run: reason>
28
28
  V4 reference specs run: <route, expected vs discovered, passed/failed/unsupported/cancelled | not run: no route>
29
29
  V5 rendered, target-verified: admission <...>; publication <...>; build <...>; tests <...> (each "not run: reason" when absent)
30
- Gaps: <capability gaps and tool-version gaps, e.g. false PLAY0285 on cascades in cratis 3.27.1>
30
+ Gaps: <capability gaps and tool-version gaps, e.g. a false PLAY0285 on cascades from a cratis before 3.28.2 bundle>
31
31
 
32
32
  ## Inventory (read-only audit; MCP describe-application view=summary, find-assertion-gaps)
33
33
  Modules n, features n, slices n (StateChange n, StateView n, Automation n, Translate n),
@@ -112,7 +112,7 @@ Every event has a consumer (BerthList). Terminal reason: none needed.
112
112
  Mode: design Stance: critic Review kind: independent
113
113
  Source identity: 4f1c2ab+3e9a1c0b7d42 (source-identity helper)
114
114
  Scope: feature Moorings/Berths
115
- V1 authorable: pass (screenplay 4.64.0, 1 file)
115
+ V1 authorable: pass (screenplay 4.66.0, 1 file)
116
116
  V2 executable diagnostics: not run: design mode
117
117
  V3 binding-ready: not run: design mode
118
118
  V4 reference specs run: not run: no route
@@ -43,7 +43,7 @@ an unproven pass.
43
43
  | An accepted model covers the scope | **Model** | Change the `.play`, verify V1-V3, review, then render or gap-fill |
44
44
  | Opted in, but this scope has no model yet | **Model** | New behavior starts in discovery, then slice design |
45
45
  | A computed rule inside a modeled slice | **Model + code attachment** | `csharp`/`file` block; it binds only as the construct allows (`cratis-screenplay-model-authoring`) |
46
- | Scope Stage cannot render yet, including every modeled automation and translation (Stage `v4.24.0` renders neither; the whole behavior is gap-fill, not just its outside call) | **Gap-fill code** | Hand-written; the `.play` slice and specs are the contract. `cratis-screenplay-render-and-gap-fill` separates an authorized existing generated base from fully hand-written delivery |
46
+ | Scope Stage cannot render yet, including every modeled automation and translation (Stage `v4.24.2` renders neither; the whole behavior is gap-fill, not just its outside call) | **Gap-fill code** | Hand-written; the `.play` slice and specs are the contract. `cratis-screenplay-render-and-gap-fill` separates an authorized existing generated base from fully hand-written delivery |
47
47
  | Outside call, transport or credentials | **Adapter code** | `Customizations/` or the host, applying `cratis-engineering-effect-boundaries` |
48
48
  | Infrastructure, clients, framework-profile repositories, brownfield not opted in | **Code** | Arc, Chronicle, spec and React skills; trivial changes keep the proportional-delegation policy |
49
49
 
@@ -213,11 +213,11 @@ the packet opens with `Outcome:`; STATE.md is current.
213
213
 
214
214
  ## Verified product sources
215
215
  Full pin table: `cratis-screenplay-toolchain/references/versions.md`. Used here: Screenplay
216
- `v4.64.0` (`7e16162`): `Source/DotNET/Tool/Program.cs` (`--warnaserror`, folder mode),
216
+ `v4.66.0` (`c89198b`): `Source/DotNET/Tool/Program.cs` (`--warnaserror`, folder mode),
217
217
  `Source/DotNET/Screenplay/Semantics/SemanticModelBinder.cs:209-216` (personas are report-only),
218
218
  `Documentation/screenplay/{constraints,specifications}.md`, `mcp/reference.md` (`modelRevision`);
219
- cratis CLI `v3.27.1` (`cratis screenplay validate --warnings-as-errors`, older bundled compiler);
220
- Stage `v4.24.0` (admits ESM v1-v3); opt-in key `mcpServers.screenplay.root` in cratis CLI `v3.27.1`
219
+ cratis CLI `v3.28.3` (`cratis screenplay validate --warnings-as-errors`, bundled Screenplay 4.66.0);
220
+ Stage `v4.24.2` (admits ESM v1-v4 and refuses evolved events with `STAGE-ESM-026`); opt-in key `mcpServers.screenplay.root` in cratis CLI `v3.28.3`
221
221
  `Documentation/reference/screenplay-mcp.md`. The worked example compiles with both tools.
222
222
  ## Verify
223
223
  ```shell
@@ -22,7 +22,7 @@ changes. The Screenplay Reviewer and Renderer never edit `.play`; they always re
22
22
 
23
23
  ## Classify by catalog address
24
24
  Classify an edit by whether it changes the **catalog addresses**, not by artifact category.
25
- At Screenplay v4.64.0 `SemanticAddress` assigns identities to modules, features, slices,
25
+ At Screenplay v4.66.0 `SemanticAddress` assigns identities to modules, features, slices,
26
26
  concepts, composite types, properties, commands, event contracts, read models, projections,
27
27
  queries, query arguments, specifications, triggers, reactions and captures;
28
28
  `ScreenplayWorkspace` materializes new assignments when it is created from source; and
@@ -38,7 +38,7 @@ contract evolution of a persisted event (new generation, property added, removed
38
38
 
39
39
  **Document mappings count too.** With `identities.json` present, creating, deleting, renaming or
40
40
  moving a mapped `.play` file changes no catalog address but still breaks reopening: at Screenplay
41
- v4.64.0 `McpState.Open` throws `IdentityMappingConflict` ("mapped .play files are missing,
41
+ v4.66.0 `McpState.Open` throws `IdentityMappingConflict` ("mapped .play files are missing,
42
42
  renamed, or accompanied by unmapped files ... use an MCP proposal to move/add/delete documents
43
43
  explicitly"). Do these through MCP document operations (`propose-ast`), never a file move or rename
44
44
  in the shell or editor.
@@ -3,20 +3,34 @@
3
3
  The decision rule is in `SKILL.md` ("Decide the level first"). This file holds the evidence.
4
4
 
5
5
  ## Why an empty directory or an MCP entry is not opt-in
6
- Through cratis CLI `v3.27.1` the `cratis/screenplay` profile (and composed profiles such as Stage)
7
- made `cratis ai install`/`update` create the selected model directory, normally `.cratis/screenplay`
8
- (`Documentation/ai/index.md`: "Install/update creates the selected
9
- empty model directory ... but does not start the server or create source files"), and register
10
- a Screenplay MCP entry for it. Uninstall keeps the directory. Both therefore appear in every
11
- repository that merely installed the language skills, so neither can signal consent.
6
+ Up to cratis CLI `v3.27.1`, `cratis ai install`/`update` created an empty `.cratis/screenplay`
7
+ model directory for the `cratis/screenplay` profile (and composed profiles such as Stage) and
8
+ registered a Screenplay MCP entry for it. From `v3.28.x` (read at `v3.28.2`) install no longer
9
+ creates a model directory by default: `AiMcpDescriptor.Root(configuration)` returns only an
10
+ explicitly configured `mcpServers.screenplay.root` (null otherwise; there is no `DefaultRoot`), and
11
+ `AiMcpPlan` creates a directory only for a configured root. The MCP entry is still registered,
12
+ and uninstall keeps any model directory. With no configured root, `cratis screenplay mcp` locates the model
13
+ itself (`Source/Cli/Commands/Screenplay/ScreenplayModelLocation.cs`): a legacy `.cratis/screenplay`
14
+ that already holds `.play` files, else the common ancestor of existing `.play` files, else a `Source`
15
+ or `src` folder, else a new `Screenplay/` folder at the project root. Nothing is chosen under
16
+ `.cratis` for new work. The MCP entry and any directory a tool created therefore appear in every
17
+ repository that merely installed the language skills, so neither can signal consent. The old
18
+ documentation text (`Documentation/ai/index.md` at `v3.28.2`: "Install/update creates the selected
19
+ empty model directory (normally `.cratis/screenplay`)") is stale against that source.
12
20
 
13
21
  ## The explicit signal
14
- `mcpServers.screenplay.root` in `.cratis/ai.json` is the project-owned property that overrides the
15
- model directory (`Documentation/reference/screenplay-mcp.md` at `v3.27.1`: "The optional
22
+ `mcpServers.screenplay.root` in `.cratis/ai.json` is the project-owned property that sets the
23
+ model directory (`Documentation/reference/screenplay-mcp.md` at `v3.28.2`: "The optional
16
24
  project-owned `mcpServers` property in `.cratis/ai.json` overrides the model directory or
17
- disables registration"; `AiConfiguration.McpServers`, read by `AiMcpDescriptor` as
18
- `configuration.McpServers?.GetValueOrDefault(Id)?.Root ?? DefaultRoot`). Verify with
19
- `git -C <cli checkout> show v3.27.1:Documentation/reference/screenplay-mcp.md`.
25
+ disables registration"; `AiConfiguration.McpServers`, read by `AiMcpDescriptor.Root`). Verify with
26
+ `git -C <cli checkout> show v3.28.2:Source/Cli/Commands/Ai/AiMcpDescriptor.cs`.
27
+
28
+ ## Model root and the committed-`.play` test
29
+ The corpus rule keeps `.cratis/screenplay/` as the default root for the committed-`.play` test.
30
+ Because a 3.28.x MCP server may place a new model under `Source/`, `src/` or `Screenplay/`, a
31
+ repository whose accepted model lives elsewhere is not opted in by rule (a) alone: it must set
32
+ `mcpServers.screenplay.root` to that directory, which is rule (b). When such a model exists
33
+ without the setting, report the mismatch instead of treating the repository as opted in.
20
34
 
21
35
  ## Edge cases
22
36
  - `.play` files only under `.ai-work/`, a docs folder or a sample: not under the root, so not opt-in.
@@ -8,7 +8,7 @@ defines what each result means and how to report it. Do not copy version facts h
8
8
 
9
9
  | Result | Evidence | Does NOT prove |
10
10
  |---|---|---|
11
- | V1 authorable | folder-mode validate with warnings as errors. The standalone compiler includes imports in folder and file mode; the pinned `cratis` CLI (v3.27.1) file validation ignores imports, so folder mode is the cross-tool check | semantics, binding, specs |
11
+ | V1 authorable | folder-mode validate with warnings as errors. The standalone compiler includes imports in folder and file mode; the pinned `cratis` CLI (v3.28.2) file validation still ignores imports (cli#244, probed), so folder mode is the cross-tool check | semantics, binding, specs |
12
12
  | V2 executable diagnostics | the executable model reports no diagnostics for the scope | that any spec runs or passes |
13
13
  | V3 binding-ready | the model binds to the executable semantic model | that any spec runs or passes |
14
14
  | V4 reference specs run | the reference execution route only: engine, and per `.play` specification passed / failed / unsupported / cancelled | rendering, generated code, build or target tests |
@@ -42,7 +42,7 @@ Screenplay meaning, and when you meet the older usage, translate it and say so.
42
42
  - Screenplay **`reaction`**: the construct that models it (`when` trigger, optional `where`,
43
43
  `invokes` a command or `produces` events).
44
44
  - Chronicle **reactor**: C# observer, usually for side effects; it does not by itself define
45
- business decisions. A Screenplay reaction is authorable and bindable, but Stage `v4.24.0` renders no Automation or
45
+ business decisions. A Screenplay reaction is authorable and bindable, but Stage `v4.24.2` renders no Automation or
46
46
  Translate slice: the reactor and command are gap-fill code.
47
47
 
48
48
  ## Scenario vs specification
@@ -30,7 +30,7 @@ source is the single flow model.
30
30
  | --- | --- | --- |
31
31
  | `Cratis.Screenplay` | `4.31.0` | PDL parser, validator, diagnostics, semantic binder |
32
32
  | `Cratis.Screenplay` | main `fd18129` | Inline event extraction and context identity guidance |
33
- | `Cratis.Screenplay` | `4.64.0` (`7e16162`) | Reducer-body binding (`Semantics/`); no PDL syntax change affects the examples |
33
+ | `Cratis.Screenplay` | `4.66.0` (`c89198b`) | Reducer-body binding (`Semantics/`); no PDL syntax change affects the examples |
34
34
 
35
35
  The update follows `commands.md`, `events.md` and `mcp/authoring-tools.md` at
36
36
  that main commit (after v4.52.0); no PDL example changes in this update.
@@ -328,10 +328,10 @@ projection diagnostic codes, and worked examples.
328
328
 
329
329
  ## Verify
330
330
 
331
- - [ ] Standalone `screenplay <model> --warnaserror` (4.64.0) reports zero errors and zero
332
- warnings; with only the bundled compiler, `cratis screenplay validate
333
- --warnings-as-errors` on the model folder (3.27.1 bundles Screenplay 4.60.1, ESM v5 or
334
- lower). Name which tool produced the result.
331
+ - [ ] Standalone `screenplay <model> --warnaserror` (4.66.0) reports zero errors and zero
332
+ warnings; or `cratis screenplay validate --warnings-as-errors` on the model folder
333
+ (3.28.2 bundles the same Screenplay 4.66.0; before 3.28.2 bundled 4.60.1, ESM v5
334
+ or lower). Name which tool produced the result.
335
335
  - [ ] Each read model has **exactly one** builder.
336
336
  - [ ] No projection-level `key`; every `from` that must address the same
337
337
  instance is keyed on the same identity.
@@ -29,7 +29,7 @@ source is the single flow model.
29
29
  | --- | --- | --- |
30
30
  | `Cratis.Screenplay` | `4.31.0` | Original parser, validator and binder evidence |
31
31
  | `Cratis.Screenplay` | main `fd18129` | Canonical optionality; changed examples compiled |
32
- | `Cratis.Screenplay` | `4.64.0` (`7e16162`) | Which query shapes bind and render (`Semantics/`, `Documentation/screenplay/queries.md`) |
32
+ | `Cratis.Screenplay` | `4.66.0` (`c89198b`) | Which query shapes bind and render (`Semantics/`, `Documentation/screenplay/queries.md`) |
33
33
 
34
34
  The update follows `types.md`, `queries.md` and `vscode.md` at that main commit
35
35
  (after v4.52.0). Compilation does not establish query execution.
@@ -258,10 +258,10 @@ binding failures are errors.
258
258
 
259
259
  ## Verify
260
260
 
261
- - [ ] Standalone `screenplay <model> --warnaserror` (4.64.0) reports zero errors and zero
262
- warnings; with only the bundled compiler, `cratis screenplay validate
263
- --warnings-as-errors` on the model folder (3.27.1 bundles Screenplay 4.60.1, ESM v5 or
264
- lower). Name which tool produced the result.
261
+ - [ ] Standalone `screenplay <model> --warnaserror` (4.66.0) reports zero errors and zero
262
+ warnings; or `cratis screenplay validate --warnings-as-errors` on the model folder
263
+ (3.28.2 bundles the same Screenplay 4.66.0; before 3.28.2 bundled 4.60.1, ESM v5
264
+ or lower). Name which tool produced the result.
265
265
  - [ ] Every value the caller must not choose is a `from` parameter, not a `filter`.
266
266
  - [ ] Every `scoped to global` is deliberate and defensible.
267
267
  - [ ] `observable` is present exactly where the caller should see changes without
@@ -25,12 +25,12 @@ Version pins live once in `cratis-screenplay-toolchain` `references/versions.md`
25
25
 
26
26
  | Source | Pin | Used for |
27
27
  | --- | --- | --- |
28
- | cratis CLI | `v3.27.1` (`a327e89`) | `cratis render` options, exit codes, publication receipt, bundled Screenplay 4.60.1 and Stage 4.24.0 |
29
- | Stage | `v4.24.0` (`fa48546`) | admission (`STAGE-ESM-*`), ownership manifest, `Customizations/` seams, Debug-only specifications |
30
- | Screenplay | `v4.64.0` (`7e16162`) | standalone compiler for V1 to V3; binding codes `PLAY0268` and the code-attachment rules |
28
+ | cratis CLI | `v3.28.3` (`8b43fef`) | `cratis render` options, exit codes, publication receipt, bundled Screenplay 4.66.0 and Stage 4.24.2 (3.28.2 bundled Stage 4.24.1; before 3.28.2: 4.60.1 and 4.24.0) |
29
+ | Stage | `v4.24.2` (`32dcac4`) | admission (`STAGE-ESM-*`), ownership manifest, `Customizations/` seams, Debug-only specifications |
30
+ | Screenplay | `v4.66.0` (`c89198b`) | standalone compiler for V1 to V3; binding codes `PLAY0268` and the code-attachment rules |
31
31
  | Rendered apps | Arc `22.25.0`, Chronicle `19.8.1` | `[ProtectedDecision]` (Arc 22.39.0 and later) is not available in code written into one |
32
32
 
33
- Facts were read at those tags and `cratis render` was run at 3.27.1 for the worked example
33
+ Facts were read at those tags and `cratis render` was run at 3.28.2 and 3.28.3 for the worked example
34
34
  (`references/worked-example.md`). The renderer facts are owned by `cratis-stage-rendering-and-sandbox`;
35
35
  this skill links them and never restates the admission table.
36
36
 
@@ -62,6 +62,8 @@ assume an answer to 4, and record it as `blocked` for the user.
62
62
  | **B. Generated base plus authorized gap-fill** | an earlier admitted whole-model render exists and the user separately authorized hand-written scope, or a seam the model names needs an adapter | the generated output stays managed and untouched; hand-written code lives in `Customizations/` or a separate project (seam adapters by this skill, business gap-fill by `slice-implementer`), serves named model elements only, never claims render admission, and V5 is reported for the generated base **with its scope stated** |
63
63
  | **C. Fully hand-written delivery** | the scope cannot render and no generated base is wanted | `slice-implementer` delivers it with the model as the contract (`references/gap-fill-handoff.md`); V5 is `not run: no render` |
64
64
 
65
+ Evolved events (a model that selects ESM v4) are gap-fill too: Stage 4.24.2 admits the v4 model but refuses any evolved event and its dependent scope with `STAGE-ESM-026`, because it cannot render Chronicle event-type migrations yet (Stage#204). Events at their initial revision still render. Hand-write the evolved events and their migrations per `cratis-chronicle-event-type-migration`, with the model as the contract. The cratis CLI bundles Stage 4.24.2 since 3.28.3 and reports an evolved event with `STAGE-ESM-026` (probed); 3.28.2 bundled Stage 4.24.1 (3.28.1 and earlier: 4.24.0) and refused a v4 model with `STAGE-ESM-016`.
66
+
65
67
  Models with event sources, streams or command routes are case A or C today: they cannot
66
68
  bind or render (`PLAY0268`, `STAGE-ESM-016`), so hand-write the code with the model as the
67
69
  contract (`cratis-screenplay-toolchain` `references/sources-and-streams.md`).
@@ -77,8 +79,9 @@ import-only root file.
77
79
  when present; uncommitted model changes return to P6 before delivery. Record the source identity (`cratis-screenplay-modeling-lifecycle`
78
80
  `references/verdicts-and-modes.md` "Source identity"), the model root, `--name`,
79
81
  `--project-name`, `--root-namespace` and target `cratis`. Take V1 and V3 from
80
- `cratis-screenplay-toolchain`; report each with tool and version. V3 from the standalone
81
- compiler does not prove the cratis-bundled binder admits the model.
82
+ `cratis-screenplay-toolchain`; report each with tool and version. V3 from a different
83
+ compiler version does not prove the cratis-bundled binder admits the model (they agree on
84
+ 4.66.0 and cratis 3.28.2; an older cratis bundle binds less).
82
85
  2. **Probe.** `cratis render <model-root> --name <App> --destination <probe-dir> -o json`
83
86
  (exit 0 published, 5 refused with nothing published, 1 missing input). Classify every
84
87
  diagnostic with `references/renderability-gate.md`: model fix in the chosen mode,
@@ -4,7 +4,7 @@
4
4
  The ownership manifest `.cratis-render.json` at the destination records `semanticRevision`
5
5
  (`rev1:<sha256>`), the target, the renderer, the application name and a hash per managed file.
6
6
 
7
- Facts verified with `cratis render` 3.27.1 on one model: the same files rendered under the names
7
+ Facts verified with `cratis render` 3.28.2 on one model: the same files rendered under the names
8
8
  `Marina` and `Harbour` gave different `semanticRevision` values, so **the application name is part
9
9
  of the revision**. The MCP workspace names the application after the model root folder (without
10
10
  `.screenplay/identities.json`), so its `modelRevision` is not comparable with a render's manifest
@@ -3,7 +3,7 @@
3
3
  ## Moved and rewritten (Cratis)
4
4
  - The render workflow of the earlier model skill set: capability probe, renderability
5
5
  classification, delivery protocol, drift and fallback ledger. Rewritten for Stage 4.24 and cli
6
- 3.27.1, with the render facts verified at those tags and by running `cratis render`; the
6
+ 3.27.1, then re-verified on cli 3.28.2 (Stage 4.24.1) and 3.28.3 (Stage 4.24.2) by running `cratis render`; the
7
7
  helper scripts are not shipped (their steps are the manual commands in `references/delivery-protocol.md`).
8
8
  - The fallback-conformance checklist moved into `cratis-application-slice-conformance`
9
9
  (`references/checklists.md`); this skill links it and keeps no copy.
@@ -7,15 +7,16 @@ The admitted subset itself (what Stage renders, member by member) is owned by
7
7
  probe reports and choosing what to do. Do not copy the code table here.
8
8
 
9
9
  ## Pipeline that produces the codes
10
- 1. The CLI compiles and binds the model with its **bundled** Screenplay (4.60.1 in cratis 3.27.1,
11
- ESM up to v5). Binding errors are `PLAY0268` (outside the admitted vertical), `PLAY0269`
10
+ 1. The CLI compiles and binds the model with its **bundled** Screenplay (4.66.0 in cratis 3.28.2,
11
+ ESM up to v6; 4.60.1, ESM up to v5, before 3.28.2). Binding errors are `PLAY0268` (outside the admitted vertical), `PLAY0269`
12
12
  (deferred), `PLAY0270` (report-only information), `PLAY0271` (legacy semantics) and `PLAY0273`
13
13
  (a specification shape).
14
14
  2. Execution planning builds the plan and can emit `PLAN-*` diagnostics before Stage runs.
15
15
  3. Stage plans the target and admits or rejects each member: `STAGE-ESM-0xx`; profile and path
16
- problems `STAGE-CRATIS-0xx`. For an ESM v4 model with evolved events the CLI adds
17
- `CLI-RENDER-003` after Stage's own `STAGE-ESM-016` version refusal, as a supplementary
18
- generation diagnostic, not as a pre-check.
16
+ problems `STAGE-CRATIS-0xx`. An ESM v4 model with an evolved event is reported with Stage's
17
+ own `STAGE-ESM-026` (Stage 4.24.2 admits v4 but not evolved events); the CLI adds nothing
18
+ since 3.28.3 (3.28.2 also reported `CLI-RENDER-003`, and refused a v4 model
19
+ with `STAGE-ESM-016` on its bundled Stage 4.24.1).
19
20
  4. Any error anywhere publishes nothing: the run ends with exit 5 and the diagnostics.
20
21
 
21
22
  The standalone `screenplay` tool can report V3 ready where the bundled binder refuses (newer
@@ -26,8 +27,8 @@ ESM). Only the probe answers renderability. `PLAY0270` entries are information,
26
27
  | Class | Meaning | Typical examples (each verified in `admission.md`) | Action |
27
28
  | --- | --- | --- | --- |
28
29
  | **Model fix (in mode)** | the model is in, or the user chose, renderable mode and breaks its own subset in a way that has a renderable equivalent with the same meaning | a `produces` whose `for` is not the command identifier; one `StateChange` slice with two commands (`STAGE-ESM-004`); two projections for one read model (`-007`); a policy without `authenticated` (`-015`) | edit request to the modeler session with address, change and rationale |
29
- | **Capability gap** | the intended meaning needs a construct Stage does not render yet | list, observable and filtered queries (`PLAY0268` "must declare one caller-supplied 'by'", `-010`); Automation and Translate slices (`PLAY0268` "not admitted by ESM v1", `-001`, Stage#79); reactions, clocks, captures and triggers (v6, `-016`); event generations (`CLI-RENDER-003`); conditional `produces when` (`-006`); `reads` (`PLAY0271`); code validation (`-005`); opaque policies (`-015`); compliance attributes (`PLAY0268` "require portable data-subject semantics"); a command `handler` (`PLAY0268`) | keep the model; ledger entry; options a to c in `SKILL.md`; link the Stage issue |
30
- | **Tool skew** | the bundled compiler disagrees with documented semantics | the false `PLAY0285` on reaction cascades (cli#242); codes the standalone compiler does not raise | record in the session state and the ledger; never "fix" a correct model |
30
+ | **Capability gap** | the intended meaning needs a construct Stage does not render yet | list, observable and filtered queries (`PLAY0268` "must declare one caller-supplied 'by'", `-010`); Automation and Translate slices (`PLAY0268` "not admitted by ESM v1", `-001`, Stage#79); reactions, clocks, captures and triggers (v6, `-016`); evolved events (`STAGE-ESM-026`); conditional `produces when` (`-006`); `reads` (`PLAY0271`); code validation (`-005`); opaque policies (`-015`); compliance attributes (`PLAY0268` "require portable data-subject semantics"); a command `handler` (`PLAY0268`) | keep the model; ledger entry; options a to c in `SKILL.md`; link the Stage issue |
31
+ | **Tool skew** | the bundled compiler disagrees with documented semantics | the false `PLAY0285` on reaction cascades from a cratis before 3.28.2 bundle (cli#242); codes the standalone compiler does not raise | record in the session state and the ledger; never "fix" a correct model |
31
32
  | **Environment** | not the model | restore failures, missing SDK, a destination that is not writable | fix the environment or report blocked |
32
33
 
33
34
  ## Triage rules
@@ -52,5 +53,5 @@ it, and cite only numbers you have just read. A closed issue is a trigger to pro
52
53
 
53
54
  ## Reference outcomes
54
55
  - The complete marina model of `cratis-stage-rendering-and-sandbox` `references/render-example.md`:
55
- admission ok, 30 artifacts, Debug build ok, 7 tests passed (cratis 3.27.1).
56
+ admission ok, 30 artifacts, Debug build ok, 7 tests passed (cratis 3.28.2).
56
57
  - The model in `worked-example.md`: admission refused with 2 blocking `PLAY0268` diagnostics, nothing published.
@@ -7,7 +7,7 @@ refuses it, so nothing is published. The example shows how to classify, decide a
7
7
 
8
8
  ```screenplay
9
9
  // cratis-screenplay-render-and-gap-fill: complete model for the refused-render example.
10
- // Compiles with warnings as errors; `cratis render` 3.27.1 refuses the list query.
10
+ // Compiles with warnings as errors; `cratis render` 3.28.2 refuses the list query.
11
11
  domain Harbour.Marina
12
12
 
13
13
  concept BerthId : Uuid
@@ -57,7 +57,7 @@ module Berths
57
57
 
58
58
  ## The probe
59
59
 
60
- Source identity recorded first (`<commit>+<digest>`), tools named: `screenplay 4.64.0`, `cratis 3.27.1`.
60
+ Source identity recorded first (`<commit>+<digest>`), tools named: `screenplay 4.66.0`, `cratis 3.28.2`.
61
61
  V1 passed on both. Then:
62
62
 
63
63
  ```text
@@ -104,10 +104,10 @@ what the reference execution route supports).
104
104
  ## The report
105
105
 
106
106
  ```text
107
- Mode: renderable (user chose) Source: <commit>+<digest> tools: screenplay 4.64.0, cratis 3.27.1
108
- V1 authorable: pass (1 file, screenplay 4.64.0; cratis validate also pass)
107
+ Mode: renderable (user chose) Source: <commit>+<digest> tools: screenplay 4.66.0, cratis 3.28.2
108
+ V1 authorable: pass (1 file, screenplay 4.66.0; cratis validate also pass)
109
109
  V2 diagnostics: not run: no MCP in this session (the bundled binder's PLAY0268 came from the render probe)
110
- V3 binding: blocked: PLAY0268 x2 (cratis 3.27.1 bundled binder)
110
+ V3 binding: blocked: PLAY0268 x2 (cratis 3.28.2 bundled binder)
111
111
  V4 specs: not run: no reference execution route in this toolchain (1 specification written, none run)
112
112
  V5 admission: refused, 2 blocking diagnostics (list query), nothing published
113
113
  V5 publication: not run: admission refused
@@ -38,6 +38,10 @@
38
38
  {
39
39
  "kind": "skill-contains",
40
40
  "value": "case A or C today"
41
+ },
42
+ {
43
+ "kind": "skill-contains",
44
+ "value": "STAGE-ESM-026"
41
45
  }
42
46
  ]
43
47
  }