@cratis/pi 7.39.0 → 7.41.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.
- package/package/corpus/product-sync.json +12 -12
- package/package/corpus/skills/cratis-arc-command/references/generated-values.md +3 -2
- package/package/corpus/skills/cratis-chronicle-reactor/SKILL.md +2 -2
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +4 -2
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/audit-format.md +2 -2
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +1 -1
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/provenance.md +2 -2
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/public-events-and-direction.md +1 -1
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +13 -7
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +3 -1
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +7 -6
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/invocation-identity.md +4 -2
- package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +10 -8
- package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +13 -2
- package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +9 -8
- package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +137 -46
- package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +13 -8
- package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +13 -13
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +2 -2
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +4 -4
- package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +6 -4
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +3 -1
- package/package/corpus/skills/cratis-screenplay-model-review/references/anti-patterns.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +1 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +2 -2
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/phases.md +1 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +5 -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 +15 -13
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +22 -18
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/delivery-protocol.md +1 -1
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md +6 -5
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +8 -8
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +2 -2
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +6 -5
- package/package/corpus/skills/cratis-screenplay-slice-design/references/field-lineage.md +1 -1
- package/package/corpus/skills/cratis-screenplay-specifications/references/generated-fixtures.md +12 -5
- package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +5 -4
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +4 -4
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +2 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +2 -2
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +19 -14
- package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet-example.md +2 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +7 -4
- package/package/corpus/skills/cratis-screenplay-toolchain/references/doc-contradictions.md +3 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +30 -25
- package/package/corpus/skills/cratis-screenplay-toolchain/references/generation-strategies-example.md +43 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/production-routes-and-filters.md +5 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +37 -34
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +1499 -46
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +3 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +3 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +3 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +56 -48
- package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +9 -2
- package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +7 -7
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/response-continuations.md +109 -0
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +4 -3
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/worked-flow.md +3 -2
- package/package/corpus/skills/cratis-screenplay-ui-composition/verification.json +5 -0
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +31 -32
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +71 -27
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/rendered-application.md +18 -21
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +30 -14
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/scene-runtime.md +4 -3
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +5 -2
- package/package.json +1 -1
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"repository": "Cratis/Stage",
|
|
28
28
|
"packages": [],
|
|
29
29
|
"synced": {
|
|
30
|
-
"version": "4.
|
|
31
|
-
"date": "2026-10-
|
|
32
|
-
"by": "Cratis/AI#
|
|
30
|
+
"version": "4.89.1",
|
|
31
|
+
"date": "2026-10-13",
|
|
32
|
+
"by": "Cratis/AI#643"
|
|
33
33
|
},
|
|
34
34
|
"covers": {
|
|
35
35
|
"skills": [
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
],
|
|
47
47
|
"rules": []
|
|
48
48
|
},
|
|
49
|
-
"notes": "
|
|
49
|
+
"notes": "Source-checked Stage v4.89.1 bundled by CLI v3.57.0: ESM v1-v15, collection equality filters, UUID/String strategies and freshness, role/authenticated reaction identity, reaction observer filters and single-hop append specifications. Scaffold pins and docker docs re-read, including Host compliance and non-text secret refusal 041. Mixed effects, claim/opaque system gates, deeper cascades and other typed refusals retained. Historical probes retain original versions; no new render/browser/Docker probe."
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"id": "arc",
|
|
@@ -122,9 +122,9 @@
|
|
|
122
122
|
}
|
|
123
123
|
],
|
|
124
124
|
"synced": {
|
|
125
|
-
"version": "3.
|
|
126
|
-
"date": "2026-10-
|
|
127
|
-
"by": "Cratis/AI#
|
|
125
|
+
"version": "3.57.0",
|
|
126
|
+
"date": "2026-10-13",
|
|
127
|
+
"by": "Cratis/AI#643"
|
|
128
128
|
},
|
|
129
129
|
"covers": {
|
|
130
130
|
"skills": [
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
],
|
|
154
154
|
"rules": []
|
|
155
155
|
},
|
|
156
|
-
"notes": "
|
|
156
|
+
"notes": "Render bundle source-checked at v3.57.0: Screenplay 4.147.1 and Stage 4.89.1; CLI rendering admits ESM v1-v15. Other CLI surfaces retain their v3.53.1 evidence from Cratis/AI#620 unless separately re-verified. No new render/browser probe. Standalone 4.148.0 response-name resolution is not in this bundle."
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
"id": "screenplay",
|
|
@@ -166,9 +166,9 @@
|
|
|
166
166
|
}
|
|
167
167
|
],
|
|
168
168
|
"synced": {
|
|
169
|
-
"version": "4.
|
|
170
|
-
"date": "2026-10-
|
|
171
|
-
"by": "Cratis/AI#
|
|
169
|
+
"version": "4.148.0",
|
|
170
|
+
"date": "2026-10-13",
|
|
171
|
+
"by": "Cratis/AI#643"
|
|
172
172
|
},
|
|
173
173
|
"covers": {
|
|
174
174
|
"skills": [
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
],
|
|
197
197
|
"rules": []
|
|
198
198
|
},
|
|
199
|
-
"notes": "Standalone tool and byte-identical
|
|
199
|
+
"notes": "Standalone 4.148.0 tool and byte-identical published/Golden contract pinned for Cratis/AI#643 and #642. Teaches ESM v15 strategies, strict fixtures and whole-source freshness, plus returned-name continuation scope and PLAY0685; golden vectors shipped in 4.146.0. Historical parser/binder evidence remains separately qualified. This pin does not upgrade CLI's compiler or Scene response continuation runtime."
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
"id": "scene",
|
|
@@ -163,5 +163,6 @@ the prior verification): `Source/DotNET/Arc.Core/Commands/ModelBound/GeneratedVa
|
|
|
163
163
|
|
|
164
164
|
This release has no freshness/collision guard, contextual clock/tenant/pattern
|
|
165
165
|
generation, or additional built-in strategies beyond Fundamentals' UUID/UUIDv7
|
|
166
|
-
helpers
|
|
167
|
-
|
|
166
|
+
helpers at this Arc tag. Screenplay 4.147.0+ separately admits concept `generate`
|
|
167
|
+
strategies and freshness; see `cratis-screenplay-command-surface/references/generated-values-and-responses.md`
|
|
168
|
+
for that language contract and Stage's explicit scopes, not native Arc freshness support.
|
|
@@ -25,8 +25,8 @@ effects. If the answer is "populate a queryable model", it is not a reactor.
|
|
|
25
25
|
> `.cratis/ai.json`; master definition in `cratis-screenplay-modeling-lifecycle`), the automation is
|
|
26
26
|
> a modeled slice: find it (`Automation` or `Translate`), treat its `produces` /
|
|
27
27
|
> `invokes`, conditions and fields as the contract, and write the reactor only as
|
|
28
|
-
> gap-fill for what the model leaves to code (Stage renders
|
|
29
|
-
> Translate
|
|
28
|
+
> gap-fill for what the model leaves to code (Stage 4.89.1 renders supported event-triggered Automation;
|
|
29
|
+
> Translate/captures and refused reactions remain gap-fill; Stage skill `references/admission.md`). Use `cratis-screenplay-automations-and-translations` to
|
|
30
30
|
> change the model; never change the model to fit the reactor, and never leave a
|
|
31
31
|
> modeled rule living only in the reactor. If the repository is not opted in
|
|
32
32
|
> (an empty directory, install output, a `.play` file outside the root or an untracked or uncommitted draft is not consent), stay code-first here
|
|
@@ -41,7 +41,7 @@ identity, effect and pending-work contract at that point; do not postpone it to
|
|
|
41
41
|
Without it the invoke has no caller. Historical CLI 3.41.0's 4.114.0 compiler
|
|
42
42
|
rejected the syntax (PLAY0137); previous CLI 3.46.1 refused ESM v10
|
|
43
43
|
at render admission (CLI-RENDER-004). The pinned CLI/Stage pair (toolchain
|
|
44
|
-
`references/versions.md`)
|
|
44
|
+
`references/versions.md`) renders role/authenticated reaction identity; claim-reading/opaque gates retain STAGE-ESM-034. Checked model/diagnostics: captures-and-reactions
|
|
45
45
|
`references/invocation-identity.md`.
|
|
46
46
|
|
|
47
47
|
## Effect guarantees and recovery traps
|
|
@@ -73,7 +73,9 @@ even when it blocks binding. Never record bearer tokens, magic links or signed U
|
|
|
73
73
|
|
|
74
74
|
## Verified product sources
|
|
75
75
|
Current pins: toolchain `references/versions.md`. Language claims were re-read at Screenplay v4.139.0,
|
|
76
|
-
renderer claims at Stage v4.
|
|
76
|
+
renderer claims at Stage v4.89.1 (`Documentation/reference/reaction-rendering.md:6-98`,
|
|
77
|
+
`Source/Rendering.Cratis/Semantics/SemanticVersionFeatureAdmission.cs:25-46`): supported
|
|
78
|
+
event-triggered Automation renders; Translate/captures and refused reactions stay gap-fill. The
|
|
77
79
|
runtime facts at Arc v22.72.0 and Chronicle v19.50.1. Older reads kept as history:
|
|
78
80
|
|
|
79
81
|
| Package | Version | Used for |
|
|
@@ -12,8 +12,8 @@ technique: partial work stays visible and nothing is skipped because it looked r
|
|
|
12
12
|
Result is `complete` only when every column is filled or says why it does not apply (for example
|
|
13
13
|
"direct effect: immediate, internal, cannot fail"). `open` names the unresolved decision and who
|
|
14
14
|
answers. `blocked` names the actual capability gap with intended behavior. For example,
|
|
15
|
-
the pinned CLI/Stage pair (toolchain `references/versions.md`) admits ESM
|
|
16
|
-
|
|
15
|
+
the pinned CLI/Stage pair (toolchain `references/versions.md`) admits through ESM v15 to construct checks; role/authenticated reaction identity
|
|
16
|
+
renders, while claim-reading/opaque system gates still refuse STAGE-ESM-034. Previous CLI 3.46.1 refused v10 at the version gate
|
|
17
17
|
with CLI-RENDER-004; do not report that historical refusal as the current gap.
|
|
18
18
|
|
|
19
19
|
## Per translation (capture or translator reaction)
|
|
@@ -73,7 +73,7 @@ Screenplay 4.125.0 declares the actor with reaction-level `runs as system role
|
|
|
73
73
|
`given caller` is not an invocation actor. Role requirements remain enforced;
|
|
74
74
|
claim conditions for this system principal remain unknown. Historical CLI 3.41.0's
|
|
75
75
|
older compiler rejected the syntax (PLAY0137). The pinned CLI/Stage pair (toolchain
|
|
76
|
-
`references/versions.md`)
|
|
76
|
+
`references/versions.md`) renders role/authenticated reaction identity; claim-reading/opaque gates retain STAGE-ESM-034.
|
|
77
77
|
Previous CLI 3.46.1 refused v10 at its version gate; see toolchain `references/versions.md`.
|
|
78
78
|
Use the checked model in captures-and-reactions `references/invocation-identity.md`.
|
|
79
79
|
Arc gap-fill uses `[ExecuteCommandsAsSystem("<role>")]` for returned commands,
|
|
@@ -44,7 +44,7 @@ binds); tool-qualified verdict text; the trusted-actor text now names `[ExecuteC
|
|
|
44
44
|
binder's v10 selection; the checked scenario passed reference execution. CLI
|
|
45
45
|
3.41.0's older parser and Stage 4.51.3's v7 planner were historical target limits.
|
|
46
46
|
Previous CLI 3.46.1 refused v10 at its version gate. The pinned CLI/Stage pair
|
|
47
|
-
(toolchain `references/versions.md`)
|
|
48
|
-
|
|
47
|
+
(toolchain `references/versions.md`) renders role/authenticated reaction identity; claim-reading/opaque gates retain
|
|
48
|
+
STAGE-ESM-034 (Stage `v4.89.1:Documentation/reference/reaction-rendering.md:57-59`).
|
|
49
49
|
Public/direction forms and routes/filters follow Screenplay v4.135.0 decisions
|
|
50
50
|
0049–0051 and 0060–0066, not the older inbound-only translation scope.
|
|
@@ -121,7 +121,7 @@ ESM v9 shipped in Screenplay 4.117.0 and is selected only by use of public event
|
|
|
121
121
|
origins, direction, event-target builders or events-source captures. At 4.135.0,
|
|
122
122
|
publication reference scenarios execute; imported shapes still refuse binding.
|
|
123
123
|
Stage 4.52.0 (previous CLI 3.46.1, history) audited only through v7. The pinned CLI/Stage pair (toolchain `references/versions.md`)
|
|
124
|
-
reaches construct admission through
|
|
124
|
+
reaches construct admission through v15 but still refuses publication (STAGE-ESM-032), foreign
|
|
125
125
|
events/events-source captures (STAGE-ESM-033); source admission is not rendering.
|
|
126
126
|
|
|
127
127
|
Source: Screenplay `v4.135.0:Documentation/screenplay/fixtures/public-events.play`,
|
|
@@ -4,16 +4,22 @@ The `.play` revision is the contract; this file says what that means once code i
|
|
|
4
4
|
the automation-and-translation addendum to `cratis-screenplay-render-and-gap-fill`; read that
|
|
5
5
|
skill for the admission, publication and ownership rules.
|
|
6
6
|
|
|
7
|
-
##
|
|
8
|
-
Stage 4.
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
## Stage rendering versus gap-fill
|
|
8
|
+
CLI 3.57.0 / Stage 4.89.1 render supported event-triggered Automation slices as Chronicle
|
|
9
|
+
reactors. Translate/captures, non-event triggers and opaque bodies remain `STAGE-ESM-024`;
|
|
10
|
+
Claim-reading/opaque `runs as` gates (`-034`), legacy `from` (`-035`), mixed effects (`-037`), unsupported mappings (`-039`)
|
|
11
|
+
and protected destinations (`-040`) also remain refused. Command specs that cascade into
|
|
12
|
+
reactions remain `-011`; supported single-hop append specs now render, as do semantic
|
|
13
|
+
reaction `from` and role/authenticated system identities. Only refused scope is hand-written delivery with the model as
|
|
14
|
+
its contract. Source: Stage `v4.89.1:Documentation/reference/reaction-rendering.md:6-98`;
|
|
15
|
+
full admission: `cratis-stage-rendering-and-sandbox` `references/admission.md`. (History: cratis
|
|
11
16
|
3.28.2 and 3.28.3 refused such a model whole with `STAGE-ESM-016`, and 3.27.1 stopped earlier with PLAY0268.)
|
|
12
17
|
|
|
13
18
|
A reaction that both `produces` events and `invokes` commands stays one modeled reaction. Hand-write one
|
|
14
|
-
reactor
|
|
15
|
-
|
|
16
|
-
|
|
19
|
+
retry-safe reactor: the scaffold already includes Arc's mixed-result handler, but it appends
|
|
20
|
+
events before running commands, so a denied/rejected command fails the partition and
|
|
21
|
+
redelivery duplicates the events. `[OnceOnly]` prevents replay, not retries. Prove the
|
|
22
|
+
recovery behavior rather than assuming this handler supplies all-or-nothing settlement. Never split the reaction to dodge `STAGE-ESM-037`. A `Customizations/` file never makes a
|
|
17
23
|
rejected model renderable, and never claim a whole-application V5 from a subset. Choose the route
|
|
18
24
|
with `cratis-screenplay-render-and-gap-fill`.
|
|
19
25
|
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
A complete model: a result opens a work item, a reaction invokes a command, the command's fact
|
|
8
8
|
closes the item. It binds on Screenplay 4.66.0 (`executableReady: true`), standalone and through `cratis screenplay mcp`
|
|
9
|
-
3.28.2
|
|
9
|
+
3.28.2. Historical rendering: 3.28.2 refused the whole model (`STAGE-ESM-016`),
|
|
10
|
+
Stage 4.73.1 the reaction (`-024`). Stage 4.89.1 renders supported event reactions,
|
|
11
|
+
but this model's clock/cascade specs remain refused (`-024`/`-011`); keep them intact. The cratis 3.27.1 bundle (4.60.1)
|
|
10
12
|
rejected the Automation slice at binding with PLAY0268. Versions: `cratis-screenplay-toolchain` `references/versions.md`.
|
|
11
13
|
|
|
12
14
|
The first spec lists the whole cascade (`then` names every new fact: `CoursePassed`, and
|
|
@@ -34,10 +34,11 @@ decides, not the slice type:
|
|
|
34
34
|
`executableReady` over `screenplay mcp`.
|
|
35
35
|
- **History:** the CLI 3.28.2 bundle (Screenplay 4.66.0) bound v6; the earlier 4.60.1 bundles
|
|
36
36
|
refused it and falsely reported PLAY0285 (`references/versions.md`).
|
|
37
|
-
- **Stage 4.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
- **CLI 3.57.0 / Stage 4.89.1** render supported event-triggered Automation, not
|
|
38
|
+
Translate/captures, non-event triggers or opaque bodies (`-024`). Role/authenticated `runs as`
|
|
39
|
+
and semantic `from` render; claim/opaque gates, mixed effects and unsupported mappings remain refused;
|
|
40
|
+
cascade specs remain `-011`. Keep refused scope as gap-fill. Full boundary and source
|
|
41
|
+
citations: `cratis-stage-rendering-and-sandbox` `references/admission.md`.
|
|
41
42
|
|
|
42
43
|
Model them whenever the `.play` file is the deliverable, and say which tool bound
|
|
43
44
|
them (`cratis-screenplay-toolchain` `references/versions.md` for versions and messages).
|
|
@@ -71,8 +72,8 @@ scenario, claim/unknown semantics and PLAY0647–0652/0557 diagnostics.
|
|
|
71
72
|
|
|
72
73
|
Historical CLI 3.41.0's 4.114.0 compiler rejected this source with PLAY0137.
|
|
73
74
|
Previous CLI 3.46.1 refused v10 (CLI-RENDER-004); the pinned CLI/Stage pair (toolchain
|
|
74
|
-
`references/versions.md`)
|
|
75
|
-
|
|
75
|
+
`references/versions.md`) renders supported identity, refusing claim-reading/opaque gates (STAGE-ESM-034).
|
|
76
|
+
Stage emits Arc `[ExecuteCommandsAsSystem]`; refused scope uses authorized gap-fill. The attribute is for returned commands. Without that attribute
|
|
76
77
|
Arc supplies no principal and `[Authorize]`/`[Roles]` deny. Each invoked command
|
|
77
78
|
is atomic, not the whole cascade; earlier accepted facts remain after a later refusal.
|
|
78
79
|
|
|
@@ -72,8 +72,10 @@ module Work
|
|
|
72
72
|
Historical CLI 3.41.0 bundled Screenplay 4.114.0, which did not parse `runs as`:
|
|
73
73
|
the example's `cratis screenplay validate --executable --warnings-as-errors`
|
|
74
74
|
returned PLAY0137, exit 5. This is not a current parser claim. The pinned CLI/Stage pair
|
|
75
|
-
(`cratis-screenplay-toolchain/references/versions.md`)
|
|
76
|
-
|
|
75
|
+
(`cratis-screenplay-toolchain/references/versions.md`) renders role-only/authenticated-only reaction invocation gates with `[ExecuteCommandsAsSystem]`;
|
|
76
|
+
claim-reading or opaque gates still refuse STAGE-ESM-034 (including claim reads under `not`/`or`).
|
|
77
|
+
Source: Stage `v4.89.1:Source/Rendering.Cratis/Semantics/SemanticCratisAdmission.ReactionIdentity.cs:11-28`;
|
|
78
|
+
`Documentation/reference/reaction-rendering.md:57-59`. Previous CLI 3.46.1/Stage 4.52.0
|
|
77
79
|
audited through v7 only (`references/versions.md` in toolchain).
|
|
78
80
|
Clock/application-trigger identities have no Stage Arc realization either.
|
|
79
81
|
Use authorized gap-fill with the model as contract; returned-command Arc identity
|
|
@@ -29,6 +29,7 @@ Pins: toolchain `references/versions.md`; sources below. Compilation is not exec
|
|
|
29
29
|
- `4.68.0` (`79801bf`): generated-value/response rule probes (ESM v7).
|
|
30
30
|
- `4.127.0`: identity and compliance syntax (`identity.md`, `context.md`, `concepts.md`, `purposes.md`, `events.md`, `diagnostics.md`).
|
|
31
31
|
- `4.141.0`: v13 compliance admission; rechecked at `4.142.0`: `references/compliance.md`.
|
|
32
|
+
- `4.148.0`: v15 generation strategies/strict fixtures/freshness; Stage `4.89.1` realization: `references/generated-values-and-responses.md`.
|
|
32
33
|
|
|
33
34
|
"Parses" and "runs" are different claims. The executable profile, and what
|
|
34
35
|
each construct binds to, is in the `cratis-screenplay-model-authoring` language
|
|
@@ -290,15 +291,16 @@ An empty block or an unknown dimension is an error. Omitting `concurrency` does
|
|
|
290
291
|
not mean unchecked appends: Chronicle's default optimistic concurrency applies
|
|
291
292
|
to the routed scope. This does not make command `reads` protected.
|
|
292
293
|
|
|
293
|
-
## Generated values and responses (ESM v7)
|
|
294
|
+
## Generated values and responses (ESM v7 and v15)
|
|
294
295
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
296
|
+
UUID generation/responses bind as v7; serialized concept `generate` selects v15:
|
|
297
|
+
UUIDv7/ULID/TypeID/NanoID/bytes, strict fixtures and whole-source freshness.
|
|
298
|
+
Reuse rejects Concurrency, no append/retry. Generated rules/secrets and pattern/random/rule
|
|
299
|
+
remain refused. Historical CLI 3.41.0 refusals: STAGE-ESM-028/029.
|
|
300
|
+
Read [references/generated-values-and-responses.md](references/generated-values-and-responses.md)
|
|
301
|
+
for `generated`, `generate`, `returns`, strict fixtures/freshness and renderer limits.
|
|
302
|
+
Complete example: `cratis-screenplay-toolchain/references/generated-responses-example.md`.
|
|
303
|
+
Routes and realization: `cratis-screenplay-toolchain/references/sources-and-streams.md`.
|
|
302
304
|
|
|
303
305
|
## `constraint` — uniqueness at append time
|
|
304
306
|
|
|
@@ -71,8 +71,19 @@ wins and no secret scope is stored; reasons stay report-only PLAY0270.
|
|
|
71
71
|
Unmarked models keep their exact executable bytes and revision. The reference
|
|
72
72
|
evaluator runs marked models with unchanged outcomes but tests neither encryption
|
|
73
73
|
nor erasure. Consumers must explicitly admit v13 and realize the protection;
|
|
74
|
-
CLI 3.
|
|
75
|
-
|
|
74
|
+
CLI 3.57.0 bundles Screenplay 4.147.1 / Stage 4.89.1 and admits v13. Stage
|
|
75
|
+
renders `[PII]` or `[Encrypted]` + `[NotAudited]` on the concept, honoring secret
|
|
76
|
+
namespace/global scope; personal classification wins. Every protected command input,
|
|
77
|
+
including personal data and nested/collection uses, also gets property-level
|
|
78
|
+
`[NotAudited]`. Qualifiers do not alter the generated attribute; reasons remain metadata.
|
|
79
|
+
Protected identity uses and enum concepts refuse `STAGE-ESM-040` (the source binder
|
|
80
|
+
already refuses the enum/identity shapes below). Non-text `secret` concepts (Int/Decimal/Bool/Date/DateTime/Uuid)
|
|
81
|
+
refuse `STAGE-ESM-041`; `pii secret` uses PII and is exempt. No explicit subject lineage renders.
|
|
82
|
+
The semantic Host now protects values at rest and releases them on read, but existing stores keep
|
|
83
|
+
earlier plaintext events. Reference/specification success does not prove storage protection.
|
|
84
|
+
Never remove protection to fit a tool. Sources: CLI
|
|
85
|
+
`v3.57.0:Directory.Packages.props:8-10`; Stage `v4.89.1`,
|
|
86
|
+
`Documentation/reference/compliance-rendering.md:16-70`.
|
|
76
87
|
|
|
77
88
|
Enum and identity concepts still refuse PLAY0268 at binding only (identity means
|
|
78
89
|
event-source/stream identity); source validation alone cannot report this binder diagnostic.
|
|
@@ -77,16 +77,17 @@ length mismatch, duplicates, non-int32 entries or a positional array (non-canoni
|
|
|
77
77
|
Programmatic validation enforces the same contract. Specifications still compare
|
|
78
78
|
names; numbers are neither alternative fixture values nor flags.
|
|
79
79
|
|
|
80
|
-
Consumers must **explicitly admit v12**. CLI 3.
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
order), but no cli release bundles it yet. Do not remove its pins to pass rendering;
|
|
86
|
-
report the consumer gap. See toolchain `references/versions.md`.
|
|
80
|
+
Consumers must **explicitly admit v12**. CLI 3.57.0 (Screenplay 4.147.1 / Stage
|
|
81
|
+
4.89.1) admits through v15 and renders explicit numbers as `Member = N` (sparse
|
|
82
|
+
and negative, `-0` as 0; unnumbered enums keep declaration order). Stage first
|
|
83
|
+
admitted v12 in 4.76.0. Do not remove enum pins to fit an older consumer;
|
|
84
|
+
report its admission gap. See toolchain `references/versions.md`.
|
|
87
85
|
|
|
88
86
|
Sources checked at `v4.139.0`: `Documentation/screenplay/concepts.md`,
|
|
89
87
|
`interoperability.md`, `diagnostics.md`, `mcp/authoring-tools.md`, decision 0065,
|
|
90
88
|
`Semantics/Versions.cs`, `SemanticModelValidator.EnumMemberNumbers.cs` and the
|
|
91
89
|
source-backed `EnumMemberNumbersCorpus.V12` (under `Source/DotNET/`). Consumer
|
|
92
|
-
pins: CLI `v3.
|
|
90
|
+
pins: CLI `v3.57.0:Directory.Packages.props:8-10` and
|
|
91
|
+
`Source/Cli/Commands/Render/RenderedSemanticVersions.cs:34`; Stage `v4.89.1`,
|
|
92
|
+
`Source/Rendering.Cratis/Semantics/SemanticVersionFeatures.cs:100`,
|
|
93
|
+
`SemanticEnumMembers.cs:15-26`, `SemanticCommonArtifactRenderer.cs:56-65`.
|
|
@@ -1,55 +1,146 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
# Generated values and responses (ESM v7 and v15)
|
|
2
|
+
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- The concept declares how; the property declares that
|
|
6
|
+
- Version and freshness
|
|
7
|
+
- Responses and pre-generation boundaries
|
|
8
|
+
- What CLI 3.57.0 / Stage 4.89.1 realizes
|
|
9
|
+
|
|
10
|
+
`generated` properties and `returns` bind/reference-execute since 4.68.0 (ESM v7).
|
|
11
|
+
Concept generation strategies and whole-source freshness shipped in Screenplay
|
|
12
|
+
4.147.0 (ESM v15); standalone pin **4.148.0** includes them. CLI **3.57.0** bundles
|
|
13
|
+
Screenplay **4.147.1** / Stage **4.89.1**, rendering the supported strategies,
|
|
14
|
+
scalar/named responses, fixtures and `then returns`. Binding is not rendering.
|
|
15
|
+
Historical CLI 3.41.0 STAGE-ESM-028/029 probes do not describe this bundle.
|
|
16
|
+
|
|
17
|
+
Sources: Cratis/Screenplay `v4.148.0:Documentation/screenplay/generated-values.md:6-60`,
|
|
18
|
+
`generated-values/strategies.md:6-111`,
|
|
19
|
+
`Source/DotNET/Screenplay/Semantics/SemanticModelBinder.Generation.cs:14-88`;
|
|
20
|
+
Cratis/cli `v3.57.0:Directory.Packages.props:8-10`; Cratis/Stage
|
|
21
|
+
`v4.89.1:Documentation/reference/generated-values-rendering.md:6-146`.
|
|
22
|
+
Decision 0054 describes later phases too; only its shipped phase 2b-1 is taught here.
|
|
23
|
+
|
|
24
|
+
## The concept declares how; the property declares that
|
|
14
25
|
|
|
15
26
|
```screenplay excerpt
|
|
27
|
+
concept ProjectId : Uuid
|
|
28
|
+
generate uuidv7
|
|
29
|
+
concept ReceiptCode : String
|
|
30
|
+
generate nanoid
|
|
16
31
|
command RegisterProject
|
|
17
32
|
projectId ProjectId generated identifier
|
|
18
|
-
|
|
19
|
-
name
|
|
33
|
+
receipt ReceiptCode generated
|
|
34
|
+
name String
|
|
35
|
+
produces event ProjectRegistered
|
|
36
|
+
name String = name
|
|
37
|
+
receipt ReceiptCode = receipt
|
|
20
38
|
returns
|
|
21
39
|
projectId = projectId
|
|
22
|
-
|
|
40
|
+
receipt ReceiptCode = receipt
|
|
23
41
|
```
|
|
24
42
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
43
|
+
A generated property must be a required scalar **concept**, not a bare primitive,
|
|
44
|
+
optional value or collection. Only Uuid and String generation are executable.
|
|
45
|
+
A Uuid concept implicitly generates `uuid`; String needs an explicit strategy.
|
|
46
|
+
Each concept owns at most one `generate` line; there is no per-property override.
|
|
47
|
+
Generated identifiers need Uuid or String backing and at least 64 random bits.
|
|
48
|
+
|
|
49
|
+
| Strategy | Backing | Exact default shape / options |
|
|
50
|
+
| --- | --- | --- |
|
|
51
|
+
| `uuid` | Uuid, String | UUID v4, RFC variant, lowercase canonical D text; 122 random bits |
|
|
52
|
+
| `uuidv7` | Uuid, String | UUID v7, RFC variant; 74 random bits; reveals time, not monotonic within a millisecond |
|
|
53
|
+
| `ulid` | String | 26 uppercase Crockford symbols, first 0–7; 80 random bits; reveals time, not strict millisecond ordering |
|
|
54
|
+
| `typeid "user"` | String | TypeID 0.3, lowercase Crockford UUIDv7 suffix; 74 random bits; prefix 1–63 lowercase letters/underscores, no leading/trailing underscore; empty prefix omits separator |
|
|
55
|
+
| `nanoid [size]` | String | Default 21 symbols from `A-Za-z0-9_-`; size 1–256; entropy is size × log2(alphabet size) |
|
|
56
|
+
| `bytes <count> base64url` / `hex` / `base32` | String | Count 1–512; 8 × count random bits; RFC 4648 without padding; hex lowercase, base32 uppercase; unused trailing bits zero |
|
|
57
|
+
|
|
58
|
+
Modifiers occur once each, in any authored order. `prefix "text"` is printable
|
|
59
|
+
ASCII, at most 32 characters, on uuid/uuidv7/ulid/nanoid/bytes; UUID prefixes need
|
|
60
|
+
String backing. `case lower|upper` applies only to String uuid/uuidv7, ulid and
|
|
61
|
+
hex/base32 bytes; it never changes the prefix. `alphabet "chars"` replaces
|
|
62
|
+
NanoID's alphabet with 2–256 distinct printable ASCII characters (the repertoire
|
|
63
|
+
has only 95). TypeID has its own prefix and accepts none of these modifiers.
|
|
64
|
+
Time and prefixes add no entropy. Below 64 random bits is PLAY0684 (error) for an
|
|
65
|
+
identifier; non-identifiers warn PLAY0683 unless a single-property unique
|
|
66
|
+
constraint covers the mapped event property. That suppression does not make
|
|
67
|
+
Stage render generated unique-constraint mappings.
|
|
68
|
+
|
|
69
|
+
`pattern`, `random`, `rule` and checksum syntax parse/print but refuse PLAY0268;
|
|
70
|
+
`generate sequence` is reserved (PLAY0682). Generated-concept validation rules
|
|
71
|
+
and compliance markers, including generated secrets, remain refused. Do not
|
|
72
|
+
remove classification or pretend a random String is a credential contract.
|
|
73
|
+
|
|
74
|
+
## Version and freshness
|
|
75
|
+
|
|
76
|
+
A serialized concept `generation` member selects **v15**. Implicit Uuid generation
|
|
77
|
+
and explicit unmodified Uuid `generate uuid` omit it and preserve earlier executable
|
|
78
|
+
bytes/revision. A v15 model guards **all** generated destinations, including its
|
|
79
|
+
implicit UUIDs. An append whose destination equals any value generated in that
|
|
80
|
+
invocation requires the **whole source** to have no existing facts, regardless
|
|
81
|
+
of stream or event type. Multiple initial facts in one invocation are allowed;
|
|
82
|
+
a skipped production makes no freshness claim. Reuse rejects the whole command
|
|
83
|
+
with `Concurrency`, appends nothing and does not silently regenerate or retry.
|
|
84
|
+
Older models are Unguarded and retain legacy fixture reuse.
|
|
85
|
+
|
|
86
|
+
Freshness is neither authorization nor idempotency. Client-minted identifiers
|
|
87
|
+
remain inputs; protect their invariants with constraints. Never use generation
|
|
88
|
+
as a deduplication key, a gapless sequence, or proof that a projection is ready.
|
|
89
|
+
|
|
90
|
+
Specifications pin values, not seeds: `for` pins a generated identifier;
|
|
91
|
+
`generated <name> = <value>` pins another generated property. The reference
|
|
92
|
+
evaluator draws no randomness. From v15 every pin must match exact strategy
|
|
93
|
+
encoding, size, case, UUID version/variant and zero trailing bits. Invalid pins
|
|
94
|
+
are Contract rejections, not client validation failures. Older models retain
|
|
95
|
+
canonical UUID checks without a version check. Complete executable examples:
|
|
96
|
+
[generated responses](../../cratis-screenplay-toolchain/references/generated-responses-example.md)
|
|
97
|
+
and [generation strategies](../../cratis-screenplay-toolchain/references/generation-strategies-example.md).
|
|
98
|
+
|
|
99
|
+
## Responses and pre-generation boundaries
|
|
100
|
+
|
|
101
|
+
- Generated values are not request inputs, form fields, invocation arguments or
|
|
102
|
+
ordinary specification values. Authorization/validation precede generation:
|
|
103
|
+
policies (including a generated identifier's implicit `subject`), rules and
|
|
104
|
+
requirements cannot read them (PLAY0273). Reactions map request inputs only.
|
|
105
|
+
- `returns <property>` exposes a scalar; a `returns` block has ordered
|
|
106
|
+
`<name> [<Type>] = <property>` fields over direct command properties. An
|
|
107
|
+
annotation must match source type/optionality. Collections, read aliases,
|
|
108
|
+
arithmetic and whole read models are unsupported. One unconditional response,
|
|
109
|
+
as a command sibling. `returns @name` forces a response; `@returns Type` is a property.
|
|
110
|
+
- Only acceptance has a response. Rejection, denial or unsupported outcomes have
|
|
111
|
+
none; later settlement/query failure clears it. Response-only commands record
|
|
112
|
+
no facts. Field names are an external contract: renaming changes revision.
|
|
113
|
+
- A generated identifier is the implicit inline production destination; a plain
|
|
114
|
+
destination-less `produces` retains a separate allocation channel. A fixture
|
|
115
|
+
never satisfies that channel.
|
|
116
|
+
- Screenplay **4.148.0** resolves response names in form submit and execute-success
|
|
117
|
+
continuations without changing ESM. The CLI's **4.147.1** compiler lacks that
|
|
118
|
+
resolution, and Stage **4.89.1** does not provide Scene runtime continuation
|
|
119
|
+
binding. See UI composition [response continuations](../../cratis-screenplay-ui-composition/references/response-continuations.md).
|
|
120
|
+
|
|
121
|
+
## What CLI 3.57.0 / Stage 4.89.1 realizes
|
|
122
|
+
|
|
123
|
+
Stage emits strategy-specific `IGeneratable<T>.New()` factories over Fundamentals
|
|
124
|
+
7.24.0 (via the Arc scaffold pin in Stage's `references/rendered-application.md`). v15 generated destinations use explicit
|
|
125
|
+
`EventsWithConcurrencyScopes` with `BeforeFirst` whole-source scopes; Chronicle
|
|
126
|
+
checks atomically at append. Generated rejection specs assert
|
|
127
|
+
`ValidationResultReason.ConcurrencyViolation`, not Arc's message text. This is
|
|
128
|
+
Stage's explicit realization, not a claim that Arc #3129 is delivered.
|
|
129
|
+
Time-based factories use wall clock, not command-receipt timestamps.
|
|
130
|
+
|
|
131
|
+
| Refusal | Still unsupported |
|
|
132
|
+
| --- | --- |
|
|
133
|
+
| STAGE-ESM-028 | Unknown strategies, non-concepts, optional/collection generation; every explicit strategy on the legacy syntax engine |
|
|
134
|
+
| STAGE-ESM-011 | A v15 fixture that does not match its strategy shape |
|
|
135
|
+
| STAGE-ESM-038 | Routing combined with generation/responses; generated-property rules/requirements or concept rules; occurrence parameter/response/factory name collisions; unsupported response sources/composites/collections; generated unique-constraint mappings; generated identifier plus destination-less plain production |
|
|
136
|
+
| STAGE-ESM-038 | Unpinned generation with unordered event, read-model or query expectations |
|
|
137
|
+
| STAGE-ESM-004 / -006 | Multi-command StateChange slices / conditional productions |
|
|
138
|
+
|
|
139
|
+
Sequence generation is refused at binding (PLAY0682) and never reaches Stage;
|
|
140
|
+
clock fixtures remain unsupported.
|
|
55
141
|
|
|
142
|
+
Missing pins in generated Debug specs use `AllowGeneration()` with relational
|
|
143
|
+
assertions against captured values; v15 captures also check strategy shape.
|
|
144
|
+
The in-memory Stage executor instead requires deterministic fixtures and returns
|
|
145
|
+
Unsupported(IdentityAllocation) when missing. Build and run generated Debug
|
|
146
|
+
specifications separately; source reading is not a render or runtime result.
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
{ "kind": "skill-contains", "value": "optional concept `compliance` as ESM v13", "file": "references/compliance.md" },
|
|
8
8
|
{ "kind": "skill-contains", "value": "PLAY0268 at binding only", "file": "references/compliance.md" },
|
|
9
9
|
{ "kind": "skill-contains", "value": "reasons stay report-only PLAY0270", "file": "references/compliance.md" },
|
|
10
|
-
{ "kind": "skill-contains", "value": "
|
|
11
|
-
{ "kind": "skill-contains", "value": "CLI 3.
|
|
10
|
+
{ "kind": "skill-contains", "value": "`STAGE-ESM-040`", "file": "references/compliance.md" },
|
|
11
|
+
{ "kind": "skill-contains", "value": "CLI 3.57.0 bundles Screenplay 4.147.1 / Stage 4.89.1", "file": "references/compliance.md" },
|
|
12
12
|
{ "kind": "skill-contains", "value": "Enum and identity", "file": "references/compliance.md" },
|
|
13
13
|
{ "kind": "skill-contains", "value": "PLAY0653", "file": "references/compliance.md" },
|
|
14
14
|
{ "kind": "skill-contains", "value": "personal` is an alias of `pii", "file": "references/compliance.md" },
|
|
@@ -88,13 +88,18 @@
|
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
"kind": "skill-contains",
|
|
91
|
-
"value": "
|
|
91
|
+
"value": "Generated identifiers need Uuid or String backing and at least 64 random bits.", "file": "references/generated-values-and-responses.md"
|
|
92
92
|
},
|
|
93
|
-
{ "kind": "skill-contains", "value": "Generated values and responses (ESM v7)" },
|
|
94
|
-
{ "kind": "skill-contains", "value": "
|
|
95
|
-
{ "kind": "skill-contains", "value": "
|
|
96
|
-
{ "kind": "skill-contains", "value": "
|
|
93
|
+
{ "kind": "skill-contains", "value": "Generated values and responses (ESM v7 and v15)" },
|
|
94
|
+
{ "kind": "skill-contains", "value": "Generated values are not request inputs", "file": "references/generated-values-and-responses.md" },
|
|
95
|
+
{ "kind": "skill-contains", "value": "Generated-concept validation rules\nand compliance markers, including generated secrets, remain refused.", "file": "references/generated-values-and-responses.md" },
|
|
96
|
+
{ "kind": "skill-contains", "value": "Only acceptance has a response", "file": "references/generated-values-and-responses.md" },
|
|
97
97
|
{ "kind": "skill-contains", "value": "STAGE-ESM-028/029", "file": "references/generated-values-and-responses.md" },
|
|
98
|
-
{ "kind": "skill-contains", "value": "4.68.0" }
|
|
98
|
+
{ "kind": "skill-contains", "value": "4.68.0" },
|
|
99
|
+
{ "kind": "skill-contains", "value": "whole source", "file": "references/generated-values-and-responses.md" },
|
|
100
|
+
{ "kind": "skill-contains", "value": "`Concurrency`", "file": "references/generated-values-and-responses.md" },
|
|
101
|
+
{ "kind": "skill-contains", "value": "PLAY0682", "file": "references/generated-values-and-responses.md" },
|
|
102
|
+
{ "kind": "skill-contains", "value": "zero trailing bits", "file": "references/generated-values-and-responses.md" },
|
|
103
|
+
{ "kind": "skill-contains", "value": "STAGE-ESM-038", "file": "references/generated-values-and-responses.md" }
|
|
99
104
|
]
|
|
100
105
|
}
|