@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
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
## Contents
|
|
4
4
|
|
|
5
|
-
- Current admission (Stage 4.
|
|
5
|
+
- Current admission (Stage 4.89.1)
|
|
6
6
|
- Historical: what Stage 4.24 admitted
|
|
7
7
|
- Authoring consequences in renderable mode
|
|
8
8
|
- Ownership, publication and recovery
|
|
9
9
|
- Reading V5
|
|
10
10
|
|
|
11
|
-
Current compiler/CLI/Stage pins: `versions.md`. CLI/Stage admit through
|
|
12
|
-
checks, not blanket rendering; above
|
|
13
|
-
STAGE-ESM-016).
|
|
14
|
-
|
|
15
|
-
reducer filters render. v8
|
|
16
|
-
|
|
11
|
+
Current compiler/CLI/Stage pins: `versions.md`. CLI 3.57.0 / Stage 4.89.1 admit through v15 to construct
|
|
12
|
+
checks, not blanket rendering; above v15 is CLI-RENDER-004 (direct Stage:
|
|
13
|
+
STAGE-ESM-016). Public/foreign facts and production overrides retain 032/033/036.
|
|
14
|
+
Reaction identity renders role/authenticated gates, not claim-reading/opaque gates (034).
|
|
15
|
+
Reaction and reducer filters render on the semantic path; legacy paths retain 034/035. v8 routed read-model/query companion replay now renders; reserved names and
|
|
16
|
+
unformattable fixtures remain STAGE-ESM-030 (Stage
|
|
17
|
+
`v4.89.1:Documentation/reference/event-source-routing.md:62-72`). Case tables and v8+ `long`
|
|
17
18
|
whole numbers apply to the current default. Previous CLI 3.46.1/Stage 4.52.0
|
|
18
19
|
admitted only through v7 and applied neither newer rule. The historical v7 canonical-corpus check got
|
|
19
20
|
STAGE-ESM-028/029 for generated values/responses
|
|
20
21
|
(`v3.41.0:Source/Cli.Specs/for_ScreenplayPlanning/when_planning_an_esm_v7_model.cs`).
|
|
21
22
|
The following detailed Stage 4.24.x results are **historical**, not reverified
|
|
22
|
-
4.
|
|
23
|
-
|
|
24
|
-
Keep the pins and report the consumer gap. Run the bundled renderer before asserting current renderability.
|
|
23
|
+
4.89.1 claims. Non-positional enum numbers select v12 and now render through
|
|
24
|
+
the CLI bundle; concept compliance selects v13 and also renders. Run the bundled renderer before asserting current renderability.
|
|
25
25
|
|
|
26
26
|
Historical sources, all read at tags: Stage v4.24.1 `Source/Rendering.Cratis/Semantics/SemanticSurfaceLedger.cs`
|
|
27
27
|
(an exhaustive map of every ESM member to Rendered, Rejected(code) or Ignored),
|
|
@@ -31,34 +31,38 @@ render itself before claiming renderability: this table is a reading of the sour
|
|
|
31
31
|
render result.
|
|
32
32
|
|
|
33
33
|
Renderable is a strict subset of executable (`executable-subset.md`). Order of events in
|
|
34
|
-
`cratis render`: the CLI binds the **whole** model with its **bundled Screenplay** (4.
|
|
35
|
-
3.
|
|
34
|
+
`cratis render`: the CLI binds the **whole** model with its **bundled Screenplay** (4.147.1 in cratis
|
|
35
|
+
3.57.0, so PLAY0268 and friends appear first, even with `--scope`), then Stage admits or rejects
|
|
36
36
|
members of the selected scope. (Historical, cratis 3.28.2: an ESM v6 model bound but Stage refused it
|
|
37
37
|
whole with `STAGE-ESM-016`.)
|
|
38
38
|
|
|
39
|
-
## Current admission (Stage 4.
|
|
39
|
+
## Current admission (Stage 4.89.1)
|
|
40
40
|
|
|
41
|
-
Read at Stage `v4.
|
|
42
|
-
`
|
|
43
|
-
|
|
41
|
+
Read at Stage `v4.89.1` (`Source/Rendering.Cratis/Semantics/SemanticVersionFeatures.cs:105`,
|
|
42
|
+
`SemanticVersionFeatureAdmission.cs:25-46`, `SemanticCratisAdmission.StateView.cs:139-199`,
|
|
43
|
+
`Documentation/reference/reaction-rendering.md:57-98`, `generated-values-rendering.md:62-146`)
|
|
44
|
+
and CLI `v3.57.0:Source/Cli/Commands/Render/RenderedSemanticVersions.cs:34-47`.
|
|
45
|
+
Source reading, not a render run. Stage admits ESM v1 to v15 by
|
|
44
46
|
version; each construct it does not render refuses with its own code before any artifact is planned.
|
|
45
47
|
|
|
46
|
-
| Area | Renders at 4.
|
|
48
|
+
| Area | Renders at 4.89.1 | Refused (code) |
|
|
47
49
|
| --- | --- | --- |
|
|
48
|
-
| Slice kinds | `StateChange`, `StateView
|
|
49
|
-
| Queries | optional keyed snapshot lookups; observable collections, keyed or unkeyed
|
|
50
|
+
| Slice kinds | `StateChange`, `StateView`, supported event-triggered `Automation` with Chronicle reactors | Translate, captures, non-event triggers, opaque bodies, clock/trigger/capture specs (`-024`); claim-reading/opaque `runs as` gates (`-034`), mixed effects from one handler (`-037`, redelivery can duplicate events), unsupported conditions/destinations/mappings (`-039`). Keep refused reactions whole |
|
|
51
|
+
| Queries | optional keyed snapshot lookups; observable collections, keyed or unkeyed, with v14 equality filters | a snapshot list: `STAGE-ESM-010`; context/single-result filters, opaque `scoped to`/`performer` and composite `by`: PLAY0268. DateTime filters and required parameters after optional filters refuse `-010`; filter-name collisions refuse `-012`; validated scalar keys render as primitives and convert inside the query (an out-of-rule key finds no instance), nested validated keys still refuse `-010` |
|
|
50
52
|
| Authorization | 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`), `not`/and/or; roles read through the identity's `RoleClaimType` | role-claim URIs, nested opaque policies, unresolved or non-portable policies, no single identifier, opaque-policy subjects that are not text, Uuid, Date or DateTime (`STAGE-ESM-015`; Stage 4.73.1 `IsTextualSubject`, a restriction separate from declarative claim targets) |
|
|
51
|
-
| Event sources, streams, routes (ESM v8) | rendered,
|
|
53
|
+
| Event sources, streams, routes (ESM v8) | rendered, including routed read-model/query companion replay | reserved stored names, unformattable routed fixtures (`STAGE-ESM-030`) |
|
|
52
54
|
| Numbers, case tables | whole numbers as `long` from ESM v8; case tables | out-of-`int` literals below v8 (`STAGE-ESM-031`) |
|
|
53
|
-
| Generated values and responses (v7) |
|
|
54
|
-
|
|
|
55
|
-
|
|
|
55
|
+
| Generated values and responses (v7/v15) | required scalar UUID/String strategies, Guarded v15 freshness, scalar/named responses, generation fixtures and `then returns` | unsupported generated types (`-028`); routed/generated-rule/legacy-allocation/unique-constraint/name-collision or unsupported response combinations, unpinned unordered/projected expectations (`-038`); no blanket `-029` refusal |
|
|
56
|
+
| Enum numbers / compliance | explicit enum numbers (v12); concept `[PII]` or scoped `[Encrypted]` + `[NotAudited]` (v13), property-level `[NotAudited]` for protected command inputs | protected identities/enums (`-040`); non-text secrets (`-041`, not `pii secret`); explicit subject lineage remains unadmitted |
|
|
57
|
+
| Specifications | command scenarios and supported single-hop reaction appends; Stage's `admission.md` | appends outside the single-hop subset and commands cascading into reactions (`-011`); `then no readmodel` (`-027`); an unauthenticated caller carrying roles or claims, `$context.occurred`-derived fixed values asserted (`-011`) |
|
|
58
|
+
| v9 and v10 | reaction/reducer `from` filters; role/authenticated `runs as` | public events and event-target projections (`-032`); foreign origins and event-source captures (`-033`); directed Translate (`-024`); claim-reading/opaque `runs as` gates (`-034`); legacy `from` (`-035`); per-production route overrides (`-036`) |
|
|
56
59
|
| Evolved events | initial revisions only | `STAGE-ESM-026` (Stage#204) |
|
|
57
60
|
| Descriptions, documentation | XML `<summary>`/`<remarks>` doc comments only (Stage#178 closed) | characters invalid in XML: `CLI-RENDER-005`; never behavior |
|
|
58
61
|
|
|
59
|
-
CLI 3.
|
|
60
|
-
`concurrency` (PLAY0271), command `handler`s
|
|
61
|
-
|
|
62
|
+
CLI 3.57.0 bundles Screenplay 4.147.1. That compiler still refuses `reads` and
|
|
63
|
+
`concurrency` (PLAY0271), command `handler`s (PLAY0268) at binding, before Stage
|
|
64
|
+
admission. It binds through v15; supported filters and strategies render.
|
|
65
|
+
Response-name authoring scopes are in standalone 4.148.0, not this bundle or Scene runtime. Rows below naming Stage 4.24
|
|
62
66
|
behavior are historical.
|
|
63
67
|
|
|
64
68
|
## Historical: what Stage 4.24 admitted
|
|
@@ -92,9 +96,8 @@ whole automation is hand-written (gap-fill).
|
|
|
92
96
|
At standalone 4.127.0, compliance uses bare `pii`/`secret` (legacy markers are
|
|
93
97
|
accepted with PLAY0565 information); either still refuses binding on that compiler.
|
|
94
98
|
Standalone 4.142.0 admits concept compliance as v13 (from 4.141.0) with narrower refusals
|
|
95
|
-
(command-surface `references/compliance.md`). CLI 3.
|
|
96
|
-
4.
|
|
97
|
-
(Stage#345). Identity blocks,
|
|
99
|
+
(command-surface `references/compliance.md`). CLI 3.57.0 bundles Screenplay
|
|
100
|
+
4.147.1 / Stage 4.89.1 and renders concept protection as v13. Identity blocks,
|
|
98
101
|
purposes and event `subject` are authoring metadata, not provider realization;
|
|
99
102
|
executing identity detail reads still refuses PLAY0268. Current source/stream
|
|
100
103
|
routes are admitted as v8, including composite ids, not the historical binding
|
|
@@ -105,14 +108,14 @@ legacy ids or drop protected ids into routing to fit a renderer (PLAY0515).
|
|
|
105
108
|
|
|
106
109
|
- `produces when` is STAGE-ESM-006: split conditional outcomes into separate commands, or
|
|
107
110
|
record the slice as non-renderable (gap-fill) without distorting a design-mode model.
|
|
108
|
-
-
|
|
111
|
+
- Only supported single-hop reaction `when append` specifications render; no general when-less event-replay proofs. Prove a projection
|
|
109
112
|
with a command-action scenario (given events, `when <Command>`, `then query` or `then
|
|
110
113
|
readmodel`). The seeded when-less `then query` only checks a lookup over a given read-model
|
|
111
114
|
state; it proves no projection (Stage `SemanticSpecificationAdmission.Callers.cs`).
|
|
112
115
|
- Use `$context.occurred` only; no `$context.identity.*` mappings.
|
|
113
|
-
- A list query binds (unfiltered, or narrowed by one `by` key); Stage 4.
|
|
114
|
-
`observable` collection, and refuses a snapshot list with `STAGE-ESM-010
|
|
115
|
-
`performer`
|
|
116
|
+
- A list query binds (unfiltered, or narrowed by one `by` key); Stage 4.89.1 renders it only as an
|
|
117
|
+
`observable` collection, including supported equality filters, and refuses a snapshot list with `STAGE-ESM-010`;
|
|
118
|
+
context/single-result filters, opaque `scoped to` and `performer` block binding. Keep a list the domain needs and report
|
|
116
119
|
the capability gap; marking it `observable` or keying it is a modeling decision for the user.
|
|
117
120
|
- A `handler` (with or without `implementation` or `hint`) never binds; the slice is
|
|
118
121
|
gap-fill, never "customized into" rendering.
|
|
@@ -137,7 +140,7 @@ legacy ids or drop protected ids into routing to fit a renderer (PLAY0515).
|
|
|
137
140
|
`Customizations/styles.css`. The planner never reads it, and it never binds a modeled
|
|
138
141
|
reaction or capture. A customization never makes a rejected model renderable.
|
|
139
142
|
- `cratis render` does **not** build, test or run the application.
|
|
140
|
-
- Stage 4.
|
|
143
|
+
- Stage 4.89.1's scaffold pins .NET 10 and Arc and Chronicle client/kernel releases
|
|
141
144
|
and emits a `.frontend/` React/Vite app (Components and Scene releases pinned too); these are not the latest
|
|
142
145
|
releases (`cratis-stage-rendering-and-sandbox` `references/rendered-application.md`).
|
|
143
146
|
`CratisEmbeddedScreenplayEnabled=false`; `Directory.Packages.props` is managed,
|