@cratis/pi 7.46.0 → 7.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/package/corpus/product-sync.json +3 -3
  2. package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +1 -1
  3. package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +13 -14
  4. package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +1 -1
  5. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +3 -3
  6. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +26 -15
  7. package/package/corpus/skills/cratis-screenplay-model-authoring/references/property-links.md +11 -7
  8. package/package/corpus/skills/cratis-screenplay-model-authoring/references/release-baseline.md +140 -0
  9. package/package/corpus/skills/cratis-screenplay-model-authoring/verification.json +16 -3
  10. package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +1 -1
  11. package/package/corpus/skills/cratis-screenplay-read-surface/references/equality-filters.md +1 -1
  12. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +1 -1
  13. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/delivery-protocol.md +1 -1
  14. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +7 -4
  15. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +5 -4
  16. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +50 -23
  17. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +7 -1
  18. package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +2 -2
  19. package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +13 -11
  20. package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +2 -2
  21. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +7 -0
  22. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +963 -7
  23. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +1 -1
  24. package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +12 -1
  25. package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +51 -7
  26. package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +5 -1
  27. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +9 -6
  28. package/package.json +1 -1
@@ -24,7 +24,7 @@ files is one application: always check the folder, never one file of it.
24
24
 
25
25
  When choosing or upgrading a tool, or checking version-specific capabilities, read `references/versions.md`; it is the only version table, and other skills point to it. For exact diagnostic codes, MCP names/parameters and standalone CLI options, search the large published [references/screenplay-contract.json](references/screenplay-contract.json), pinned by [references/screenplay-contract.version](references/screenplay-contract.version), rather than loading it in full. Locate a diagnostic by its exact `code` (for example `"code": "PLAY0029"`), a tool by its exact `name` (for example `"name": "read-workspace"`), or a command in `cliCommands`; read the matched object for retirement, parameters or options. [references/screenplay-contract-exceptions.json](references/screenplay-contract-exceptions.json) records reasoned exceptions for historical statements; it does not change the current contract.
26
26
 
27
- The standalone pin is Screenplay 4.151.0.
27
+ The standalone pin is Screenplay 4.153.0.
28
28
  CLI and bundled package pins: `references/versions.md`. The single version table records
29
29
  released source evidence and historical probes separately; do not relabel an old
30
30
  render/browser result as a probe of the current packages.
@@ -46,7 +46,7 @@ or the current standalone pin.
46
46
  3. **Pick the compiler deliberately and name it.** Standalone `screenplay` for
47
47
  current language checks and reference specifications; `cratis` for rendering
48
48
  and generation. Bundled and standalone versions differ (CLI 3.57.0 bundles 4.147.1;
49
- the standalone pin is 4.151.0). Report both tool and
49
+ the standalone pin is 4.153.0). Report both tool and
50
50
  version, rather than transferring a verdict across releases.
51
51
  4. **Know the mode** (design, executable, renderable) and write from its subset.
52
52
  5. **Capability is not correctness.** The tool you ran decides what is accepted today; the
@@ -6,7 +6,7 @@
6
6
  - Source reference and identifier checks
7
7
  - Public events and translation direction
8
8
  - Explicit enum member numbers
9
- - Reserved stored names and event pin warnings (4.150.0)
9
+ - Reserved stored names and event pins (4.152.0)
10
10
  - Named keys, production routes and observer filters
11
11
  - Caller identity, compliance and routes
12
12
  - Specification metadata, callers, cases and locators
@@ -99,23 +99,25 @@ remain specification values. Non-positional pins select v12; positional pins kee
99
99
  older executable bytes/version. Consumer admission is separate (`versions.md`).
100
100
  Source: `v4.139.0:Documentation/screenplay/diagnostics.md`, decision 0065.
101
101
 
102
- ## Reserved stored names and event pin warnings (4.150.0)
102
+ ## Reserved stored names and event pins (4.152.0)
103
103
 
104
104
  | Code | Layer / severity | Meaning / fix |
105
105
  | --- | --- | --- |
106
106
  | PLAY0273 | Binding error | A stored source exactly `Default`, or stored stream exactly `All` (name or `id "All"` pin), is reserved. Authoring still parses/prints it. Rename the stream with discovered `propose-rename`; keeping `id "All"` cannot fix it. Comparison is ordinal: streams `all`, `ALL` and `Default` remain valid. Old `All` events read as source-only appends; moving history needs a Chronicle migration, not a language repair. |
107
- | PLAY0686 | Binding warning; event rename proposal also reports it | Event `id` pins do not yet travel in the ESM to renderers; generated code uses the new name. Do not rely on a pin to preserve stored-event readability in rendered apps. Retain intended pins and report the target compatibility gap, rather than delete them to hide the warning. No automatic repair. |
107
+ | PLAY0472 | Binding error | An event pin is not a valid event-name identifier, effective stored names differ across generations, or two events share a stored name. Use a valid, application-unique stored name shared by all generations; never rename stored history merely to hide the error. |
108
+ | PLAY0686 | Retired | Screenplay 4.152.0 carries differing event pins as `storedName` in ESM v16. MCP's compatibility `eventPinWarnings` array is empty. Renderer admission remains separate; released Stage 4.92.0 and CLI 3.59.0 do not admit v16. |
108
109
 
109
110
  MCP readiness exposes the binding refusal. PLAY0273 is reused, not a new ESM
110
- version; match its reserved-name message before choosing the rename. PLAY0686
111
- is not evidence that decision 0075's future `storedName` admission has shipped.
112
- Source/stream pins already travel in ESM v8 and are not event pins.
111
+ version; match its reserved-name message before choosing the rename.
112
+ Source/stream pins already travel in ESM v8; differing event pins require v16.
113
+ Equal-name event pins are no-ops; PLAY0471 removal preserves canonical bytes.
113
114
  Sources: Cratis/Screenplay `v4.150.0`,
114
- `Source/DotNET/Screenplay/Semantics/SemanticModelBinder.EventSources.cs:17-52`,
115
- `SemanticModelBinder.Structure.cs:157-168` in the same folder,
116
- `Source/DotNET/Screenplay.Mcp/McpWorkspaces.Refactoring.cs:82-90`, and
117
- `decisions/0073-reserve-the-stored-event-stream-name-all.md:35-63` /
118
- `decisions/0075-carry-the-stored-event-type-name-in-the-executable-model.md:23-46`.
115
+ `Source/DotNET/Screenplay/Semantics/SemanticModelBinder.EventSources.cs:17-52` and
116
+ `decisions/0073-reserve-the-stored-event-stream-name-all.md:35-63`;
117
+ `v4.152.0:Documentation/screenplay/events.md:116-124`,
118
+ `Source/DotNET/Screenplay/Semantics/SemanticModelBinder.StoredEventNames.cs:15-35`,
119
+ `Source/DotNET/Screenplay.Mcp/McpWorkspaces.Refactoring.cs:82`.
120
+ Target evidence: `versions.md` (Stored-name rendering boundary).
119
121
 
120
122
  ## Named keys, production routes and observer filters
121
123
 
@@ -26,7 +26,7 @@ reaction refusals/redelivery remain unadmitted. Use the actual
26
26
  binder before promoting an older probe to a current capability claim.
27
27
 
28
28
  What the binder admits, and what it refuses with which code. The answer depends on the
29
- compiler version: the standalone tool (4.151.0) binds through v15; the compiler bundled in cratis
29
+ compiler version: the standalone tool (4.153.0) binds through v16; the compiler bundled in cratis
30
30
  3.57.0 (4.147.1) and its renderer admit through v15; older bundles (4.66.0 in cratis 3.28.x, admitting v1 to v6; 4.60.1 before 3.28.2, v1 to v5)
31
31
  are history.
32
32
  Tool facts and the exact v6 messages: `versions.md`. Always name
@@ -140,7 +140,7 @@ same-named scalar primitive/concept/enum property of the same nominal type
140
140
  filters AND with `by`; optional omission does not narrow, supplied null is refused.
141
141
  `then query … arguments` and `when query` accept both `by` and filters; PLAY0468
142
142
  reports unknown/repeated/missing required arguments. Collection results match by
143
- read model/key regardless of row order. The standalone 4.151.0 pin admits this;
143
+ read model/key regardless of row order. The standalone 4.153.0 pin admits this;
144
144
  CLI 3.57.0's 4.147.1 compiler and Stage 4.89.1 admit it through v15, subject to
145
145
  construct checks (snapshot lists/DateTime filters/parameter order still refuse). Complete compiled specs:
146
146
  read-surface [equality filters](../../cratis-screenplay-read-surface/references/equality-filters.md).
@@ -61,5 +61,12 @@
61
61
  "kind": "toolCount",
62
62
  "value": "37",
63
63
  "reason": "Historical CLI 3.40.7 / standalone 4.122.0 transcript (version vector in preceding lines). Remove when this probe is removed or replaced."
64
+ },
65
+ {
66
+ "file": ".cratis/ai/skills/cratis-screenplay-toolchain/references/diagnostics.md",
67
+ "text": "| PLAY0686 | Retired | Screenplay 4.152.0 carries differing event pins as `storedName` in ESM v16. MCP's compatibility `eventPinWarnings` array is empty. Renderer admission remains separate; released Stage 4.92.0 and CLI 3.59.0 do not admit v16. |",
68
+ "kind": "diagnostic",
69
+ "value": "PLAY0686",
70
+ "reason": "Explicit retirement notice, not an active diagnostic or repair recommendation. Screenplay v4.152.0 published contract marks PLAY0686 retired; Documentation/screenplay/events.md:124 confirms retirement and empty compatibility warnings. Remove when this notice is removed or replaced."
64
71
  }
65
72
  ]