@cratis/pi 7.194.1 → 7.194.2
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-screenplay-scenario-coverage/references/spec-forms-by-mode.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +1 -1
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +3 -1
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +5 -1
- package/package.json +1 -1
package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md
CHANGED
|
@@ -40,7 +40,7 @@ Typed example/override forms: `cratis-screenplay-specifications`
|
|
|
40
40
|
| `then no events`, `when redelivered` | yes | ESM v17; no new facts, input not re-appended | Stage no-event/redelivery subset; fan-out/cascades/constraints/read expectations/refusal redelivery retain -011 |
|
|
41
41
|
| Refusal branches, `$refusal` | yes | ESM v19; first matching branch wins | Stage supported subset; -039 for unfaithful refusal details/trigger groups, -011 for specification limits |
|
|
42
42
|
| Query `then error` | yes | ESM v18; one query/one error, no result/denial | requires target v18 admission; a v19-capable renderer does not necessarily admit v18 |
|
|
43
|
-
|
|
|
43
|
+
| Structured values (nested objects, lists of objects) in specs | yes | yes | Stage supported subset: nested scalar objects and lists of objects render; collection-valued members refuse STAGE-ESM-011; other -011 limits include explicit null members in typed inputs and reordered members in rejection inputs |
|
|
44
44
|
| Same-primitive `Date`/`DateTime` comparisons in `require`, `produces when` and command or property validation rules (v26; Requires Screenplay 4.199.0; see [date comparisons](../../cratis-screenplay-command-surface/references/date-comparisons.md)) | spec them | binds and executes; a `DateTime` input without an offset is a Validation rejection | Host/executor run it (Requires Stage 4.135.0); renderer STAGE-ESM-046: gap-fill |
|
|
45
45
|
| Date rules using `today`, `$context`, mixed `Date`/`DateTime`, concept or reaction-`where` positions; nested paths | spec them in design | rule does not bind: `recorded` | `recorded` |
|
|
46
46
|
| Bodied rules, code policies | spec them | spec reported **unsupported**, never passed | no |
|
|
@@ -743,7 +743,7 @@ Publication STAGE-ESM-032, foreign facts/event captures 033, claim-reading/opaqu
|
|
|
743
743
|
| STAGE-ESM-004 / 006 / 013 | a `StateChange` without commands; `produces` that cannot render (expression/enum conditions, literal or computed mappings, duplicate tags); event-context value other than `$context.occurred` (reactions: `$context.causedBy.*`, `$context.eventSourceId`) |
|
|
744
744
|
| STAGE-ESM-005 / 015 | code rule or code validation bodies; authorization Stage cannot render exactly (role-claim URIs, nested or unresolved opaque policies, opaque-policy subjects that are not text, Uuid, Date or DateTime). Role-only, authenticated, opaque pure policies and Uuid/Date/DateTime/text claim targets render |
|
|
745
745
|
| STAGE-ESM-007 / 009 / 010 / 017 | projection shape (one projection or reducer per read model, affected-instance key, unsupported query shapes, keys, unsupported `all` mappings, event-context values) |
|
|
746
|
-
| STAGE-ESM-011 | specification shape not rendered (`when append` outside the single-hop reaction subset, command specifications that cascade into reactions,
|
|
746
|
+
| STAGE-ESM-011 | specification shape not rendered (`when append` outside the single-hop reaction subset, command specifications that cascade into reactions, collection-valued members on an object or inside list elements, an unauthenticated caller carrying roles or claims, generated fixtures that do not match their strategy shape or concept rules). Command scenarios, single-hop reaction appends and the supported subset of structured values (nested scalar objects and lists of objects) render |
|
|
747
747
|
| STAGE-ESM-014 | constraint shape (multi-claim in one command, optional or composite targets) |
|
|
748
748
|
| STAGE-ESM-019/022 | reducer or opaque pure policy body outside the pure allowlist; a `generate rule` body that does not compile or warns (019) or shadows a type or namespace (022) |
|
|
749
749
|
| STAGE-ESM-024 | interval, schedule, application, startup and shutdown triggers, opaque reaction bodies, captures, Translate, clock/trigger/capture specifications |
|
|
@@ -347,7 +347,9 @@ Query-performer gaps are a separate contract: see [bodies and implementation gap
|
|
|
347
347
|
rendered constraint or an authored message, `then denied`. Generated fixtures and
|
|
348
348
|
`then returns` assertions render, as do routed companion replay and supported
|
|
349
349
|
single-hop reaction appends.
|
|
350
|
-
-
|
|
350
|
+
- Structured values render as nested scalar objects and lists of objects. Collection-valued
|
|
351
|
+
members, including on the top-level object and inside list elements, are refused with `STAGE-ESM-011`.
|
|
352
|
+
- Refused: `then no readmodel` (`STAGE-ESM-027`), an unauthenticated caller carrying roles or claims (`STAGE-ESM-011`), other `when append` forms, `given readmodel` beside a
|
|
351
353
|
command, error codes that name no rendered constraint, a `$context.occurred` mapping
|
|
352
354
|
asserted without a supplied time, a query on a reducer-built read model, a protected
|
|
353
355
|
query whose fixtures use streams other than the queried key.
|
|
@@ -256,12 +256,16 @@ invalid semantic option.
|
|
|
256
256
|
`then denied`. Report schema `stage-spec-run/1` with outcomes
|
|
257
257
|
`Passed`, `Failed`, `Unsupported` (carrying kind, construct id and reason) or
|
|
258
258
|
`Cancelled`. Not supported: given read models, conditional production, implicit identity
|
|
259
|
-
allocation, external effects,
|
|
259
|
+
allocation, external effects, queries other than optional snapshots, and
|
|
260
260
|
a reached opaque authorization policy (reported as `Unsupported`). An exact `Int64` overflow in a
|
|
261
261
|
whole-number projection product (the product or one of its operands), reached directly or through a
|
|
262
262
|
command append, is also `Unsupported` (projection capability): it names the event and product
|
|
263
263
|
instead of failing in the executor. Unsupported is never a pass. Do not feed the file to a legacy reader.
|
|
264
264
|
|
|
265
|
+
Rendering has separate admission for structured values: nested scalar objects and lists of
|
|
266
|
+
objects render, but collection-valued members on the top-level object or inside list elements
|
|
267
|
+
are refused with `STAGE-ESM-011`.
|
|
268
|
+
|
|
265
269
|
The runner and generated-fixture checks use Screenplay's public
|
|
266
270
|
`SemanticValidationRules.Check`. This shared rule check does not execute opaque
|
|
267
271
|
generation or validation bodies.
|