@cratis/pi 7.52.1 → 7.53.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.
@@ -76,7 +76,7 @@ cratis screenplay generate <solution|project|folder> \
76
76
  ## Coverage (what a provider reads)
77
77
  | Provider | Reads | Does not read |
78
78
  |---|---|---|
79
- | Arc | commands, events, concepts, read models, projections, reducers, reactors, constraints, declarative FluentValidation rules, authorization policies, `produces` from constants and input paths, Chronicle integration specs as given/when/then, `.tsx` beside a slice as `screen`: `file`, `data … via query`, `title`, `table`/`column`, `action` and `toolbar actions`, read from Cratis Components only, plus `navigate to` from literal react-router gestures (see Navigation below) | handler bodies, rules written in code, computed messages (`SP0016`), screen `section`, `summary` and `layout`, other navigation (unread properties are `SP0028`; same-screen details, `useDialog` and enablement are `SP0077`), captures, personas, seeds, `secret` on older Arc (see Compliance recovery). A rule held to `When`/`Unless` is written down as if unconditional and `SP0016` names the condition: read the diagnostic, do not trust the declaration |
79
+ | Arc | commands, events, concepts, read models, projections, reducers, reactors, constraints, declarative FluentValidation rules, authorization policies, `produces` from constants and input paths, Chronicle integration specs as given/when/then (with `then denied` from a proven `ShouldNotBeAuthorized()`; see below), `.tsx` beside a slice as `screen`: `file`, `data … via query`, `title`, `table`/`column`, `action` and `toolbar actions`, read from Cratis Components only, plus `navigate to` from literal react-router gestures (see Navigation below) | handler bodies, rules written in code, computed messages (`SP0016`), screen `section`, `summary` and `layout`, other navigation (unread properties are `SP0028`; same-screen details, `useDialog` and enablement are `SP0077`), captures, personas, seeds, `secret` on older Arc (see Compliance recovery). A rule held to `When`/`Unless` is written down as if unconditional and `SP0016` names the condition: read the diagnostic, do not trust the declaration |
80
80
  | Marten / Critter Stack (preview; an independent optional adapter built on the neutral Screenplay.Generation SDK, not affiliated with JasperFx: review every `GEN`/`MARTEN`/`WOLVERINE` diagnostic by hand) | aggregates, snapshots, HTTP and message handlers, document operations, queries, outgoing and delayed messages, saga facts | saga lifecycle, policies, middleware bodies, runtime tenancy, upcasting; unbounded extension code is reported by presence only |
81
81
  | any non-.NET stack | nothing | use Prologue and targeted reads |
82
82
 
@@ -95,6 +95,12 @@ The Arc provider reads route tables from TSX files that import `Route`, `Routes`
95
95
 
96
96
  Requires Arc.Screenplay 22.96.0 or later for navigation from route tables; older releases write no `navigate to` and report an unread success callback as `SP0028`.
97
97
 
98
+ ### Denial specifications
99
+
100
+ An unconditional `result.ShouldNotBeAuthorized()` on a scenario's command result becomes `then denied` only when the command has an emitted `authorize` gate with exactly recovered roles or policies (or the standard authentication-only gate), the scenario has an exactly recovered `given caller`, the generator's reference-runner probe denies that caller, and no other outcome is asserted (`ShouldNotBeSuccessful()` may accompany it). No `then no events` is written beside it. Otherwise the scenario is withheld and `SP0039` names why: caller or policy not recovered exactly, the caller satisfies the authorization, the denial cannot be decided from the caller, denial combined with another outcome, no stated policy explains it, or the command's own code can return a denial.
101
+
102
+ Requires Arc.Screenplay 22.98.0 or later for `then denied`; older releases withhold every denial specification with `SP0039`.
103
+
98
104
  ## Diagnostics are the loss list
99
105
  - Families: `SP####` (Arc), `MARTEN####`, `WOLVERINE####`, `VOG####`, `GEN####`,
100
106
  `DOTNETSP####` (placement), `CLI####` (host). Each one is an evidence row or a loss-report
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.52.1",
3
+ "version": "7.53.0",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [