@cratis/pi 7.46.0 → 7.47.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 (31) hide show
  1. package/package/corpus/product-sync.json +3 -3
  2. package/package/corpus/skills/cratis-arc-command/references/shop-generation.md +3 -1
  3. package/package/corpus/skills/cratis-fundamentals-concept/references/shop-generation.md +3 -1
  4. package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +3 -2
  5. package/package/corpus/skills/cratis-screenplay-command-surface/references/shop-generation.md +2 -1
  6. package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +13 -14
  7. package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +1 -1
  8. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +3 -3
  9. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +26 -15
  10. package/package/corpus/skills/cratis-screenplay-model-authoring/references/property-links.md +11 -7
  11. package/package/corpus/skills/cratis-screenplay-model-authoring/references/release-baseline.md +140 -0
  12. package/package/corpus/skills/cratis-screenplay-model-authoring/verification.json +16 -3
  13. package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +1 -1
  14. package/package/corpus/skills/cratis-screenplay-read-surface/references/equality-filters.md +1 -1
  15. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +1 -1
  16. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/delivery-protocol.md +1 -1
  17. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +7 -4
  18. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +5 -4
  19. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +50 -23
  20. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +7 -1
  21. package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +2 -2
  22. package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +13 -11
  23. package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +2 -2
  24. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +7 -0
  25. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +963 -7
  26. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +1 -1
  27. package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +12 -1
  28. package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +51 -7
  29. package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +5 -1
  30. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +9 -6
  31. package/package.json +1 -1
@@ -3,6 +3,7 @@
3
3
  ## Contents
4
4
 
5
5
  - V1: authorable
6
+ - Release-baseline gate (independent of V1–V5)
6
7
  - V2: executable diagnostics
7
8
  - V3: binding-ready
8
9
  - V4: reference specifications run
@@ -48,12 +49,22 @@ V3 are read from the MCP server or from a render, V1 and V5 from the CLIs.
48
49
  - Syntax and consistency checks (PLAY0282 to PLAY0294) run; binding does not.
49
50
  - Report: `V1 pass (screenplay 4.139.0, 3 files)`, `V1 fail: PLAY0029 a.play:12 ...`.
50
51
 
52
+ ## Release-baseline gate (independent of V1–V5)
53
+
54
+ On standalone **4.153.0**, run `screenplay baseline check <model-root>` before
55
+ accepting edits to released event contracts: 0 matching, 1 changed/missing revision,
56
+ 2 cannot check/unreadable. An absent baseline is not proof of release admission.
57
+ In the release job, `screenplay baseline admit <model-root> --release <label>`
58
+ records revisions; commit the sidecar. Neither command changes canonical ESM or
59
+ substitutes for migration/target tests. Preconditions, MCP review and tagged
60
+ sources: model-authoring [release baseline](../../cratis-screenplay-model-authoring/references/release-baseline.md).
61
+
51
62
  ## V2: executable diagnostics
52
63
 
53
64
  Needs an MCP connection (V2 and V3 belong to the session that owns MCP; a subagent without
54
65
  MCP reports `V2 not run: no MCP in this agent` unless the brief supplies fresh output). Without
55
66
  MCP, a binding check exists: `cratis screenplay validate --executable <root>` binds with the
56
- **bundled** compiler (CLI 3.57.0 bundles Screenplay 4.147.1, not standalone 4.151.0), never
67
+ **bundled** compiler (CLI 3.57.0 bundles Screenplay 4.147.1, not standalone 4.153.0), never
57
68
  renders or writes files, and exits 5 with "The model does not bind into an executable semantic
58
69
  model" when it does not. Report it as `V3 (bundled 4.137.0 via cratis validate --executable)`; it
59
70
  gives binding errors, not the V2 `executable-diagnostics` view, so V2 stays MCP-only.
@@ -3,6 +3,7 @@
3
3
  ## Contents
4
4
 
5
5
  - Pin set
6
+ - Stored-name rendering boundary
6
7
  - Equality-filter rendering boundary
7
8
  - Two compilers, one rule
8
9
  - Commands and exit codes
@@ -19,7 +20,7 @@ probe; older probes retain their original labels in the other references.
19
20
 
20
21
  | Source | Pin | Evidence |
21
22
  | --- | --- | --- |
22
- | Screenplay language, standalone tool and MCP | **4.151.0** | Released tag `v4.151.0`, published NuGet tool and byte-identical published/Golden contract; non-blank text `not empty` in every ESM version, reserved stream `All` / event pin warning PLAY0686, and child-before-parent reference deferral; retains ESM v15 and generation MCP repairs |
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 |
23
24
  | cratis CLI | **3.57.0** | Released tag `v3.57.0`; source-checked, not a new render/browser probe |
24
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 |
25
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 |
@@ -53,10 +54,45 @@ and `Source/Cli.Specs/for_AiMcpRegistration/when_installing/with_a_composed_prof
53
54
  at tag `v3.46.1` (CLI#322 / CLI#311). This minimum does not re-label the compiler
54
55
  or renderer probes below as results from the newer bundle.
55
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
+
56
92
  ## Equality-filter rendering boundary
57
93
 
58
94
  Caller-supplied collection equality filters shipped in Screenplay **4.143.0**
59
- (decision 0069), selecting ESM v14; the standalone **4.151.0** pin binds and
95
+ (decision 0069), selecting ESM v14; the standalone **4.153.0** pin binds and
60
96
  reference-tests them. No-filter models retain their version/bytes/revision.
61
97
  CLI **3.57.0** bundles Screenplay **4.147.1** / Stage **4.89.1** and renders
62
98
  collection equality filters, including optional omission and AND with `by`.
@@ -71,7 +107,7 @@ read-surface [equality filters](../../cratis-screenplay-read-surface/references/
71
107
 
72
108
  ## Two compilers, one rule
73
109
 
74
- Standalone Screenplay 4.151.0 and CLI 3.57.0's 4.147.1 bundle are different releases.
110
+ Standalone Screenplay 4.153.0 and CLI 3.57.0's 4.147.1 bundle are different releases.
75
111
  Prefer standalone for the current language checks; CLI owns generation, Prologue
76
112
  and rendering. Name the tool/version with every verdict. No verdict transfers
77
113
  between differing compilers without checking the same inputs there.
@@ -91,8 +127,9 @@ Cratis/cli `v3.57.0:Directory.Packages.props:8,35-37`; Cratis/Screenplay
91
127
  are source-checked at `v4.149.0:McpGenerationDetails.cs:13-83` under the same MCP
92
128
  source folder; detailed evidence: model-authoring `references/mcp-tools.md`.
93
129
  The 4.147.1 bundle also predates child deferral (4.149.1), reserved stream `All`
94
- / event pin warning PLAY0686 (4.150.0), and the non-blank text `not empty`
95
- reference correction (4.151.0). The latter changes outcomes in every ESM version,
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,
96
133
  not canonical bytes. See `executable-subset.md` and `diagnostics.md` for tagged
97
134
  source evidence and target boundaries.
98
135
 
@@ -105,6 +142,7 @@ source evidence and target boundaries.
105
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 |
106
143
  | Binding | MCP workspace readiness and `executable-diagnostics` | V2 reads diagnostics; V3 requires binding with no blocking diagnostics |
107
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` |
108
146
  | Rendering | `cratis render` | Separate admission, publication, target build and target tests (V5) |
109
147
 
110
148
  Source validation does not bind or run attached code. Reference execution is
@@ -147,8 +185,8 @@ when recording, resolving, paging or reviewing orphan impact.
147
185
 
148
186
  ## Admission boundaries
149
187
 
150
- Screenplay `v4.148.0:Source/DotNET/Screenplay/Semantics/Versions.cs:744-766` supports
151
- schema pairs through v15. Admission selects by use:
188
+ Screenplay `v4.152.0:Source/DotNET/Screenplay/Semantics/Versions.cs:796-816` supports
189
+ schema pairs through v16. Admission selects by use:
152
190
 
153
191
  - v7: generated values/responses and policy negation.
154
192
  - v8: sources/streams and command/specification routes.
@@ -203,6 +241,12 @@ schema pairs through v15. Admission selects by use:
203
241
  without retry or partial append. CLI 3.57.0 / Stage 4.89.1 render supported
204
242
  strategies with explicit atomic freshness scopes. Details and remaining refusals:
205
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.
206
250
 
207
251
  Decision 0066 freezes a version when any exposing NuGet/npm package is published,
208
252
  including prereleases. Later byte-changing features take the next version at
@@ -3,6 +3,8 @@
3
3
  "input": "Check a Screenplay model folder: which compiler should I run, what do V1 to V3 mean, and what does the cratis CLI do with my Automation slice?",
4
4
  "fixtures": [],
5
5
  "assertions": [
6
+ { "kind": "skill-contains", "value": "screenplay baseline check", "file": "references/verdicts.md" },
7
+ { "kind": "skill-contains", "value": "Independent of V1–V5", "file": "references/versions.md" },
6
8
  { "kind": "skill-contains", "value": "Specifications that relied on whitespace being accepted now fail.", "file": "references/executable-subset.md" },
7
9
  { "kind": "skill-contains", "value": "PLAY0686", "file": "references/diagnostics.md" },
8
10
  { "kind": "skill-contains", "value": "streams `all`, `ALL` and `Default`", "file": "references/sources-and-streams.md" },
@@ -50,7 +52,9 @@
50
52
  { "kind": "skill-contains", "value": "**Published v15 in 4.147.0:**", "file": "references/versions.md" },
51
53
  { "kind": "skill-contains", "value": "protected identities/enums (`-040`)", "file": "references/renderable-subset.md" },
52
54
  { "kind": "skill-contains", "value": "PLAY0514" },
53
- { "kind": "skill-contains", "value": "**4.151.0**", "file": "references/versions.md" },
55
+ { "kind": "skill-contains", "value": "**4.153.0**", "file": "references/versions.md" },
56
+ { "kind": "skill-contains", "value": "**Published v16 in 4.152.0:**", "file": "references/versions.md" },
57
+ { "kind": "skill-contains", "value": "Neither released consumer admits v16", "file": "references/versions.md" },
54
58
  { "kind": "skill-contains", "value": "RejectsAUsedGeneratedSource", "file": "references/generation-strategies-example.md" },
55
59
  { "kind": "skill-contains", "value": "bind as ESM v8" },
56
60
  { "kind": "skill-contains", "value": "PLAY0530/0531", "file": "references/diagnostics.md" },
@@ -16,6 +16,9 @@ exactly produces **no artifacts at all**, never thinner ones. Read the admission
16
16
  before promising that a model can be rendered, and render it to find out: the source
17
17
  reading in this skill is not a render result.
18
18
 
19
+ Stage 4.92.0 / CLI 3.59.0 do not render ESM v16 stored names. Keep pins;
20
+ evidence: toolchain `references/versions.md`.
21
+
19
22
  Authored UI has its own parity hazard. Historically (Stage 4.24) Stage rendered a default React/Vite
20
23
  scaffold and did not prove that modeled screens, templates, forms, toolbars,
21
24
  components, outlets, package icons or routes were implemented. The first fully
@@ -40,12 +43,12 @@ argument or an invalid semantic option.
40
43
 
41
44
  ## Verified product sources
42
45
 
43
- Current pins and the tool split: `cratis-screenplay-toolchain/references/versions.md`. Facts here
44
- were read at Stage `v4.73.1` (`Source/Rendering.Cratis/**`, `Documentation/guides/build-renderer-target.md`,
45
- `Documentation/reference/render-plans.md`, `Documentation/docker/**`) and cli `v3.53.1`
46
- (`Documentation/reference/screenplay.md`, `Source/Cli/Commands/Render/**`), not by a render run
47
- unless a line says *observed*. Current CLI 3.57.0 bundle/admission and scaffold pins were re-read at the tagged
48
- sources in `references/admission.md` and `references/rendered-application.md`.
46
+ Pins/tool split: toolchain `references/versions.md`; CLI 3.57.0 bundle and scaffold
47
+ source evidence: `references/admission.md`, `references/rendered-application.md`.
48
+ Historical reads: Stage `v4.73.1` (`Source/Rendering.Cratis/**`,
49
+ `Documentation/guides/build-renderer-target.md`, `Documentation/reference/render-plans.md`,
50
+ `Documentation/docker/**`) and cli `v3.53.1` (`Documentation/reference/screenplay.md`,
51
+ `Source/Cli/Commands/Render/**`), not render runs unless labeled *observed*.
49
52
  The bundled binder trails standalone (toolchain `references/versions.md`).
50
53
  Stage's scaffold pins Arc, Chronicle, Components, Scene and Fundamentals
51
54
  ([rendered application](references/rendered-application.md)), not latest releases; never bump managed files.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.46.0",
3
+ "version": "7.47.1",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [