@cratis/pi 7.68.0 → 7.69.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/hooks/scripts/cratis-check-pr.mjs +23 -3
- package/package/corpus/product-sync.json +8 -8
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/audit-format.md +1 -1
- package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +5 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/references/text-and-match-rules.md +1 -1
- package/package/corpus/skills/cratis-screenplay-command-surface/references/uuid-equality.md +134 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +2 -0
- 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 +2 -2
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +5 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +3 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +22 -5
- package/package/corpus/skills/cratis-screenplay-toolchain/references/language-admission.md +10 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +2 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +2288 -614
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +1 -0
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +3 -1
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +11 -4
- package/package.json +1 -1
package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.
|
|
1
|
+
4.205.0
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"input": "Check a Screenplay model folder: which compiler should I run, what do V1 to V3 mean, and what does the cratis CLI do with my Automation slice?",
|
|
4
4
|
"fixtures": [],
|
|
5
5
|
"assertions": [
|
|
6
|
+
{ "kind": "skill-contains", "value": "Uuid equality in command conditions (ESM v28)", "file": "references/executable-subset.md" },
|
|
6
7
|
{ "kind": "skill-contains", "value": "screenplay baseline check", "file": "references/verdicts.md" },
|
|
7
8
|
{ "kind": "skill-contains", "value": "independent of V1–V5", "file": "references/verdicts.md" },
|
|
8
9
|
{ "kind": "skill-contains", "value": "Specifications that relied on whitespace being accepted now fail.", "file": "references/executable-subset.md" },
|
|
@@ -17,6 +17,8 @@ whether it is admitted; reading the admission rules is not a render result.
|
|
|
17
17
|
|
|
18
18
|
Requires cratis CLI ≥ 3.57 (`cratis --version`) to render ESM v14 and v15 models; an older CLI refuses newer ESM versions with `CLI-RENDER-004` (or `STAGE-ESM-016` from Stage directly).
|
|
19
19
|
|
|
20
|
+
Requires Cratis CLI 3.74.0 to render ESM v21–v26 models; CLI 3.66.0–3.73.0 refuse v21 and later with `CLI-RENDER-004`. Above the ceiling, a construct the bundled compiler cannot bind reports PLAY0268 before `CLI-RENDER-004` is reached.
|
|
21
|
+
|
|
20
22
|
## Batches, described handlers, text rules and protected reads
|
|
21
23
|
|
|
22
24
|
Read [language admission](../cratis-screenplay-toolchain/references/language-admission.md)
|
|
@@ -75,7 +77,7 @@ Facts that surprise:
|
|
|
75
77
|
|
|
76
78
|
- **Binding uses the CLI's bundled compiler**, not the standalone one. Version admission
|
|
77
79
|
does not imply construct support: exact ESM v1–v21 and v23–v26 pairs are admitted,
|
|
78
|
-
while v22/v27 and mixed pairs refuse `STAGE-ESM-016`. Date/DateTime command comparisons (v26)
|
|
80
|
+
while v22/v27/v28 and mixed pairs refuse `STAGE-ESM-016`. Date/DateTime command comparisons (v26)
|
|
79
81
|
execute in the semantic Host and executor but refuse `STAGE-ESM-046` in the renderer. Pattern/random generation and checksum validation
|
|
80
82
|
render with an admitting renderer; `generate rule` still refuses `STAGE-ESM-028`.
|
|
81
83
|
Read [references/admission.md](references/admission.md) for the introducing-release
|
|
@@ -12,8 +12,15 @@
|
|
|
12
12
|
- Refusals seen while drafting a model
|
|
13
13
|
|
|
14
14
|
Stage admits exact ESM v1–v21 and v23–v26 language/semantic pairs, then checks
|
|
15
|
-
constructs. V22, v27 and mixed or unknown pairs report `STAGE-ESM-016`.
|
|
16
|
-
|
|
15
|
+
constructs. V22, v27, v28 and mixed or unknown pairs report `STAGE-ESM-016`. `cratis render` admits
|
|
16
|
+
ESM v1–v26: Stage plans each model and refuses the constructs it cannot render with typed `STAGE-ESM-*`
|
|
17
|
+
codes (a v22 model reports `STAGE-ESM-016`; v26 date comparisons report `STAGE-ESM-046`). The CLI refuses
|
|
18
|
+
a bound model above v26 with `CLI-RENDER-004` before planning; a construct its bundled compiler cannot bind
|
|
19
|
+
reports PLAY0268 instead.
|
|
20
|
+
|
|
21
|
+
Requires Cratis CLI 3.74.0 (`cratis --version`) for v21–v26 rendering; CLI 3.66.0–3.73.0 stop at v20 and refuse v21 and
|
|
22
|
+
later with `CLI-RENDER-004`. A construct newer than the CLI's bundled compiler reports that binder's PLAY0268 first.
|
|
23
|
+
Requires Cratis CLI 3.63.0 for v17 and v19 and 3.65.0 for v18; older CLIs refuse those versions with `CLI-RENDER-004`.
|
|
17
24
|
|
|
18
25
|
Requires Stage 4.96.0 for v16, 4.101.0 for v17, 4.102.0 for v19, 4.106.0 for v18, and 4.103.0 for rendered redelivery; older renderers refuse the respective shapes.
|
|
19
26
|
Requires Cratis CLI 3.60.0 (`cratis --version`) for v16 rendering.
|
|
@@ -145,7 +152,7 @@ Requires Stage 4.90.0 for snapshot/live lists, 4.96.0 for non-text secrets and 4
|
|
|
145
152
|
| `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 |
|
|
146
153
|
| `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 |
|
|
147
154
|
| `STAGE-ESM-015` | Authorization Stage cannot render exactly: 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 (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) and `not`/and/or render; roles are read through the identity's `RoleClaimType` | Reshape the policy to a portable condition; otherwise gap-fill |
|
|
148
|
-
| `STAGE-ESM-016` | Model language/semantic pair is not admitted by the installed Stage; exact v1–v21 and v23–v26 pairs are admitted, v22/v27 and mixed pairs refused; older Stage also refuses the versions listed in the minimums above. A CLI bundle
|
|
155
|
+
| `STAGE-ESM-016` | Model language/semantic pair is not admitted by the installed Stage; exact v1–v21 and v23–v26 pairs are admitted, v22/v27/v28 and mixed pairs refused; older Stage also refuses the versions listed in the minimums above. A CLI bundle reports `CLI-RENDER-004` above its ceiling (v26 for CLI 3.74.0) first. v14 filters and v15 generation join v11 numbers, v12 enum numbers and v13 compliance as supported constructs, not blanket construct support | Not fixable by editing: the model needs a newer renderer. Keep the model, record the gap, gap-fill |
|
|
149
156
|
| `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, unsupported `all` mappings, the refused scope shapes below) | Reshape the projection without changing what it records, or record the gap |
|
|
150
157
|
| `STAGE-ESM-018` | `$strings.` key missing in the default locale or containing formatting characters | Fix the strings |
|
|
151
158
|
| `STAGE-ESM-019` | Reducer structure or body not admitted (outside a `StateView`, impure, does not compile) | An equivalent pure body, or gap-fill |
|
|
@@ -176,7 +183,7 @@ Requires Stage 4.90.0 for snapshot/live lists, 4.96.0 for non-text secrets and 4
|
|
|
176
183
|
| `STAGE-CRATIS-001` to `-005` | Profile or `scene.json` not the package-owned shape; unrecognized or missing scaffold input; artifact path collision (`-004`, for example case names that normalize to one path); a modeled module or feature that would render into the reserved `Customizations/` (`-005`) | Rename the module, feature or case |
|
|
177
184
|
| `STAGE-AUTH-001` | Authorization cannot be rendered faithfully | As `STAGE-ESM-015` |
|
|
178
185
|
| `CLI-RENDER-001`, `-002` | Unknown target; invalid rendering name | Fix the option, or the model |
|
|
179
|
-
| `CLI-RENDER-004` | The bound model is above the CLI bundle's admitted ceiling (
|
|
186
|
+
| `CLI-RENDER-004` | The bound model is above the CLI bundle's admitted ceiling (`cratis --version` and the Requires lines above give it); a construct the bundled compiler cannot bind reports PLAY0268 instead | Not fixable by editing: keep the model, gap-fill |
|
|
180
187
|
| `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 |
|
|
181
188
|
| `CLI-RENDER-007` to `-010` | `ui profile` refusals (package set, profile shape) | See `--package-set` |
|
|
182
189
|
| `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 |
|