@cratis/pi 7.38.3 → 7.40.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/agents/screenplay-modeler.md +1 -1
- package/package/corpus/agents/screenplay-reviewer.md +1 -1
- package/package/corpus/product-sync.json +11 -11
- 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 +1 -1
- 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/public-events-and-direction.md +3 -6
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +12 -7
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +5 -6
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translate-example.md +2 -5
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +12 -15
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +6 -15
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/specifying-triggers-and-clock.md +1 -1
- package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +14 -15
- package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +14 -4
- package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +11 -13
- package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +10 -6
- package/package/corpus/skills/cratis-screenplay-command-surface/references/inline-events.md +23 -1
- package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +2 -2
- package/package/corpus/skills/cratis-screenplay-discovery/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +13 -13
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/invoicing-example.md +3 -7
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +9 -12
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +4 -4
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md +1 -1
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/intent-example.md +3 -8
- package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +9 -4
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +9 -7
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +26 -6
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +40 -0
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/property-links.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-model-review/references/report-template.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/verdicts-and-modes.md +3 -2
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +5 -3
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/worked-example.md +2 -6
- package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +2 -0
- package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +26 -18
- package/package/corpus/skills/cratis-screenplay-read-surface/references/equality-filters.md +208 -0
- package/package/corpus/skills/cratis-screenplay-read-surface/references/screen-patterns.md +2 -5
- package/package/corpus/skills/cratis-screenplay-read-surface/verification.json +4 -0
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +20 -16
- 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 +4 -3
- 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/references/worked-example.md +2 -5
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +2 -2
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +4 -1
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/berth-reservations.md +8 -19
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-design.md +8 -20
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-example.md +9 -23
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-examples.md +9 -3
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +6 -5
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/view-and-story-specs.md +2 -1
- package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +7 -4
- package/package/corpus/skills/cratis-screenplay-slice-design/references/field-lineage.md +1 -1
- package/package/corpus/skills/cratis-screenplay-slice-design/references/model-reasoning.md +2 -5
- package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +5 -10
- package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +8 -19
- package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +17 -25
- package/package/corpus/skills/cratis-screenplay-specifications/references/actions-beyond-commands.md +2 -1
- package/package/corpus/skills/cratis-screenplay-specifications/references/generated-fixtures.md +3 -3
- package/package/corpus/skills/cratis-screenplay-specifications/references/persona-callers-and-cases.md +2 -5
- package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +5 -4
- package/package/corpus/skills/cratis-screenplay-specifications/references/source-notes.md +10 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +3 -3
- 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/references/streams-example.md +10 -24
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +23 -17
- package/package/corpus/skills/cratis-screenplay-toolchain/references/automation-translate-example.md +4 -10
- package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet-example.md +11 -23
- package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +3 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/doc-contradictions.md +4 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-example.md +3 -7
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +40 -24
- package/package/corpus/skills/cratis-screenplay-toolchain/references/pdl-example.md +27 -69
- package/package/corpus/skills/cratis-screenplay-toolchain/references/preferred-syntax.md +73 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/production-routes-and-filters.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +34 -31
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +21 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +7 -1
- 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 +4 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +4 -4
- package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +17 -5
- package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +50 -34
- package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +7 -2
- package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +13 -18
- 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-stage-rendering-and-sandbox/SKILL.md +32 -32
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +58 -26
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/rendered-application.md +17 -20
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +18 -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 +2 -2
- package/package.json +1 -1
|
@@ -6,6 +6,8 @@ license: MIT
|
|
|
6
6
|
|
|
7
7
|
# UI composition in Screenplay
|
|
8
8
|
|
|
9
|
+
Read [preferred syntax](../cratis-screenplay-toolchain/references/preferred-syntax.md) when writing or reviewing `.play`.
|
|
10
|
+
|
|
9
11
|
Event Modeling's wireframe step is a first-class part of the language. The shell,
|
|
10
12
|
the reusable shapes inside it, the forms bound to commands, and the navigation
|
|
11
13
|
entries other modules contribute are all declared in the `.play` model.
|
|
@@ -17,17 +19,11 @@ a trigger value named `file` is written `@file`.
|
|
|
17
19
|
|
|
18
20
|
## Locate the model
|
|
19
21
|
|
|
20
|
-
Look first for the project's existing `.play` files:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
location or search the whole repository before checking it.
|
|
26
|
-
|
|
27
|
-
`cratis ai install` manages `.cratis/ai/`, never model files. Never
|
|
28
|
-
hand-copy Screenplay source between repositories. Keep Markdown that explains,
|
|
29
|
-
questions or navigates the model in the repository's documentation; the `.play`
|
|
30
|
-
source is the single flow model.
|
|
22
|
+
Look first for the project's existing `.play` files: their folder is the model.
|
|
23
|
+
For a new model, check `Source/` or `src/`, else use `Screenplay/` at the repository
|
|
24
|
+
root. Never put a model under `.cratis/` or hand-copy it between repositories.
|
|
25
|
+
`cratis ai install` manages `.cratis/ai/`, never model files. Keep explanatory
|
|
26
|
+
Markdown in project documentation; `.play` is the single flow model.
|
|
31
27
|
|
|
32
28
|
## Verified product sources
|
|
33
29
|
|
|
@@ -285,13 +281,12 @@ module Invoicing
|
|
|
285
281
|
by invoiceId InvoiceId
|
|
286
282
|
```
|
|
287
283
|
|
|
288
|
-
The inline event targets `invoiceId
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
execution remain unavailable.
|
|
284
|
+
The inline event targets `invoiceId`; the projection gets it from event context.
|
|
285
|
+
Scalar/named `returns` bind and reference-execute since Screenplay 4.68.0 (ESM v7).
|
|
286
|
+
CLI 3.56.0 / Stage 4.83.0 render responses and UUID-concept generation, subject to
|
|
287
|
+
`STAGE-ESM-038` combinations (command-surface `references/generated-values-and-responses.md`).
|
|
288
|
+
Form `on submit` and interaction `on success` response-name scopes, failure clearing
|
|
289
|
+
and response execution remain unavailable at the standalone pin.
|
|
295
290
|
An existing success continuation does not imply a response contract.
|
|
296
291
|
|
|
297
292
|
- Write the one-off case inline; name it with `behavior` when several places need
|
|
@@ -245,10 +245,11 @@ when a single screen owns the button. A parameter that reads a selection is a ty
|
|
|
245
245
|
data-context path). A dialog destination must state every input with a typed `with`/`parameter`
|
|
246
246
|
binding; a runtime default is not an authored contract.
|
|
247
247
|
|
|
248
|
-
Scene 4.21 runtime capabilities (source-checked at
|
|
249
|
-
|
|
248
|
+
Scene 4.21 runtime capabilities (source-checked at Scene v4.21.0, not a browser
|
|
249
|
+
run or a recheck at the newer scaffold pin). Authoring acceptance, executable
|
|
250
250
|
admission and runtime support stay separate — a Scene release is not a Stage
|
|
251
|
-
release. Stage
|
|
251
|
+
release. The current Stage scaffold pins a newer Scene release (Stage skill
|
|
252
|
+
`references/rendered-application.md`); never upgrade managed files by hand:
|
|
252
253
|
|
|
253
254
|
- **Hierarchy and routes.** `Screen.path` and `NavigationItem.hierarchy` carry
|
|
254
255
|
module/feature paths, outermost first. Browser/hash history
|
|
@@ -64,8 +64,9 @@ payload field the event never declares, so the event payload line matters.
|
|
|
64
64
|
fills it. Here the user supplies the berth. Other sources are a prefill (`populate via query`
|
|
65
65
|
or `populate from item` when the user chose a berth on the previous screen) or a modeled
|
|
66
66
|
selection. `generated identifier` is ESM v7: it binds on standalone Screenplay 4.68.0 and later and on the current
|
|
67
|
-
cratis bundle (`PLAY0268` on the 4.66.0 bundled in `cratis` 3.28.x); Stage 4.
|
|
68
|
-
(
|
|
67
|
+
cratis bundle (`PLAY0268` on the 4.66.0 bundled in `cratis` 3.28.x); CLI 3.56.0 / Stage 4.83.0 render required scalar UUID-concept generated
|
|
68
|
+
identifiers; unsupported generated/result combinations remain refused (command-surface
|
|
69
|
+
`references/generated-values-and-responses.md`).
|
|
69
70
|
- The form is found through the input screen's `action BookBerth`; neither screen names it. A click
|
|
70
71
|
opens `BookBerthScreen` before the command runs; the action's `navigate to` is where the user
|
|
71
72
|
lands after success, never a route to the command's own input screen (Screenplay `screens.md`).
|
|
@@ -44,7 +44,9 @@ Current pins and the tool split: `cratis-screenplay-toolchain/references/version
|
|
|
44
44
|
were read at Stage `v4.73.1` (`Source/Rendering.Cratis/**`, `Documentation/guides/build-renderer-target.md`,
|
|
45
45
|
`Documentation/reference/render-plans.md`, `Documentation/docker/**`) and cli `v3.53.1`
|
|
46
46
|
(`Documentation/reference/screenplay.md`, `Source/Cli/Commands/Render/**`), not by a render run
|
|
47
|
-
unless a line says *observed*. CLI 3.
|
|
47
|
+
unless a line says *observed*. Current CLI 3.56.0 bundle/admission and scaffold pins were re-read at the tagged
|
|
48
|
+
sources in `references/admission.md` and `references/rendered-application.md`.
|
|
49
|
+
Pins: toolchain `references/versions.md`; its
|
|
48
50
|
binder is behind the standalone compiler. Stage's scaffold pins Arc, Chronicle, Components, Scene and
|
|
49
51
|
Fundamentals releases (listed in the rendered application reference). Scene's
|
|
50
52
|
runtime surface was re-read at the Scene tag in that scaffold table
|
|
@@ -120,8 +122,8 @@ cratis render --workspace ./application.workspace.json --destination ./out
|
|
|
120
122
|
### Scoped renders
|
|
121
123
|
|
|
122
124
|
`--scope` (CLI 3.49.0 or later) renders an admitted part while other slices wait for hand-written
|
|
123
|
-
code or renderer support. The whole model must still compile and bind, so a `PLAY0268`,
|
|
124
|
-
handler or ESM
|
|
125
|
+
code or renderer support. The whole model must still compile and bind, so a `PLAY0268`, protected identity/enum,
|
|
126
|
+
handler or ESM v14+ rendering problem anywhere blocks even a scoped render. `PLAN-*` problems in unselected
|
|
125
127
|
slices become warnings and `STAGE-ESM-*` refusals in unselected slices do not block. A scoped plan
|
|
126
128
|
has no application scaffold or default Scene (with no manifest in the destination the plain scaffold
|
|
127
129
|
is added). A dependency in another slice must be rendered first or listed too (`CLI-RENDER-014`);
|
|
@@ -136,12 +138,10 @@ receipt.
|
|
|
136
138
|
|
|
137
139
|
Facts that surprise:
|
|
138
140
|
|
|
139
|
-
- **Binding uses the CLI's bundled Screenplay** (the version listed in `cratis-screenplay-toolchain` `references/versions.md`; the
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
v1 to v12, and Stage 4.74.0 renders UUID-concept generated values and responses (read at `v4.76.0`),
|
|
144
|
-
but no cli release bundles them yet (cli 3.53.1 bundles Stage 4.73.1): cli users still need gap-fill.
|
|
141
|
+
- **Binding uses the CLI's bundled Screenplay** (the version listed in `cratis-screenplay-toolchain` `references/versions.md`; the versions differ). A model that binds is not necessarily renderable: CLI 3.56.0 / Stage
|
|
142
|
+
4.83.0 admit ESM v1 to v13, then check each construct. v14 collection filters bind but
|
|
143
|
+
rendering reports `CLI-RENDER-004` (direct Stage: `STAGE-ESM-016`). Generated UUID-concept
|
|
144
|
+
values, scalar/named responses, enum numbers and concept compliance now render.
|
|
145
145
|
- **Render never builds, tests or runs** the output. A published render is admission and
|
|
146
146
|
publication only; build and tests are separate results (see "Verify"). Admission can be
|
|
147
147
|
green while a rendered Debug test fails (the example hit this with a query assertion).
|
|
@@ -152,29 +152,29 @@ Facts that surprise:
|
|
|
152
152
|
- `cratis render` and `cratis screenplay validate` are different gates: a model can
|
|
153
153
|
validate and still refuse here.
|
|
154
154
|
|
|
155
|
-
## Current admission (Stage 4.
|
|
156
|
-
|
|
157
|
-
Source reading, not a render run. One
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
- **Renders:** concepts
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
- **Refused
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
(`-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
-
|
|
177
|
-
|
|
155
|
+
## Current admission (Stage 4.83.0)
|
|
156
|
+
|
|
157
|
+
Source reading, not a render run. One blocker refuses the selected scope, publishing
|
|
158
|
+
nothing. Codes, limits and tagged source citations: [references/admission.md](references/admission.md);
|
|
159
|
+
ledger: `cratis-screenplay-toolchain/references/renderable-subset.md`.
|
|
160
|
+
|
|
161
|
+
- **Renders:** concepts/types/collections/optionals; portable StateChange and StateView slices,
|
|
162
|
+
flat/scoped projections, pure reducers and reducer `from` filters; keyed optional snapshots,
|
|
163
|
+
observable lists; portable authorization and unique constraints; v8 sources/streams/routes
|
|
164
|
+
and routed companion replay; case tables, `long` whole numbers and enum numbers; required
|
|
165
|
+
scalar UUID-concept generation, scalar/named responses, fixtures and `then returns`; concept
|
|
166
|
+
compliance; supported event-triggered Automation as `[OnceOnly]` Chronicle reactors;
|
|
167
|
+
Debug specifications and authored UI through Scene.
|
|
168
|
+
- **Refused:** Translate/captures, non-event triggers, opaque bodies and clock specs (`STAGE-ESM-024`);
|
|
169
|
+
mixed effects (`STAGE-ESM-037`, redelivery duplicates events); unsupported reaction mappings (`-039`),
|
|
170
|
+
protected identities/enums (`-040`); unsupported generated types/results (`-028`/`-038`);
|
|
171
|
+
direct-append/cascade specs (`-011`), absence (`-027`), evolution (`-026`), public/foreign events
|
|
172
|
+
(`-032`/`-033`), reaction actor/filter and production overrides (`-034`–`-036`), code validation
|
|
173
|
+
(`-005`), snapshot lists (`-010`), conditional productions, composite projection keys and `all`.
|
|
174
|
+
Through v13 is construct admission; v14 filters remain `CLI-RENDER-004`.
|
|
175
|
+
- **Binding refusals (`PLAY0268`/`PLAY0271`):** `reads`, `concurrency`, handlers,
|
|
176
|
+
context/single-result filters, opaque scope/performer, composite `by`, enum/identity
|
|
177
|
+
compliance and subject lineage. Never drop protection.
|
|
178
178
|
|
|
179
179
|
A refusal is not a licence to weaken the model: drop no specification, event generation or
|
|
180
180
|
protection to get a render; keep the model, record the capability gap and gap-fill. The 4.24-era
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Contents
|
|
4
4
|
|
|
5
|
+
- Event-reaction boundary at Stage 4.83.0
|
|
5
6
|
- Diagnostic codes
|
|
6
7
|
- Projections
|
|
7
8
|
- Pure reducer bodies
|
|
@@ -11,21 +12,25 @@
|
|
|
11
12
|
- Historical Stage 4.24 admission
|
|
12
13
|
|
|
13
14
|
Current pins: `cratis-screenplay-toolchain/references/versions.md`. The current statements here
|
|
14
|
-
were read at Stage `v4.
|
|
15
|
-
`SemanticVersionFeatures.cs`,
|
|
15
|
+
were read at Stage `v4.83.0` (`Documentation/guides/build-renderer-target.md:306-347`,
|
|
16
|
+
`Source/Rendering.Cratis/Semantics/SemanticVersionFeatures.cs:100,287-399`,
|
|
17
|
+
`SemanticVersionFeatureAdmission.cs:25-45`, `SemanticCratisAdmission*.cs`) and cli
|
|
18
|
+
`v3.56.0` (`Directory.Packages.props:8-10`,
|
|
19
|
+
`Source/Cli/Commands/Render/RenderedSemanticVersions.cs:33-47`); the rows and
|
|
16
20
|
sections marked *historical* or naming Stage 4.24 or cratis 3.27/3.28 are earlier probes kept as
|
|
17
|
-
history. Stage 4.
|
|
18
|
-
4.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Stage 4.73.1 behavior in this file until a cli bundles Stage 4.76.0 or later. Binding with the bundled compiler is a separate prerequisite.
|
|
21
|
+
history. Stage 4.83.0 and CLI 3.56.0 admit ESM v1 to v13 to construct planning.
|
|
22
|
+
The bundled Screenplay 4.145.1 binds v14 collection filters, but rendering refuses
|
|
23
|
+
v14 with CLI-RENDER-004 (direct Stage: STAGE-ESM-016). Generated UUID-concept values,
|
|
24
|
+
scalar/named responses, explicit enum numbers and concept compliance now render.
|
|
25
|
+
Binding with the bundled compiler remains a separate prerequisite.
|
|
23
26
|
The pinned Stage's `SemanticVersionFeatures`/`SemanticVersionFeatureAdmission` refuse
|
|
24
27
|
public publication (STAGE-ESM-032), foreign events/events-source captures (033),
|
|
25
28
|
reaction identity (034), reaction filters (035) and production overrides (036).
|
|
26
|
-
Reducer filters render. ESM v8
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
Reducer filters render. ESM v8 routed read-model/query companion replay now renders, seeding source/stream
|
|
30
|
+
metadata through `ReadModelScenario`; reserved names and unformattable routed fixtures
|
|
31
|
+
remain STAGE-ESM-030. Source: Stage
|
|
32
|
+
`v4.83.0:Documentation/reference/event-source-routing.md:62-72`,
|
|
33
|
+
`Source/Rendering.Cratis/Semantics/SemanticCratisAdmission.cs:220-255`. Case tables and whole numbers as long apply to
|
|
29
34
|
the default; see `case-tables-and-whole-numbers.md`. Previous CLI 3.46.1's Stage
|
|
30
35
|
4.52.0 audited only through v7 and applied neither new rule. Current version
|
|
31
36
|
checks are CLI `RenderedSemanticVersions.Newest` and Stage
|
|
@@ -33,7 +38,7 @@ checks are CLI `RenderedSemanticVersions.Newest` and Stage
|
|
|
33
38
|
parser rejected `runs as` with PLAY0137; that is not a current parser refusal.
|
|
34
39
|
The historical CLI 3.41.0 v7 canonical-corpus planning spec received
|
|
35
40
|
STAGE-ESM-028/029 for generated values/responses.
|
|
36
|
-
The detailed 4.24.x source/probe rows below are historical unless a row says 4.
|
|
41
|
+
The detailed 4.24.x source/probe rows below are historical unless a row says 4.83.0; run
|
|
37
42
|
admission on the actual bundled renderer.
|
|
38
43
|
|
|
39
44
|
Read at Stage `v4.24.0`, re-read at `v4.24.1` and `v4.24.2` (`SemanticCratisAdmission.EventRevisions.cs`, `SemanticEventLineageAdmission.cs`, ESM v4 section of `Documentation/guides/build-renderer-target.md`) (`Source/Rendering.Cratis/Semantics/SemanticSurfaceLedger.cs`, `Documentation/guides/build-renderer-target.md`; 4.24.1 changed only the ledger, dependency pins and the Dockerfile) (`Source/Rendering.Cratis/CratisArtifactRenderPlanner.cs`,
|
|
@@ -60,44 +65,64 @@ the capability gap, and route that scope to authorized gap-fill or a fully hand-
|
|
|
60
65
|
delivery (`cratis-screenplay-render-and-gap-fill`). Changing the requirement itself is the
|
|
61
66
|
model owner's decision.
|
|
62
67
|
|
|
68
|
+
## Event-reaction boundary at Stage 4.83.0
|
|
69
|
+
|
|
70
|
+
Source: Stage `v4.83.0:Documentation/reference/reaction-rendering.md:6-88`,
|
|
71
|
+
`Source/Rendering.Cratis/Semantics/SemanticCratisAdmission.Automation.cs:15-123`.
|
|
72
|
+
Supported event reactions emit stable-id `[Reactor]` classes with `[OnceOnly]`,
|
|
73
|
+
event guards, returned commands or explicit `EventForEventSourceId` envelopes.
|
|
74
|
+
Required invocation inputs must be mapped; unmapped optional inputs become null.
|
|
75
|
+
Conditions reject optional/composite/collection/enum operands; ordering is numeric.
|
|
76
|
+
Mappings retain exact types. Flat projection payload keys must match every producer's
|
|
77
|
+
append destination, including reactions outside the scope. Unsupported mappings use
|
|
78
|
+
`-039`, protected destinations `-040`, collisions `-012`, read surfaces `-007`/`-009`.
|
|
79
|
+
|
|
80
|
+
The semantic Host settles cascades in one guarded append, whereas generated reactors
|
|
81
|
+
are independent eventually consistent observers that can fail and retry after the
|
|
82
|
+
initiating commit. Rendering does not prove invocation authorization or deduplication.
|
|
83
|
+
`when append` specifications and command specifications that produce any subscribed
|
|
84
|
+
reaction event remain `STAGE-ESM-011`: generated `CommandScenario` does not settle
|
|
85
|
+
reactions. Keep these specifications; use gap-fill rather than deleting them.
|
|
86
|
+
|
|
63
87
|
## Diagnostic codes
|
|
64
88
|
|
|
65
89
|
| Code | Meaning | Usual fix |
|
|
66
90
|
| --- | --- | --- |
|
|
67
|
-
| `STAGE-ESM-001` |
|
|
91
|
+
| `STAGE-ESM-001` | Unsupported slice kind; `StateChange`, `StateView` and supported event-triggered `Automation` slices render at 4.83.0; Translate remains `-024` | Keep the model; gap-fill refused scope |
|
|
68
92
|
| `STAGE-ESM-002`, `-003` | Concept values or validation Stage cannot express; unresolved property type | Simplify the concept; fix the type |
|
|
69
93
|
| `STAGE-ESM-004` | A `StateChange` slice without exactly one command | One command per slice |
|
|
70
|
-
| `STAGE-ESM-005` | Code validation or rule predicate bodies; or a command beyond the first capability (optional event property, event revision other than the first, validation or requirement that cannot be rendered,
|
|
94
|
+
| `STAGE-ESM-005` | Code validation or rule predicate bodies; or a command beyond the first capability (optional event property, event revision other than the first, validation or requirement that cannot be rendered, neither `produces` nor a response) | Use declarative validation; non-initial event generations are not rendered |
|
|
71
95
|
| `STAGE-ESM-006` | `produces` that cannot render without changing its destination or mappings (`produces when`, literal or computed mappings, `for` not a command identifier, mappings not one-to-one with event properties, duplicate tags) | Map properties one to one; conditional outcomes (`produces when`) are a different behavior, so gap-fill unless the owner accepts splitting them into commands |
|
|
72
96
|
| `STAGE-ESM-007`, `-008`, `-009` | Projection count per read model (exactly one projection or reducer each); unresolvable properties or no single read-model transition (**flat** projections only); affected instance not one, not keyed by an event property, or not the event-source identity (flat projections only) | One projection per read model; see "Projections" below |
|
|
73
|
-
| `STAGE-ESM-010` | A query is neither an optional snapshot lookup by the read-model identifier nor an observable collection query (for example a snapshot list); each query is checked on its own. Observable list queries (keyed or unkeyed) render since Stage 4.49.0.
|
|
97
|
+
| `STAGE-ESM-010` | A query is neither an optional snapshot lookup by the read-model identifier nor an observable collection query (for example a snapshot list); each query is checked on its own. Observable list queries (keyed or unkeyed) render since Stage 4.49.0. Historical Stage through 4.79.0 refused a validated key; Stage 4.83.0 (since 4.79.1) renders a scalar validated key, in keyed lookups and filtered observable collections, as its primitive and converts it inside the query, so an out-of-rule key finds no instance instead of failing validation, and still refuses a validated concept inside a composite or collection argument (Stage `v4.83.0` `Source/Rendering.Cratis/Semantics/SemanticCratisAdmission.StateView.cs:117-141`) | Keyed `XById => X optional` queries or `observable` lists; a snapshot list is gap-fill. Caller-supplied collection equality filters bind as v14 since 4.143.0 but exceed the CLI 3.56.0 / Stage 4.83.0 v13 ceiling. Context/single-result filters, opaque scope/performer and composite `by` remain PLAY0268 |
|
|
74
98
|
| `STAGE-ESM-011` | A specification cannot render (see the rules below) | Reshape it only if the assertion keeps its meaning; otherwise keep the specification, record the gap, and gap-fill with the specification as the oracle. Never weaken or delete it to get a render |
|
|
75
99
|
| `STAGE-ESM-012` | Generated C# names collide (properties, types, namespaces, constraints) | Rename |
|
|
76
100
|
| `STAGE-ESM-013` | An event-context value other than `$context.occurred` mapped in `produces` | Map a command property when that preserves the meaning; otherwise gap-fill |
|
|
77
101
|
| `STAGE-ESM-014` | A constraint Chronicle cannot reproduce (kind, scope, message; multi-claim in one command; optional or composite targets) | A different constraint is a requirement change for the model owner; otherwise gap-fill |
|
|
78
102
|
| `STAGE-ESM-015` | Authorization Stage cannot render exactly (4.73.1): a role-claim URI, an opaque policy nested inside a condition, an unresolved or non-portable policy, no single identifier, an opaque-policy subject that is not text, Uuid, Date or DateTime (Stage 4.73.1 `IsTextualSubject`; a restriction on opaque-policy subjects, separate from declarative claim targets), an unsupported claim artifact. Role-only, authenticated, opaque pure policies, claim conditions with Uuid, Date, DateTime or text targets (numeric and Boolean claim matches render as always false; Stage 4.73.1 `IsSupportedClaimPath`) and `not`/and/or render; roles are read through the identity's `RoleClaimType` | Reshape the policy to a portable condition; otherwise gap-fill. *Historical (4.24/3.27.1):* a role alone, an opaque policy or a Uuid-backed claim were refused here |
|
|
79
|
-
| `STAGE-ESM-016` | Model language
|
|
103
|
+
| `STAGE-ESM-016` | Model language/semantic pair is not an audited v1 to v13 pair at Stage 4.83.0; CLI 3.56.0 reports `CLI-RENDER-004` for v14 or newer first. v11 numbers, v12 enum numbers and v13 compliance are admitted, not blanket construct support. *Historical:* Stage 4.24.2 admitted v1 to v4 and 4.24.1 and earlier v1 to v3 | Not fixable by editing: the model needs a newer renderer. Keep the model, record the gap, gap-fill |
|
|
80
104
|
| `STAGE-ESM-017` | Read model or projection cannot render (property names that collide with Chronicle paths or expression syntax, mappings that overwrite the key or child identity, composite keys, `all`, the refused scope shapes below) | Reshape the projection without changing what it records, or record the gap |
|
|
81
105
|
| `STAGE-ESM-018` | `$strings.` key missing in the default locale or containing formatting characters | Fix the strings |
|
|
82
106
|
| `STAGE-ESM-019` | Reducer structure or body not admitted (outside a `StateView`, impure, does not compile) | An equivalent pure body, or gap-fill |
|
|
83
107
|
| `STAGE-ESM-020` | Implementation body missing, changed (hash differs) or refused by the loader | Provide the body inside the model root |
|
|
84
108
|
| `STAGE-ESM-021`, `-022` | Reducer typed-context or analysis failure; a construct outside the pure allowlist, or a generated name shadowing a reducer type | An equivalent pure body, or gap-fill |
|
|
85
109
|
| `STAGE-ESM-025` | Typed context references a historical event revision or a historical property identity (Stage 4.24.2); checked before `-026` | Reference the current revision; a historical reference is not renderable, so gap-fill |
|
|
86
|
-
| `STAGE-ESM-026` | A selected event, or an event a selected slice depends on (producing command, observing projection or reducer, specification, constraint target), is above its initial revision (still refused at Stage 4.
|
|
87
|
-
| `STAGE-ESM-024` |
|
|
110
|
+
| `STAGE-ESM-026` | A selected event, or an event a selected slice depends on (producing command, observing projection or reducer, specification, constraint target), is above its initial revision (still refused at Stage 4.83.0): `Event 'X' has evolved to revision N; Stage does not render event migrations yet.` The whole selection is refused, nothing is emitted | Not fixable by editing without dropping the evolution. Stage#204 (needs Screenplay#71) tracks migration rendering; gap-fill the evolved events and hand-write the migrations (`cratis-chronicle-event-type-migration`). A scoped slice of initial events that depends on no evolved event still renders |
|
|
111
|
+
| `STAGE-ESM-024` | Stage 4.83.0 still refuses interval, schedule, application, startup and shutdown triggers, opaque reaction bodies, captures, Translate (including directed Translate), and clock/trigger/capture specifications. Event-triggered Automation slices now render as Chronicle reactors, subject to `-013`, `-034` to `-040` below | Keep refused scope as gap-fill; do not confuse semantic Host settlement with live reactor delivery |
|
|
88
112
|
| `STAGE-ESM-027` | A specification asserting a read model is absent (`then no readmodel`, ESM v5) is not rendered by the renderer (the semantic specification engine executes keyed absence) | Keep the specification; verify absence another way and record the gap |
|
|
89
|
-
| `STAGE-ESM-028`, `-029` |
|
|
90
|
-
| `STAGE-ESM-038` |
|
|
91
|
-
| `STAGE-ESM-
|
|
113
|
+
| `STAGE-ESM-028`, `-029` | Historical blanket v7 refusals. CLI 3.56.0 / Stage 4.83.0 render required scalar UUID-concept generated values, generation fixtures, scalar/named responses and `then returns`; unsupported generated types still report `-028` | Probe the supported form; preserve refused combinations as gap-fill |
|
|
114
|
+
| `STAGE-ESM-038` | Generated/response results combined with routes, generated-property/concept rules, legacy allocation, generated unique-constraint mappings, non-scalar/non-command response sources or generated-name collisions (`SemanticVersionFeatures.cs:380-399,454-493`, `SemanticCratisAdmission.CommandResults.cs:12-55`) | Keep the model; gap-fill that command |
|
|
115
|
+
| `STAGE-ESM-039`, `-040` | Reaction conditions, destinations or mappings outside the faithful target subset; protected identity uses (including reaction destinations) and protected enum concepts | See the event-reaction boundary below; never declassify protected values |
|
|
116
|
+
| `STAGE-ESM-030` | Named event-source or stream definition with a reserved stored name; unformattable routed fixtures or command replay routes. Routed read-model/query replay now renders. The default sandbox engine also reports it for every routed model | Rename the reserved name; render the model with `cratis render`, not `cratis run` |
|
|
92
117
|
| `STAGE-ESM-031` | Whole-number literal outside the C# `int` range below ESM v8 (v8 and later render `long`) | Raise the model to v8 constructs or gap-fill |
|
|
93
118
|
| `STAGE-ESM-032`, `-033` | Public events and event-target projections or reducers (ESM v9); foreign event origins and event-source captures | Gap-fill |
|
|
94
119
|
| `STAGE-ESM-034`, `-035`, `-036` | Reaction `runsAs` (ESM v10), reaction observer `from` filters, per-production route overrides (reducer `from` filters render) | Gap-fill |
|
|
95
|
-
| `STAGE-ESM-037` |
|
|
120
|
+
| `STAGE-ESM-037` | Events and commands from one handler, even across separate triggers on the same event in one reaction. The scaffold's Arc supports mixed results, but appends events before commands; a refused command causes redelivery and duplicate events (Stage `v4.83.0:SemanticVersionFeatures.cs:402-416`, `Documentation/reference/reaction-rendering.md:88`) | **Do not split the modeled reaction or drop an effect.** Gap-fill only with a proven retry-safe implementation; `[OnceOnly]` excludes replay, not retry |
|
|
96
121
|
| `STAGE-ESM-023` | Information: transition bodies analysed | none |
|
|
97
122
|
| `STAGE-CRATIS-001` to `-005` | Profile or `scene.json` not the package-owned shape; unrecognized or missing scaffold input; artifact path collision; a modeled module or feature that would render into the reserved `Customizations/` | Rename the module or feature (005) |
|
|
98
123
|
| `STAGE-AUTH-001` | Authorization cannot be rendered faithfully | As `STAGE-ESM-015` |
|
|
99
124
|
| `CLI-RENDER-001`, `-002` | Unknown target; invalid rendering name (`CLI-RENDER-003`, event generations, was reported by cratis 3.28.2 only) | Fix the option, or the model |
|
|
100
|
-
| `CLI-RENDER-004` | The bound model is ESM
|
|
125
|
+
| `CLI-RENDER-004` | The bound model is ESM v14 or newer (CLI 3.56.0) | Not fixable by editing: keep the model, gap-fill |
|
|
101
126
|
| `CLI-RENDER-005`, `-006` | Authored metadata with characters invalid in XML blocks rendering of XML doc comments; a document set that cannot be read as a workspace renders without comments (warning) | Remove the invalid characters |
|
|
102
127
|
| `CLI-RENDER-007` to `-010` | `ui profile` refusals (package set, profile shape) | See `--package-set` |
|
|
103
128
|
| `CLI-RENDER-011` to `-014` | `--scope`: unknown address; ambiguous feature and slice name; aggregate or unrecognized policy layout (render the whole application once); a dependency not in the manifest or the scope | Fix the address or add the owning scope |
|
|
@@ -189,7 +214,14 @@ same slice, a required Guid or text identifier and a matching keyed query. Code
|
|
|
189
214
|
|
|
190
215
|
## Specification rules (`STAGE-ESM-011`)
|
|
191
216
|
|
|
192
|
-
|
|
217
|
+
The following detailed rules retain the 4.24-era observations; current additions
|
|
218
|
+
are generated fixtures/return assertions and routed companion replay (above).
|
|
219
|
+
Direct appends and commands cascading into reactions still refuse `-011`.
|
|
220
|
+
Sources: Stage `v4.83.0:Documentation/reference/generated-values-rendering.md:77-99`,
|
|
221
|
+
`Documentation/reference/event-source-routing.md:72`,
|
|
222
|
+
`Documentation/reference/reaction-rendering.md:66`.
|
|
223
|
+
|
|
224
|
+
From historical `SemanticSpecificationAdmission*.cs`; the first rule was also observed.
|
|
193
225
|
|
|
194
226
|
- A specification needs a `when <Command>` of its own slice (`PLAY0273` otherwise), and
|
|
195
227
|
its `then` events must be as many as the command `produces` (observed: a `then query`
|
|
@@ -231,7 +263,7 @@ Each came from the first draft of the example model, rendered with cratis 3.27.1
|
|
|
231
263
|
|
|
232
264
|
## Historical Stage 4.24 admission
|
|
233
265
|
|
|
234
|
-
Kept as history. Not a statement about the current Stage (see the 4.
|
|
266
|
+
Kept as history. Not a statement about the current Stage (see the 4.83.0 summary in `SKILL.md` and the diagnostic codes above).
|
|
235
267
|
|
|
236
268
|
Whole-model admission needs ESM schema v1 to v4; v5 and v6 are `STAGE-ESM-016`. Stage 4.24.2 admits ESM v4 (Screenplay compiles a model with evolved events to v4): an event at its initial revision renders exactly as before, but any selected event above the initial revision, and every scope depending on it (a command producing it, a projection or reducer observing it, a specification using it), is refused with `STAGE-ESM-026` and nothing is emitted. A typed-context reference to a historical revision or property identity is refused with `STAGE-ESM-025`. Stage cannot render Chronicle event-type migrations yet (Cratis/Stage#204, which depends on Cratis/Screenplay#71), and Stage's runtime (`cratis run`, the Host) still refuses evolved events, so deliver evolved events as gap-fill. Stage 4.24.1 also lists the ESM v6 members (reactions, captures, application triggers, clock and capture specifications) as rejected `STAGE-ESM-024` in its surface ledger, but the version gate refuses the model first, so a v6 model reports `STAGE-ESM-016` only. The bundled Stage 4.24.2 (cratis 3.28.3) reports an evolved event with `STAGE-ESM-026` only (probed); cratis 3.28.2 bundled Stage 4.24.1 (3.28.1 and earlier: 4.24.0), refused a v4 model with `STAGE-ESM-016` and also reported `CLI-RENDER-003`. The admitted vertical:
|
|
237
269
|
|
|
@@ -249,7 +281,7 @@ Whole-model admission needs ESM schema v1 to v4; v5 and v6 are `STAGE-ESM-016`.
|
|
|
249
281
|
Not rendered: `Automation` and `Translate` slices (Stage#79, open: the whole automation
|
|
250
282
|
is gap-fill), reactions and captures, list, observable, filtered and scoped queries,
|
|
251
283
|
`produces when`, command `handler`s, code validation and opaque policies (they refuse),
|
|
252
|
-
composite-key projections, `all`, and compliance
|
|
284
|
+
composite-key projections, `all`, and compliance markers (`pii`, `secret`, which
|
|
253
285
|
already fail binding with `PLAY0268`). Any one blocking diagnostic fails the whole plan.
|
|
254
286
|
A refusal is not a licence to weaken the model: drop no specification, event generation
|
|
255
287
|
or protection to get a render; keep the model, record the capability gap and gap-fill.
|
package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/rendered-application.md
CHANGED
|
@@ -7,36 +7,34 @@
|
|
|
7
7
|
- `Customizations/` (unmanaged)
|
|
8
8
|
- Re-render checklist
|
|
9
9
|
|
|
10
|
-
Read at Stage `v4.24.0`, with the scaffold pins re-read at `v4.
|
|
10
|
+
Read at Stage `v4.24.0`, with the scaffold pins re-read at `v4.83.0` (`Scaffolding/CratisBackendApplicationScaffold*.cs`,
|
|
11
11
|
`CratisFrontendApplicationScaffold.cs`, `README.md`,
|
|
12
12
|
`Documentation/guides/customize-rendered-application.md`) and checked against a real
|
|
13
13
|
render (see [render-example.md](render-example.md)).
|
|
14
14
|
|
|
15
15
|
## Scaffold pins
|
|
16
16
|
|
|
17
|
-
The pin rows below are source-checked at Stage `v4.
|
|
18
|
-
`Source/Rendering.Cratis/Scaffolding/CratisBackendApplicationScaffoldProfile.cs`
|
|
19
|
-
`
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
(Arc 22.72.0 and Chronicle 19.50.0 were current when this was checked); moving them is a Stage
|
|
23
|
-
change, so a re-render under a newer Stage is how they change. Earlier runtime/customization
|
|
17
|
+
The pin rows below are source-checked at Stage `v4.83.0` (the Stage in CLI 3.56.0),
|
|
18
|
+
`Source/Rendering.Cratis/Scaffolding/CratisBackendApplicationScaffoldProfile.cs:59-71`
|
|
19
|
+
(`Current`) and `CratisFrontendPackageSet.cs:208-229` (`Current`; read the argument
|
|
20
|
+
list, not the class summary). The scaffold pins an exact release per package;
|
|
21
|
+
moving them is a Stage change, so a re-render under a newer Stage is how they change. Earlier runtime/customization
|
|
24
22
|
probes above keep their original labels.
|
|
25
23
|
|
|
26
24
|
| Item | Value |
|
|
27
25
|
| --- | --- |
|
|
28
26
|
| Target framework | .NET 10 (`net10.0`), `Microsoft.NET.Sdk.Web` |
|
|
29
|
-
| Arc packages (`Cratis`, `Cratis.Arc.MongoDB`, `Cratis.Arc.Chronicle.Testing`) | `22.
|
|
27
|
+
| Arc packages (`Cratis`, `Cratis.Arc.MongoDB`, `Cratis.Arc.Chronicle.Testing`) | `22.78.0` (includes Arc's events-and-commands reactor result handler; Stage still refuses mixed reactions because redelivery can duplicate the appended events) |
|
|
30
28
|
| Chronicle client | `Cratis.Chronicle`, `.AspNetCore` and `.Testing` `19.45.0`, matched to the `cratis/chronicle:19.45.0-development` image in the compose file |
|
|
31
29
|
| Embedded reverse extraction | `CratisEmbeddedScreenplayEnabled=false`: the source `.play` is authoritative |
|
|
32
30
|
| Test packages | `Cratis.Specifications` and `.XUnit` 4.1.1, Microsoft.NET.Test.Sdk 18.10.1, NSubstitute 6.2.0, xunit 2.9.3, xunit runner 4.0.0; **Debug configuration only** (`IsTestProject` when Debug) |
|
|
33
|
-
| Frontend | Vite 8.3.0 and React 19.3.0; `@cratis/arc`, `arc.react`, `arc.vite` 22.58.2; `@cratis/components` 4.26.2; `@cratis/scene.*` 4.
|
|
31
|
+
| Frontend | Vite 8.3.0 and React 19.3.0; `@cratis/arc`, `arc.react`, `arc.vite` 22.58.2; `@cratis/components` 4.26.2; `@cratis/scene.*` 4.22.1; `@cratis/fundamentals` 7.22.8 |
|
|
34
32
|
| Package management | central package management **off**; `Directory.Packages.props` is managed, do not edit it |
|
|
35
33
|
|
|
36
34
|
The Scene family pin above applies to six scaffold dependencies:
|
|
37
35
|
`@cratis/scene.blueprint.default`, `@cratis/scene.components`, `@cratis/scene.engine`,
|
|
38
36
|
`@cratis/scene.model`, `@cratis/scene.primereact`, and `@cratis/scene.react`.
|
|
39
|
-
Source: Stage `v4.
|
|
37
|
+
Source: Stage `v4.83.0:Source/Rendering.Cratis/Scaffolding/CratisFrontendApplicationScaffold.cs`, `Dependencies`,
|
|
40
38
|
and `CratisFrontendPackageSet.cs`, `Current`. `@cratis/scene` is **not** a package
|
|
41
39
|
in this family. Read [Scene runtime](scene-runtime.md) when distinguishing the
|
|
42
40
|
runtime from a hand-built Components page. The latest Components verification
|
|
@@ -50,10 +48,9 @@ the protected command profile and enroll an admitted projection/key read in the
|
|
|
50
48
|
active unit of work. Source-checked at Arc v22.72.0 `ProtectedDecisionAttribute.cs`
|
|
51
49
|
and `CommandDecisionReads.cs`, Chronicle v19.50.0 `DecisionRead.cs`/`IDecisionReads.cs`.
|
|
52
50
|
Stage does not turn `.play` `reads`/`require` into protected decisions. Upgrading Arc or Chronicle inside a rendered application is a re-render under a newer
|
|
53
|
-
Stage, not an edit of the managed files. Hand-written scope that needs a newer
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
cleanly beside the managed 22.68.0 reference is **unverified**: prove it with a restore and build. The compose file binds local ports `27017` and
|
|
51
|
+
Stage, not an edit of the managed files. Hand-written scope that needs a newer dependency can raise its version through
|
|
52
|
+
`Customizations/Dependencies.props` (explicit `Version`, imported last; central management
|
|
53
|
+
is off), but any override must be proven with a restore and build. The compose file binds local ports `27017` and
|
|
57
54
|
`35000`, keeps data in the named volumes `chronicle-data` and `chronicle-config`, and
|
|
58
55
|
`docker compose down --volumes` is the only thing that deletes them.
|
|
59
56
|
|
|
@@ -69,7 +66,7 @@ Chronicle event-store name in `appsettings.json` and the default project name an
|
|
|
69
66
|
namespace.
|
|
70
67
|
|
|
71
68
|
Whether modeled `screen` declarations become faithful screens is a runtime question, not a
|
|
72
|
-
publication result: the Stage 4.
|
|
69
|
+
publication result: the Stage 4.83.0 scaffold emits Arc `CommandForm` shells over Scene typed
|
|
73
70
|
bindings and navigation contributions, but claim UI fidelity only from a browser run
|
|
74
71
|
(`SKILL.md`, UI parity). Screens stay managed.
|
|
75
72
|
|
|
@@ -104,10 +101,10 @@ Every file is optional. Rules that bite:
|
|
|
104
101
|
- Mapped endpoints are anonymous unless secured with ASP.NET Core authorization;
|
|
105
102
|
modeled authorization covers only what Stage renders.
|
|
106
103
|
|
|
107
|
-
What the seam does **not** do: it
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
104
|
+
What the seam does **not** do: it repairs no rejected model and renders nothing.
|
|
105
|
+
Stage 4.83.0 renders supported event-triggered Automation slices as managed Chronicle
|
|
106
|
+
reactors; refused reactions, captures and Translate slices remain hand-written gap-fill
|
|
107
|
+
with the model as their contract. See [admission.md](admission.md). Keep `Customizations/` under version control: whether a re-render keeps
|
|
111
108
|
it depends on the publisher, and `cratis render` writes only the planned paths and
|
|
112
109
|
refuses unmanaged files at them.
|
|
113
110
|
|
|
@@ -2,29 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
## Contents
|
|
4
4
|
|
|
5
|
-
- Current behavior at Stage 4.
|
|
5
|
+
- Current behavior at Stage 4.83.0 (source reading; Docker not run)
|
|
6
6
|
- Specification engine selection at Stage 4.78.0 and CLI 3.53.1
|
|
7
7
|
- The sandbox: a partial, disposable runtime
|
|
8
8
|
- The specification runner
|
|
9
9
|
- Choosing between them
|
|
10
10
|
|
|
11
|
-
Read at Stage `v4.24.0`, then re-read for the current paragraph below at `v4.
|
|
11
|
+
Read at Stage `v4.24.0`, then re-read for the current paragraph below at `v4.83.0` (`README.md`, `Documentation/docker/index.md`,
|
|
12
12
|
`Documentation/docker/spec-runner.md`, `Documentation/reference/urls.md`) and cli
|
|
13
13
|
`v3.28.2` (`Commands/Run/*`, unchanged since `v3.27.1`). Docker was **not run** for this skill: every behaviour here
|
|
14
14
|
is documented behaviour, not an observed result. Both images are still shipped.
|
|
15
15
|
|
|
16
|
-
## Current behavior at Stage 4.
|
|
17
|
-
|
|
18
|
-
Read from `Documentation/docker/index.md` and `docker/spec-runner.md`
|
|
19
|
-
3.
|
|
20
|
-
with `STAGE-ESM-030` (`/stage/status` reports
|
|
21
|
-
so `cratis run` does not run a routed model
|
|
22
|
-
public events (`-032`), foreign or source-event captures (`-033`)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
16
|
+
## Current behavior at Stage 4.83.0 (source reading; Docker not run)
|
|
17
|
+
|
|
18
|
+
Read from `Documentation/docker/index.md` (lines 127-155) and `docker/spec-runner.md` (lines 11-19) at
|
|
19
|
+
`v4.83.0`, the Stage that CLI 3.56.0 bundles and `cratis run` starts. The default EventModel engine refuses
|
|
20
|
+
named event sources, streams and routes with `STAGE-ESM-030` (`/stage/status` reports
|
|
21
|
+
`state: "unsupported"` and `/api/**` answers 501), so the default `cratis run` does not run a routed model.
|
|
22
|
+
Both engines refuse public events (`-032`), foreign or source-event captures (`-033`), directed Translate
|
|
23
|
+
slices (`-024`) and reducer observer filters (`-035`); the legacy engine also refuses reaction identity and
|
|
24
|
+
reaction observer filters (`-034`, `-035`), and per-production route overrides fail `-036` on the semantic
|
|
25
|
+
engine. The semantic engine (`Stage__Runtime__Engine=semantic`) admits exact ESM v1 to v13 version pairs,
|
|
26
|
+
executes routes and runs event-triggered reactions (including `where`, `runs as`, `from`, productions,
|
|
27
|
+
invocations and cascades), settling them with the initiating command in one batch; clock, application,
|
|
28
|
+
startup and shutdown triggers and opaque reaction bodies still fail `-024`. It does not encrypt or redact
|
|
29
|
+
personal-data or secret values. The structural specification runner is deprecated: it prints a deprecation
|
|
30
|
+
notice, refuses routes with exit 1 and writes no results file. Exit codes `0`/`1`/`2` are as in `SKILL.md`.
|
|
31
|
+
The sections below describe the 4.24-era behavior and remain the engine comparison.
|
|
28
32
|
|
|
29
33
|
## Specification engine selection at Stage 4.78.0 and CLI 3.53.1
|
|
30
34
|
|
package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/scene-runtime.md
CHANGED
|
@@ -9,11 +9,12 @@
|
|
|
9
9
|
- Packages and ownership
|
|
10
10
|
- Runtime capabilities
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Runtime source evidence retained at Scene v4.21.0 (not reverified at the newer
|
|
13
|
+
Scene release now listed in [scaffold pins](rendered-application.md)):
|
|
13
14
|
Scene `README.md`, `Documentation/package-hosting.md`, and
|
|
14
15
|
`Source/JavaScript/{model,engine,react,components}/**`. Stage package selection
|
|
15
|
-
was
|
|
16
|
-
`CratisFrontendApplicationScaffold.cs` (`Dependencies`). This is not a render
|
|
16
|
+
was re-read at Stage `v4.83.0:Source/Rendering.Cratis/Scaffolding/CratisFrontendPackageSet.cs:208-229`
|
|
17
|
+
(`Current`); dependency names are in `CratisFrontendApplicationScaffold.cs` (`Dependencies`). This is not a render
|
|
17
18
|
or browser test.
|
|
18
19
|
|
|
19
20
|
## What Scene is
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"fixtures": [],
|
|
5
5
|
"assertions": [
|
|
6
6
|
{ "kind": "skill-contains", "value": "pinned Stage default applies both rules" },
|
|
7
|
-
{ "kind": "skill-contains", "value": "
|
|
7
|
+
{ "kind": "skill-contains", "value": "reducer `from` filters" },
|
|
8
8
|
{ "kind": "skill-contains", "value": "references/scene-runtime.md" },
|
|
9
9
|
{ "kind": "skill-contains", "value": "`@cratis/scene.*`", "file": "references/rendered-application.md" },
|
|
10
10
|
{ "kind": "skill-contains", "value": "`@cratis/scene` is not this product's package id", "file": "references/scene-runtime.md" },
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
{ "kind": "skill-contains", "value": "Stage `v4.78.0`", "file": "references/sandbox-and-specrunner.md" },
|
|
27
27
|
{ "kind": "skill-contains", "value": "does **not** expose `--engine`", "file": "references/sandbox-and-specrunner.md" },
|
|
28
28
|
{ "kind": "skill-contains", "value": "fresh Chronicle in-memory event log per", "file": "references/sandbox-and-specrunner.md" },
|
|
29
|
-
{ "kind": "skill-contains", "value": "
|
|
29
|
+
{ "kind": "skill-contains", "value": "Through v13" },
|
|
30
30
|
{ "kind": "skill-contains", "value": "CLI-RENDER-004" },
|
|
31
31
|
{ "kind": "skill-contains", "value": "STAGE-ESM-024" },
|
|
32
32
|
{ "kind": "skill-contains", "value": "`v4.24.2`" },
|