@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.
- package/package/corpus/product-sync.json +3 -3
- package/package/corpus/skills/cratis-arc-command/references/shop-generation.md +3 -1
- package/package/corpus/skills/cratis-fundamentals-concept/references/shop-generation.md +3 -1
- package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +3 -2
- package/package/corpus/skills/cratis-screenplay-command-surface/references/shop-generation.md +2 -1
- package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +13 -14
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +3 -3
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +26 -15
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/property-links.md +11 -7
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/release-baseline.md +140 -0
- package/package/corpus/skills/cratis-screenplay-model-authoring/verification.json +16 -3
- package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-read-surface/references/equality-filters.md +1 -1
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/delivery-protocol.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +7 -4
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +5 -4
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +50 -23
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +7 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +2 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +13 -11
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +2 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +7 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +963 -7
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +12 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +51 -7
- package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +5 -1
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +9 -6
- package/package.json +1 -1
|
@@ -166,9 +166,9 @@
|
|
|
166
166
|
}
|
|
167
167
|
],
|
|
168
168
|
"synced": {
|
|
169
|
-
"version": "4.
|
|
169
|
+
"version": "4.153.0",
|
|
170
170
|
"date": "2026-10-13",
|
|
171
|
-
"by": "Cratis/AI#
|
|
171
|
+
"by": "Cratis/AI#655"
|
|
172
172
|
},
|
|
173
173
|
"covers": {
|
|
174
174
|
"skills": [
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
],
|
|
197
197
|
"rules": []
|
|
198
198
|
},
|
|
199
|
-
"notes": "Standalone 4.
|
|
199
|
+
"notes": "Standalone 4.153.0 and byte-identical published/Golden contract pinned for Cratis/AI#655; retains Cratis/AI#654, #648, #650 and #652. Text not empty rejects Unicode White_Space-only values in every ESM version without changing canonical bytes; collections and identity text remain unchanged. Stored stream All is reserved at binding (PLAY0273), including id pins; differing event pins carry storedName in ESM v16; equal-name pins are no-ops, PLAY0472 checks validity/generation agreement/uniqueness, and PLAY0686 is retired. Latest released Stage 4.92.0 / CLI 3.59.0 still admit only through v15 (CLI bundles Screenplay 4.147.1), so stored-name rendering is not released. Decision 0070 release baseline (Cratis/AI#655) ships CLI admit/check, committed sidecar, MCP list/proposal review and independent revision guards. No baseline requires an explicit event mode; unadmitted revisions default to inPlace; admitted revisions require newGeneration. Only a reviewed correction may hand-edit the baseline. The 4.153.0 from-esm route uses contract.Name rather than StoredName and can refuse pinned renames; source boundary is documented, not hidden. Child-before-parent reference deferral is executable across given/when and accepted commits; parent absence leaves children out, ambiguous parents fail, and decision 0007's creation-event routing difference remains. Adds the concept generation MCP summary, typed strategy editing guidance and PLAY0683/PLAY0684 entropy/uniqueness repairs; derived regex, matches/checksum repair and rule-proof status remain unshipped. Retains ESM v15 strategies, strict fixtures, whole-source freshness and 4.148.0 response-name resolution. Historical evidence stays qualified. CLI 3.57.0 / MCP 4.147.1 lacks the new summary and repairs; this pin does not upgrade CLI or Scene runtime."
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
"id": "scene",
|
|
@@ -90,7 +90,9 @@ and captured-time semantics, never one exact random suffix.
|
|
|
90
90
|
- Randomness is not idempotency, storage freshness or a gapless invoice allocator.
|
|
91
91
|
Arc#3129 freshness is not delivered by this parameter API; Stage's v15 explicit
|
|
92
92
|
scopes are a separate realization.
|
|
93
|
-
- ApiKey is a credential, never a Chronicle stream ID
|
|
93
|
+
- ApiKey is a credential, never a Chronicle stream ID: event-source IDs are plaintext
|
|
94
|
+
metadata and cannot be encrypted. Identify the key with a separate `ApiKeyId` and keep
|
|
95
|
+
ApiKey a secret value property. `[NotAudited]` protects
|
|
94
96
|
causation only. Never log captures, return secrets on public endpoints, or
|
|
95
97
|
append plaintext authentication credentials. Retain a hash; for retained
|
|
96
98
|
operational secrets use `[Encrypted]` plus `[NotAudited]`.
|
|
@@ -88,7 +88,9 @@ before the Unix epoch. A fixed context fixes the timestamp, not random suffixes.
|
|
|
88
88
|
- Client-minted customer/order IDs stay inputs. Do not replace them on retry.
|
|
89
89
|
- Random values supply neither idempotency nor gapless invoice allocation.
|
|
90
90
|
- An ID is not an authentication token or authorization policy.
|
|
91
|
-
- ApiKey is a **secret**, not an event-source ID
|
|
91
|
+
- ApiKey is a **secret**, not an event-source ID: event-source IDs are plaintext metadata
|
|
92
|
+
and cannot be encrypted. Use a separate `ApiKeyId` as the identity and keep ApiKey a
|
|
93
|
+
secret value property. `[NotAudited]` withholds command
|
|
92
94
|
causation values; it does not protect logs, responses or storage. Deliver a
|
|
93
95
|
credential only over an authorized secure channel and retain its hash, not
|
|
94
96
|
plaintext. For a retained operational integration secret instead, use
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
`generated` properties and `returns` bind/reference-execute since 4.68.0 (ESM v7).
|
|
14
14
|
Concept generation strategies and whole-source freshness shipped in Screenplay
|
|
15
|
-
4.147.0 (ESM v15); standalone pin **4.
|
|
15
|
+
4.147.0 (ESM v15); standalone pin **4.153.0** includes them. CLI **3.57.0** bundles
|
|
16
16
|
Screenplay **4.147.1** / Stage **4.89.1**, rendering the supported strategies,
|
|
17
17
|
scalar/named responses, fixtures and `then returns`. Binding is not rendering.
|
|
18
18
|
Historical CLI 3.41.0 STAGE-ESM-028/029 probes do not describe this bundle.
|
|
@@ -161,7 +161,8 @@ and [generation strategies](../../cratis-screenplay-toolchain/references/generat
|
|
|
161
161
|
Stage emits strategy-specific `IGeneratable<T>.New()` factories over Fundamentals
|
|
162
162
|
7.24.0 (via the Arc scaffold pin in Stage's `references/rendered-application.md`). v15 generated destinations use explicit
|
|
163
163
|
`EventsWithConcurrencyScopes` with `BeforeFirst` whole-source scopes; Chronicle
|
|
164
|
-
checks atomically at append
|
|
164
|
+
checks atomically at append: a batch's scopes are checked once against the state before
|
|
165
|
+
the batch, all or nothing, and a storage retry that renumbers the append checks them again. Generated rejection specs assert
|
|
165
166
|
`ValidationResultReason.ConcurrencyViolation`, not Arc's message text. This is
|
|
166
167
|
Stage's explicit realization, not a claim that Arc #3129 is delivered.
|
|
167
168
|
Time-based factories use wall clock, not command-receipt timestamps.
|
package/package/corpus/skills/cratis-screenplay-command-surface/references/shop-generation.md
CHANGED
|
@@ -19,7 +19,8 @@ recovery describes that strategy shape, not equivalent clock/tenant semantics.
|
|
|
19
19
|
Context-member/rule recovery stays in code (Screenplay#616 phase 3).
|
|
20
20
|
|
|
21
21
|
The shop's ApiKey remains a **secret**. In .NET its factory is `Bytes(32)` and its
|
|
22
|
-
concept is `[NotAudited]
|
|
22
|
+
concept is `[NotAudited]`. It is never an identifier (event-source IDs are plaintext
|
|
23
|
+
metadata); a separate `ApiKeyId` identifies the key. Executable secret generation is **not released in
|
|
23
24
|
Screenplay** (phase 4). The declaration below preserves classification without
|
|
24
25
|
adding `generate bytes 32` or a generated command property. No API-key issuance
|
|
25
26
|
behavior is claimed; retain it as an explicit gap/owning implementation contract.
|
|
@@ -27,7 +27,8 @@ Screenplay v4.144.0: notes (`references/model-notes.md`); property planner
|
|
|
27
27
|
v4.142.0 (`references/property-links.md`); compliance (command-surface
|
|
28
28
|
`references/compliance.md`); generation MCP v4.149.0
|
|
29
29
|
([sources](references/mcp-tools.md#concept-generation-41490)); other MCP v4.139.0
|
|
30
|
-
`Documentation/screenplay/mcp/`.
|
|
30
|
+
`Documentation/screenplay/mcp/`. Stored names v4.152.0; baseline v4.153.0
|
|
31
|
+
(`references/release-baseline.md`). Discover installed schemas; bundles differ.
|
|
31
32
|
Pins: toolchain `references/versions.md`. Historical probes 4.66.0; registration
|
|
32
33
|
compilation/execution 4.68.0. Attribution: `references/provenance.md`.
|
|
33
34
|
|
|
@@ -212,15 +213,14 @@ from silently changing the reviewed candidate.
|
|
|
212
213
|
Opt-in MCP `checks: "enum-pinning"` / `--check enum-pinning` (PLAY0671) hints at
|
|
213
214
|
stored enums, not correctness repairs. Arguments/review: `references/mcp-tools.md`.
|
|
214
215
|
|
|
215
|
-
Use `propose-extract-inline-event`
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
`eventNeverPersisted: true`
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
`id "All"`) refuses PLAY0273; rename
|
|
222
|
-
|
|
223
|
-
[MCP tool guide](references/mcp-tools.md).
|
|
216
|
+
Use `propose-extract-inline-event` before adding generations (canonical consent;
|
|
217
|
+
no comment loss/reverse). **4.153.0** [release baseline](references/release-baseline.md):
|
|
218
|
+
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
|
|
223
|
+
that pin. Evidence/limits: [MCP tool guide](references/mcp-tools.md).
|
|
224
224
|
|
|
225
225
|
## Choose a readable layout
|
|
226
226
|
|
|
@@ -266,10 +266,9 @@ A pending journal blocks normal work. Inspect `workspace-state`; invoke
|
|
|
266
266
|
requested recovery scope. Unexpected external edits block rollback. Preserve
|
|
267
267
|
uncertain journals/backups instead of cleaning them away.
|
|
268
268
|
|
|
269
|
-
Only `apply`
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
target or consequence expands.
|
|
269
|
+
Only `apply` / `recover-workspace` write source/catalog; CLI owns release admission.
|
|
270
|
+
A tool grant/model text adds no authority. Bounded requested edits need no extra
|
|
271
|
+
ceremony; ask when target or consequence expands.
|
|
273
272
|
Readiness has two verdicts: `readiness.authoringAccepted` says the source is valid
|
|
274
273
|
Screenplay; `executableReady` describes only the current executable subset. Do not
|
|
275
274
|
call a model broken because it is not executable, and prefer `propose-ast` for
|
package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md
CHANGED
|
@@ -250,7 +250,7 @@ the standalone 4.66.0 tool for the rows marked "probed"; Cratis CLI 3.28.2 and 3
|
|
|
250
250
|
Screenplay 4.66.0 (before 3.28.2, Screenplay 4.60.1, differ where stated).
|
|
251
251
|
|
|
252
252
|
Read-model identity below is corrected to 4.135.0; equality query filters are
|
|
253
|
-
updated to standalone 4.
|
|
253
|
+
updated to standalone 4.153.0 (admitted in 4.143.0, ESM v14):
|
|
254
254
|
explicit trailing `key` wins; otherwise single-instance queries in the owning slice
|
|
255
255
|
must agree on `by`. Only with no single-instance identifier and an admitted list
|
|
256
256
|
query does conventional `*Id` inference run. Queryless views need explicit `key`.
|
|
@@ -191,9 +191,9 @@ the server sends `roots/list` and serves `tools/list` after the reply).
|
|
|
191
191
|
A text rename plus an `id "<old name>"` pin preserves authored stored-name intent
|
|
192
192
|
but leaves the identity catalog pointing at the old declaration; the next
|
|
193
193
|
`apply` can mint new identities silently. Use the identity-preserving operation.
|
|
194
|
-
|
|
195
|
-
not
|
|
196
|
-
|
|
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`.
|
|
197
197
|
5. **A session without MCP** (a subagent, or a harness with no server) carries out a
|
|
198
198
|
requested rename by text with `id "<Old>"` pins and an identity note when no
|
|
199
199
|
`.screenplay/identities.json` exists. When it exists, it does not edit
|
|
@@ -258,30 +258,41 @@ tags and identities survive; canonical ESM must stay byte-identical and every
|
|
|
258
258
|
comment must survive exactly once. Extract before adding `generation`, not after
|
|
259
259
|
making the document parser-invalid. This is a refactoring, not a diagnostic repair.
|
|
260
260
|
|
|
261
|
-
`propose-rename`
|
|
262
|
-
|
|
263
|
-
|
|
261
|
+
`propose-rename` consults release-baseline mutability in **4.153.0**: without a
|
|
262
|
+
baseline it conservatively pins the previous effective name; an unadmitted event
|
|
263
|
+
gets no new pin, while any admitted revision requires preserving its stored name.
|
|
264
|
+
`eventNeverPersisted: true` is refused for admitted revisions; otherwise it needs
|
|
265
|
+
storage-history knowledge, not merely an identity catalog. It skips a new pin, removes a redundant current-name
|
|
264
266
|
pin, but retains a pin for a different earlier name. Contradictory generation pins
|
|
265
267
|
refuse the rename. Do not promise a generation-2 payload-removal repair or a
|
|
266
268
|
`PLAY0470` repair: neither is available.
|
|
267
269
|
|
|
268
|
-
On Screenplay **4.
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
270
|
+
On Screenplay **4.152.0**, differing event pins carry `storedName` on the current
|
|
271
|
+
contract and select **ESM v16**. All generations share the effective stored name;
|
|
272
|
+
pins must be event-name identifiers, unique across the application (PLAY0472).
|
|
273
|
+
An equal-name pin is a no-op: no `storedName` or v16 selection; PLAY0471 removal
|
|
274
|
+
preserves canonical bytes. **The interim event-pin warning is retired** and the compatibility
|
|
275
|
+
`eventPinWarnings` array in proposals is empty. The pin does not replace or rehash
|
|
276
|
+
`EventContractId`; use the identity-preserving rename, not a text/catalog bypass.
|
|
277
|
+
|
|
278
|
+
Consumers must explicitly admit v16 and preserve stored names or refuse the model.
|
|
279
|
+
Stage 4.92.0 / CLI 3.59.0 still stop at v15, so do not promise rendered storage
|
|
280
|
+
compatibility, delete intended pins or treat reference specs as storage tests.
|
|
281
|
+
Decision 0070's release baseline ships in **4.153.0**: admit in the release job,
|
|
282
|
+
inspect `screenplay_list_release_baseline` and `read-proposal view=release-baseline`,
|
|
283
|
+
then choose edits from evidence. Workflow, flags, guards and recovery:
|
|
284
|
+
[release baseline](release-baseline.md). Sources: Cratis/Screenplay `v4.152.0`,
|
|
285
|
+
`Documentation/screenplay/events.md:116-124`,
|
|
286
|
+
`Source/DotNET/Screenplay/Semantics/SemanticModelBinder.StoredEventNames.cs:15-35`,
|
|
287
|
+
`Source/DotNET/Screenplay.Mcp/McpWorkspaces.Refactoring.cs:82`;
|
|
288
|
+
target evidence: toolchain `references/versions.md` (Stored-name rendering boundary).
|
|
278
289
|
|
|
279
290
|
A stream whose stored name is exactly `All`, from its name or `id "All"`,
|
|
280
291
|
refuses executable binding/readiness with PLAY0273. Use discovered `propose-rename`
|
|
281
292
|
to change that stored stream name; pinning it back to `All` is not a repair.
|
|
282
293
|
There is no typed PLAY0273 repair for this case. Existing `All` history reads as
|
|
283
|
-
source-only appends. Source/stream pins otherwise travel as ESM v8 stored names
|
|
284
|
-
|
|
294
|
+
source-only appends. Source/stream pins otherwise travel as ESM v8 stored names;
|
|
295
|
+
event stored names require v16. Source: Cratis/Screenplay `v4.150.0`,
|
|
285
296
|
`Source/DotNET/Screenplay/Semantics/SemanticModelBinder.EventSources.cs:17-52` and
|
|
286
297
|
`decisions/0073-reserve-the-stored-event-stream-name-all.md:35-63`.
|
|
287
298
|
|
package/package/corpus/skills/cratis-screenplay-model-authoring/references/property-links.md
CHANGED
|
@@ -153,20 +153,24 @@ Unrelated same-named fields appear in `property.notChanged`.
|
|
|
153
153
|
Read `property.needsDecision` for refusal reasons and located candidates;
|
|
154
154
|
`property.chainCandidates` lists unselected chain members, not automatic edits.
|
|
155
155
|
A refusal returns `success: false` and no writable partial candidate. Missing an
|
|
156
|
-
event mode returns `EventContractChangeRequiresDecision`;
|
|
157
|
-
text editing or claiming the catalog proves non-persistence.
|
|
156
|
+
event mode without a baseline returns `EventContractChangeRequiresDecision`; never
|
|
157
|
+
bypass it by text editing or claiming the catalog proves non-persistence.
|
|
158
158
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
159
|
+
At **4.153.0**, read [release-baseline evidence](release-baseline.md) before choosing:
|
|
160
|
+
`noBaseline` requires exactly one of `newGeneration: true` or
|
|
161
|
+
`eventNeverPersisted: true`, even for optional additions; `notInBaseline` defaults
|
|
162
|
+
to `inPlace`; `baselined` accepts only explicit `newGeneration: true`, otherwise
|
|
163
|
+
`BaselinedRevisionImmutable`. Never assert non-persistence to unfreeze an admitted
|
|
164
|
+
revision. New generations append N+1; in-place edits keep current N. Neither flag
|
|
165
|
+
selects extra events. Chronicle still needs transformations before deployment.
|
|
163
166
|
|
|
164
167
|
Default validation is `Authoring` (optional `Executable`), formatting
|
|
165
168
|
`PreserveTrivia`, reference policy always `Safe`. Structural changes require
|
|
166
169
|
explicit `CanonicalizeTouchedDocuments` consent. Inspect retained `read-proposal`
|
|
167
170
|
and `view: "semantic-diff"` before `apply`; only apply writes source and identities.
|
|
168
171
|
Review `property.generations`, always an array ordered by canonical event address,
|
|
169
|
-
with one entry per selected event: `event`, `from`, `to`, `mode
|
|
172
|
+
with one entry per selected event: `event`, `from`, `to`, `mode`, `mutability`
|
|
173
|
+
(`basis`, `releaseBaselineRevision`, `admittedIn`). In-place edits
|
|
170
174
|
have equal revisions. `[]` means no accepted planned event edits, not success;
|
|
171
175
|
there is no singular `property.generation`. `deployableWithoutTransformation`
|
|
172
176
|
and `esmVersionKnown` are independent of authoring acceptance.
|
package/package/corpus/skills/cratis-screenplay-model-authoring/references/release-baseline.md
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
<!-- Copyright (c) Cratis. All rights reserved. -->
|
|
2
|
+
<!-- Licensed under the MIT license. See LICENSE file in the project root for full license information. -->
|
|
3
|
+
|
|
4
|
+
# Release baseline (Screenplay 4.153.0)
|
|
5
|
+
|
|
6
|
+
## Contents
|
|
7
|
+
|
|
8
|
+
- Admit in the release job
|
|
9
|
+
- Choose the edit mode from evidence
|
|
10
|
+
- Inspect and review through MCP
|
|
11
|
+
- Fail closed and recover
|
|
12
|
+
- Earlier shipped models
|
|
13
|
+
- Verified product sources
|
|
14
|
+
|
|
15
|
+
## Admit in the release job
|
|
16
|
+
|
|
17
|
+
Commit `.screenplay/release-baseline.json` with the model. It records the event
|
|
18
|
+
revisions a release admitted, keyed by persisted event contract identity and
|
|
19
|
+
revision, not display name/address. Its header is
|
|
20
|
+
`schema: "cratis.screenplay.release-baseline"`, `schemaVersion: 1`, with
|
|
21
|
+
`applicationIdentity` and `entries`. Published schema:
|
|
22
|
+
[release-baseline-v1.schema.json](https://github.com/Cratis/Screenplay/blob/v4.153.0/Documentation/screenplay/release-baseline-v1.schema.json).
|
|
23
|
+
|
|
24
|
+
Persist `.screenplay/identities.json` through the owning MCP session first.
|
|
25
|
+
Admission requires a binding model, persisted identities and no pending recovery.
|
|
26
|
+
At release time, run the standalone tool explicitly:
|
|
27
|
+
|
|
28
|
+
```shell
|
|
29
|
+
screenplay baseline admit <model-root> --release <release-label>
|
|
30
|
+
screenplay baseline check <model-root>
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Admission freezes every current and historical revision's resolved stored shape.
|
|
34
|
+
It adds new entries, retains matching entries' original release labels and never
|
|
35
|
+
removes or re-admits changed entries. Building, rendering, applying a proposal or
|
|
36
|
+
publishing a package does **not** admit a release. A release job must run admission
|
|
37
|
+
and commit the sidecar; otherwise shipped-but-unadmitted revisions remain editable.
|
|
38
|
+
|
|
39
|
+
`check` exits **0** for matching admitted revisions, **1** for
|
|
40
|
+
`BaselinedRevisionChanged` or `BaselinedRevisionMissing` (changed entries report
|
|
41
|
+
first differing paths), **2** when checking is unavailable, including unreadable
|
|
42
|
+
state. A nonbinding model is not a verified matching set: missing revisions can
|
|
43
|
+
still be reported, but other entries are unknown. Admission exits **0** on success,
|
|
44
|
+
**1** for changed overlapping revisions and **2** for invalid input or failed writes.
|
|
45
|
+
A missing baseline is not an unreadable baseline, and a clean check with no entries
|
|
46
|
+
is not evidence that a shipped release has been admitted.
|
|
47
|
+
|
|
48
|
+
The stored shape includes the effective event name, property names, optionality,
|
|
49
|
+
collection flags, resolved primitives/composites, compliance and enum names/numbers.
|
|
50
|
+
Changing a shared type or concept can invalidate historical revisions too: create a
|
|
51
|
+
new type/concept for a new generation rather than mutate the old shared schema.
|
|
52
|
+
Descriptions, tags, type/concept names, semantic property IDs, concept validation
|
|
53
|
+
rules and generation strategies are outside stored-shape equality. Baseline edits
|
|
54
|
+
change neither source/catalog revisions nor canonical ESM bytes/revision; this is
|
|
55
|
+
an independent release gate, not V1, V3, V4 or target migration evidence.
|
|
56
|
+
|
|
57
|
+
## Choose the edit mode from evidence
|
|
58
|
+
|
|
59
|
+
| `mutability.basis` | Current event property edit | Event rename |
|
|
60
|
+
| --- | --- | --- |
|
|
61
|
+
| `noBaseline` | Exactly one of `newGeneration: true` or `eventNeverPersisted: true` is required, even for optional additions; otherwise `EventContractChangeRequiresDecision` | Pins the previous effective stored name by default |
|
|
62
|
+
| `notInBaseline` | No flag defaults to `inPlace`; either explicit mode is honored | Does not add a pin |
|
|
63
|
+
| `baselined` | Only explicit `newGeneration: true`; otherwise `BaselinedRevisionImmutable`. `eventNeverPersisted` cannot unfreeze it | Preserves the effective stored name; `eventNeverPersisted` refuses |
|
|
64
|
+
|
|
65
|
+
Without a baseline, `eventNeverPersisted: true` still requires actual storage-history
|
|
66
|
+
knowledge; the identity catalog is not that evidence. With a baseline, unadmitted
|
|
67
|
+
means **not recorded**, not proof that nothing was deployed. Historical properties
|
|
68
|
+
remain uneditable. One mode applies to all explicitly selected events, without
|
|
69
|
+
selecting extra events. `property.generations[]` reports each event's own `from`,
|
|
70
|
+
`to`, `mode` (`inPlace`, `eventNeverPersisted` or `newGeneration`) and `mutability`.
|
|
71
|
+
That object contains `basis`, `releaseBaselineRevision` and `admittedIn`.
|
|
72
|
+
|
|
73
|
+
If any historical revision is admitted, a logical event rename preserves its pin.
|
|
74
|
+
Inspect `eventRename.mutability` and `eventRename.pinAdded`. Differing pins carry
|
|
75
|
+
`storedName` in ESM v16; equal-name pins remain no-ops. A baseline does not admit a
|
|
76
|
+
renderer or supply transformations between generations: target checks still apply.
|
|
77
|
+
|
|
78
|
+
Never hand-edit the sidecar except a deliberate **reviewed correction**. Do not
|
|
79
|
+
delete entries, change hashes or admit again to bypass a frozen-contract refusal.
|
|
80
|
+
|
|
81
|
+
## Inspect and review through MCP
|
|
82
|
+
|
|
83
|
+
Discover installed schemas: `screenplay_list_release_baseline` (catalog name
|
|
84
|
+
`list-release-baseline`) requires an open workspace; takes `offset`, `limit`
|
|
85
|
+
(default 50, maximum 200) and `expectedReleaseBaselineRevision`, required on
|
|
86
|
+
continuation. `open-workspace` / `workspace-state` report `releaseBaseline` with
|
|
87
|
+
`status` (`absent`, `valid`, `unreadable`), `revision`, `reason`, `entries`,
|
|
88
|
+
`violations` and `checkFailure`. Absent uses `brev1:absent`; unreadable has no revision.
|
|
89
|
+
|
|
90
|
+
Entry status is `unchanged`, `changed` (first differing `path`), `missing`, or
|
|
91
|
+
`unknown` when the model cannot bind. Unreadable returns `page: null`, not a
|
|
92
|
+
successful empty set. Restart paging after baseline drift; source revision guards
|
|
93
|
+
alone do not protect this evidence.
|
|
94
|
+
|
|
95
|
+
Review `read-proposal view=release-baseline` separately from `semantic-diff`.
|
|
96
|
+
It reports retained baseline status, violations and original revisions' mutability;
|
|
97
|
+
pin `expectedReleaseBaselineRevision` on continuation. All proposal tools and
|
|
98
|
+
`apply` accept that optional guard. Every proposal checks the complete candidate's
|
|
99
|
+
resolved contracts before retention, including indirect shared-type changes. Apply
|
|
100
|
+
checks them again and refuses `StaleReleaseBaseline` after baseline drift; re-read
|
|
101
|
+
and re-propose rather than retry the old plan. Semantic-diff's disk comparison
|
|
102
|
+
baseline is not this release baseline.
|
|
103
|
+
|
|
104
|
+
## Fail closed and recover
|
|
105
|
+
|
|
106
|
+
Malformed JSON, merge conflicts, wrong application/schema or invalid schema hashes
|
|
107
|
+
never become `noBaseline` or `notInBaseline`. Opening, reading and compilation
|
|
108
|
+
remain available, but event-contract changes refuse `UnreadableReleaseBaseline`;
|
|
109
|
+
non-contract edits may proceed. MCP never admits or repairs the sidecar.
|
|
110
|
+
|
|
111
|
+
CLI admission uses the shared `.screenplay/pending.json` journal. A pending journal
|
|
112
|
+
blocks admission; inspect/recover the identified operation through the existing
|
|
113
|
+
workspace recovery flow, not by deleting journals. A baseline refusal before
|
|
114
|
+
installation has no write outcome to recover.
|
|
115
|
+
|
|
116
|
+
## Earlier shipped models
|
|
117
|
+
|
|
118
|
+
`screenplay baseline admit <model-root> --release <release-label> --from-esm <shipped-esm>`
|
|
119
|
+
strictly reads an earlier canonical ESM with the same application identity. At
|
|
120
|
+
**4.153.0**, this route resolves the shipped type from `contract.Name`, **not**
|
|
121
|
+
`contract.StoredName`, even for v16. A pinned rename can therefore refuse
|
|
122
|
+
`ShippedStoredNameMismatch`; do not claim this option carries the shipped v16 pin
|
|
123
|
+
or remove a correct current pin to force admission. A reviewed baseline correction
|
|
124
|
+
or data migration needs the actual stored-type evidence. Ordinary admission from
|
|
125
|
+
the current model does use its effective stored name. This source boundary differs
|
|
126
|
+
from decision 0075's intended `--from-esm` behavior.
|
|
127
|
+
|
|
128
|
+
## Verified product sources
|
|
129
|
+
|
|
130
|
+
Cratis/Screenplay **v4.153.0**:
|
|
131
|
+
|
|
132
|
+
- `Documentation/screenplay/events.md:33-55,61-86,149` (stored shape, modes, rename).
|
|
133
|
+
- `Documentation/screenplay/tool.md:28-64` (CLI, persistence and exits).
|
|
134
|
+
- `Documentation/screenplay/mcp/reference.md:481-533` (views, paging, reports and guards).
|
|
135
|
+
- `Documentation/screenplay/mcp/recovery.md:32-45,101` (unreadability, drift, journal).
|
|
136
|
+
- `Documentation/screenplay/release-baseline-v1.schema.json:1-15,86-95` (sidecar).
|
|
137
|
+
- `Source/DotNET/Tool/BaselineCommand.cs:14-46,67-80` (real CLI requirements/exits).
|
|
138
|
+
- `Source/DotNET/Screenplay/Workspaces/ReleaseBaseline.cs:18-47,76-108` (monotonic admission, stored-name comparison and the `--from-esm` boundary).
|
|
139
|
+
- `WorkspaceEventMutability.cs:19-24`, `WorkspaceRefactoring.Property.cs:95-102` and `WorkspaceRefactoring.cs:168-177` in that Workspaces folder (classification/refusal).
|
|
140
|
+
- `Source/DotNET/Screenplay.Mcp/McpWorkspaces.ReleaseBaseline.cs:38-45,111-134` (read, paging and apply checks).
|
|
@@ -3,8 +3,21 @@
|
|
|
3
3
|
"input": "Author and organize a Screenplay model in a repository.",
|
|
4
4
|
"fixtures": [],
|
|
5
5
|
"assertions": [
|
|
6
|
-
{ "kind": "skill-contains", "value": "
|
|
7
|
-
{ "kind": "skill-contains", "value": "
|
|
6
|
+
{ "kind": "skill-contains", "value": ".screenplay/release-baseline.json", "file": "references/release-baseline.md" },
|
|
7
|
+
{ "kind": "skill-contains", "value": "screenplay baseline admit", "file": "references/release-baseline.md" },
|
|
8
|
+
{ "kind": "skill-contains", "value": "screenplay baseline check", "file": "references/release-baseline.md" },
|
|
9
|
+
{ "kind": "skill-contains", "value": "screenplay_list_release_baseline", "file": "references/release-baseline.md" },
|
|
10
|
+
{ "kind": "skill-contains", "value": "read-proposal view=release-baseline", "file": "references/release-baseline.md" },
|
|
11
|
+
{ "kind": "skill-contains", "value": "BaselinedRevisionImmutable", "file": "references/release-baseline.md" },
|
|
12
|
+
{ "kind": "skill-contains", "value": "StaleReleaseBaseline", "file": "references/release-baseline.md" },
|
|
13
|
+
{ "kind": "skill-contains", "value": "Never hand-edit the sidecar", "file": "references/release-baseline.md" },
|
|
14
|
+
{ "kind": "skill-contains", "value": "**reviewed correction**", "file": "references/release-baseline.md" },
|
|
15
|
+
{ "kind": "skill-contains", "value": "ShippedStoredNameMismatch", "file": "references/release-baseline.md" },
|
|
16
|
+
{ "kind": "skill-contains", "value": "the interim warning is retired" },
|
|
17
|
+
{ "kind": "skill-contains", "value": "`eventPinWarnings` array in proposals is empty", "file": "references/mcp-tools.md" },
|
|
18
|
+
{ "kind": "skill-contains", "value": "shared by all generations and unique (PLAY0472)" },
|
|
19
|
+
{ "kind": "skill-contains", "value": "ESM v16", "file": "references/mcp-tools.md" },
|
|
20
|
+
{ "kind": "skill-contains", "value": "Stage 4.92.0 / CLI 3.59.0 still stop at v15", "file": "references/mcp-tools.md" },
|
|
8
21
|
{ "kind": "skill-contains", "value": "Existing `All` history reads as", "file": "references/mcp-tools.md" },
|
|
9
22
|
{ "kind": "play-compiles" },
|
|
10
23
|
{ "kind": "skill-contains", "value": "Edit through MCP proposals, not hand-edited text" },
|
|
@@ -128,7 +141,7 @@
|
|
|
128
141
|
},
|
|
129
142
|
{
|
|
130
143
|
"kind": "skill-contains",
|
|
131
|
-
"value": "Only `apply`
|
|
144
|
+
"value": "Only `apply` / `recover-workspace` write source/catalog"
|
|
132
145
|
},
|
|
133
146
|
{
|
|
134
147
|
"kind": "skill-contains",
|
|
@@ -178,7 +178,7 @@ on the header line is a declaration error, not a shorthand.
|
|
|
178
178
|
|
|
179
179
|
### What runs
|
|
180
180
|
|
|
181
|
-
These bind on standalone 4.
|
|
181
|
+
These bind on standalone 4.153.0: keyed `=> RM optional`, unfiltered collections,
|
|
182
182
|
collections narrowed by caller-supplied `by`, and their `observable` forms.
|
|
183
183
|
Caller-supplied equality filters on collections select ESM v14: same-named scalar
|
|
184
184
|
primitive/concept/enum properties, same nominal type ignoring optionality, no
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
- Rendering is a different verdict
|
|
12
12
|
- Verified product sources
|
|
13
13
|
|
|
14
|
-
Screenplay **4.143.0 and later**, including the standalone **4.
|
|
14
|
+
Screenplay **4.143.0 and later**, including the standalone **4.153.0** pin,
|
|
15
15
|
binds `filter <name> <Type> [optional]` on a collection query when:
|
|
16
16
|
|
|
17
17
|
- there is no `from` source;
|
|
@@ -110,7 +110,7 @@ model still compiles and binds) and its V5 states the scope.
|
|
|
110
110
|
`--project-name`, `--root-namespace` and target `cratis`. Take V1 and V3 from
|
|
111
111
|
`cratis-screenplay-toolchain`; report each with tool and version. V3 from a different
|
|
112
112
|
compiler version does not prove the cratis-bundled binder admits the model (the bundle is
|
|
113
|
-
4.147.1, the standalone tool 4.
|
|
113
|
+
4.147.1, the standalone tool 4.153.0). `cratis screenplay validate --executable <root>` binds with
|
|
114
114
|
the bundled compiler and writes nothing: use it as the bundled-binder check (toolchain `references/verdicts.md`).
|
|
115
115
|
2. **Probe.** `cratis render <model-root> --name <App> --destination <probe-dir> -o json`
|
|
116
116
|
(exit 0 published, 5 refused with nothing published, 1 missing input); add `--check` to plan
|
package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/delivery-protocol.md
CHANGED
|
@@ -30,7 +30,7 @@ per tool call and read each result from its exit status, never from a grep of th
|
|
|
30
30
|
| --- | --- | --- |
|
|
31
31
|
| Admission and publication | `cratis render <root> --name <App> --destination <dir> [--project-name <P>] [--root-namespace <N>] -o json` (forward every option recorded in section 1) | exit 0 published (receipt on stdout), 5 refused (diagnostics, nothing published), 1 missing input |
|
|
32
32
|
| Drift or pending-change check | the same command plus `--check` (and `--scope`, `--force` as used) | no write, no recovery: exit 0 current, 6 `changes_pending`, 5 planning failure, refusal or pending recovery |
|
|
33
|
-
| Bundled-binder check | `cratis screenplay validate --executable <root>` | exit 5 with "does not bind into an executable semantic model" when it does not; never renders or writes. Uses the bundled compiler (CLI 3.57.0 = Screenplay 4.147.1), not standalone 4.
|
|
33
|
+
| Bundled-binder check | `cratis screenplay validate --executable <root>` | exit 5 with "does not bind into an executable semantic model" when it does not; never renders or writes. Uses the bundled compiler (CLI 3.57.0 = Screenplay 4.147.1), not standalone 4.153.0 |
|
|
34
34
|
| Debug build | `dotnet build <dir>/<Project>.csproj -c Debug` | the build's exit status |
|
|
35
35
|
| Debug tests | `dotnet test <dir>/<Project>.csproj -c Debug --no-build` | the test runner's exit status plus per-test results |
|
|
36
36
|
| List the generated classes | `dotnet test <dir>/<Project>.csproj -c Debug --no-build --list-tests` | the names to map to specifications |
|
|
@@ -128,7 +128,9 @@ option, mark it `ASSUMED` in the slice or module `documentation` and in the sess
|
|
|
128
128
|
`references/compliance.md` for allowed types and the policy/encryption distinction.
|
|
129
129
|
5. **Plan evolution** with `references/evolution.md`: classify each event change (additive,
|
|
130
130
|
meaning change, rename, removal, split or merge) and write its compatibility scenarios before
|
|
131
|
-
editing.
|
|
131
|
+
editing. Admit the **4.153.0 release baseline** in the release job; admitted
|
|
132
|
+
revisions need `newGeneration`. Modes/CLI/MCP: `references/evolution.md`.
|
|
133
|
+
Pin persisted/public enum member numbers before reordering or removing
|
|
132
134
|
members; never renumber or reuse a published number. Positional pins preserve
|
|
133
135
|
executable bytes; non-positional pins need ESM v12 consumer admission.
|
|
134
136
|
Renames and other identity-affecting edits are made by the identity owner (the
|
|
@@ -152,9 +154,10 @@ option, mark it `ASSUMED` in the slice or module `documentation` and in the sess
|
|
|
152
154
|
- Generations are declared in full, numbered 1..N without gaps, in the same slice
|
|
153
155
|
(PLAY0446-0448). Referencing a removed property is PLAY0273; a `given` needing a historical
|
|
154
156
|
shape is PLAY0449. An `id` pin equal to the event's current name is PLAY0471 (information).
|
|
155
|
-
Since Screenplay **4.
|
|
156
|
-
|
|
157
|
-
|
|
157
|
+
Since Screenplay **4.152.0**, differing pins carry `storedName` in ESM v16;
|
|
158
|
+
equal-name pins are no-ops. Pins are event-name identifiers, shared by all
|
|
159
|
+
generations and unique application-wide (PLAY0472). Consumers must admit v16;
|
|
160
|
+
released Stage 4.92.0 / CLI 3.59.0 do not. See `references/evolution.md`.
|
|
158
161
|
- `reads` is PLAY0271 and `require` over read-model paths is PLAY0268 at binding. A `concurrency`
|
|
159
162
|
block compiles but is PLAY0271 at binding. Keep both when they state real intent; they are not
|
|
160
163
|
protection. `description` text never reaches rendered code: a rule that lives only in prose is
|
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
A complete design-mode model showing the three evolution routes from `evolution.md`: a new
|
|
4
4
|
generation (compatible change), an identity-aware rename that keeps the authored stored-name
|
|
5
5
|
intent as an `id` pin, and a changed meaning that becomes a new event. Several generations
|
|
6
|
-
select ESM v4
|
|
7
|
-
|
|
6
|
+
alone select ESM v4; the differing event pin selects v16 in Screenplay 4.152.0.
|
|
7
|
+
It carries `storedName`, but released Stage 4.92.0 does not admit v16: this example
|
|
8
|
+
does not prove rendered stored-history compatibility.
|
|
8
9
|
See `evolution.md` for source evidence and the deployment boundary.
|
|
9
10
|
|
|
10
11
|
```screenplay
|
|
@@ -12,11 +13,11 @@ See `evolution.md` for source evidence and the deployment boundary.
|
|
|
12
13
|
// - MembershipRenewed: a compatible change (new property with a defined default for old facts),
|
|
13
14
|
// declared as generation 2 in full beside generation 1, in the same slice.
|
|
14
15
|
// - MembershipPaused: the persisted event formerly stored as "MembershipSuspended"; renamed
|
|
15
|
-
// through the identity-aware path, which
|
|
16
|
+
// through the identity-aware path, which carries the old storedName in ESM v16.
|
|
16
17
|
// - MembershipEnded vs MembershipTerminatedForBreach: a change of meaning is a NEW event, not
|
|
17
18
|
// a generation.
|
|
18
19
|
// Screenplay does not express migrations/upcasters (Documentation/screenplay/events.md); the
|
|
19
|
-
// target must convert generation 1 facts
|
|
20
|
+
// target must convert generation 1 facts and explicitly admit storedName in ESM v16.
|
|
20
21
|
|
|
21
22
|
concept MembershipId : Uuid
|
|
22
23
|
|