@cratis/pi 7.194.0 → 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.
@@ -568,9 +568,9 @@
568
568
  "repository": "Cratis/release-action",
569
569
  "packages": [],
570
570
  "synced": {
571
- "version": "1.5.1",
572
- "date": "2026-10-25",
573
- "by": "Cratis/AI#820"
571
+ "version": "1.5.2",
572
+ "date": "2026-11-27",
573
+ "by": "Cratis/AI#1368"
574
574
  },
575
575
  "covers": {
576
576
  "skills": [
@@ -581,7 +581,7 @@
581
581
  ]
582
582
  },
583
583
  "coverage": "tracked",
584
- "notes": "Cratis/AI#820: reviewed v1.4.3, v1.5.0 and v1.5.1. Skill and PR policy now distinguish workflow-drift 403 recovery from stale-tag retry, opt-in batching/defaults/outputs, combined summaries and corrected pending-major hotfix behavior. No workflow activation or release execution claimed."
584
+ "notes": "Cratis/AI#1368: reviewed v1.5.2. Release notes skill now uses skipped-batch explanations to decide whether to wait or request an authorized manual release; PR policy is unchanged because the label and note contracts did not change. No workflow activation or release execution claimed. Prior: Cratis/AI#820: reviewed v1.4.3, v1.5.0 and v1.5.1. Skill and PR policy now distinguish workflow-drift 403 recovery from stale-tag retry, opt-in batching/defaults/outputs, combined summaries and corrected pending-major hotfix behavior. No workflow activation or release execution claimed."
585
585
  },
586
586
  {
587
587
  "id": "screenplay-generation",
@@ -132,10 +132,17 @@ labels warn but are not permission to omit required PR labels.
132
132
 
133
133
  `hotfix-labels` defaults to `hotfix` and bypasses the window. With a pending major,
134
134
  only the merge run for the hotfix fails; scheduled/other merge runs warn and leave
135
- the batch pending. A manual run without a version releases everything pending;
136
- obtain the required human major confirmation first. Inspect `pull-requests` and
137
- `reason` (`batched` or `nothing-pending`) rather than assuming every successful
138
- run released. Never turn on batching just to clear a queue without authorization.
135
+ the batch pending. An authorized manual Publish run with an empty version or
136
+ `0.0.0` releases everything pending; obtain the required human major confirmation
137
+ first. Inspect `pull-requests` and `reason` (`batched` or `nothing-pending`)
138
+ rather than assuming every successful run released. Never turn on batching just
139
+ to clear a queue without authorization.
140
+
141
+ From release-action 1.5.2, check the main-step log or the step summary's
142
+ `Explanation` to see why a batch was skipped. If the window is still open, both
143
+ list the pending PRs and show the oldest merge time and when the window elapses
144
+ (in UTC). Use that time to decide whether to wait for the next scheduled Publish
145
+ run or request an authorized manual release. The post step logs the skip reason.
139
146
 
140
147
  A release-creation 403 caused by workflow drift names the recovery:
141
148
  dispatch the publish workflow from the current default branch with the PR's
@@ -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
- | Composite (JSON) values in specs | yes | yes | no |
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, composite values, an unauthenticated caller carrying roles or claims, generated fixtures that do not match their strategy shape or concept rules). Command scenarios and single-hop reaction appends render |
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
- - Refused: `then no readmodel` (`STAGE-ESM-027`), an unauthenticated caller carrying roles or claims (`STAGE-ESM-011`), other `when append` forms, composite values, `given readmodel` beside a
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, composite values, queries other than optional snapshots, and
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.194.0",
3
+ "version": "7.194.2",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [