@cratis/pi 7.164.3 → 7.165.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.
@@ -93,10 +93,14 @@ app.Run();
93
93
  - Give grain implementations a unique `[GrainType("unique-name")]`. Orleans'
94
94
  default type name derives from the class name alone; a collision across
95
95
  assemblies prevents silo startup.
96
- - Reminders deliberately use Orleans' in-memory service in both clustering
97
- modes; they do not survive a full restart. Jobs rehydrate from durable jobs
98
- storage and do not use reminders. Do not switch to the incompatible MongoDB
99
- reminder table merely because clustering uses MongoDB.
96
+ - Silos configured by `AddCratisOrleans` deliberately use Orleans' in-memory
97
+ reminder service in both clustering modes; their reminders do not survive a
98
+ full restart. Jobs rehydrate from durable jobs storage and do not use
99
+ reminders. Do not point such a silo at the MongoDB reminder table merely
100
+ because clustering uses MongoDB: that provider is a 9.x binary, and on the
101
+ 10.x runtime it made the reminder service stop responding in these hosts. Hosts that build their own silo choose separately; the
102
+ Chronicle kernel uses MongoDB reminders with MongoDB storage and in-memory
103
+ reminders with in-memory storage.
100
104
  - `AddCratisOrleans` enables activity propagation itself. If a host keeps an
101
105
  explicit `AddActivityPropagation()` call, it must be **before**, never after,
102
106
  `AddCratisOrleans`, to avoid duplicate Orleans propagation filters/spans.
@@ -92,10 +92,14 @@ app.Run();
92
92
  - Give grain implementations a unique `[GrainType("unique-name")]`. Orleans'
93
93
  default type name derives from the class name alone; a collision across
94
94
  assemblies prevents silo startup.
95
- - Reminders deliberately use Orleans' in-memory service in both clustering
96
- modes; they do not survive a full restart. Jobs rehydrate from durable jobs
97
- storage and do not use reminders. Do not switch to the incompatible MongoDB
98
- reminder table merely because clustering uses MongoDB.
95
+ - Silos configured by `AddCratisOrleans` deliberately use Orleans' in-memory
96
+ reminder service in both clustering modes; their reminders do not survive a
97
+ full restart. Jobs rehydrate from durable jobs storage and do not use
98
+ reminders. Do not point such a silo at the MongoDB reminder table merely
99
+ because clustering uses MongoDB: that provider is a 9.x binary, and on the
100
+ 10.x runtime it made the reminder service stop responding in these hosts. Hosts that build their own silo choose separately; the
101
+ Chronicle kernel uses MongoDB reminders with MongoDB storage and in-memory
102
+ reminders with in-memory storage.
99
103
  - `AddCratisOrleans` enables activity propagation itself. If a host keeps an
100
104
  explicit `AddActivityPropagation()` call, it must be **before**, never after,
101
105
  `AddCratisOrleans`, to avoid duplicate Orleans propagation filters/spans.
@@ -7,7 +7,7 @@
7
7
 
8
8
  - Retention window and rejection specifications
9
9
  - Missing-offset input rejection
10
- - Clock operands and calendars (parsed, not runnable)
10
+ - Clock operands and calendars (ESM v37)
11
11
 
12
12
  Requires Screenplay 4.199.0 (ESM v26; `screenplay --version`); older binders refuse date comparisons with PLAY0268. Upgrade the compiler without weakening the rule.
13
13
 
@@ -36,9 +36,10 @@ pass validation rules other than `not empty`; optional condition operands refuse
36
36
  A .NET host that executes commands itself can reuse the reference evaluator's date semantics (Requires Screenplay 4.203.0): see [date comparison checks](https://github.com/Cratis/Screenplay/blob/main/Documentation/screenplay/date-comparison-checks.md) for `SemanticDateComparisons` and `SemanticConditionEvaluator`.
37
37
 
38
38
  PLAY0268 still refuses mixed Date/DateTime, `$context` operands (including
39
- `$context.occurred`), `today`, protected read paths, date rules on concepts and
39
+ `$context.occurred`), protected read paths, date rules on concepts and
40
40
  reaction `where`. A refused whole comparison reports only PLAY0268, without
