@cratis/pi 7.194.1 → 7.194.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.
@@ -32,6 +32,7 @@ dotnet test VSTest.Specs.csproj --configuration Release --no-build \
32
32
 
33
33
  - This is the VSTest form. Microsoft.Testing.Platform projects use their own
34
34
  crash and hang dump extensions and options (`--hangdump-type Mini`, `--crashdump-type Mini`); do not mix the two sets of switches.
35
+ - Always pass an explicit dump type. `--blame-hang-timeout` or `--blame-hang` alone defaults to a full dump of several GB; use `mini` (or `none`), and delete `TestResults/**/*.dmp` after reading the stack.
35
36
  - Read the stack (for example `dotnet-dump analyze <file>` then `clrstack -all`), keep the text output, and delete the `.dmp` file. Use a full dump only for a named investigation that needs heap contents.
36
37
  - Upload `TestResults` as an artifact with `if: ${{ !cancelled() }}`, so the dump
37
38
  survives the failure.
@@ -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.
@@ -255,6 +255,19 @@ speculative alternative grammars.
255
255
  | Hang timeout | `--blame-hang --blame-hang-timeout 5min --blame-hang-dump-type mini` | `--hangdump --hangdump-timeout 5min --hangdump-type Mini` |
256
256
  | Code coverage | `--collect "Code Coverage"` | `--coverage` |
257
257
 
258
+ Always set the dump type explicitly, to `mini` or `none`. These switches turn on
259
+ dump collection even when used alone, and the default dump type is **full**, a
260
+ whole-process memory dump of several GB per hung run: `--blame-hang`,
261
+ `--blame-hang-timeout`, `--blame-crash`, `--hangdump`, `--hangdump-timeout`,
262
+ `--crashdump`. For example `--blame-hang-timeout 90s` without
263
+ `--blame-hang-dump-type` writes a full dump. This applies to ad-hoc helper
264
+ scripts too, not only to commands you recommend.
265
+
266
+ When a script or command can produce dumps, send results to a temporary
267
+ directory (`--results-directory "$(mktemp -d)"`) or delete `TestResults/**/*.dmp`
268
+ after reading the stack, so dumps never accumulate in the repository tree or in
269
+ worktrees.
270
+
258
271
  MTP report, dump, and coverage flags require their corresponding registered
259
272
  extensions (`TrxReport`, `CrashDump`, `HangDump`, or `CodeCoverage`). Some
260
273
  framework SDKs bundle common extensions; if a flag is unrecognized, inspect
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.194.1",
3
+ "version": "7.194.3",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [