@cratis/pi 7.51.0 → 7.51.1

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 (149) hide show
  1. package/package/corpus/skills/cratis-application-slice-conformance/SKILL.md +8 -7
  2. package/package/corpus/skills/cratis-application-slice-conformance/references/checklists.md +1 -1
  3. package/package/corpus/skills/cratis-application-slice-conformance/references/provenance.md +2 -2
  4. package/package/corpus/skills/cratis-application-slice-specifications/SKILL.md +15 -19
  5. package/package/corpus/skills/cratis-application-slice-specifications/references/provenance.md +1 -1
  6. package/package/corpus/skills/cratis-application-slice-specifications/references/query-and-decision-scenarios.md +8 -6
  7. package/package/corpus/skills/cratis-arc-react-page/SKILL.md +10 -14
  8. package/package/corpus/skills/cratis-arc-react-page/references/dialogs.md +4 -2
  9. package/package/corpus/skills/cratis-arc-react-page/references/from-screenplay.md +7 -7
  10. package/package/corpus/skills/cratis-arc-react-page/references/provenance.md +2 -2
  11. package/package/corpus/skills/cratis-arc-react-page/references/queries-and-commands.md +1 -1
  12. package/package/corpus/skills/cratis-arc-react-page/verification.json +0 -2
  13. package/package/corpus/skills/cratis-chronicle-reactor/SKILL.md +15 -19
  14. package/package/corpus/skills/cratis-chronicle-reactor/references/provenance.md +1 -1
  15. package/package/corpus/skills/cratis-chronicle-reactor/references/specifications.md +10 -8
  16. package/package/corpus/skills/cratis-chronicle-read-model-specifications/SKILL.md +7 -7
  17. package/package/corpus/skills/cratis-chronicle-read-model-specifications/references/provenance.md +3 -3
  18. package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +30 -28
  19. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +8 -8
  20. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/cases-to-specify.md +4 -4
  21. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/effects-and-idempotency.md +3 -1
  22. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/provenance.md +1 -14
  23. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/public-events-and-direction.md +6 -4
  24. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +5 -6
  25. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +11 -12
  26. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translate-example.md +3 -3
  27. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translation-patterns.md +2 -2
  28. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +22 -20
  29. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +1 -1
  30. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/invocation-identity.md +9 -10
  31. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/refusals-and-redelivery.md +1 -1
  32. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/specifying-triggers-and-clock.md +3 -4
  33. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/verification.json +0 -4
  34. package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +16 -15
  35. package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +17 -17
  36. package/package/corpus/skills/cratis-screenplay-command-surface/references/context.md +8 -8
  37. package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +8 -12
  38. package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +31 -29
  39. package/package/corpus/skills/cratis-screenplay-command-surface/references/inline-events.md +5 -5
  40. package/package/corpus/skills/cratis-screenplay-command-surface/references/operations.md +2 -2
  41. package/package/corpus/skills/cratis-screenplay-command-surface/references/policy-persona-seed.md +3 -3
  42. package/package/corpus/skills/cratis-screenplay-command-surface/references/shop-generation.md +10 -10
  43. package/package/corpus/skills/cratis-screenplay-command-surface/references/validate-rules.md +9 -7
  44. package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +2 -5
  45. package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +14 -15
  46. package/package/corpus/skills/cratis-screenplay-discovery/references/facilitation.md +1 -1
  47. package/package/corpus/skills/cratis-screenplay-discovery/references/personas-and-causes.md +1 -1
  48. package/package/corpus/skills/cratis-screenplay-discovery/references/plotting-and-handoff.md +2 -2
  49. package/package/corpus/skills/cratis-screenplay-discovery/references/provenance.md +3 -3
  50. package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +13 -17
  51. package/package/corpus/skills/cratis-screenplay-event-modeling/references/naming-primitives.md +2 -2
  52. package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +2 -2
  53. package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +11 -12
  54. package/package/corpus/skills/cratis-screenplay-event-modeling/references/provenance.md +2 -2
  55. package/package/corpus/skills/cratis-screenplay-event-modeling/verification.json +0 -4
  56. package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +1 -1
  57. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/evidence-table-template.md +4 -4
  58. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md +34 -21
  59. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generated-recovery.md +18 -12
  60. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/prologue-safety.md +7 -7
  61. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/provenance.md +1 -1
  62. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/rule-modeling.md +4 -4
  63. package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +24 -29
  64. package/package/corpus/skills/cratis-screenplay-model-authoring/references/choosing-generation.md +1 -2
  65. package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +44 -51
  66. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +31 -36
  67. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +56 -63
  68. package/package/corpus/skills/cratis-screenplay-model-authoring/references/model-notes.md +11 -10
  69. package/package/corpus/skills/cratis-screenplay-model-authoring/references/property-links.md +15 -15
  70. package/package/corpus/skills/cratis-screenplay-model-authoring/references/release-baseline.md +25 -21
  71. package/package/corpus/skills/cratis-screenplay-model-authoring/references/screen-authoring-workflow.md +16 -31
  72. package/package/corpus/skills/cratis-screenplay-model-authoring/verification.json +5 -4
  73. package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +1 -1
  74. package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +3 -3
  75. package/package/corpus/skills/cratis-screenplay-model-review/references/provenance.md +3 -4
  76. package/package/corpus/skills/cratis-screenplay-model-review/references/public-keys-and-routes.md +1 -1
  77. package/package/corpus/skills/cratis-screenplay-model-review/references/report-template.md +7 -5
  78. package/package/corpus/skills/cratis-screenplay-model-review/references/worked-example.md +2 -2
  79. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +11 -12
  80. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/code-reading-and-tokens.md +2 -2
  81. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/identity-and-edits.md +1 -1
  82. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/opt-in.md +8 -10
  83. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/provenance.md +6 -6
  84. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/stop-or-assume.md +2 -2
  85. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/verdicts-and-modes.md +1 -1
  86. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +3 -3
  87. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/worked-example.md +1 -1
  88. package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +11 -22
  89. package/package/corpus/skills/cratis-screenplay-projections/references/pdl-grammar.md +1 -1
  90. package/package/corpus/skills/cratis-screenplay-projections/verification.json +0 -1
  91. package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +16 -29
  92. package/package/corpus/skills/cratis-screenplay-read-surface/references/equality-filters.md +14 -18
  93. package/package/corpus/skills/cratis-screenplay-read-surface/references/guarded-actions.md +5 -7
  94. package/package/corpus/skills/cratis-screenplay-read-surface/references/named-keys.md +6 -6
  95. package/package/corpus/skills/cratis-screenplay-read-surface/references/provenance.md +1 -1
  96. package/package/corpus/skills/cratis-screenplay-read-surface/verification.json +1 -2
  97. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +18 -19
  98. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/delivery-protocol.md +2 -2
  99. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md +6 -6
  100. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/provenance.md +4 -4
  101. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +5 -6
  102. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/worked-example.md +2 -3
  103. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +1 -1
  104. package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +13 -15
  105. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-design.md +1 -1
  106. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-example.md +2 -2
  107. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/provenance.md +4 -6
  108. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +4 -4
  109. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-examples.md +3 -3
  110. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +11 -9
  111. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/view-and-story-specs.md +5 -5
  112. package/package/corpus/skills/cratis-screenplay-scenario-coverage/verification.json +0 -1
  113. package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +11 -13
  114. package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +4 -4
  115. package/package/corpus/skills/cratis-screenplay-slice-design/references/rule-layers.md +6 -4
  116. package/package/corpus/skills/cratis-screenplay-slice-design/references/slicing.md +4 -2
  117. package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +1 -1
  118. package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +37 -40
  119. package/package/corpus/skills/cratis-screenplay-specifications/references/actions-beyond-commands.md +10 -15
  120. package/package/corpus/skills/cratis-screenplay-specifications/references/child-ordering.md +14 -12
  121. package/package/corpus/skills/cratis-screenplay-specifications/references/concept-rules.md +1 -1
  122. package/package/corpus/skills/cratis-screenplay-specifications/references/examples-and-routes.md +9 -10
  123. package/package/corpus/skills/cratis-screenplay-specifications/references/generated-fixtures.md +5 -6
  124. package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +8 -9
  125. package/package/corpus/skills/cratis-screenplay-specifications/references/source-notes.md +13 -16
  126. package/package/corpus/skills/cratis-screenplay-specifications/references/whitespace-rules.md +15 -13
  127. package/package/corpus/skills/cratis-screenplay-specifications/verification.json +4 -9
  128. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +29 -29
  129. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +18 -15
  130. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +16 -15
  131. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +1 -1
  132. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +19 -17
  133. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/provenance.md +3 -3
  134. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +1 -1
  135. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +2 -2
  136. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +2 -3
  137. package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +2 -0
  138. package/package/corpus/skills/cratis-screenplay-toolchain/references/pdl-example.md +1 -1
  139. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +0 -28
  140. package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +21 -26
  141. package/package/corpus/skills/cratis-screenplay-ui-composition/references/guarded-interactions.md +3 -3
  142. package/package/corpus/skills/cratis-screenplay-ui-composition/references/provenance.md +1 -1
  143. package/package/corpus/skills/cratis-screenplay-ui-composition/references/response-continuations.md +10 -10
  144. package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +23 -30
  145. package/package/corpus/skills/cratis-screenplay-ui-composition/references/worked-flow.md +4 -5
  146. package/package/corpus/skills/cratis-screenplay-ui-composition/verification.json +1 -5
  147. package/package.json +1 -1
  148. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/product-sources.md +0 -15
  149. package/package/corpus/skills/cratis-screenplay-model-authoring/references/provenance.md +0 -13
@@ -23,14 +23,9 @@ same model root or workspace export to all checks. Workflow:
23
23
 
24
24
  ## Verified product sources
25
25
 
26
- Screenplay v4.144.0: notes (`references/model-notes.md`); property planner
27
- v4.142.0 (`references/property-links.md`); compliance (command-surface
28
- `references/compliance.md`); generation MCP v4.149.0
29
- ([sources](references/mcp-tools.md#concept-generation-41490)); other MCP v4.139.0
30
- `Documentation/screenplay/mcp/`. Stored names v4.152.0; baseline v4.153.0
31
- (`references/release-baseline.md`). Discover installed schemas; bundles differ.
32
- Tool versions: toolchain `SKILL.md`. Historical probes 4.66.0; registration
33
- compilation/execution 4.68.0. Attribution: `references/provenance.md`.
26
+ Source: `Cratis/Screenplay`, `Documentation/screenplay/` and `Documentation/screenplay/mcp/`
27
+ (notes, property planner, compliance, concept generation, release baseline). Discover
28
+ installed schemas; bundles differ. Tool versions: toolchain `SKILL.md`.
34
29
 
35
30
  Record open modeling questions as `question` notes in committed
36
31
  `.screenplay/notes.json`, not chat or `description` text. Never put secrets or
@@ -45,7 +40,7 @@ editing concept generation or `generated identifier`.
45
40
 
46
41
  ## When not to
47
42
 
48
- The same reference separates inputs, credentials and unreleased context/secret generation.
43
+ The same reference separates inputs, credentials and context/secret generation that is not available.
49
44
 
50
45
  ## Locate and connect
51
46
 
@@ -82,7 +77,7 @@ The CLI entry point is:
82
77
  cratis screenplay mcp <model-folder>
83
78
  ```
84
79
 
85
- CLI 3.57.0 bundles MCP 4.147.1, lacking the generation summary/entropy repairs.
80
+ The CLI-bundled MCP can be older than the standalone tool and lack newer capabilities, such as the generation summary and entropy repairs.
86
81
  Discover installed capabilities. Do not ask for a second global .NET tool, Docker
87
82
  or hand-copied managed MCP configuration. Installation/status must confirm adapter
88
83
  support and no conflicts.
@@ -100,7 +95,7 @@ can keep that entry point; use the project's supported installation channel.
100
95
  Before a property change, read [property links](references/property-links.md):
101
96
  `kind: "Property"`, `Owner.member` / `Owner.generationN.member`, direct mappings.
102
97
  `complete: false` is incomplete evidence, never a successful empty list.
103
- Edit through MCP proposals, not hand-edited text; [generation](references/mcp-tools.md#concept-generation-41490).
98
+ Edit through MCP proposals, not hand-edited text; [generation](references/mcp-tools.md#concept-generation).
104
99
  3. Read diagnostics and coverage limitations. Use `dependency-graph` for container
105
100
  edges, declared-dependency coverage, cycles and advisory order; the board's
106
101
  dependency-map toggle exposes this evidence visually. Unknown or ambiguous
@@ -161,9 +156,11 @@ Others send an edit request ([MCP loop](references/mcp-loop.md)).
161
156
  identity-state change through `workspace-state`. Review `orphanedNotes` on
162
157
  source proposals; reanchor or resolve affected questions before applying
163
158
  ([notes and orphan impact](references/model-notes.md#source-proposals-can-orphan-notes)).
164
- 7. Run `run-specifications` with `proposalId` before applying on **Screenplay
165
- 4.145.0 and later**. Record V4 separately: PLAY0285 (impossible `then`) unbinds the whole
166
- model. Paging and read-only candidate semantics: [MCP tool guide](references/mcp-tools.md#run-reference-specifications).
159
+ 7. Run `run-specifications` with `proposalId` before applying. Record V4 separately: PLAY0285
160
+ (impossible `then`) unbinds the whole model. Paging and read-only candidate semantics:
161
+ [MCP tool guide](references/mcp-tools.md#run-reference-specifications).
162
+
163
+ Requires Screenplay 4.145.0 or later (`screenplay --version`) for `proposalId`; earlier servers run only the current workspace.
167
164
  8. `apply` only the reviewed server-produced proposal within the user's requested
168
165
  change. The proposal ID and before revisions are required; stale state rejects.
169
166
  When the user already requested apply, do it after checks without asking again;
@@ -206,7 +203,7 @@ from silently changing the reviewed candidate.
206
203
  No automatic generation-evolution repair ships.
207
204
  - `PLAY0479`: migrate optionality spelling with `PreserveTrivia`; document scope
208
205
  migrates all occurrences together. Keep the `query Q => observable?` exception.
209
- - Generation repairs PLAY0683/0684: [subjects, review and limits](references/mcp-tools.md#concept-generation-41490).
206
+ - Generation repairs PLAY0683/0684: [subjects, review and limits](references/mcp-tools.md#concept-generation).
210
207
  - Compliance repairs PLAY0565/0653: [MCP tool guide](references/mcp-tools.md).
211
208
 
212
209
  `propose-number-enum-members` pins an unnumbered enum to current positions.
@@ -214,14 +211,16 @@ Opt-in MCP `checks: "enum-pinning"` / `--check enum-pinning` (PLAY0671) hints at
214
211
  stored enums, not correctness repairs. Arguments/review: `references/mcp-tools.md`.
215
212
 
216
213
  Use `propose-extract-inline-event` before adding generations (canonical consent;
217
- no comment loss/reverse). **4.153.0** [release baseline](references/release-baseline.md):
214
+ no comment loss/reverse). The [release baseline](references/release-baseline.md):
218
215
  admit in the release job; no baseline requires an explicit mode;
219
- `eventNeverPersisted: true` cannot unfreeze admitted revisions. **4.152.0** carries
220
- `storedName` in ESM v16; the interim warning is retired. Pins are event-name identifiers,
221
- shared by all generations and unique (PLAY0472). Stage 4.92.0 / CLI 3.59.0 do not
222
- admit v16. Stored stream `All` (even `id "All"`) refuses PLAY0273; rename without
216
+ `eventNeverPersisted: true` cannot unfreeze admitted revisions. Differing event pins carry
217
+ `storedName` in ESM v16. Pins are event-name identifiers,
218
+ shared by all generations and unique (PLAY0472). A renderer admits only the ESM versions it
219
+ bundles, so an older Stage can refuse v16. Stored stream `All` (even `id "All"`) refuses PLAY0273; rename without
223
220
  that pin. Evidence/limits: [MCP tool guide](references/mcp-tools.md).
224
221
 
222
+ Requires Screenplay 4.153.0 or later (`screenplay --version`) for the release baseline and its `baseline` command, and 4.152.0 or later for `storedName` (ESM v16).
223
+
225
224
  ## Choose a readable layout
226
225
 
227
226
  Use `recommend-layout` for size-admissible options, then review an `expand-layout`
@@ -232,14 +231,14 @@ proposal. Layout is not application semantics.
232
231
  - Use one file per feature when nested features need separate review.
233
232
  - Use one file per slice when a large model needs isolated diffs.
234
233
 
235
- Compose split files with quoted imports (`import "<path or glob>"`, v4.48.0).
234
+ Compose split files with quoted imports (`import "<path or glob>"`).
236
235
  Each level above the slices is a barrel file: `application.play` holds `domain`
237
236
  and imports `Shared/*.play` and each module file; a module file declares the
238
237
  module and its features, each feature importing its folder
239
238
  (`import "Orders/*.play"`); a slice file holds only its `slice`, because the
240
239
  import places it in its feature. When you write or reorganize files yourself,
241
240
  do not restate `module`/`feature` in a slice file, and do not leave a barrel
242
- that declares a scope but imports nothing. At 4.125.0 `expand-layout` writes
241
+ that declares a scope but imports nothing. `expand-layout` writes
243
242
  import barrels and slice-only leaves, preserving sibling and interleaved member
244
243
  order. It refuses a proposal that would change that order; without an ordering
245
244
  root its review discloses the path-order fallback. When choosing file placement, read the
@@ -296,9 +295,9 @@ paths or diagnosing `PLAY0430`-`PLAY0434`; `read-workspace`/`read-proposal`
296
295
  clean run is not a bound or executable result.
297
296
  - Operations/`numbers exact` remain unadmitted; routes bind as v8, public
298
297
  boundaries v9, identity/overrides/filters v10, qualifying non-route Double
299
- literals v11, enum numbers v12, compliance v13 (since 4.141.0;
300
- limits: command-surface `references/compliance.md`).
301
- CLI 3.57.0 bundles Screenplay 4.147.1 / Stage 4.89.1 and renders v12 enum numbers. Never drop or stub source contracts to bind.
298
+ literals v11, enum numbers v12, compliance v13 (limits: command-surface
299
+ `references/compliance.md`). The compiler and renderer bundled in the CLI can be older than the
300
+ standalone tool (toolchain `SKILL.md`). Never drop or stub source contracts to bind.
302
301
  - Distinguish authoring acceptance from `executableReady`; unsupported backend
303
302
  capabilities are not a reason to drop source constructs or invent stubs.
304
303
  - If execution is intended, validate with the owning downstream runtime as well.
@@ -332,7 +331,3 @@ Never invent commands, parameters, syntax nodes or downstream capabilities.
332
331
  | Lifecycle, verdicts V1 to V5 and the model-first decision | `cratis-screenplay-modeling-lifecycle` |
333
332
  | Compiler, CLI and MCP versions, diagnostics, capability tables | `cratis-screenplay-toolchain` |
334
333
  | Event-model diagrams rather than .play source | `cratis-event-model-diagram` |
335
-
336
- ## Lineage
337
-
338
- Read `references/provenance.md` when checking the sources or attribution of the connection and edit-route guidance: [provenance](references/provenance.md).
@@ -26,5 +26,4 @@ Do not replace client-minted inputs, authorization, idempotency keys or a gaples
26
26
  invoice allocator with generation. Secret generation, pattern/random/rule execution
27
27
  and generated-concept rule consistency are not released capabilities. Preserve
28
28
  refused rules instead of deleting them or inventing a repair.
29
- Source: Screenplay `v4.151.0:Documentation/screenplay/generated-values/choosing.md:6-29,49-51`;
30
- `Documentation/screenplay/generated-values.md:70-72`.
29
+ Sources: `Documentation/screenplay/generated-values/choosing.md` and `Documentation/screenplay/generated-values.md` in `Cratis/Screenplay`.
@@ -32,7 +32,7 @@ attachments, `feature`.
32
32
  **Inside a feature:** `description`, `authorize`, `import "<glob>"`, nested
33
33
  `feature`, `slice`, `contribute`, `on`/`uses` behavior attachments.
34
34
 
35
- **Files (v4.48.0).** `import "<path or glob>"` - quoted - imports `.play` files
35
+ **Files.** `import "<path or glob>"` - quoted - imports `.play` files
36
36
  relative to the importing file; unquoted, `import` still names a contract from
37
37
  another bounded context. At the top level it brings in whole documents. Inside a
38
38
  `module` or `feature` it places each imported file there, and that file's top
@@ -66,8 +66,8 @@ repeated header markers report PLAY0653 warning. Purposes declare the use/basis/
66
66
  separately; see command-surface `references/compliance.md`.
67
67
 
68
68
  Enum member `name = N` pins are unique int32 values, all members or none.
69
- Unnumbered enums retain positions. Non-positional numbers bind as ESM v12 from
70
- 4.139.0; positional pins preserve older bytes/version. Fixtures and conditions
69
+ Unnumbered enums retain positions. Non-positional numbers bind as ESM v12;
70
+ positional pins preserve older bytes/version. Fixtures and conditions
71
71
  still name members. Syntax, stored-number safety and consumer admission:
72
72
  command-surface `references/enum-numbers.md`.
73
73
 
@@ -78,7 +78,7 @@ members or translating names from memory.
78
78
 
79
79
  ## Caller, subject and stream nodes
80
80
 
81
- At v4.127.0 the typed syntax includes `IdentityExpressionSyntax` (`$identity`),
81
+ The typed syntax includes `IdentityExpressionSyntax` (`$identity`),
82
82
  `IdentitySyntax`, `IdentityDetailSyntax`, `ClaimIdentitySourceSyntax`,
83
83
  `QueryIdentitySourceSyntax`, `CodeIdentitySourceSyntax`, `FileIdentitySourceSyntax`.
84
84
  `ApplicationSyntax.Identity` carries the block; query schemas before editing JSON.
@@ -87,6 +87,8 @@ are authoring-only and refuse executable binding (PLAY0268), while the block alo
87
87
  does not block readiness. Claim/query sources have exactly one source and no body.
88
88
  See command-surface `references/context.md` for key/type/gate restrictions.
89
89
 
90
+ Requires Screenplay 4.121.0 or later (`screenplay --version`) for `$identity` expressions, and 4.122.0 or later for the `identity` block.
91
+
90
92
  `PropertySyntax.isSubject` marks an event's required unprotected scalar subject,
91
93
  omitted from structural JSON when false. It is lineage metadata (PLAY0270), not
92
94
  runtime subject propagation or generated C# `[Subject]`. Read-model marks are
@@ -99,7 +101,7 @@ old PLAY0268 gap. Never infer composite parts by splitting legacy scalar ids.
99
101
 
100
102
  ## Container dependencies and exact numbers
101
103
 
102
- At Screenplay 4.125.0, modules and features accept `depends on <Name>`, one
104
+ Modules and features accept `depends on <Name>`, one
103
105
  per line. Bare targets resolve inside out (siblings, ancestor siblings, root
104
106
  modules); qualified targets match an unambiguous trailing address. Merged files
105
107
  accumulate each owner's declarations in file-path order; imports affect board
@@ -107,6 +109,8 @@ order, not accumulation. Dependencies are optional authoring metadata, not runti
107
109
  or implementation order. See `cratis-screenplay-slice-design` `references/slicing.md`
108
110
  for coverage diagnostics and MCP `dependency-graph` `declarations` evidence.
109
111
 
112
+ Requires Screenplay 4.76.0 or later (`screenplay --version`) for `depends on` container dependencies (PLAY0554).
113
+
110
114
  A top-level `numbers exact` preamble opts each file into bounded decimal source
111
115
  literals without Double rounding. All files/import barrels must agree on mode
112
116
  (PLAY0508–PLAY0513 diagnose directive/range/mode errors). Exact mode is authorable,
@@ -124,14 +128,13 @@ not opt a Legacy root in. Change mode as a whole-tree edit (leaves and all root
124
128
  options), not just a flag; fragment printing keeps the owner's mode without a
125
129
  nested preamble.
126
130
 
127
- Sources: v4.125.0 `slices.md`, `folders.md`, `ast-authoring.md`, `grammar.md`.
131
+ Sources: `slices.md`, `folders.md`, `ast-authoring.md`, `grammar.md` in `Documentation/screenplay/`.
128
132
 
129
133
  ## Complete model
130
134
 
131
135
  This registration model uses an inline event and context identity rather than
132
- copying the identifier into payload. It was compiled at main `fd18129` with zero
133
- source diagnostics and recompiled with standalone 4.68.0 `--warnaserror`; neither
134
- check runs its specifications. Inline lowering
136
+ copying the identifier into payload. It compiles with zero source diagnostics under
137
+ `--warnaserror`; neither check runs its specifications. Inline lowering
135
138
  and `optional` spelling do not themselves select a newer ESM version.
136
139
 
137
140
  ```screenplay
@@ -182,8 +185,7 @@ module Projects
182
185
 
183
186
  ## Source validity is not execution
184
187
 
185
- The table and binding inventory below retain their historical 4.66.0/4.68.0
186
- probe labels; do not use them as current tool admission evidence. At 4.125.0,
188
+ The table and binding inventory below are a snapshot, not tool admission evidence.
187
189
  `screenplay test` and MCP `run-specifications` expose reference execution,
188
190
  and sources/streams/routes bind as ESM v8. Operations and exact numeric mode
189
191
  still refuse binding. Use the installed tool, read as described in
@@ -221,18 +223,14 @@ The ESM version is selected by what a model uses, never by the author:
221
223
  distinct revision property identities. Historical declarations are not migration
222
224
  implementations; a target without migration support must reject the contract.
223
225
  - **v5** adds keyed read-model absence assertions (`then no readmodel`).
224
- - **v6** (Screenplay 4.61 and later; v4.66.0 `Versions.cs`) admits reactions,
225
- captures, application triggers and the clock, hence `Automation` and
226
- `Translate` slices. The Cratis CLI 3.28.2 bundles Screenplay 4.66.0 and binds them;
227
- before 3.28.2 bundled 4.60.1 (ESM 5 at most), where these constructs failed
228
- binding with `PLAY0268`. Name the tool
229
- with every bound result; `cratis-screenplay-toolchain`
230
- describes the two compilers.
231
- - **v7** (Screenplay 4.68.0 and later; `Versions.cs`) admits generated command properties, `returns`
232
- responses, generated fixtures and `then returns` expectations, and is selected only by a model that
233
- uses one (decision 0026). The Cratis CLI 3.28.3 bundles 4.66.0 and reports `PLAY0268`; Stage 4.24.2
234
- refuses v7 with `STAGE-ESM-016` (tracked in Stage#201). Details:
235
- `cratis-screenplay-command-surface`.
226
+ - **v6** admits reactions, captures, application triggers and the clock, hence
227
+ `Automation` and `Translate` slices. A compiler that stops before v6 reports these
228
+ constructs as `PLAY0268`. Name the tool with every bound result;
229
+ `cratis-screenplay-toolchain` describes the two compilers.
230
+ - **v7** admits generated command properties, `returns` responses, generated fixtures
231
+ and `then returns` expectations, and is selected only by a model that uses one. A
232
+ compiler or renderer that stops before v7 reports `PLAY0268` or `STAGE-ESM-016`.
233
+ Details: `cratis-screenplay-command-surface`.
236
234
 
237
235
  Inline events lower to slice-owned standalone contracts and preserve equivalent
238
236
  canonical bytes. Event `description`, `documentation` and rename-only `id` are
@@ -244,14 +242,10 @@ admitted. One refused construct blocks the whole plan, so no specification in
244
242
  the model runs, including specifications that never touch it.
245
243
 
246
244
  What binds today, what the reference execution plan refuses, what is opaque, what is
247
- authorable but not executable, and what blocks binding. The snapshot comes from the
248
- v4.31.0 table, re-read against v4.66.0 and v4.68.0 documentation and probed through the MCP of
249
- the standalone 4.66.0 tool for the rows marked "probed"; Cratis CLI 3.28.2 and 3.28.3 bundle
250
- Screenplay 4.66.0 (before 3.28.2, Screenplay 4.60.1, differ where stated).
251
-
252
- Read-model identity below is corrected to 4.135.0; equality query filters are
253
- updated to standalone 4.153.0 (admitted in 4.143.0, ESM v14):
254
- explicit trailing `key` wins; otherwise single-instance queries in the owning slice
245
+ authorable but not executable, and what blocks binding. A bundled compiler can be older
246
+ than the standalone tool and refuse a row that binds below (toolchain `SKILL.md`).
247
+
248
+ Read-model identity: explicit trailing `key` wins; otherwise single-instance queries in the owning slice
255
249
  must agree on `by`. Only with no single-instance identifier and an admitted list
256
250
  query does conventional `*Id` inference run. Queryless views need explicit `key`.
257
251
  See read-surface `references/named-keys.md` for the collection-key exclusion algorithm.
@@ -260,23 +254,22 @@ See read-surface `references/named-keys.md` for the collection-key exclusion alg
260
254
  | --- | --- |
261
255
  | 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` |
262
256
  | 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) |
263
- | 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 current standalone `screenplay test`/MCP reference route evaluates admitted v6 actions; the historical Stage 4.24.2 probe rendered none; Stage 4.89.1 renders supported event-triggered Automation, with remaining refusals in the Stage skill's `references/admission.md` |
264
- | 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 |
265
- | 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 |
266
- | 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 |
267
- | Binds as ESM v7 on standalone Screenplay 4.68.0 (source and release notes; `PLAY0268` on the 4.66.0 in Cratis CLI 3.28.x, probed) | `generated` properties and `returns` responses, generated fixtures and `then returns`: bound and executed by the reference runner; a policy, rule or requirement that references a generated value is `PLAY0273`, and a generated property on a concept with validation rules is `PLAY0268`. Stage 4.89.1 renders supported UUID/String strategies, scalar/named responses and fixtures; unsupported types/result combinations remain `-028`/`-038` |
257
+ | Binds as ESM v6 (`PLAY0268` on a compiler that stops before v6) | `Automation` and `Translate` slices, reactions that produce or invoke, captures, top-level `trigger`, clock, trigger and capture specifications. The standalone `screenplay test`/MCP reference route evaluates admitted v6 actions; Stage renders supported event-triggered Automation, with remaining refusals in the Stage skill's `references/admission.md` |
258
+ | Reaction with trigger `reads` | Direct-producing (or code-bodied) reaction with `reads`: `PLAY0268` ("ESM v6 cannot protect that decision dependency"), 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 |
259
+ | 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 admits |
260
+ | Information only, never blocks | `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 |
261
+ | Binds as ESM v7 (`PLAY0268` on a compiler that stops before v7) | `generated` properties and `returns` responses, generated fixtures and `then returns`: bound and executed by the reference runner; a policy, rule or requirement that references a generated value is `PLAY0273`, and a generated property on a concept with validation rules is `PLAY0268`. Stage renders supported UUID/String strategies, scalar/named responses and fixtures; unsupported types/result combinations remain `-028`/`-038` |
268
262
  | Authorable, not executable (PLAY0268) | Systems/operations, the `numbers exact` source mode (PLAY0268; exact lowering of qualifying Double literals is the admitted v11) and refusal/redelivery remain unadmitted |
269
- | Concept generation strategies (ESM v15, since 4.147.0) | Required scalar generatable Uuid/String concepts; concept-owned uuid/uuidv7/ulid/typeid/nanoid/bytes strategies and admitted modifiers. Strict fixture encoding; Guarded whole-source freshness rejects Concurrency with no append/retry. Rules, generated secrets, pattern/random/rule and sequence remain refused. CLI 3.57.0 / Stage 4.89.1 render supported strategies: command-surface `references/generated-values-and-responses.md` |
270
- | Response-name UI continuations (4.148.0, no ESM change) | Form submit and execute-success scopes, own failure PLAY0685, nested shadowing and outer success in inner failure; field/parameter precedence. CLI's 4.147.1 lacks resolution; Scene runtime binding remains downstream. UI composition `references/response-continuations.md` |
271
- | Collection equality filters (ESM v14, since 4.143.0) | Caller-supplied `filter name Type [optional]`, no `from`, matching a same-named scalar primitive/concept/enum read-model property with the same nominal type. AND with `by`; optional omission does not narrow, supplied null is refused. PLAY0468 covers unknown/repeated/missing required spec arguments; result rows compare by read-model/key regardless of order. Read read-surface `references/equality-filters.md` for the compiled example and renderer ceilings |
272
- | Current routing and actor admission | Sources/streams and command/specification routes bind and reference-execute as v8; reaction `runs as system role` supplies the invocation actor as v10 on 4.125.0. Whole-workspace binding determines executable availability; CLI/Stage realization remains separate |
273
- | Blocks binding (`PLAY0268`) | enum/identity compliance and events combining personal or explicitly subject-scoped secret values with explicit subject marks (4.141.0); historical CLI 3.53.1 refuses all `pii`/`secret` concepts; CLI 3.57.0 binds v13 and Stage 4.89.1 renders protection (historical probe: "compliance attributes require portable data-subject semantics"); command `handler` (never binds; a command cannot declare both `produces` and `handler`, `PLAY0035`), bare `rule <Name>`, `require` or conditions over read-model paths, dates and `today` in comparisons, `$context.tenant`/claims/roles/causation in `produces`, `$env` conditions, `file` constraints, unquoted `import` of an external contract, a read model with neither explicit `key` nor unambiguous query-based identity as described above (composite keys remain unadmitted), queries with context `from` sources (typed query context is unadmitted), single-result filters (collections only), `scoped to` (opaque scope), `performer` (opaque implementation) or composite `by` blocks (#599); optional keyed and collection queries, including caller-supplied equality filters and observable delivery, bind, `$causedBy` and templates in projections |
263
+ | Concept generation strategies (ESM v15) | Required scalar generatable Uuid/String concepts; concept-owned uuid/uuidv7/ulid/typeid/nanoid/bytes strategies and admitted modifiers. Strict fixture encoding; Guarded whole-source freshness rejects Concurrency with no append/retry. Rules, generated secrets, pattern/random/rule and sequence remain refused. Stage renders supported strategies: command-surface `references/generated-values-and-responses.md` |
264
+ | Response-name UI continuations (no ESM change) | Form submit and execute-success scopes, own failure PLAY0685, nested shadowing and outer success in inner failure; field/parameter precedence. An older bundled compiler lacks resolution; Scene runtime binding remains downstream. UI composition `references/response-continuations.md` |
265
+ | Collection equality filters (ESM v14) | Caller-supplied `filter name Type [optional]`, no `from`, matching a same-named scalar primitive/concept/enum read-model property with the same nominal type. AND with `by`; optional omission does not narrow, supplied null is refused. PLAY0468 covers unknown/repeated/missing required spec arguments; result rows compare by read-model/key regardless of order. Read read-surface `references/equality-filters.md` for the compiled example and renderer ceilings |
266
+ | Current routing and actor admission | Sources/streams and command/specification routes bind and reference-execute as v8; reaction `runs as system role` supplies the invocation actor as v10. Whole-workspace binding determines executable availability; CLI/Stage realization remains separate |
267
+ | Blocks binding (`PLAY0268`) | enum/identity compliance and events combining personal or explicitly subject-scoped secret values with explicit subject marks; a compiler that stops before v13 refuses all `pii`/`secret` concepts ("compliance attributes require portable data-subject semantics"), while v13 binds them and Stage renders protection; command `handler` (never binds; a command cannot declare both `produces` and `handler`, `PLAY0035`), bare `rule <Name>`, `require` or conditions over read-model paths, dates and `today` in comparisons, `$context.tenant`/claims/roles/causation in `produces`, `$env` conditions, `file` constraints, unquoted `import` of an external contract, a read model with neither explicit `key` nor unambiguous query-based identity as described above (composite keys remain unadmitted), queries with context `from` sources (typed query context is unadmitted), single-result filters (collections only), `scoped to` (opaque scope), `performer` (opaque implementation) or composite `by` blocks; optional keyed and collection queries, including caller-supplied equality filters and observable delivery, bind, `$causedBy` and templates in projections |
274
268
  | Blocks binding (`PLAY0271`, legacy meaning) | Command `reads` and `concurrency` |
275
269
  | Deferred (`PLAY0269`, information) | Screens, layouts, templates, forms, contributions, UI profiles, themes, behaviors and `on`/`uses` |
276
270
  | Metadata only (`PLAY0270`, information) | `domain`, `seed`, `persona`, trigger and other descriptions, and `file` provenance on declarations |
277
271
 
278
- The table is a snapshot, not a contract (rows without "probed" are carried from
279
- v4.31.0 and v4.66.0 documentation): ask the binder (MCP `executable-diagnostics`
272
+ The table is a snapshot, not a contract: ask the binder (MCP `executable-diagnostics`
280
273
  view) rather than extrapolating from it. Neither `screenplay` nor
281
274
  `cratis screenplay validate` binds, so a clean validation says nothing about this table. Retain valid source that the
282
275
  backend cannot represent rather than downgrading it to a stub. MCP `run-specifications` executes the admitted reference subset, not embedded
@@ -285,12 +278,12 @@ runtime admission.
285
278
 
286
279
  ## Not in the language yet
287
280
 
288
- Decision 0006 shipped in Screenplay 4.31.0: a reaction trigger may declare
281
+ A reaction trigger may declare
289
282
  `reads <View> [as <alias>] [by <trigger value>]` (see
290
- `cratis-screenplay-captures-and-reactions`). At v4.66.0 a direct-producing
283
+ `cratis-screenplay-captures-and-reactions`). A direct-producing
291
284
  reaction with `reads` fails binding (`PLAY0268`); an invokes-only reaction reports
292
285
  the reads as information, and the invoked command must protect its own
293
- dependencies. On Cratis CLI before 3.28.2 every reaction failed binding.
286
+ dependencies.
294
287
 
295
288
  Do not infer availability from an accepted decision. Event generations and typed
296
289
  diagnostic repairs now exist; see the event and MCP references rather than the
@@ -300,14 +293,14 @@ Code attachment/source-map support likewise does not prove code round-trip
300
293
  execution equivalence.
301
294
 
302
295
  Operations remain authorable/unadmitted (PLAY0268). Named event sources/streams
303
- and routes bind and reference-execute as v8 on 4.125.0; reaction identity as v10.
296
+ and routes bind and reference-execute as v8; reaction identity as v10.
304
297
  Use standalone `screenplay test` or MCP `run-specifications` for a reference
305
298
  verdict, and independently check CLI/Stage admission. Never drop a contract to bind.
306
- Generated values and `returns` are no longer in this group: they bind from 4.68.0 (ESM v7).
299
+ Generated values and `returns` are not in this group: they bind as ESM v7.
307
300
  Protected reads and `derive`/`provide` (not admitted by any supported ESM version) have no documented
308
- syntax at v4.68.0: do not teach or invent one. Affected-instance declarations and query paging/sorting/change-set delivery
309
- remain unavailable here. Event `subject` is report-only authoring metadata at
310
- 4.127.0; public events/origin are admitted as ESM v9 (not provider realization).
301
+ syntax: do not teach or invent one. Affected-instance declarations and query paging/sorting/change-set delivery
302
+ remain unavailable here. Event `subject` is report-only authoring metadata;
303
+ public events/origin are admitted as ESM v9 (not provider realization).
311
304
  Purpose declarations, references and processing records are authoring metadata,
312
305
  not retention or lawful-processing enforcement.
313
306
 
@@ -19,11 +19,8 @@
19
19
  The working loop for the session that owns the model connection: connect, orient,
20
20
  choose an edit route, propose, review, run specifications, apply, verify. Tool-by-tool arguments and
21
21
  refusals are in the [MCP tool guide](mcp-tools.md); verdict names (V1 to V5) are
22
- defined by `cratis-screenplay-modeling-lifecycle`. Facts here were read at
23
- Screenplay v4.66.0 (`Source/DotNET/Screenplay.Mcp/`, `Documentation/screenplay/mcp/`)
24
- and probed against the standalone 4.66.0 tool and, for the connection behavior,
25
- 4.63.1. Cratis CLI 3.28.2 bundles Screenplay 4.66.0 (probed: 29 tools and the same views);
26
- Cratis CLI before 3.28.2 bundled 4.60.1, whose tool set and views differ: read `tools/list`.
22
+ defined by `cratis-screenplay-modeling-lifecycle`. Discover the installed tool set and views with
23
+ `tools/list`: the CLI-bundled server can differ from the standalone one.
27
24
 
28
25
  ## Connect
29
26
 
@@ -39,7 +36,7 @@ Cratis CLI before 3.28.2 bundled 4.60.1, whose tool set and views differ: read `
39
36
  `.screenplay` metadata.
40
37
  4. Read `tools/list` schemas once per connection; never hard-code counts or
41
38
  argument lists. MCP-Apps hosts also expose `visualize-model`.
42
- 5. At 4.125.0 a startup root may switch to the same relative model folder in a
39
+ 5. (Requires Screenplay 4.81.0 or later.) A startup root may switch to the same relative model folder in a
43
40
  registered Git worktree of its repository. `open-workspace.path` accepts the
44
41
  checkout or exact model folder. Shared Git directory and registration
45
42
  back-pointer must agree physically; unrelated/malformed/unregistered roots,
@@ -49,19 +46,20 @@ Cratis CLI before 3.28.2 bundled 4.60.1, whose tool set and views differ: read `
49
46
  worktree is removed, explicitly return to the startup root; if the startup
50
47
  root is removed, start a new connection. No simultaneous named workspaces.
51
48
 
52
- ### Roots bug and the workaround
49
+ ### Dynamic roots and the workaround
53
50
 
54
- Screenplay up to 4.63.1 (fixed in 4.63.2; the 4.66.0 tool is fixed) read the
55
- client's roots reply from the wrong member. A server started **without** a root,
56
- facing a client that advertises roots, answered with an error with `id: null`
57
- immediately after `notifications/initialized`, before any tool call. Real hosts
58
- treat that as fatal and drop the connection. Passing `open-workspace.path` does
59
- **not** avoid it, because the error is sent before `open-workspace` runs.
51
+ A server started **without** a root binds one on first use: `open-workspace.path`, then the
52
+ client's `roots/list` root, then a working-directory or fallback model folder. Avoid depending on
53
+ that by fixing the root at launch (the forms in step 1). The `cratis/screenplay` profile
54
+ registration fixes it in an installed project, and the CLI locates the model itself, so no model
55
+ directory has to exist.
60
56
 
61
- Avoid it by fixing the root at launch (the forms in step 1). The `cratis/screenplay`
62
- 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
63
- dynamic root there, fix the root. Cratis CLI 3.28.2 bundles 4.66.0, which is fixed (probed:
64
- the server sends `roots/list` and serves `tools/list` after the reply).
57
+ Requires Screenplay 4.63.2 or later (standalone, or a Cratis CLI 3.28.2 or later that bundles it)
58
+ for a server without a root facing a client that advertises roots. Before it, the server read the
59
+ roots reply from the wrong member and answered with an error with `id: null` immediately after
60
+ `notifications/initialized`, before any tool call; real hosts treat that as fatal and drop the
61
+ connection. Passing `open-workspace.path` does **not** avoid it, because the error is sent before
62
+ `open-workspace` runs. On such a tool, fix the root at launch.
65
63
 
66
64
  ## Who owns the connection
67
65
 
@@ -108,15 +106,15 @@ the server sends `roots/list` and serves `tools/list` after the reply).
108
106
  `find-modeling-smells` as questions needing a domain consequence, and compare
109
107
  generated/curated exported snapshots with `semantic-diff`.
110
108
  Before a property change, use `find-references`/`dependencies`
111
- `kind: "Property"` (4.138.0+) and `Owner.member` or historical event
109
+ `kind: "Property"` and `Owner.member` or historical event
112
110
  `Owner.generationN.member`. Follow direct mapping counterparts one query at a
113
111
  time; inspect incomplete/ambiguous evidence and `reasons`. `complete: false`
114
112
  is not an empty successful result. Shapes/roles: [property links](property-links.md).
115
- On Screenplay 4.149.0, inspect concept `generate` with `declaration-details`
113
+ Inspect concept `generate` with `declaration-details`
116
114
  `kind: "Concept"`, `view: "summary"`: `generation.executable.status` distinguishes
117
115
  `admitted`, `refused`, `notAssessed`; empty local error codes do not prove binding.
118
- The CLI 3.57.0 / MCP 4.147.1 bundle lacks this summary and entropy repairs.
119
- Fields and tagged evidence: [concept generation](mcp-tools.md#concept-generation-41490).
116
+ A bundle that predates this summary also lacks the entropy repairs.
117
+ Fields and tagged evidence: [concept generation](mcp-tools.md#concept-generation).
120
118
  3. `open-workspace` and keep `revision` and `catalogRevision`. Opening writes
121
119
  nothing. With `identityPersistence: "root-local-on-apply"` the identities file
122
120
  is written only by `apply`.
@@ -144,7 +142,7 @@ the server sends `roots/list` and serves `tools/list` after the reply).
144
142
  diagnostics, report V3 as not binding-ready, and never drop or stub the
145
143
  construct. The server's own guidance is to apply such a proposal only when
146
144
  the user accepts a model that does not run yet.
147
- 7. On **Screenplay 4.145.0 and later**, run `run-specifications` with the
145
+ 7. Run `run-specifications` with the
148
146
  retained `proposalId` before `apply`. This read-only V4 route runs the candidate,
149
147
  including retained identities and planned renames, without applying, refreshing
150
148
  from disk or discarding it. `read-proposal view: "semantic-diff"` is static
@@ -191,9 +189,9 @@ the server sends `roots/list` and serves `tools/list` after the reply).
191
189
  A text rename plus an `id "<old name>"` pin preserves authored stored-name intent
192
190
  but leaves the identity catalog pointing at the old declaration; the next
193
191
  `apply` can mint new identities silently. Use the identity-preserving operation.
194
- Screenplay 4.152.0 carries differing event pins as `storedName` in ESM v16;
195
- that does not repair a stale catalog or admit the model to Stage 4.92.0 / CLI
196
- 3.59.0 (still v15). Evidence and target limits: `mcp-tools.md`.
192
+ Differing event pins carry `storedName` in ESM v16;
193
+ that does not repair a stale catalog or admit the model to a renderer that stops before
194
+ v16. Evidence and target limits: `mcp-tools.md`.
197
195
  5. **A session without MCP** (a subagent, or a harness with no server) carries out a
198
196
  requested rename by text with `id "<Old>"` pins and an identity note when no
199
197
  `.screenplay/identities.json` exists. When it exists, it does not edit
@@ -209,7 +207,7 @@ the server sends `roots/list` and serves `tools/list` after the reply).
209
207
  | Inline event extraction | `produces event ...` to a declared event | `propose-extract-inline-event` |
210
208
  | Parser-invalid document | no editable handles | `propose-source` `replace-document` with corrected source, or typed `propose-ast` document replacement |
211
209
  | Unadmitted constructs | systems/operations, the `numbers exact` source mode, refusal/redelivery | reviewed Authoring `propose-source` (whole documents) or `propose-ast` (typed edits); preserve intent and report PLAY0268 |
212
- | Admitted source/stream routing | ESM v8 at 4.125.0 | typed `propose-ast`; `propose-rename` repairs proven route references; target admission separate |
210
+ | Admitted source/stream routing | ESM v8 | typed `propose-ast`; `propose-rename` repairs proven route references; target admission separate |
213
211
 
214
212
  PLAY0683/PLAY0684 repairs raise NanoID size or bytes count to at least 64 random
215
213
  bits using the concept subject (possibly across documents). PLAY0683 can instead
@@ -220,11 +218,11 @@ and `read-workspace view: "repairs"`, then `propose-repair` with both revisions
220
218
  Neither action supports fix-all or pinned evidence. A concept change affects all
221
219
  uses; uniqueness changes append-time behavior. Derived regex, matches/checksum
222
220
  repairs and rule-proof status await phase 2b-2; details and source citations are in
223
- [concept generation](mcp-tools.md#concept-generation-41490).
221
+ [concept generation](mcp-tools.md#concept-generation).
224
222
 
225
223
  ## Self-describing identity migration refusals
226
224
 
227
- At Screenplay 4.127.0, read `identityMigrationIssues` on rejected proposals
225
+ Read `identityMigrationIssues` on rejected proposals
228
226
  (conflict `InvalidIdentityMigration`). Each entry names typed `address.kind` and
229
227
  `address.parts`, and the input `arguments` it belongs in: `semanticRenames`,
230
228
  `eventRenames`, `retiredSemanticAddresses`, `retiredEventAddresses`. Stale renames
@@ -233,7 +231,9 @@ not an instruction to retire. Include both event-contract and semantic assignmen
233
231
  and all assigned descendants. Rename/apply messages name the same offending addresses.
234
232
  Supply exactly the entries required for the intended change instead of retrying
235
233
  by trial and error. Re-read actual revisions when stale; never clear the catalog.
236
- Authority: v4.127.0 `mcp/reference.md`, `mcp/authoring-tools.md`.
234
+ Authority: `mcp/reference.md`, `mcp/authoring-tools.md`.
235
+
236
+ Requires Screenplay 4.89.0 or later (`screenplay --version`) for `identityMigrationIssues`.
237
237
 
238
238
  ## Identity state (`.screenplay/identities.json`)
239
239
 
@@ -253,7 +253,7 @@ Authority: v4.127.0 `mcp/reference.md`, `mcp/authoring-tools.md`.
253
253
 
254
254
  ### Root discovery conflicts
255
255
 
256
- At Screenplay 4.125.0 default discovery preserves `.screenplay/identities.json`
256
+ Default discovery preserves `.screenplay/identities.json`
257
257
  or `pending.json` on the ancestor-or-self path from the offered project to the
258
258
  discovered model. Empty metadata folders/backups do not count. With several
259
259
  state roots, the nearest the offered project wins. `rootBindingConflict` in
@@ -320,10 +320,5 @@ rejects the plan.
320
320
 
321
321
  ## Provenance
322
322
 
323
- Proposal execution: Screenplay v4.145.0
324
- `Source/DotNET/Screenplay.Mcp/McpWorkspaces.Specifications.cs:12-79` and
325
- `Source/DotNET/Tool/ModelTest.cs:14-108`; `Documentation/screenplay/mcp/authoring-tools.md:500-535`.
326
-
327
323
  The structure of this loop (ownership, edit-request shape, failure handling) is
328
- adapted from the project's earlier event-modeling toolkit draft and re-verified
329
- against the Screenplay sources named above. See [provenance](provenance.md).
324
+ adapted from the project's earlier event-modeling toolkit draft.