41
- validating its literals. A `given clock` does not admit `today` or now.
41
+ validating its literals. `today` and `now` are clock operands, admitted from v37 (see
42
+ [Clock operands and calendars](#clock-operands-and-calendars-esm-v37)).
42
43
  Requires Stage 4.135.0 for v26 admission; older Stage refuses v26 with STAGE-ESM-016.
43
44
  The semantic Host and specification executor run the comparisons, including through
44
45
  concepts, and reject an offset-less DateTime input after authorization and before any
@@ -113,17 +114,75 @@ that invalid value refuses binding with PLAY0273; `then error` does not turn it
113
114
  into an executed runtime rejection. Record the target test separately, not as a
114
115
  passing `.play` specification or a `given clock` workaround.
115
116
 
116
- ## Clock operands and calendars (parsed, not runnable)
117
+ ## Clock operands and calendars (ESM v37)
117
118
 
118
- Both compilers parse these forms, but executable binding refuses each with PLAY0268 and
119
- none selects an ESM version. Do not author them into an executable model:
119
+ Requires Screenplay 5.5.0 (ESM v37; `screenplay --version`); an older binder refuses these
120
+ forms with PLAY0268. A model that uses any of them selects v37 (decisions 0106, 0107, 0132):
120
121
 
121
122
  - application root: `time zone "<id>"` or `time zone configurable default "<id>"`;
122
- - command: `calendar "<id>"` or `calendar from $context.<member>`;
123
+ - application root: a `context` block of named `<member> time zone` members;
124
+ - command: `calendar "<id>"`, `calendar from $context.timeZone` or `calendar from $context.<member>`;
123
125
  - specification: `given time zone "<id>"`;
124
- - condition operands: clock offsets such as `today - 7 days` and `now + 2 hours`, and
125
- `date of occurred` or `date of now`.
126
+ - condition operands: offsets such as `today - 7 days`, `now + 2 hours` and `now - 30 minutes`,
127
+ and `date of occurred` or `date of now`.
128
+
129
+ Admitted positions: command `validate`/`require` conditions, `produces when`, and the right
130
+ operand of a `validate` comparison rule on a `Date` or `DateTime` property. The other side is a
131
+ required scalar command property of the same primitive: `today` and `date of ...` are dates,
132
+ `now` is an instant. A `today` offset is whole days; use `now` for hours or minutes.
133
+ PLAY0268 still refuses a clock operand in a concept, reaction or screen, a clock compared with
134
+ another clock, and a `today` offset in hours or minutes. A bare `today` or `now` is a clock
135
+ operand unless a command property of that name shadows it, in which case it stays an ordinary
136
+ property path. PLAY0812-PLAY0814 report a repeated or malformed time zone, command calendar
137
+ and specification time zone; PLAY0852 an id that is not a known IANA zone (no UTC fallback);
138
+ PLAY0853 a calendar member that is neither `timeZone` nor declared; PLAY0854-PLAY0857 a
139
+ malformed `context` block, member type, repeated name or reserved name.
140
+
141
+ A command evaluates its clock in its calendar; without one, the application zone applies and an
142
+ application without a declared zone uses UTC, never the machine's zone. Use canonical,
143
+ exact-case IANA ids. A declared member is a calendar source only; it adds no `$context` value.
144
+ The host supplies each member's zone at run time and a specification supplies it with
145
+ `given time zone`; a missing, empty or unknown zone fails the command instead of falling back
146
+ to UTC. `given clock` fixes the instant, and a command a reaction invokes is evaluated in the
147
+ scenario zone too.
126
148
 
127
- Bare `today` and `now` stay ordinary property paths. PLAY0812, PLAY0813 and PLAY0814 report
128
- a repeated or malformed time zone, command calendar and specification time zone.
129
- Requires Screenplay 4.242.0 (`screenplay --version`) to parse them.
149
+ ```screenplay
150
+ time zone configurable default "Europe/Oslo"
151
+ context
152
+ businessTimeZone time zone
153
+ module Clocks
154
+ feature Scheduling
155
+ slice StateChange Schedule
156
+ command ScheduleAppointment
157
+ appointmentId String identifier
158
+ occurred DateTime
159
+ calendar from $context.timeZone
160
+ produces when date of occurred <= date of now + 2 hours
161
+ AppointmentScheduled
162
+ for appointmentId
163
+ event AppointmentScheduled
164
+ screen ScheduleAppointment
165
+ action ScheduleAppointment for screen
166
+ specification InOslo
167
+ given time zone "Europe/Oslo"
168
+ given clock "2025-03-01T10:00:00Z"
169
+ when ScheduleAppointment
170
+ appointmentId = "a"
171
+ occurred = "2025-03-01T11:00:00Z"
172
+ then AppointmentScheduled
173
+ for "a"
174
+ ```
175
+
176
+ This adapts Screenplay's executable `Documentation/screenplay/fixtures/clock-preview.play`.
177
+ Extract and run it like the example above.
178
+
179
+ Executing command conditions that read the clock is not clock-trigger realization or rendering.
180
+ Stage admits the 37.0 pair with member scanning and refuses the clock per scope with
181
+ `STAGE-ESM-016`: its sandbox refuses each command that uses a calendar or clock operand and
182
+ each specification in a slice with a clock member (other commands run); an application time
183
+ zone or context member refuses every specification; and the renderer refuses the model. See
184
+ Stage `Documentation/reference/esm-feature-matrix.md`. Reaction `every`/`at` clock triggers are
185
+ a separate construct: the reference runner fires them for `when clock`, while Stage's live
186
+ Host and rendered applications refuse them. Preserve the rule and route delivery to
187
+ authorized gap-fill; see toolchain
188
+ [language admission](../../cratis-screenplay-toolchain/references/language-admission.md).
@@ -320,7 +320,7 @@ See read-surface `references/named-keys.md` for the collection-key exclusion alg
320
320
  | Protected command reads (ESM v25) | Root `command reads protected`; eligible read paths in requirements and production mappings, absence Validation, concurrent matching facts Conflict; Stage admits v25 and, in a new enough bundle, renders protected reads as Arc read protection, refusing unpreservable shapes and every older bundle with STAGE-ESM-044; semantic Host/executor execute admitted reads with non-Error protected requirements refused STAGE-ESM-045 |
321
321
  | Chronological command dates (ESM v26) | Same-primitive Date/DateTime `==`, `!=`, `>`, `>=`, `<`, `<=` in require/produces-when (property or literal RHS) and command/property rules (literal RHS only). DateTime uses UTC ticks, participating offset-less inputs reject Validation before rules; then matching stays ordinal. Older binders refuse PLAY0268. The Stage Host and executor run v26 (older Stage refuses STAGE-ESM-016); the renderer and legacy engines refuse STAGE-ESM-046 (toolchain `language-admission.md`). Read command-surface `references/date-comparisons.md`. |
322
322
  | Current routing and actor admission | Sources/streams and command/specification routes bind and reference-execute as v8; reaction `runs as system role` supplies the invocation actor as v10. Whole-workspace binding determines executable availability; CLI/Stage realization remains separate |
323
- | Blocks binding (`PLAY0268`) | enum/identity compliance and events combining personal or explicitly subject-scoped secret values with explicit subject marks; a compiler that stops before v13 refuses all `pii`/`secret` concepts ("compliance attributes require portable data-subject semantics"), while v13 binds them and Stage renders protection; bare `rule <Name>`, read paths without protected opt-in or in unsupported positions such as `produces when`, date comparisons with mixed primitives, optional condition operands, `$context`, protected read paths or `today`, date rules on concepts or reaction `where`, `$context.tenant`/claims/roles/causation in `produces`, `$env` conditions, `file` constraints, unquoted `import` of an external contract, a read model with neither explicit `key` nor unambiguous query-based identity as described above (several key marks bind as v27; older binders refuse PLAY0268; toolchain `language-admission.md`), queries with context `from` sources (typed query context is unadmitted), single-result filters (collections only), `scoped to` (opaque scope) or a `by` block on a list query or non-optional single result (a `performer` query is not refused: it is an opaque read, PLAY0270, left out of the executable model; [version gate](../../cratis-screenplay-toolchain/references/executable-subset.md#code-attachments-what-binds-what-never-does)); optional keyed and collection queries, including caller-supplied equality filters and observable delivery, bind, `$causedBy` and templates in projections |
323
+ | Blocks binding (`PLAY0268`) | enum/identity compliance and events combining personal or explicitly subject-scoped secret values with explicit subject marks; a compiler that stops before v13 refuses all `pii`/`secret` concepts ("compliance attributes require portable data-subject semantics"), while v13 binds them and Stage renders protection; bare `rule <Name>`, read paths without protected opt-in or in unsupported positions such as `produces when`, date comparisons with mixed primitives, optional condition operands, `$context`, or protected read paths (clock operands such as `today` bind in command conditions from v37), date rules on concepts or reaction `where`, `$context.tenant`/claims/roles/causation in `produces`, `$env` conditions, `file` constraints, unquoted `import` of an external contract, a read model with neither explicit `key` nor unambiguous query-based identity as described above (several key marks bind as v27; older binders refuse PLAY0268; toolchain `language-admission.md`), queries with context `from` sources (typed query context is unadmitted), single-result filters (collections only), `scoped to` (opaque scope) or a `by` block on a list query or non-optional single result (a `performer` query is not refused: it is an opaque read, PLAY0270, left out of the executable model; [version gate](../../cratis-screenplay-toolchain/references/executable-subset.md#code-attachments-what-binds-what-never-does)); optional keyed and collection queries, including caller-supplied equality filters and observable delivery, bind, `$causedBy` and templates in projections |
324
324
  | Blocks binding (`PLAY0800`) | Attached file/inline command `handler` with no unconditional `produces`, with `produces ... when`, or with an unresolved body. Beside unconditional `produces` with a resolved body it binds as the v23 result contract, and pending described intent also binds v23 (command-surface `references/described-handlers.md` has the compiler gate). Read required typed `arguments.subject` for the command, never parse the message. Compiler prerequisite and older PLAY0268 attribution: [diagnostic arguments](../../cratis-screenplay-toolchain/references/diagnostic-arguments.md) |
325
325
  | Blocks binding (`PLAY0271`, legacy meaning) | Command reads without protected opt-in and `concurrency`; combined protected reads/concurrency is PLAY0783 |
326
326
  | Deferred by default (`PLAY0269`, information; screens admitted on request as ESM v42 with `--screens`) | Screens, layouts, templates, forms, contributions, UI profiles, themes, behaviors and `on`/`uses` |
@@ -79,9 +79,10 @@ the deliverable; see "Runnability" in [fidelity-check.md](fidelity-check.md)).
79
79
  use it. Spec the boundary both exactly equal and one below. Date and DateTime values compare
80
80
  in command rules on a Screenplay release with Date/DateTime comparisons
81
81
  (`cratis-screenplay-command-surface`). Calendar and clock forms (`today - 7 days`,
82
- `date of occurred`, `time zone`) parse but are not runnable: never write them into an
83
- executable model. A today-relative query (overdue, due today, dormant) cannot be a declarative
84
- filter: query filters admit only caller-supplied equality, and clock operands are syntax only.
82
+ `date of occurred`, `time zone`) bind from ESM v37 (Screenplay 5.5.0), but only in command
83
+ conditions; see command-surface `references/date-comparisons.md`. A today-relative query
84
+ (overdue, due today, dormant) cannot be a declarative filter: query filters admit only
85
+ caller-supplied equality, and a clock operand there is PLAY0268.
85
86
  Do not leave such a rule as a comment. A comment expresses nothing, and Stage cannot serve it.
86
87
  Give the query a `performer` body (`cratis-screenplay-read-surface`, "Performer bodies are
87
88
  rendered") that applies the probed threshold, the inclusive or exclusive edge and the excluded
@@ -137,7 +137,7 @@ Rules the binder enforces:
137
137
  - **`then result` and `then no result` need `when query`**, and `when query`
138
138
  needs one of them, `then denied` or a sole validation `then error` (`PLAY0465`). Each argument is a `by` or
139
139
  `filter` parameter of the query (`PLAY0468`).
140
- - **A clock instant is ISO 8601 with an offset or `Z`** (PLAY0461); one `given clock` maximum. `given time zone` is not runnable: read `references/vocabulary.md`.
140
+ - **A clock instant is ISO 8601 with an offset or `Z`** (PLAY0461); one `given clock` maximum. `given time zone` is admitted from ESM v37: read `references/vocabulary.md`.
141
141
  - **`then` contains either events or an error — never both.** A rejection
142
142
  specification has exactly one rejection and no success outcome.
143
143
  - **`then denied` stands alone**: not with events, errors or state assertions
@@ -77,6 +77,10 @@ model must bind on older versions.
77
77
 
78
78
  ## Time zones
79
79
 
80
- - `given time zone "<id>"` is parsed, not runnable. Executable binding refuses it with
81
- `PLAY0268`; a repeated or malformed line is `PLAY0814`. Do not author it into an
82
- executable model.
80
+ - `given time zone "<id>"` binds and runs from ESM v37 (Screenplay 5.5.0; an older binder
81
+ refuses it with `PLAY0268`). It supplies the scenario zone to the command's calendar, to
82
+ clock operands and to a command a reaction invokes; a `calendar from $context.<member>` command
83
+ fails without it. A repeated or malformed line is `PLAY0814`, an unknown IANA id `PLAY0852`. Pair it
84
+ with `given clock`. Stage's sandbox refuses specifications in a slice that uses the clock, and every
85
+ specification when the model declares an application zone or context member
86
+ (`STAGE-ESM-016`), so these specifications run on the standalone tool. See command-surface `references/date-comparisons.md`.
@@ -13,7 +13,7 @@
13
13
  - Chronological command date comparisons (ESM v26)
14
14
  - Flat composite read-model keys (ESM v27)
15
15
  - Uuid equality in command conditions (ESM v28)
16
- - Parsed, not runnable: clocks, calendars and time zones
16
+ - Clocks, calendars and time zones (ESM v37)
17
17
  - Code attachments (what binds, what never does)
18
18
  - Refused (code, reason): fix, or record as a mode gap
19
19
  - Not refused, but do not rely on it
@@ -315,15 +315,21 @@ binding and reference execution. Read command-surface
315
315
  [Uuid equality](../../cratis-screenplay-command-surface/references/uuid-equality.md) for the
316
316
  complete example.
317
317
 
318
- ## Parsed, not runnable: clocks, calendars and time zones
319
-
320
- Application-root `time zone` / `time zone configurable default`, command `calendar` /
321
- `calendar from $context.<member>`, specification `given time zone`, and the condition
322
- operands `today - 7 days`, `now + 2 hours`, `date of occurred` and `date of now` parse and
323
- print, but executable binding refuses them with PLAY0268 and they select no ESM version.
324
- Do not author them into executable models. PLAY0812, PLAY0813 and PLAY0814 are the
325
- syntax diagnostics (Requires Screenplay 4.242.0; `screenplay --version`). Bare `today` and
326
- `now` remain ordinary paths. Detail: command-surface `references/date-comparisons.md`.
318
+ ## Clocks, calendars and time zones (ESM v37)
319
+
320
+ Requires Screenplay 5.5.0 (`screenplay --version`); older binders refuse them with PLAY0268.
321
+ Application-root `time zone` / `time zone configurable default` and `context` time-zone
322
+ members, command `calendar` / `calendar from $context.<member>`, specification
323
+ `given time zone`, and the condition operands `today - 7 days`, `now + 2 hours`,
324
+ `date of occurred` and `date of now` bind and execute in the reference evaluator, selecting
325
+ ESM v37. They are admitted in command `validate`/`require`, `produces when` and `validate`
326
+ comparison rules; a clock operand in a concept, reaction or screen is PLAY0268. A bare `today`
327
+ or `now` is a clock operand unless a command property of that name shadows it. Consumers must
328
+ admit v37 and evaluate the clock in the stated zone, or refuse the model. Stage admits 37.0 but
329
+ refuses clock members per scope (`STAGE-ESM-016`: the commands and specifications that use
330
+ them; every specification when an application zone or context member exists; the renderer
331
+ refuses the model), so execution here is not rendering or clock-trigger realization. Detail: command-surface
332
+ `references/date-comparisons.md`; admission: [language admission](language-admission.md).
327
333
 
328
334
  ## Code attachments (what binds, what never does)
329
335
 
@@ -403,7 +409,7 @@ standalone single-event reaction body (Requires Screenplay 4.258.0; see
403
409
  | `query` with a `by` block over a list, or `by ... from` context-derived arguments | PLAY0268 | a `by` block binds only on an optional single-instance query (v27). An optional scalar snapshot lookup, an unfiltered list (`RM[]`) and a list narrowed by one caller-supplied `by` key bind, in their `observable` form too |
404
410
  | Context `from`, single-result filters, `scoped to` | PLAY0268 | Typed query context, filtering of single results and opaque scope remain unadmitted; a `performer` query is not refused (PLAY0270 information, left out of the executable model); each refusal names its reason. Caller-supplied collection equality filters bind as v14. `observable` goes in the return position (`=> observable RM[]`); as a body line it is PLAY0048 |
405
411
  | `contains` or `starts with` in conditions only | PLAY0268 | conditions admit scalar equality (Uuid from v28) and numeric ordering, plus same-primitive command date comparisons from v26; property/concept text rules bind as v24 |
406
- | Date comparisons with mixed primitives, `$context` (including occurred), `today`, protected read paths, optional condition operands, concept rules or reaction `where` | PLAY0268 | v26 admits only command conditions and command/property literal validation rules |
412
+ | Date comparisons with mixed primitives, `$context` (including occurred), protected read paths, optional condition operands, concept rules or reaction `where`; clock operands outside command conditions and `validate` comparison rules, clock against clock, a `today` offset in hours or minutes | PLAY0268 | v26 admits only command conditions and command/property literal validation rules; v37 adds the clock operands there |
407
413
  | Rule on a nested path (`lines.qty all > 0`) | PLAY0268 | put the rule on the nested value's concept |
408
414
  | Read paths without protected opt-in, or in `produces when` | PLAY0268 | v25 admits single-level paths only in `require` and produced-event mappings; a Uuid read path compared with `==`/`!=` follows the same positions |
409
415
  | Uuid comparison with `<`, `>`, different concepts, optional operands, a validation rule or a concept rule | PLAY0268 | v28 admits `==`/`!=` in command conditions only, between the same concept or a bare Uuid and a concept |
@@ -34,6 +34,7 @@ exact language/semantic pairs; binding, reference execution and rendering are se
34
34
  | v34 | A specification `then invokes <Command>` (decision 0115; PLAY0815/PLAY0816) | Writes `thenInvocations` only when present. When one is stated, the slice's recorded invocations must match in count and order, comparing only stated values; a refused invocation counts | Stage spec runner compares it; the Cratis renderer refuses models after v33 with `STAGE-ESM-016` |
35
35
  | v35 | Reserved for handler result contract v2 (decision 0119); no construct selects it | | |
36
36
  | v36 | `statemachine` and `workflow` declarations (decision 0124; PLAY0834-PLAY0851) | Serializes `stateMachines` and `workflows`; specifications run them; earlier models keep their version and bytes | Stage refuses v36 models with `STAGE-ESM-016` |
37
+ | v37 | Application `time zone` and `context` time-zone members, a command `calendar`, a specification `given time zone`, and clock operands (`today`, `now`, `date of ...` with offsets) in command conditions (decisions 0106, 0107, 0132; PLAY0812-PLAY0814, PLAY0852-PLAY0857) | Serializes the calendars, zones and clock operands; the reference evaluator runs them, with no UTC fallback for a missing or unknown zone; earlier models keep their version and bytes | Stage admits 37.0 with member scanning and refuses clock members per scope with `STAGE-ESM-016`: its sandbox refuses each command with a calendar or clock operand and each specification in a slice with a clock member, every specification when an application zone or context member exists, and the renderer refuses the model (Stage `Documentation/reference/esm-feature-matrix.md`). A consumer must admit the exact 37.0 pair itself. Executing clock conditions is not clock-trigger realization: `every`/`at` triggers stay refused by Stage's Host and rendered applications. Typed-context contract revision: Screenplay writes 1 normally, 2 when a descriptor reads `$context.timeZone` (TimeZone token), 3 when a declared application context member is read, and 4 for provided values (v53); Studio admits only revision 1 and refuses the others with `UnsupportedTypedContextContractRevision`, so such models are not Studio-admitted |
37
38
  | v42 | Screens admitted on request with `screenplay export --screens` (decision 0149) | Adds optional `screens` to each slice (data, actions, navigation, layout); screens are not a version selector by default and earlier models keep their bytes | Admission by Stage is separate; screens are not evidence a target renders them |
38
39
  | v43 | `set once` or a `children` ordering line (PLAY0956-PLAY0963) | Serializes the `setOnce` operation and `ordering`; earlier models keep their version and bytes | Admission by Stage is separate; a refusal means the model is not renderable yet |
39
40
  | v53 | `audience`, `availability` and `available` gates (decision 0162; PLAY1130-PLAY1141) | Serializes the gates; specifications and the reference evaluator treat every gate as available and report opaque `provide` sources as unsupported; earlier models keep their version and bytes | Admission by Stage is separate: a refusal such as `STAGE-ESM-016` means the model is not renderable yet, never a reason to drop the gate. See `../../cratis-screenplay-availability/SKILL.md` |
@@ -74,6 +75,8 @@ Requires Screenplay 6.26.0 (ESM v53; `screenplay --version`) for audiences, avai
74
75
 
75
76
  Requires Screenplay 6.29.0 (ESM v54; `screenplay --version`) for graph query `collect`; older compilers do not admit it.
76
77
 
78
+ Requires Screenplay 5.5.0 (ESM v37; `screenplay --version`) for clock operands, calendars and time zones; older binders report PLAY0268.
79
+
77
80
  Current renderer versus semantic-execution support is owned by
78
81
  [Stage target boundaries](../../cratis-stage-rendering-and-sandbox/references/current-boundaries.md),
79
82
  at the product inventory's reviewed baseline; the CLI still applies its independent version gate.
@@ -109,7 +112,7 @@ seven-fractional-digit tick precision. Participating DateTime inputs without an
109
112
  offset or `Z` reject with Validation before any rule, even if a comparison is skipped.
110
113
  `then` matching, keys, constraints and freshness remain ordinal. PLAY0268 retains
111
114
  mixed Date/DateTime, optional condition operands, `$context` (including occurred),
112
- `today`, protected read paths, concept date rules and reaction `where`. In admitted
115
+ protected read paths, concept date rules and reaction `where`. In admitted
113
116
  positions, invalid date literals or offset-less DateTime literals use PLAY0273.
114
117
  Read [date comparisons](../../cratis-screenplay-command-surface/references/date-comparisons.md)
115
118
  for the complete interval example and input/target boundaries.
@@ -128,8 +131,10 @@ the model with the `screenplay` MCP server and call `read-workspace` with `view`
128
131
 
129
132
  ## Stage admission and execution
130
133
 
131
- Stage's reviewed semantic engines admit matched 1.0–30.0 and 32.0 pairs, not
132
- 31.0, mixed or unknown pairs (STAGE-ESM-016). CLI v3.100.0 render checks only the
134
+ The reviewed Stage baseline's semantic engines admit matched 1.0–30.0
135
+ and 32.0 pairs, not 31.0, mixed or unknown pairs (STAGE-ESM-016). Current Stage
136
+ also admits 37.0 with per-scope clock refusals (see the v37 row); check the
137
+ target's own admission rather than assuming this baseline. CLI v3.100.0 render checks only the
133
138
  semantic version and admits through v30; bundled Stage 4.196.0 then applies
134
139
  matched-pair and construct gates. V32 needs a direct caller of the reviewed Stage
135
140
  baseline in [current target boundaries](../../cratis-stage-rendering-and-sandbox/references/current-boundaries.md#version-admission).
@@ -3,7 +3,7 @@
3
3
  Compiler syntax: `cheat-sheet.md`. Negative capability claims depend on the tool you ran; name it in every verdict.
4
4
 
5
5
  1. Clean V1 is not executable: binding errors appear through MCP (V2), `render` or `cratis screenplay validate --executable` (bundled compiler, writes nothing). Neither `screenplay <folder>` nor plain `cratis screenplay validate` binds.
6
- 2. The Screenplay samples validate clean but are not all executable; copying their idioms (context-filtered queries, enum/identity compliance, `today`, `reads`, `$causedBy`, templates) can block V3. Caller-supplied collection equality filters bind; read read-surface `references/equality-filters.md`.
6
+ 2. The Screenplay samples validate clean but are not all executable; copying their idioms (context-filtered queries, enum/identity compliance, `today` outside command conditions, `reads`, `$causedBy`, templates) can block V3. Caller-supplied collection equality filters bind; read read-surface `references/equality-filters.md`.
7
7
  3. Know the target mode (design/executable/renderable) before writing; state it.
8
8
  4. Plain `produces` without `for` means allocation in the ESM but "the identifier" in rendered code. Always write `for <identifier>` on a plain `produces <Name>`; inline `produces event <Name>` omits `for` and defaults to the identifier (PLAY0478).
9
9
  5. PLAY0029 is a warning: a misspelled keyword (or `type` inside a slice) drops the construct silently. Use `--warnings-as-errors`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.164.3",
3
+ "version": "7.165.0",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [