@cratis/pi 7.11.1 → 7.11.3
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/skills/cratis-application-slice-conformance/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-react-page/references/from-screenplay.md +3 -3
- package/package/corpus/skills/cratis-arc-react-page/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +12 -10
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +2 -2
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/cases-to-specify.md +4 -4
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +4 -3
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +7 -7
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translate-example.md +3 -2
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translation-patterns.md +2 -2
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +24 -22
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +5 -7
- package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +6 -6
- package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +9 -9
- package/package/corpus/skills/cratis-screenplay-discovery/references/facilitation.md +1 -1
- package/package/corpus/skills/cratis-screenplay-discovery/references/storming-loop.md +1 -1
- package/package/corpus/skills/cratis-screenplay-discovery/references/worked-session.md +1 -1
- package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +7 -7
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +3 -4
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +5 -5
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +6 -6
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md +1 -1
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/prologue-safety.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +6 -5
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +14 -13
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +8 -7
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/provenance.md +3 -3
- package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-review/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-review/references/report-template.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-review/references/worked-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +4 -4
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/identity-and-edits.md +2 -2
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/opt-in.md +25 -11
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/verdicts-and-modes.md +1 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +1 -1
- package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +5 -5
- package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +5 -5
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +9 -6
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/drift-and-ledger.md +1 -1
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +9 -8
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/worked-example.md +5 -5
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +4 -0
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +10 -9
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-design.md +1 -2
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-example.md +2 -3
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/provenance.md +2 -2
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +2 -2
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-examples.md +1 -1
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +4 -4
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/view-and-story-specs.md +1 -1
- package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +1 -1
- package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +31 -30
- package/package/corpus/skills/cratis-screenplay-specifications/verification.json +2 -2
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +4 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +2 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +19 -18
- package/package/corpus/skills/cratis-screenplay-toolchain/references/automation-translate-example.md +1 -2
- 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 +4 -4
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +8 -5
- package/package/corpus/skills/cratis-screenplay-toolchain/references/doc-contradictions.md +7 -7
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +14 -10
- package/package/corpus/skills/cratis-screenplay-toolchain/references/pdl-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/provenance.md +8 -8
- package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +8 -8
- package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +3 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +8 -8
- package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +12 -10
- package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +46 -36
- package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +3 -2
- package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +4 -4
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/worked-flow.md +3 -3
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +13 -10
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +12 -9
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/render-example.md +3 -3
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +1 -1
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +7 -1
- package/package.json +1 -1
|
@@ -30,7 +30,7 @@ source is the single flow model.
|
|
|
30
30
|
| --- | --- | --- |
|
|
31
31
|
| `Cratis.Screenplay` | `4.31.0` | Original UI composition parser evidence |
|
|
32
32
|
| `Cratis.Screenplay` | main `fd18129` | Cancellation routing and `optional`; changed example compiled |
|
|
33
|
-
| `Cratis.Screenplay` | `4.
|
|
33
|
+
| `Cratis.Screenplay` | `4.66.0` (`c89198b`) | Statements in this skill re-verified: the nine `Documentation/screenplay/` pages above are unchanged since `v4.31.0` except `file-references.md` (typed-context and `implementation` paragraphs); `PLAY0269` in `Diagnostics/DiagnosticCodes.cs`; the new section compiled with `screenplay` 4.66.0 and `cratis screenplay validate` 3.28.2 |
|
|
34
34
|
|
|
35
35
|
The update follows `commands.md`, `events.md`, `queries.md` and decision 0023
|
|
36
36
|
at that main commit (after v4.52.0). It does not verify UI rendering.
|
|
@@ -269,7 +269,7 @@ module Invoicing
|
|
|
269
269
|
```
|
|
270
270
|
|
|
271
271
|
The inline event targets `invoiceId` without copying it into payload; the
|
|
272
|
-
projection obtains it from event context. At v4.
|
|
272
|
+
projection obtains it from event context. At v4.66.0 a command `returns` clause
|
|
273
273
|
(scalar or record) is authorable but syntax-only: binding reports `PLAY0268` until
|
|
274
274
|
ESM v8 (`commands.md`, "Generated values and responses"). Form `on submit` and
|
|
275
275
|
interaction `on success` response-name scopes, failure clearing and response
|
|
@@ -379,8 +379,8 @@ a trigger value named `file` is written `@file`.
|
|
|
379
379
|
## Verify
|
|
380
380
|
|
|
381
381
|
- [ ] `screenplay <model> --warnaserror` (standalone) reports zero errors and zero
|
|
382
|
-
warnings; `cratis screenplay validate --warnings-as-errors` says the same
|
|
383
|
-
|
|
382
|
+
warnings; `cratis screenplay validate --warnings-as-errors` says the same on
|
|
383
|
+
cratis 3.28.2 or later, which bundles the same compiler (versions: `cratis-screenplay-toolchain`
|
|
384
384
|
`references/versions.md`).
|
|
385
385
|
- [ ] Every screen in the flow has Level 1 reviewed before any layout, and every
|
|
386
386
|
form field and screen field traces to a command or read-model property.
|
|
@@ -4,7 +4,7 @@ No TrogonStack text is adapted in this skill. Nebulit material is credited in th
|
|
|
4
4
|
|
|
5
5
|
| Item | Source | Licence | Treatment | Where in this skill |
|
|
6
6
|
|---|---|---|---|---|
|
|
7
|
-
| Language constructs, rules and Verify list | Cratis/Screenplay v4.31.0 documentation, re-verified at v4.
|
|
7
|
+
| Language constructs, rules and Verify list | Cratis/Screenplay v4.31.0 documentation, re-verified at v4.66.0 | MIT | original | SKILL.md |
|
|
8
8
|
|
|
9
9
|
## Adapted closely (Martin Dilger and Nebulit GmbH, with agreement)
|
|
10
10
|
|
|
@@ -58,8 +58,8 @@ payload field the event never declares, so the event payload line matters.
|
|
|
58
58
|
- `identifier` marks which property names the event source. It neither generates the value nor
|
|
59
59
|
fills it. Here the user supplies the berth. Other sources are a prefill (`populate via query`
|
|
60
60
|
or `populate from item` when the user chose a berth on the previous screen) or a modeled
|
|
61
|
-
selection. `generated identifier` is syntax-only at v4.
|
|
61
|
+
selection. `generated identifier` is syntax-only at v4.66.0 (binding reports `PLAY0268` until
|
|
62
62
|
ESM v8).
|
|
63
63
|
- The form is found through `action BookBerth`; neither screen names it.
|
|
64
|
-
- Compiled with `screenplay` 4.
|
|
65
|
-
--warnings-as-errors` 3.
|
|
64
|
+
- Compiled with `screenplay` 4.66.0 `--warnaserror` and `cratis screenplay validate
|
|
65
|
+
--warnings-as-errors` 3.28.2.
|
|
@@ -20,15 +20,15 @@ reading in this skill is not a render result.
|
|
|
20
20
|
|
|
21
21
|
| Source | Pin | Notes |
|
|
22
22
|
| --- | --- | --- |
|
|
23
|
-
| Stage | `v4.24.
|
|
24
|
-
| cratis CLI | `v3.
|
|
25
|
-
| Rendered applications | Arc `22.25.0`, Chronicle `19.8.1`, .NET 10 | The scaffold profile; frontend Components 4.14.0, Scene 4.2.0 |
|
|
23
|
+
| Stage | `v4.24.2` (`32dcac4`) | Renderer, sandbox host, spec runner; pins Screenplay 4.66.0, Arc 22.50.5, Chronicle 19.32.0; 4.24.2 admits ESM v4 models and refuses evolved events (`STAGE-ESM-025`, `-026`) (`v4.24.1`, `2cadf59`, admitted ESM v1 to v3; v4.24.0, `fa48546`, pinned Screenplay 4.60.0) |
|
|
24
|
+
| cratis CLI | `v3.28.3` (`8b43fef`) | `cratis render`, `cratis run`; bundles Stage 4.24.2 and Screenplay 4.66.0 (Cratis/cli#260; `Directory.Packages.props` at the tag). v3.28.2 (`141c499`, Cratis/cli#253, shipped in Cratis/cli#257) bundled Stage 4.24.1 and Screenplay 4.66.0. v3.28.1 and earlier (v3.28.0 and v3.28.1 verified in `Directory.Packages.props`) bundled Stage 4.24.0 and Screenplay 4.60.1 |
|
|
25
|
+
| Rendered applications | Arc `22.25.0`, Chronicle `19.8.1`, .NET 10 | The scaffold profile (`CratisBackendApplicationScaffoldProfile.cs`), unchanged at 4.24.1 although Stage itself builds on Arc 22.50.5 and Chronicle 19.32.0; frontend Components 4.14.0, Scene 4.2.0 |
|
|
26
26
|
|
|
27
27
|
Everything below was read at those tags (`Source/Rendering.Cratis/**`, `README.md`,
|
|
28
28
|
`Documentation/**` in Stage; `Source/Cli/Commands/Render/**` and
|
|
29
29
|
`Documentation/reference/screenplay.md` in the CLI), and the vertical in
|
|
30
30
|
[references/render-example.md](references/render-example.md) was rendered, built and
|
|
31
|
-
tested with cratis 3.
|
|
31
|
+
tested with cratis 3.28.2 (re-run on 3.28.3). The full version table (Screenplay 4.66.0, Arc 22.50.5,
|
|
32
32
|
Chronicle 19.32.0 and the tool split) is in the `cratis-screenplay-toolchain` skill,
|
|
33
33
|
`references/versions.md`. Rendered apps are on Arc 22.25.0, so `[ProtectedDecision]`
|
|
34
34
|
(Arc 22.39.0 and later) is not available in code written into one.
|
|
@@ -70,9 +70,13 @@ receipt.
|
|
|
70
70
|
|
|
71
71
|
Facts that surprise:
|
|
72
72
|
|
|
73
|
-
- **Binding uses the CLI's bundled Screenplay 4.
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
- **Binding uses the CLI's bundled Screenplay** (4.66.0 in cratis 3.28.2, the same compiler
|
|
74
|
+
as the standalone tool, ESM up to v6). A v6 model (Automation, Translate, reactions,
|
|
75
|
+
captures, application triggers, clock specifications) binds and is then refused whole by
|
|
76
|
+
Stage with `STAGE-ESM-016` (probed on 3.28.2); on cratis before 3.28.2 the bundled
|
|
77
|
+
4.60.1 binder stopped it first with `PLAY0268`. A model that binds is not necessarily
|
|
78
|
+
renderable: Stage admits ESM v1 to v4, and a v4 model renders only while no selected
|
|
79
|
+
event has evolved (`STAGE-ESM-026`, Stage 4.24.2).
|
|
76
80
|
- **Render never builds, tests or runs** the output. A published render is admission and
|
|
77
81
|
publication only; build and tests are separate results (see "Verify"). Admission can be
|
|
78
82
|
green while a rendered Debug test fails (the example hit this with a query assertion).
|
|
@@ -90,8 +94,7 @@ rendered appends never carry event source type, event stream type or event strea
|
|
|
90
94
|
Chronicle's defaults apply (Stage#177, #200, #201; Screenplay#407). Gap-fill the routing by
|
|
91
95
|
hand; see `cratis-screenplay-toolchain` `references/sources-and-streams.md`.
|
|
92
96
|
|
|
93
|
-
Whole-model admission needs ESM schema v1 to
|
|
94
|
-
generations (v4) also fail the CLI pre-check `CLI-RENDER-003`. The admitted vertical:
|
|
97
|
+
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:
|
|
95
98
|
|
|
96
99
|
- concepts, composite types, collections and optional values;
|
|
97
100
|
- `StateChange` slices with exactly one command and an unconditional `produces` whose
|
|
@@ -213,5 +216,5 @@ Use `cratis render` (journaled, recoverable publication) instead.
|
|
|
213
216
|
|
|
214
217
|
Rewritten for #493. The earlier version described Stage 3.15.1 (no CLI, eight-file
|
|
215
218
|
backend scaffold, `not empty`-only validation, no frontend, Arc 22.3.0); each claim was
|
|
216
|
-
re-verified at Stage 4.24.0 and cli 3.27.1 and replaced. See
|
|
219
|
+
re-verified at Stage 4.24.0 and cli 3.27.1 and replaced, then re-run on Stage 4.24.1 and cli 3.28.2 and on Stage 4.24.2 and cli 3.28.3 (an evolved event reports `STAGE-ESM-026`). See
|
|
217
220
|
[references/admission.md](references/admission.md) for source disagreements.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Stage 4.24 admission: codes, specification rules and observed refusals
|
|
2
2
|
|
|
3
|
-
Read at Stage `v4.24.0` (`Source/Rendering.Cratis/CratisArtifactRenderPlanner.cs`,
|
|
3
|
+
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`,
|
|
4
4
|
`Semantics/SemanticCratisAdmission*.cs`, `SemanticSpecificationAdmission*.cs`,
|
|
5
|
-
`PureTransitionAdmission.cs`, `SemanticImplementationAdmission.cs`) and cli `v3.
|
|
6
|
-
(`Commands/Render/ScreenplayPlanning.cs`). Items marked *observed* were reproduced with
|
|
5
|
+
`PureTransitionAdmission.cs`, `SemanticImplementationAdmission.cs`) and cli `v3.28.2`
|
|
6
|
+
(`Commands/Render/ScreenplayPlanning.cs`, unchanged since `v3.27.1`). Items marked *observed* were reproduced with
|
|
7
7
|
`cratis render` 3.27.1 while building [render-example.md](render-example.md). Anything else
|
|
8
8
|
is a reading of source: render the model before claiming it.
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ One blocking diagnostic fails the **whole** plan and nothing is published (exit
|
|
|
11
11
|
Informational diagnostics (`PLAY0270` authoring metadata, `PLAY0469`, `STAGE-ESM-023`) do not.
|
|
12
12
|
|
|
13
13
|
A refusal can come from four layers, and the code tells you which: compilation and binding
|
|
14
|
-
(`PLAY*`, from the CLI's bundled Screenplay 4.
|
|
14
|
+
(`PLAY*`, from the CLI's bundled Screenplay: 4.66.0 in cratis 3.28.3), execution planning (`PLAN-*`), Stage
|
|
15
15
|
admission (`STAGE-*`) and the CLI itself (`CLI-RENDER-*`). A publication conflict (a
|
|
16
16
|
modified managed file, an unmanaged file at a planned path, a manifest from another
|
|
17
17
|
target or renderer) is a plain ownership error with no code. Keep the actual diagnostic or
|
|
@@ -40,16 +40,19 @@ model owner's decision.
|
|
|
40
40
|
| `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 |
|
|
41
41
|
| `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 |
|
|
42
42
|
| `STAGE-ESM-015` | Authorization Stage cannot render exactly: opaque (code) policy, role-claim URI, expression not requiring authentication, claim compared with a non-text value, authorized command without exactly one identifier | `require authenticated and ...`; text-backed claim targets |
|
|
43
|
-
| `STAGE-ESM-016` | Model language or semantic version is not ESM v1 to
|
|
43
|
+
| `STAGE-ESM-016` | Model language or semantic version is not ESM v1 to v4 (Stage 4.24.2; 4.24.1 and earlier: v1 to v3, so a v4 model was refused here); v5 and v6 constructs raise the version | Not fixable by editing: the model needs a newer renderer. Keep the model, record the gap, gap-fill |
|
|
44
44
|
| `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 |
|
|
45
45
|
| `STAGE-ESM-018` | `$strings.` key missing in the default locale or containing formatting characters | Fix the strings |
|
|
46
46
|
| `STAGE-ESM-019` | Reducer structure or body not admitted (outside a `StateView`, impure, does not compile) | An equivalent pure body, or gap-fill |
|
|
47
47
|
| `STAGE-ESM-020` | Implementation body missing, changed (hash differs) or refused by the loader | Provide the body inside the model root |
|
|
48
48
|
| `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 |
|
|
49
|
+
| `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 |
|
|
50
|
+
| `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 (Stage 4.24.2): `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 |
|
|
51
|
+
| `STAGE-ESM-024` | Ledger-only (4.24.1): every ESM v6 surface member is dispositioned Rejected. Not emitted on its own: the version gate raises `STAGE-ESM-016` first and refuses the whole v6 model | As `STAGE-ESM-016`: keep the model, record the gap, gap-fill |
|
|
49
52
|
| `STAGE-ESM-023` | Information: transition bodies analysed | none |
|
|
50
53
|
| `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) |
|
|
51
54
|
| `STAGE-AUTH-001` | Authorization cannot be rendered faithfully | As `STAGE-ESM-015` |
|
|
52
|
-
| `CLI-RENDER-001`, `-002
|
|
55
|
+
| `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 |
|
|
53
56
|
|
|
54
57
|
`STAGE-CRATIS-FILE-001`, `-INLINE-001`, `-QUERY-001`, `-KEY-001`, `-KEY-002`,
|
|
55
58
|
`-PROJECTION-001` and `STAGE-EVENT-001` come from the legacy syntax renderer and the direct
|
|
@@ -73,7 +76,7 @@ Stage renders two projection forms; the restrictions differ.
|
|
|
73
76
|
key makes it that key. Stage refuses a literal key (`STAGE-ESM-017`; scoped keys are an
|
|
74
77
|
event property or the event source, `SemanticScopedProjectionSupport.KeySupported`). Never map `$eventSourceId` onto the identifier when the key is
|
|
75
78
|
something else (`from PaymentRecorded key invoiceId`): the runtime fails with "affected key
|
|
76
|
-
disagrees with read-model identifier" (Screenplay v4.
|
|
79
|
+
disagrees with read-model identifier" (Screenplay v4.66.0
|
|
77
80
|
`SemanticScopedProjection.State.cs:182-184`, `SemanticEvaluator.cs:733-736`).
|
|
78
81
|
2. Executable model. A flat-bound projection must map the identifier like any required
|
|
79
82
|
property (the flat evaluator does not seed it): `xId = <keyProperty>`. A scoped projection
|
|
@@ -159,7 +162,7 @@ From `SemanticSpecificationAdmission*.cs`; the first rule was also observed.
|
|
|
159
162
|
|
|
160
163
|
## Observed refusals
|
|
161
164
|
|
|
162
|
-
Each came from the first draft of the example model, rendered with cratis 3.27.1:
|
|
165
|
+
Each came from the first draft of the example model, rendered with cratis 3.27.1 (the marina model still renders on 3.28.2 with 30 artifacts):
|
|
163
166
|
|
|
164
167
|
| Draft | Diagnostic | Fix that rendered |
|
|
165
168
|
| --- | --- | --- |
|
|
@@ -173,5 +176,5 @@ Each came from the first draft of the example model, rendered with cratis 3.27.1
|
|
|
173
176
|
| --- | --- |
|
|
174
177
|
| Stage README: application scope adds "exactly eight" backend files | The scaffold creates nine (adds `GeneratedPolicyRegistration.cs`), plus the frontend scaffold |
|
|
175
178
|
| cli reference: bodied reducers are unsupported (`STAGE-ESM-019`) | `PureTransitionAdmission` admits pure allowlisted bodies |
|
|
176
|
-
| Stage customization guide: an Automation slice blocks with `STAGE-ESM-001`; Stage pins Screenplay 4.35.0 | With cli 3.27.1 an Automation or Translate slice
|
|
179
|
+
| Stage customization guide: an Automation slice blocks with `STAGE-ESM-001`; Stage pins Screenplay 4.35.0 | With cli 3.27.1 an Automation or Translate slice failed binding (`PLAY0268`) first; with cli 3.28.2 it binds and Stage refuses the whole model with `STAGE-ESM-016` (probed). Stage 4.24.0 pinned Screenplay 4.60.0 (4.24.1: 4.66.0) |
|
|
177
180
|
| An earlier version of this skill: Stage has no authorization contract for queries | Query authorization is admitted and rendered; an unauthorized query renders `[AllowAnonymous]` (observed) |
|
package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/render-example.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Example: a model inside the Stage 4.24 renderable subset
|
|
2
2
|
|
|
3
|
-
A complete marina-berth model that `cratis render` 3.
|
|
3
|
+
A complete marina-berth model that `cratis render` 3.28.2 and 3.28.3 accept, followed by what the
|
|
4
4
|
render produced and how each claim was checked. Use it as a shape to stay inside when a
|
|
5
5
|
model must be renderable; it is not a template for richer slices (see `admission.md`).
|
|
6
6
|
|
|
@@ -105,11 +105,11 @@ Why it is shaped this way:
|
|
|
105
105
|
|
|
106
106
|
## What was run
|
|
107
107
|
|
|
108
|
-
All with cratis 3.27.1 on a folder holding only `berths.play`:
|
|
108
|
+
All with cratis 3.28.2 (re-run end to end from 3.27.1: same counts; admission and publication re-run on 3.28.3 with Stage 4.24.2: the same 30 artifacts) on a folder holding only `berths.play`:
|
|
109
109
|
|
|
110
110
|
| Step | Command | Result |
|
|
111
111
|
| --- | --- | --- |
|
|
112
|
-
| Compile | `screenplay <folder> --warnaserror` (4.
|
|
112
|
+
| Compile | `screenplay <folder> --warnaserror` (4.66.0) and `cratis screenplay validate <folder> --warnings-as-errors` | 0 errors, 0 warnings |
|
|
113
113
|
| Admission and publication | `cratis render <folder> --name Marina --destination out -o json` | exit 0, 30 artifacts written, `recovered: false` |
|
|
114
114
|
| Re-render | the same command | `written: 0`, `unchanged: 30` |
|
|
115
115
|
| Local edit | append a line to `out/Program.cs`, render again | exit 5: `Managed artifact 'Program.cs' was modified by the user; pass --force to replace it.` |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Read at Stage `v4.24.0` (`README.md`, `Documentation/docker/index.md`,
|
|
4
4
|
`Documentation/docker/spec-runner.md`, `Documentation/reference/urls.md`) and cli
|
|
5
|
-
`v3.
|
|
5
|
+
`v3.28.2` (`Commands/Run/*`, unchanged since `v3.27.1`). Docker was **not run** for this skill: every behaviour here
|
|
6
6
|
is documented behaviour, not an observed result. Both images are still shipped.
|
|
7
7
|
|
|
8
8
|
## The sandbox: a partial, disposable runtime
|
|
@@ -16,6 +16,12 @@
|
|
|
16
16
|
{ "kind": "skill-contains", "value": "`Stage__Runtime__Engine=semantic`" },
|
|
17
17
|
{ "kind": "skill-contains", "value": "`--engine semantic`" },
|
|
18
18
|
{ "kind": "skill-contains", "value": "Stage#177" },
|
|
19
|
-
{ "kind": "skill-contains", "value": "never carry event source type" }
|
|
19
|
+
{ "kind": "skill-contains", "value": "never carry event source type" },
|
|
20
|
+
{ "kind": "skill-contains", "value": "STAGE-ESM-024" },
|
|
21
|
+
{ "kind": "skill-contains", "value": "`v4.24.2`" },
|
|
22
|
+
{ "kind": "skill-contains", "value": "STAGE-ESM-026" },
|
|
23
|
+
{ "kind": "skill-contains", "value": "Stage 4.24.2 admits ESM v4" },
|
|
24
|
+
{ "kind": "skill-contains", "value": "`v4.24.2`" },
|
|
25
|
+
{ "kind": "skill-contains", "value": "Cratis/cli#253" }
|
|
20
26
|
]
|
|
21
27
|
}
|