@cratis/pi 7.48.2 → 7.48.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/package/corpus/agents/backend-developer.md +1 -1
  2. package/package/corpus/agents/slice-implementer.md +2 -2
  3. package/package/corpus/harnesses/copilot/instructions/application-profile.instructions.md +3 -3
  4. package/package/corpus/harnesses/copilot/instructions/csharp.instructions.md +3 -1
  5. package/package/corpus/harnesses/copilot/instructions/glossary.instructions.md +3 -3
  6. package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +1 -1
  7. package/package/corpus/harnesses/copilot/instructions/vertical-slices.instructions.md +6 -3
  8. package/package/corpus/prompts/add-projection.prompt.md +2 -1
  9. package/package/corpus/prompts/add-reducer.prompt.md +6 -4
  10. package/package/corpus/rules/application-profile.md +3 -3
  11. package/package/corpus/rules/csharp.md +3 -1
  12. package/package/corpus/rules/glossary.md +3 -3
  13. package/package/corpus/rules/profiles.md +1 -1
  14. package/package/corpus/rules/vertical-slices.md +6 -3
  15. package/package/corpus/skills/cratis-application-slice-conformance/SKILL.md +2 -2
  16. package/package/corpus/skills/cratis-chronicle-client-dotnet/SKILL.md +16 -33
  17. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/discovery.md +92 -7
  18. package/package/corpus/skills/cratis-chronicle-event-modeling/SKILL.md +1 -1
  19. package/package/corpus/skills/cratis-chronicle-projection/SKILL.md +18 -10
  20. package/package/corpus/skills/cratis-chronicle-read-model/SKILL.md +46 -18
  21. package/package/corpus/skills/cratis-chronicle-read-model-specifications/SKILL.md +32 -14
  22. package/package/corpus/skills/cratis-chronicle-reducer/SKILL.md +194 -38
  23. package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +1 -1
  24. package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +4 -4
  25. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/audit-format.md +1 -1
  26. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +3 -3
  27. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/cases-to-specify.md +1 -1
  28. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/provenance.md +2 -2
  29. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/public-events-and-direction.md +2 -2
  30. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +1 -1
  31. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +6 -6
  32. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/invocation-identity.md +3 -3
  33. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/product-sources.md +1 -1
  34. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/specifying-triggers-and-clock.md +1 -1
  35. package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +3 -3
  36. package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +1 -1
  37. package/package/corpus/skills/cratis-screenplay-command-surface/references/context.md +1 -1
  38. package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +1 -1
  39. package/package/corpus/skills/cratis-screenplay-delivery-planning/SKILL.md +1 -1
  40. package/package/corpus/skills/cratis-screenplay-delivery-planning/references/slice-counting.md +1 -1
  41. package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +1 -1
  42. package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +3 -3
  43. package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +2 -2
  44. package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +1 -1
  45. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/chronicle-observations.md +1 -1
  46. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md +4 -5
  47. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generated-recovery.md +1 -1
  48. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/prologue-safety.md +1 -1
  49. package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +1 -1
  50. package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +4 -4
  51. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +3 -3
  52. package/package/corpus/skills/cratis-screenplay-model-authoring/references/model-notes.md +1 -1
  53. package/package/corpus/skills/cratis-screenplay-model-authoring/references/screen-authoring-workflow.md +1 -1
  54. package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +1 -1
  55. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +1 -1
  56. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/stop-or-assume.md +1 -1
  57. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/verdicts-and-modes.md +1 -1
  58. package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +1 -1
  59. package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +1 -1
  60. package/package/corpus/skills/cratis-screenplay-read-surface/references/provenance.md +2 -2
  61. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +3 -3
  62. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/drift-and-ledger.md +1 -1
  63. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md +2 -2
  64. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +2 -2
  65. package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +2 -2
  66. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/provenance.md +2 -2
  67. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +1 -1
  68. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +5 -5
  69. package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +2 -2
  70. package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +1 -1
  71. package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +3 -3
  72. package/package/corpus/skills/cratis-screenplay-specifications/references/examples-and-routes.md +2 -2
  73. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +4 -4
  74. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +1 -1
  75. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +1 -1
  76. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +2 -2
  77. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +1 -1
  78. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +2 -2
  79. package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +42 -61
  80. package/package/corpus/skills/cratis-screenplay-toolchain/references/automation-translate-example.md +1 -1
  81. package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet-example.md +7 -9
  82. package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet.md +15 -18
  83. package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +33 -53
  84. package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-example.md +1 -1
  85. package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +82 -93
  86. package/package/corpus/skills/cratis-screenplay-toolchain/references/generated-responses-example.md +4 -5
  87. package/package/corpus/skills/cratis-screenplay-toolchain/references/generation-strategies-example.md +1 -2
  88. package/package/corpus/skills/cratis-screenplay-toolchain/references/preferred-syntax.md +5 -9
  89. package/package/corpus/skills/cratis-screenplay-toolchain/references/production-routes-and-filters.md +7 -16
  90. package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +38 -92
  91. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +4 -11
  92. package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +14 -19
  93. package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +32 -35
  94. package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +119 -52
  95. package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +18 -24
  96. package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +3 -3
  97. package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +2 -2
  98. package/package.json +1 -1
  99. package/package/corpus/skills/cratis-screenplay-toolchain/references/doc-contradictions.md +0 -72
  100. package/package/corpus/skills/cratis-screenplay-toolchain/references/provenance.md +0 -81
  101. package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +0 -341
@@ -1,341 +0,0 @@
1
- # Versions and capabilities by tool (the only version table)
2
-
3
- ## Contents
4
-
5
- - Pin set
6
- - Stored-name rendering boundary
7
- - Equality-filter rendering boundary
8
- - Two compilers, one rule
9
- - Commands and exit codes
10
- - Model notes gate
11
- - Admission boundaries
12
- - Historical probes
13
- - Revisions and descriptions
14
- - Upgrade checklist
15
-
16
- ## Pin set
17
-
18
- Use the released versions below. A source-checked capability is not a runtime
19
- probe; older probes retain their original labels in the other references.
20
-
21
- | Source | Pin | Evidence |
22
- | --- | --- | --- |
23
- | Screenplay language, standalone tool and MCP | **4.153.0** | Released tag `v4.153.0`, published NuGet tool and byte-identical published/Golden contract; release-baseline admission/check, MCP review and evidence-derived event mutability; retains v16 `storedName`, non-blank text, reserved stream `All`, child deferral and generation repairs |
24
- | cratis CLI | **3.57.0** | Released tag `v3.57.0`; source-checked, not a new render/browser probe |
25
- | Screenplay bundled by CLI | **4.147.1** | CLI `v3.57.0:Directory.Packages.props:8`; binds through v15; does not include 4.148.0 response-name continuation resolution or 4.149.0 generation summary/entropy repairs |
26
- | Stage bundled by CLI | **4.89.1** | Same file, line 10; Stage `v4.89.1:Directory.Packages.props` pins Screenplay 4.147.1; rendering admits through v15 |
27
- | Historical standalone Stage source baseline | **4.76.0** (Screenplay 4.139.0) | First v12 enum-number rendering; generated UUID-concept values and responses shipped in 4.74.0, v11 admission in 4.75.0. Those capabilities are now in the CLI bundle; standalone Stage beyond the bundled release is not this baseline |
28
- | Screenplay.Generation / CritterStack / Prologue bundled by CLI | **0.18.0 / 0.24.0 / 2.0.0** | CLI `v3.57.0:Directory.Packages.props:5-7,28-33`. Latest released: Generation 0.18.1, CritterStack 0.26.0, Prologue 2.0.0 (no release after 2.0.0); the newer Generation and CritterStack releases are not in a cli |
29
- | Cratis.Arc.Screenplay bundled by CLI | **22.54.0** | Same file; this is the generator package, not a blanket rendered-app dependency pin |
30
- | Chronicle / Fundamentals bundled by CLI | **19.32.0 / 7.22.8** | Same file |
31
- | Previously checked Arc / Chronicle / Fundamentals releases | **22.76.0 / 19.51.0 / 7.23.0** | Historical product reads, not latest-release claims. Arc 22.72.0+ supports events-and-commands reactor results; Stage still refuses mixed reactions because failed commands can cause duplicate events on redelivery |
32
- | Stage 4.89.1 rendered backend and frontend | **Arc 22.83.0 / Chronicle 19.54.0**; `@cratis/components` 4.26.2, `@cratis/scene.*` 4.22.1, `@cratis/arc` 22.58.2, Fundamentals 7.22.8 | Stage `v4.89.1:Source/Rendering.Cratis/Scaffolding/CratisBackendApplicationScaffoldProfile.cs:59-71` and `CratisFrontendPackageSet.cs:208-229` (`Current`); not bumped by hand |
33
- | Historical Stage 4.51.3 rendered backend | **Arc 22.50.5 / Chronicle 19.32.0** | Stage `v4.51.3:Source/Rendering.Cratis/Scaffolding/CratisBackendApplicationScaffoldProfile.cs`; client/testing/image match; scaffold disables embedded reverse extraction |
34
-
35
- Scene's family id denotes the six scaffold packages listed in
36
- `cratis-stage-rendering-and-sandbox/references/rendered-application.md`, not a
37
- package named `@cratis/scene`. The Components skills verify the latest 4.26.4
38
- surface; that does not upgrade Stage's managed scaffold pin.
39
-
40
- The published `screenplay-contract.json` beside this reference is the machine-readable authority for PLAY codes, MCP tools and parameters, and standalone CLI commands/options. Its unchanged release bytes are pinned by `screenplay-contract.version` to the standalone version above. Before adding a claim, search this large JSON file by exact `code` in `diagnostics`, or by exact `name` in `mcpTools`/`cliCommands`, and inspect that object's retirement flag, parameters or options; do not load the full file into context. For example, search for `"code": "PLAY0029"` or `"name": "read-workspace"`; `screenplay-contract-exceptions.json` preserves explicitly reasoned historical statements, not current-release exceptions. Coverage gaps are mention inventories, not proof that a skill teaches a feature.
41
-
42
- Check the actual executable before relying on this table: `screenplay --version`,
43
- `cratis --version`, MCP `initialize` → `serverInfo.version`. An older executable
44
- on PATH can shadow a newer install; inspect `which -a cratis`.
45
-
46
- **Minimum for no-model MCP startup: Cratis CLI 3.46.1.** At `v3.46.1`,
47
- `cratis screenplay mcp --project-root <project>` resolves a root without creating
48
- it; startup, discovery and proposals leave no model folder, and the first
49
- `apply` write creates it. `cratis ai install` creates no model folder unless a
50
- root is configured. Older CLIs create the resolved root on server startup (`Screenplay/` when no `.play` files, `Source/` or `src/` exist). Released
51
- source evidence: CLI
52
- `Source/Cli.Specs/for_ScreenplayMcpInvocation/when_serving_a_project_without_a_model/and_the_client_writes_a_document.cs`
53
- and `Source/Cli.Specs/for_AiMcpRegistration/when_installing/with_a_composed_profile.cs`
54
- at tag `v3.46.1` (CLI#322 / CLI#311). This minimum does not re-label the compiler
55
- or renderer probes below as results from the newer bundle.
56
-
57
- ## Stored-name rendering boundary
58
-
59
- Screenplay **4.152.0** carries differing event pins in ESM v16. Consumers (Stage,
60
- CLI, Studio or any strict reader) must explicitly admit v16 and preserve
61
- `storedName`, or refuse it; a package upgrade alone is not admission. No claim of
62
- Studio admission is made here. Equal-name pins omit the member and retain earlier
63
- versions/bytes; generations share one effective stored name. See streams-and-consistency
64
- `references/evolution.md` for pin validation, identity and storage migration.
65
-
66
- Latest released **CLI 3.59.0** still bundles **Screenplay 4.147.1 / Stage 4.92.0**.
67
- CLI `RenderedSemanticVersions.Newest` remains v15; Stage's feature check uses
68
- `EsmSchemaV15Support`, and event rendering emits argument-free `[EventType]`, not
69
- `[EventType("<storedName>")]`. Neither released consumer admits v16. Keep the pin
70
- and report the render gap; do not silently render under the new name. These are
71
- tagged source checks, not new render/browser probes. The 3.57.0 bundle below
72
- remains the previously verified render vector, not the latest release.
73
-
74
- Sources: Cratis/Screenplay `v4.152.0:Documentation/screenplay/events.md:116-124`,
75
- `Source/DotNET/Screenplay/Semantics/Versions.cs:796-816`,
76
- `Source/DotNET/Screenplay/Semantics/Serialization/SemanticModelRead.Contracts.cs:196`;
77
- Cratis/cli `v3.59.0:Directory.Packages.props:8-10`,
78
- `Source/Cli/Commands/Render/RenderedSemanticVersions.cs:34-47`;
79
- Cratis/Stage `v4.92.0:Directory.Packages.props:31-33`,
80
- `Source/Rendering.Cratis/Semantics/SemanticVersionFeatures.cs:105`,
81
- `SemanticStateChangeArtifactRenderer.cs:244-251` in the same folder.
82
-
83
- Decision 0070's release baseline ships in **4.153.0**. Admit explicitly in the
84
- release job and commit `.screenplay/release-baseline.json`; review event mutability
85
- with `screenplay_list_release_baseline` / `read-proposal view=release-baseline`.
86
- No baseline still requires an explicit event mode; unadmitted revisions default to
87
- in-place edits, admitted revisions accept only explicit `newGeneration`.
88
- Never hand-edit except a reviewed correction. CLI exits, schema, MCP revision guards
89
- and the `--from-esm` stored-name limitation: model-authoring
90
- [release baseline](../../cratis-screenplay-model-authoring/references/release-baseline.md).
91
-
92
- ## Equality-filter rendering boundary
93
-
94
- Caller-supplied collection equality filters shipped in Screenplay **4.143.0**
95
- (decision 0069), selecting ESM v14; the standalone **4.153.0** pin binds and
96
- reference-tests them. No-filter models retain their version/bytes/revision.
97
- CLI **3.57.0** bundles Screenplay **4.147.1** / Stage **4.89.1** and renders
98
- collection equality filters, including optional omission and AND with `by`.
99
- Snapshot lists still refuse `STAGE-ESM-010`. The semantic Host executes filters,
100
- but the independent Stage specification executor refuses filtered query assertions
101
- with `STAGE-ESM-010`; generated Debug specifications are a separate path.
102
- Sources: CLI `v3.57.0:Directory.Packages.props:8-10`,
103
- `Source/Cli/Commands/Render/RenderedSemanticVersions.cs:34-47`; Stage `v4.89.1`,
104
- `Documentation/docker/index.md:143-153`, `Documentation/docker/spec-runner.md:35-43`.
105
- These are source checks, not new render probes. Preserve equality selection rather than drop filters. Complete examples:
106
- read-surface [equality filters](../../cratis-screenplay-read-surface/references/equality-filters.md).
107
-
108
- ## Two compilers, one rule
109
-
110
- Standalone Screenplay 4.153.0 and CLI 3.57.0's 4.147.1 bundle are different releases.
111
- Prefer standalone for the current language checks; CLI owns generation, Prologue
112
- and rendering. Name the tool/version with every verdict. No verdict transfers
113
- between differing compilers without checking the same inputs there.
114
-
115
- A folder compiles as one application. A standalone file includes its imports,
116
- not unimported siblings. Keep the application root as input for scoped checks.
117
- Do not treat a clean fragment or scoped result as whole-application success.
118
-
119
- MCP server launch: `screenplay mcp <model-root>` or
120
- `cratis screenplay mcp <model-root>`. Discover `tools/list`, views and schemas
121
- rather than counting tools. Connection, worktree switching and root-state
122
- conflicts: `cratis-screenplay-model-authoring`. CLI 3.57.0's MCP 4.147.1 lacks
123
- 4.149.0's concept generation summary and PLAY0683/PLAY0684 repairs. Source:
124
- Cratis/cli `v3.57.0:Directory.Packages.props:8,35-37`; Cratis/Screenplay
125
- `v4.147.1:Source/DotNET/Screenplay.Mcp/McpDeclarationDetails.cs:153-160` and
126
- `McpRepairCapabilities.cs:10-24`. The standalone generation fields and repairs
127
- are source-checked at `v4.149.0:McpGenerationDetails.cs:13-83` under the same MCP
128
- source folder; detailed evidence: model-authoring `references/mcp-tools.md`.
129
- The 4.147.1 bundle also predates child deferral (4.149.1), reserved stream `All`
130
- (4.150.0), the non-blank text `not empty` reference correction (4.151.0), and
131
- stored event names (4.152.0, ESM v16; interim pin warning retired) and release
132
- baselines (4.153.0). The text correction changes outcomes in every ESM version,
133
- not canonical bytes. See `executable-subset.md` and `diagnostics.md` for tagged
134
- source evidence and target boundaries.
135
-
136
- ## Commands and exit codes
137
-
138
- | Layer | Route | Verdict |
139
- | --- | --- | --- |
140
- | Source validation | `screenplay <root> --warnaserror --no-color` | 0 clean; 1 reported defects; 2 could not run/invalid arguments or input. `--scope` limits the reported set, not compilation |
141
- | Completeness | Add `--check <name>[,<name>]` (repeatable) or `--check all` | Opt-in warnings; whole-source errors skip checks, not pass them |
142
- | CLI source validation | `cratis screenplay validate <root> --warnings-as-errors -o json-compact` | Read producer exit and JSON errors/warnings/file count. Passing source-only probe on CLI 3.41.0: dependencies example, exit 0 |
143
- | Binding | MCP workspace readiness and `executable-diagnostics` | V2 reads diagnostics; V3 requires binding with no blocking diagnostics |
144
- | Reference specifications | `screenplay test <root> [--filter <address>] [--format text|json]`, or MCP `run-specifications` (`specification`, `scope`, `offset`, `limit`, `expectedSourceRevision`; `proposalId` from 4.145.0) | 0 all selected passed; 1 failed; 2 invalid arguments/input/selection or IO; 3 unsupported or unbound. `test` rejects `--no-color`; counts of zero do not prove coverage |
145
- | Release baseline | `screenplay baseline admit <root> --release <label>`; `screenplay baseline check <root>` | Admit in the release job, commit the sidecar; check before later edits. 0 success, 1 changed/missing revision, 2 unavailable/unreadable or invalid input/write failure. Independent of V1–V5; full preconditions and exceptions: model-authoring `references/release-baseline.md` |
146
- | Rendering | `cratis render` | Separate admission, publication, target build and target tests (V5) |
147
-
148
- Source validation does not bind or run attached code. Reference execution is
149
- in-memory and does not run opaque attachments or external services. CLI-derived
150
- specification IDs need not match persisted MCP identities after renames; use MCP
151
- for identity-stable selection. On Screenplay **4.145.0 and later**, run a retained
152
- proposal read-only with `proposalId` after review and before apply. Without that
153
- argument it runs the current workspace. An impossible `then` (PLAY0285)
154
- unbinds the entire model and prevents every specification running.
155
-
156
- ## Model notes gate
157
-
158
- **Standalone Screenplay 4.144.0** ships `--open-questions report|fail`.
159
- **Cratis CLI 3.57.0 does not have this gate** on `cratis screenplay validate`.
160
- Its bundled compiler is newer; that does not add the standalone tool's option to
161
- the CLI adapter. Discover bundled MCP schemas separately. Historical:
162
- **Cratis CLI 3.53.1 does not have this gate** and its older compiler predated notes tools.
163
- Sources: Screenplay `v4.144.0:Source/DotNET/Tool/ModelOpenQuestions.cs:18-69,87-131`;
164
- CLI `v3.57.0:Source/Cli/Commands/Screenplay/ValidateScreenplaySettings.cs:11-74`
165
- and `Directory.Packages.props:8,35-37`.
166
-
167
- ```shell
168
- screenplay <model-folder> --open-questions report --no-color
169
- screenplay <model-folder> --scope Library.Loans.CheckIn --open-questions fail --no-color
170
- ```
171
-
172
- `report` emits info `model-note.open-question` findings without failing for
173
- questions. `fail` exits **1** when the selected set has an open question;
174
- unreadable notes exit **2** when the flag is given. Compilation still runs with
175
- its own verdict; question findings are MCP/CLI only, **no PLAY code**. With no
176
- flag the sidecar is ignored, and `--warnaserror` does not gate questions. Tasks
177
- and ordinary notes do not fail this gate.
178
-
179
- Scope includes descendants and ancestor notes (application notes too). An
180
- unscoped report includes orphaned open questions. Absent identity state reports
181
- all open questions unscoped as orphaned with `identity-state-absent`, rather than
182
- hiding them behind a scope. Notes never change ESM or V1–V5 verdicts. Read
183
- model-authoring [model notes](../../cratis-screenplay-model-authoring/references/model-notes.md)
184
- when recording, resolving, paging or reviewing orphan impact.
185
-
186
- ## Admission boundaries
187
-
188
- Screenplay `v4.152.0:Source/DotNET/Screenplay/Semantics/Versions.cs:796-816` supports
189
- schema pairs through v16. Admission selects by use:
190
-
191
- - v7: generated values/responses and policy negation.
192
- - v8: sources/streams and command/specification routes.
193
- - **Released v9 (4.117.0):** public events/origins, Translate direction,
194
- event-target projections/reducers and events-source captures. Publication folds
195
- reference-execute; captures and reached opaque reducers return typed Unsupported.
196
- Public/foreign imports without local shapes remain PLAY0268. See
197
- automations-and-translations `references/public-events-and-direction.md`.
198
- - **Released, frozen v10:** reaction `runs as system [role "<Role>"]` first
199
- shipped in 4.125.0; production route overrides and observer filters shipped in
200
- 4.129.0. Marked released by #647 in 4.133.2. Decision 0066 records the shipped
201
- extension as a retroactive exception: consumers admit all three together.
202
- Checked actor scenario: captures-and-reactions `references/invocation-identity.md`;
203
- route/filter contract: [production routes and filters](production-routes-and-filters.md).
204
- - **Published v11 in 4.135.0:** qualifying retained non-route Double-mode literals
205
- select v11 and execute with corrected decimal lowering (decision 0064). This
206
- includes whole numbers such as `9007199254740991` and qualifying fractions;
207
- unused/overridden examples and validation-only values do not select it.
208
- Already-lossless routes/route-feeding inputs do not select v11. This does not
209
- admit `numbers exact` source mode or arbitrary precision. At this tag,
210
- interoperability documentation still says "claimed, unreleased"; this corpus
211
- follows Versions.cs and decision 0066's publication boundary.
212
- - **Published, frozen v12 in 4.139.0:** non-positional explicit enum numbers
213
- select v12, carrying optional canonical last `numbers` parallel to `values`.
214
- Positional pins retain earlier executable bytes/version/revision; unnumbered
215
- enums retain positional meaning. Names remain fixture/condition/specification
216
- values. Strict reading rejects arrays in older versions, without enum values,
217
- with mismatched length, duplicates, non-int32 entries or positional numbers
218
- (non-canonical). Consumers must admit v12 explicitly. Authoring shipped in
219
- 4.137.0 (decision 0065); syntax/example: command-surface `references/enum-numbers.md`.
220
- - **Published v13 in 4.141.0:** concept `pii`/`secret`, personal qualifiers and
221
- secret scopes bind as optional concept `compliance`. Unmarked models retain
222
- their exact bytes/version/revision. Reference execution outcomes stay unchanged;
223
- it proves no storage encryption or erasure. Enum/identity compliance and an
224
- event combining personal or explicitly subject-scoped secret values with an
225
- explicit `subject` mark refuse PLAY0268. See command-surface
226
- `references/compliance.md` and Screenplay decision 0068. CLI 3.57.0 and
227
- Stage 4.89.1 admit v13 and render protection; protected identities/enums
228
- remain `STAGE-ESM-040`.
229
- - **Published v14 in 4.143.0:** caller-supplied equality filters on collection
230
- queries with same-named, type-matched scalar read-model properties; no `from`.
231
- Optional filters may be omitted, supplied null is refused, and `by` plus supplied
232
- filters combine with AND. Models without filters preserve bytes/revision.
233
- Screenplay `v4.144.0:decisions/0069-admit-equality-query-filters-as-esm-v14.md:43-88`;
234
- CLI 3.57.0 / Stage 4.89.1 now admit and render these filters.
235
- - **Published v15 in 4.147.0:** concept `generate uuidv7`, `ulid`, `typeid`,
236
- `nanoid`, `bytes` and String-backed `uuid`, with admitted modifiers. Only a
237
- serialized `generation` member selects v15; unmodified Uuid `generate uuid`
238
- preserves earlier bytes. All generated destinations in a v15 invocation are
239
- Guarded against whole-source reuse, including implicit UUIDs; strict fixtures
240
- must match strategy encoding/version/variant. Reuse rejects with `Concurrency`,
241
- without retry or partial append. CLI 3.57.0 / Stage 4.89.1 render supported
242
- strategies with explicit atomic freshness scopes. Details and remaining refusals:
243
- command-surface `references/generated-values-and-responses.md`.
244
- - **Published v16 in 4.152.0:** differing event `id` pins serialize optional
245
- `storedName` once on the current event contract, shared by prior revisions.
246
- Equal-name pins and models without differing pins retain earlier bytes/version.
247
- PLAY0472 refuses invalid identifiers, generation disagreement and stored-name
248
- collisions. The interim pin warning is retired; consumers must admit v16 explicitly (the
249
- released Stage/CLI do not). Details: Stored-name rendering boundary above.
250
-
251
- Decision 0066 freezes a version when any exposing NuGet/npm package is published,
252
- including prereleases. Later byte-changing features take the next version at
253
- admission; a byte-preserving extension under 0004 is the exception. Published
254
- numbers never change or get reused. Enum member numbers are admitted as v12;
255
- this does not admit flags or numeric values in name-based specifications.
256
- High-entropy generation and freshness are admitted; `pattern`, `random`, `rule`,
257
- generated-concept rules and compliance remain unadmitted. `sequence` reports PLAY0682. Operations,
258
- exact source numeric mode and reaction refusals/redelivery remain PLAY0268.
259
- Composite read-model keys/query blocks are also still PLAY0268 (#599), not
260
- admitted by the 4.129.0 authoring delivery; a single explicit key preserves bytes.
261
- Never delete these contracts to obtain a green bind.
262
-
263
- CLI 3.57.0 `RenderedSemanticVersions.Newest` is **v15**
264
- (`Source/Cli/Commands/Render/RenderedSemanticVersions.cs:34-47`). Stage 4.89.1
265
- uses `EsmSchemaV15Support` (`Source/Rendering.Cratis/Semantics/SemanticVersionFeatures.cs:105`)
266
- and construct checks in `SemanticVersionFeatureAdmission.cs:25-46`.
267
- Through v15 is not blanket render support: public publication STAGE-ESM-032,
268
- foreign events/event captures 033 and production overrides 036 remain refused.
269
- Reaction `runs as` renders role-only/authenticated-only gates; claim-reading or
270
- opaque gates still refuse 034. Reaction and reducer `from` filters render on the
271
- semantic planner; legacy syntax paths retain 034/035. Non-text secrets refuse 041.
272
- Single-hop reaction append specifications render; deeper cascades still refuse 011.
273
- Source: Stage `v4.89.1:Documentation/reference/reaction-rendering.md:57-98`. ESM v8 routes reach their own checks.
274
- Previous CLI 3.46.1/Stage 4.52.0 admitted only through v7 (CLI-RENDER-004 and
275
- STAGE-ESM-016 respectively). Historical CLI 3.41.0/Screenplay 4.114.0 rejected
276
- `runs as` at parsing (PLAY0137, exit 5), not a current parser claim. Each unsupported
277
- construct needs a diagnostic, not silent omission or guessed package support.
278
-
279
- The renderable-subset and Stage references retain older probes explicitly;
280
- read them as tested snapshots, not as a claim that Stage 4.52.0 shares every
281
- 4.24.2 limitation. Query the actual bundled renderer before a V5 claim.
282
-
283
- Stage case tables require 4.59.0; ESM v8 whole numbers as `long` and the
284
- pre-v8 out-of-`int` refusal STAGE-ESM-031 require 4.61.0. Historical CLI 3.50.0
285
- defaulted to Stage 4.67.0; current CLI 3.57.0 defaults to 4.89.1, so both rules apply. Previous CLI 3.46.1 bundled Screenplay
286
- 4.130.0 and Stage 4.52.0; neither rule applied there. `cratis run --tag 4.63.2`
287
- selects a newer sandbox image only (`RunSettings.cs`), not a renderer package.
288
- `cratis render` has a statically bundled target (`RenderSettings.cs`,
289
- `CratisRenderTarget.cs`); a newer renderer needs a CLI release that pins it.
290
- The Stage skill teaches the version-gated examples.
291
-
292
- At 4.127.0, `$identity` aliases built-in caller paths; declared identity details
293
- remain metadata and their executable reads report PLAY0268. Bare `pii`/`secret`
294
- bind as v13 on standalone 4.142.0 and CLI 3.57.0's
295
- 4.147.1 bundle; `personal` aliases `pii`. Legacy markers are accepted with
296
- PLAY0565 information, duplicates warn PLAY0653. Event `subject` and processing
297
- purposes are report-only metadata (PLAY0270); purpose checks/reports do not prove
298
- lawfulness or enforce retention. See command-surface context/compliance references.
299
-
300
- Authoring features source-checked in standalone 4.127.0: `propose-source`,
301
- `find-specification-obligations`, `find-modeling-smells`, specification descriptions,
302
- container/command/read-model/reaction documentation, routed redelivery locators,
303
- guarded item interactions, persona callers and named case tables. Discover schemas
304
- in the older CLI bundle rather than assuming parity. Cases/persona callers expand
305
- to ordinary ESM; metadata changes no executable bytes. Redelivery remains
306
- unadmitted even when its route is valid. Details: model-authoring MCP references,
307
- specifications, UI composition and `diagnostics.md`.
308
-
309
- ## Historical probes
310
-
311
- - Screenplay 4.68.0 admitted v7; CLI 3.28.2/3.28.3 bundled 4.66.0 (v6 at most),
312
- Stage 4.24.1/4.24.2. Those old negative v7 probes do not describe CLI 3.41.0.
313
- - CLI before 3.28.2 bundled Screenplay 4.60.1: false cascade PLAY0285, v6 refusal
314
- and dynamic-root initialization bug. The roots bug was fixed in 4.63.2.
315
- - CLI 3.28.2 file validation ignored imports (cli#244, closed by PR #258): later CLI releases compile
316
- the file as an application root together with its imports. Folder mode stays the recommended check;
317
- validate the complete root.
318
- - Older standalone empty-folder probes exited 0. Current validation still needs
319
- a nonzero file count, and specification execution needs an expected selection.
320
-
321
- ## Revisions and descriptions
322
-
323
- `modelRevision` exists only when binding succeeds; it is canonical semantic
324
- identity, not source identity. Source positions and report-only metadata can
325
- change source/workspace revisions without changing it. Persisted catalogs
326
- preserve assigned identities; do not reconstruct them from names.
327
-
328
- A render manifest's `semanticRevision` is a different provenance value, made
329
- with the render name and bundled compiler. Do not compare it directly to MCP
330
- `modelRevision`. Compare successive renders with the same identity and inputs, or use
331
- `cratis render ... --check` (CLI 3.44.0 or later). Descriptions and event documentation render as XML
332
- doc comments, so editing them changes managed-file hashes (a `--check` exit 6) but not the executable
333
- model revision.
334
-
335
- ## Upgrade checklist
336
-
337
- 1. Read installed versions and released dependency pins.
338
- 2. Check source, binder, reference runner and renderer admission separately.
339
- 3. Compile each changed example; execute specification examples with the
340
- reference route. Preserve explicit expected-diagnostic checks.
341
- 4. Re-probe affected capabilities before replacing a historical version label.