@cratis/pi 7.39.0 → 7.40.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.
- package/package/corpus/product-sync.json +8 -8
- package/package/corpus/skills/cratis-chronicle-reactor/SKILL.md +2 -2
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +3 -1
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/audit-format.md +1 -1
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/public-events-and-direction.md +1 -1
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +12 -7
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +3 -1
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +5 -4
- package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +12 -2
- package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +9 -8
- package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +10 -6
- package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +2 -2
- package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +13 -13
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +2 -2
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +4 -4
- package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +3 -3
- package/package/corpus/skills/cratis-screenplay-model-review/references/anti-patterns.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +1 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +2 -2
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/phases.md +1 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +5 -3
- package/package/corpus/skills/cratis-screenplay-read-surface/references/equality-filters.md +8 -11
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +20 -16
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/delivery-protocol.md +1 -1
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md +4 -3
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +8 -8
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +2 -2
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +4 -4
- package/package/corpus/skills/cratis-screenplay-slice-design/references/field-lineage.md +1 -1
- package/package/corpus/skills/cratis-screenplay-specifications/references/generated-fixtures.md +3 -3
- package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +5 -4
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +2 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +2 -2
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +12 -11
- package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet-example.md +2 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +3 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/doc-contradictions.md +2 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +18 -18
- package/package/corpus/skills/cratis-screenplay-toolchain/references/production-routes-and-filters.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +33 -30
- package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +3 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +2 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +3 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +35 -39
- package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +7 -2
- package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +6 -7
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +4 -3
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/worked-flow.md +3 -2
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +32 -32
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +57 -25
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/rendered-application.md +17 -20
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +18 -14
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/scene-runtime.md +4 -3
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +2 -2
- package/package.json +1 -1
|
@@ -23,10 +23,11 @@ rule is in `cratis-screenplay-modeling-lifecycle` ("Decide the level first"); it
|
|
|
23
23
|
## Verified product sources
|
|
24
24
|
|
|
25
25
|
Version pins live once in `cratis-screenplay-toolchain` `references/versions.md`; read it before
|
|
26
|
-
selecting the compiler and renderer for delivery: the CLI bundles its own Screenplay and Stage
|
|
27
|
-
|
|
26
|
+
selecting the compiler and renderer for delivery: the CLI bundles its own Screenplay and Stage;
|
|
27
|
+
its compiler version differs from the standalone pin. Render options (`--scope`,
|
|
28
28
|
`--check`, `--package-set`) and exit codes were read at cli `v3.53.1` `Documentation/reference/screenplay.md`
|
|
29
|
-
and `cratis render --help`; admission at Stage `v4.
|
|
29
|
+
and `cratis render --help`; admission at Stage `v4.83.0` (`SemanticVersionFeatures.cs:100`,
|
|
30
|
+
`SemanticVersionFeatureAdmission.cs:25-45`, `SemanticCratisAdmission.Automation.cs:15-123`). Stage's scaffold pins Arc and
|
|
30
31
|
Chronicle releases, which are not the latest (`cratis-stage-rendering-and-sandbox`
|
|
31
32
|
`references/rendered-application.md`). Source reading is not a new render run.
|
|
32
33
|
|
|
@@ -70,17 +71,19 @@ assume an answer to 4, and record it as `blocked` for the user.
|
|
|
70
71
|
| **B. Generated base plus authorized gap-fill** | an admitted render (whole, or a `--scope` of the admitted slices) exists and the user separately authorized hand-written scope, or a seam the model names needs an adapter | the generated output stays managed and untouched; hand-written code lives in `Customizations/` or a separate project (seam adapters by this skill, business gap-fill by `slice-implementer`), serves named model elements only, never claims render admission, and V5 is reported for the generated base **with its scope stated** |
|
|
71
72
|
| **C. Fully hand-written delivery** | the scope cannot render and no generated base is wanted | `slice-implementer` delivers it with the model as the contract (`references/gap-fill-handoff.md`); V5 is `not run: no render` |
|
|
72
73
|
|
|
73
|
-
Evolved events are gap-fill too: Stage still refuses (4.
|
|
74
|
+
Evolved events are gap-fill too: Stage still refuses (4.83.0) any evolved event and its dependent scope with `STAGE-ESM-026`, because it cannot render Chronicle event-type migrations yet (Stage#204). Events at their initial revision still render. Hand-write the evolved events and their migrations per `cratis-chronicle-event-type-migration`, with the model as the contract.
|
|
74
75
|
|
|
75
|
-
Generated
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
Generated UUID-concept values and scalar/named `returns` responses (ESM v7), including
|
|
77
|
+
fixtures and `then returns`, now render with CLI 3.56.0 / Stage 4.83.0. Unsupported generated
|
|
78
|
+
types (`STAGE-ESM-028`) and result combinations (`-038`) still require case A or C:
|
|
79
|
+
preserve the model and its specifications. See Stage's `references/admission.md`.
|
|
80
|
+
Supported event-triggered Automation slices also render as managed Chronicle reactors;
|
|
81
|
+
refused reactions, captures and Translate slices remain gap-fill.
|
|
79
82
|
|
|
80
83
|
Models with event sources, streams or command routes bind and reference-execute as ESM v8 on the standalone
|
|
81
84
|
tool, so report V3 and V4 from that tool. The pinned CLI/Stage pair
|
|
82
85
|
(`cratis-screenplay-toolchain/references/versions.md`) reaches v8 route checks
|
|
83
|
-
and construct admission through
|
|
86
|
+
and construct admission through v13. Public publication,
|
|
84
87
|
foreign events/event captures and v10 reaction identity/filters/production overrides
|
|
85
88
|
still receive typed refusals; reducer filters render. Keep refused scope as case A/C,
|
|
86
89
|
never infer target support from binding. Read Stage's `references/admission.md` and
|
|
@@ -89,10 +92,11 @@ toolchain `references/sources-and-streams.md`.
|
|
|
89
92
|
**Mixed reaction effects.** A reaction that both `produces` events and `invokes` commands is refused by
|
|
90
93
|
Stage (`STAGE-ESM-037`, Stage#207) although Arc 22.72.0 and later run one reactor returning events
|
|
91
94
|
and commands (events appended first as one batch, then commands in order, no cross-effect
|
|
92
|
-
transaction; a retry can repeat the events
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
95
|
+
transaction; a retry can repeat the events). The scaffold now includes the mixed-result handler,
|
|
96
|
+
but Stage still refuses it because redelivery can duplicate events. `[OnceOnly]` excludes replay,
|
|
97
|
+
not retries. Keep the modeled reaction whole; gap-fill needs a proven retry-safe realization,
|
|
98
|
+
not splitting or dropping effects to get a render. Source: Stage
|
|
99
|
+
`v4.83.0:Documentation/reference/reaction-rendering.md:50-88`.
|
|
96
100
|
|
|
97
101
|
Two rules hold in every case: a customization never makes a rejected model renderable, and
|
|
98
102
|
a whole-application V5 is never claimed from a subset. `--scope` renders an admitted part (the whole
|
|
@@ -106,7 +110,7 @@ model still compiles and binds) and its V5 states the scope.
|
|
|
106
110
|
`--project-name`, `--root-namespace` and target `cratis`. Take V1 and V3 from
|
|
107
111
|
`cratis-screenplay-toolchain`; report each with tool and version. V3 from a different
|
|
108
112
|
compiler version does not prove the cratis-bundled binder admits the model (the bundle is
|
|
109
|
-
4.
|
|
113
|
+
4.145.1, the standalone tool 4.145.0). `cratis screenplay validate --executable <root>` binds with
|
|
110
114
|
the bundled compiler and writes nothing: use it as the bundled-binder check (toolchain `references/verdicts.md`).
|
|
111
115
|
2. **Probe.** `cratis render <model-root> --name <App> --destination <probe-dir> -o json`
|
|
112
116
|
(exit 0 published, 5 refused with nothing published, 1 missing input); add `--check` to plan
|
|
@@ -153,7 +157,7 @@ Adapters and non-renderable scope follow the contract rules of `cratis-applicati
|
|
|
153
157
|
(`cratis-application-slice-conformance` `references/build-prompts.md`).
|
|
154
158
|
- One ledger scope per `slice-implementer` brief; the brief carries addresses and paths, not contents.
|
|
155
159
|
- Model-enforced rules realized in code (state-dependent rules) need a protected read or
|
|
156
|
-
concurrency scope; never claim them from prose. Stage 4.
|
|
160
|
+
concurrency scope; never claim them from prose. Stage 4.83.0 rendered apps scaffold
|
|
157
161
|
the Arc/Chronicle set in `cratis-stage-rendering-and-sandbox` `references/rendered-application.md`; API availability alone is not verified enforcement.
|
|
158
162
|
- Adapters that call outside systems follow `cratis-engineering-effect-boundaries`; slice
|
|
159
163
|
specifications follow `cratis-application-slice-specifications`.
|
|
@@ -205,7 +209,7 @@ Before reporting done:
|
|
|
205
209
|
- Which specification forms Stage accepts: `cratis-screenplay-scenario-coverage`, `cratis-screenplay-specifications`.
|
|
206
210
|
- Verdict commands, subsets, versions: `cratis-screenplay-toolchain`.
|
|
207
211
|
- Renderer facts, publication recovery, sandbox: `cratis-stage-rendering-and-sandbox`.
|
|
208
|
-
-
|
|
212
|
+
- Refused automation or translation scope (the refused behavior is gap-fill): `cratis-screenplay-automations-and-translations`.
|
|
209
213
|
- Hand-written code against its contract: `cratis-application-slice-conformance`.
|
|
210
214
|
- Code review of delivered code: `cratis-code-review`.
|
|
211
215
|
|
package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/delivery-protocol.md
CHANGED
|
@@ -30,7 +30,7 @@ per tool call and read each result from its exit status, never from a grep of th
|
|
|
30
30
|
| --- | --- | --- |
|
|
31
31
|
| Admission and publication | `cratis render <root> --name <App> --destination <dir> [--project-name <P>] [--root-namespace <N>] -o json` (forward every option recorded in section 1) | exit 0 published (receipt on stdout), 5 refused (diagnostics, nothing published), 1 missing input |
|
|
32
32
|
| Drift or pending-change check | the same command plus `--check` (and `--scope`, `--force` as used) | no write, no recovery: exit 0 current, 6 `changes_pending`, 5 planning failure, refusal or pending recovery |
|
|
33
|
-
| Bundled-binder check | `cratis screenplay validate --executable <root>` | exit 5 with "does not bind into an executable semantic model" when it does not; never renders or writes. Uses the bundled compiler (CLI 3.
|
|
33
|
+
| Bundled-binder check | `cratis screenplay validate --executable <root>` | exit 5 with "does not bind into an executable semantic model" when it does not; never renders or writes. Uses the bundled compiler (CLI 3.56.0 = Screenplay 4.145.1), not standalone 4.145.0 |
|
|
34
34
|
| Debug build | `dotnet build <dir>/<Project>.csproj -c Debug` | the build's exit status |
|
|
35
35
|
| Debug tests | `dotnet test <dir>/<Project>.csproj -c Debug --no-build` | the test runner's exit status plus per-test results |
|
|
36
36
|
| List the generated classes | `dotnet test <dir>/<Project>.csproj -c Debug --no-build --list-tests` | the names to map to specifications |
|
package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md
CHANGED
|
@@ -74,8 +74,9 @@ are available to gap-fill, with projection/key admission and active enrollment),
|
|
|
74
74
|
a caller-supplied status is not enforcement.
|
|
75
75
|
|
|
76
76
|
## Automation and Translate scope
|
|
77
|
-
Stage
|
|
78
|
-
|
|
77
|
+
Stage 4.83.0 renders supported event-triggered Automation as Chronicle reactors.
|
|
78
|
+
Translate/captures and refused reactions are gap-fill against the slice and its specifications;
|
|
79
|
+
see Stage's `references/admission.md` for precise limits. The realization follows the actual construct and
|
|
79
80
|
trigger, not the slice label: a capture is an ingestion adapter, an event reaction (including a
|
|
80
81
|
translator reaction) is a reactor, a clock or application trigger is a scheduler or host signal. Where they are
|
|
81
82
|
registered depends on the case. Case B (a generated base exists, and the user authorized the
|
|
@@ -93,7 +94,7 @@ captures-and-reactions `references/invocation-identity.md`.
|
|
|
93
94
|
|
|
94
95
|
A reaction that both produces events and invokes commands keeps its single modeled form
|
|
95
96
|
(`STAGE-ESM-037` is Stage's refusal, not a model defect). Hand-write one reactor returning the events
|
|
96
|
-
and the commands: on Arc 22.72.0 or later (the
|
|
97
|
+
and the commands: on Arc 22.72.0 or later (the Stage 4.83.0 scaffold includes the handler, but mixed reactions remain refused because redelivery can duplicate events) the runtime appends the events first as one batch, then
|
|
97
98
|
runs the commands in order, with no transaction across the two effects; a failing command stops the
|
|
98
99
|
later ones but keeps the committed events, and a retry can append the events again, so make the
|
|
99
100
|
handler idempotent independently of `[OnceOnly]`, which excludes replay only, not recovery
|
package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md
CHANGED
|
@@ -7,16 +7,16 @@ The admitted subset itself (what Stage renders, member by member) is owned by
|
|
|
7
7
|
probe reports and choosing what to do. Do not copy the code table here.
|
|
8
8
|
|
|
9
9
|
## Pipeline that produces the codes
|
|
10
|
-
1. The CLI compiles and binds the **whole** model with its **bundled** Screenplay (4.
|
|
11
|
-
cratis 3.
|
|
10
|
+
1. The CLI compiles and binds the **whole** model with its **bundled** Screenplay (4.145.1 in
|
|
11
|
+
cratis 3.56.0, ESM up to v13 for rendering; older bundles bound less). Binding is never scoped:
|
|
12
12
|
any binding error blocks even a `--scope` render. Binding errors are `PLAY0268` (outside the admitted vertical), `PLAY0269`
|
|
13
13
|
(deferred), `PLAY0270` (report-only information), `PLAY0271` (legacy semantics) and `PLAY0273`
|
|
14
14
|
(a specification shape).
|
|
15
15
|
2. Execution planning builds the plan and can emit `PLAN-*` diagnostics before Stage runs.
|
|
16
16
|
3. Stage plans the target and admits or rejects each member: `STAGE-ESM-0xx`; profile and path
|
|
17
17
|
problems `STAGE-CRATIS-0xx`. An evolved event is reported with Stage's own `STAGE-ESM-026`
|
|
18
|
-
(still refused at Stage 4.
|
|
19
|
-
refuses each construct it does not render with its own code (`-024`, `-027` to `-
|
|
18
|
+
(still refused at Stage 4.83.0); the CLI adds nothing. Stage admits ESM v1 to v13 by version and
|
|
19
|
+
refuses each construct it does not render with its own code (see Stage's current code table, including `-024`, `-027`, `-028`, `-030` to `-040`).
|
|
20
20
|
4. Any error in the selected scope publishes nothing: the run ends with exit 5 and the diagnostics.
|
|
21
21
|
Without `--scope` the scope is the whole application. With `--scope`, `PLAN-*` problems in
|
|
22
22
|
unselected slices are warnings and `STAGE-ESM-*` refusals in unselected slices do not block;
|
|
@@ -30,7 +30,7 @@ ESM). Only the probe answers renderability. `PLAY0270` entries are information,
|
|
|
30
30
|
| Class | Meaning | Typical examples (each verified in `admission.md`) | Action |
|
|
31
31
|
| --- | --- | --- | --- |
|
|
32
32
|
| **Model fix (in mode)** | the model is in, or the user chose, renderable mode and breaks its own subset in a way that has a renderable equivalent with the same meaning | a `produces` whose `for` is not the command identifier; one `StateChange` slice with two commands (`STAGE-ESM-004`); two projections for one read model (`-007`); a policy Stage cannot express portably (`-015`; role-only and opaque pure policies render at 4.73.1) | edit request to the modeler session with address, change and rationale |
|
|
33
|
-
| **Capability gap** | the intended meaning needs a construct Stage does not render yet | a snapshot list query (`-010`; observable lists and keyed or unkeyed lists bind and observable lists render), caller-supplied collection equality filters bind as v14 since 4.143.0 but exceed
|
|
33
|
+
| **Capability gap** | the intended meaning needs a construct Stage does not render yet | a snapshot list query (`-010`; observable lists and keyed or unkeyed lists bind and observable lists render), caller-supplied collection equality filters bind as v14 since 4.143.0 but exceed CLI 3.56.0 / Stage 4.83.0's v13 ceiling; context/single-result filters, opaque `scoped to`/`performer` and composite `by` remain PLAY0268; Translate, clocks, captures, non-event triggers and opaque reaction bodies (`-024`); reaction `runs as`/`from` (`-034`/`-035`), mixed effects in one handler (`-037`, retries can duplicate events; keep it whole), unsupported reaction mappings (`-039`); unsupported generated types/result combinations (`-028`/`-038`); `then no readmodel` (`-027`); evolved events (`STAGE-ESM-026`); conditional `produces when` (`-006`); `reads` (`PLAY0271`); code validation (`-005`); protected identities/enums (`-040`) or unadmitted explicit subject lineage (`PLAY0268`); a command `handler` (`PLAY0268`) | keep the model; ledger entry; options a to c in `SKILL.md`; link the Stage issue |
|
|
34
34
|
| **Tool skew** | the bundled compiler disagrees with documented semantics | the false `PLAY0285` on reaction cascades from a cratis before 3.28.2 bundle (cli#242); codes the standalone compiler does not raise | record in the session state and the ledger; never "fix" a correct model |
|
|
35
35
|
| **Environment** | not the model | restore failures, missing SDK, a destination that is not writable | fix the environment or report blocked |
|
|
36
36
|
|
|
@@ -49,10 +49,10 @@ ESM). Only the probe answers renderability. `PLAY0270` entries are information,
|
|
|
49
49
|
`cratis-stage-rendering-and-sandbox` `references/render-example.md`.
|
|
50
50
|
|
|
51
51
|
## Stage issues to cite in ledger entries
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
Historical issue pointers (not a fresh issue-state check): portable query semantics Stage#58;
|
|
53
|
+
Translate and unsupported automation forms Stage#79; mapping expressions and projection blocks Stage#117; modeled authentication
|
|
54
54
|
Stage#120; per-persona screens Stage#194; evolved events Stage#204; mixed reaction effects Stage#207;
|
|
55
|
-
generated values
|
|
55
|
+
generated values/responses Stage#175 (now render on the pinned bundle). Closed: event generation Stage#165, descriptions as code docs
|
|
56
56
|
Stage#178, ESM v7 Stage#201. Check that an issue is still open before citing
|
|
57
57
|
it, and cite only numbers you have just read. A closed issue is a trigger to probe again.
|
|
58
58
|
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"kind": "skill-contains",
|
|
45
45
|
"value": "STAGE-ESM-026"
|
|
46
46
|
},
|
|
47
|
-
{ "kind": "skill-contains", "value": "
|
|
48
|
-
{ "kind": "skill-contains", "value": "STAGE-ESM-028
|
|
47
|
+
{ "kind": "skill-contains", "value": "now render with CLI 3.56.0 / Stage 4.83.0" },
|
|
48
|
+
{ "kind": "skill-contains", "value": "Unsupported generated\ntypes (`STAGE-ESM-028`) and result combinations (`-038`)" },
|
|
49
49
|
{ "kind": "skill-contains", "value": "authored-UI parity" },
|
|
50
50
|
{ "kind": "skill-contains", "value": "responsible tool version" }
|
|
51
51
|
]
|
package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md
CHANGED
|
@@ -17,15 +17,15 @@ Typed example/override forms: `cratis-screenplay-specifications`
|
|
|
17
17
|
| `when append <Event>` | yes | yes | no |
|
|
18
18
|
| `then readmodel` / `then query` (keyed `ById`, `arguments`, `result`) | yes | yes | yes |
|
|
19
19
|
| `then query` on an unfiltered list or a list narrowed by one `by` key (observable too) | yes | yes since 4.105.0: no `arguments` for an unkeyed list, one `result` per row stating the read-model identifier, no `result` = empty list | observable lists render, a non-observable list is `STAGE-ESM-010` (Stage 4.73.1) |
|
|
20
|
-
| Collection query with caller-supplied equality `filter`, including observable | yes | yes since 4.143.0, ESM v14: same-named scalar property/type, AND with `by`; optional omission allowed, supplied null refused; PLAY0468 checks arguments; row order does not matter | no on
|
|
20
|
+
| Collection query with caller-supplied equality `filter`, including observable | yes | yes since 4.143.0, ESM v14: same-named scalar property/type, AND with `by`; optional omission allowed, supplied null refused; PLAY0468 checks arguments; row order does not matter | no on CLI 3.56.0 / Stage 4.83.0 (v13 ceiling; CLI-RENDER-004 / direct STAGE-ESM-016) |
|
|
21
21
|
| Context `from`, single-result filters, `scoped to`, `performer` or composite `by` | yes | PLAY0268: query context, collection-only filtering, opaque scope/implementation or multipart lookup are unadmitted | no |
|
|
22
22
|
| `then no readmodel <RM> for "<key>"` | yes | yes | no |
|
|
23
23
|
| `when query` -> `then result` / `then no result` | yes | yes | same as `then query`: only the query-only cases below |
|
|
24
24
|
| `given clock` / `when clock`, `when trigger`, `given`/`when capture` | yes | yes (standalone and any current cratis; history: a cratis before 3.28.2 bundle no, see versions.md) | no |
|
|
25
|
-
| Command spec listing reaction cascade events | yes (v6 semantics) | false PLAY0285 on a cratis before 3.28.2 bundle only; see SKILL.md "Version skew" | no (
|
|
26
|
-
| `generated <name> = <value>` under `when`, `then returns` (ESM v7) | yes | yes on standalone Screenplay 4.68.0 or later and the current cratis bundle (history: PLAY0268 on the 4.66.0 bundled in cratis 3.28.x) |
|
|
25
|
+
| Command spec listing reaction cascade events | yes (v6 semantics) | false PLAY0285 on a cratis before 3.28.2 bundle only; see SKILL.md "Version skew" | no: STAGE-ESM-011; generated CommandScenario does not settle reactions (Stage 4.83.0) |
|
|
26
|
+
| `generated <name> = <value>` under `when`, `then returns` (ESM v7) | yes | yes on standalone Screenplay 4.68.0 or later and the current cratis bundle (history: PLAY0268 on the 4.66.0 bundled in cratis 3.28.x) | yes on Stage 4.83.0 for required scalar UUID-concept generation and scalar/named responses; unsupported types/combinations remain -028/-038 |
|
|
27
27
|
| `then events in any order` | yes | yes | yes |
|
|
28
|
-
| Event `stream` / `no stream`, typed `for` and stream ids | yes | ESM v8 at 4.125.0 | The pinned CLI reaches Stage route checks (toolchain `references/versions.md`); routed read-model/query replay
|
|
28
|
+
| Event `stream` / `no stream`, typed `for` and stream ids | yes | ESM v8 at 4.125.0 | The pinned CLI reaches Stage route checks (toolchain `references/versions.md`); routed read-model/query replay now renders (Stage 4.83.0); reserved names/unformattable fixtures remain STAGE-ESM-030 |
|
|
29
29
|
| Typed examples and overrides | yes | expanded and type-checked before binding; required fields remain required | depends on expanded contract, not fixture reuse |
|
|
30
30
|
| `given operation ... fails`, `then operation`, `then compensated` | yes | unadmitted PLAY0268 | gap-fill |
|
|
31
31
|
| Refusal branches, `when redelivered`, `then no events` | yes | unadmitted PLAY0268 | gap-fill |
|
|
@@ -21,7 +21,7 @@ event field goes nowhere, ask why it is recorded (audit and history are valid an
|
|
|
21
21
|
| the user types or picks it | screen `action`, form or dialog input | default for business decisions |
|
|
22
22
|
| shown before the user acts | form `populate via query` from a read model | the read model must exist and be traced |
|
|
23
23
|
| the instance being acted on | the `identifier` property, carried from the screen row or route | |
|
|
24
|
-
| allocated by the runtime | `Type generated` on a required `Uuid`-backed concept (ESM v7: binds and runs on standalone Screenplay 4.68.0 and later, including the 4.
|
|
24
|
+
| allocated by the runtime | `Type generated` on a required `Uuid`-backed concept (ESM v7: binds and runs on standalone Screenplay 4.68.0 and later, including the 4.145.1 bundled in CLI 3.56.0 (`PLAY0268` on the 4.66.0 bundled in cratis 3.28.x); Stage 4.83.0 renders it; unsupported types/combinations remain -028/-038; no concept rules) | never a request input or form field; no policy, rule or requirement may read it (`PLAY0273`); return it with `returns`; where a tool cannot bind it, executable scope needs explicit allocation |
|
|
25
25
|
| an outside party | capture field `$.x` or a reaction trigger value | `cratis-screenplay-automations-and-translations` |
|
|
26
26
|
| the caller | not an input: `$context.identity.*` in `produces`; who may act in `authorize`; "acting on own X" is a claim policy matched to the identifier or a command property | never trust a caller-supplied "who am I" |
|
|
27
27
|
|
package/package/corpus/skills/cratis-screenplay-specifications/references/generated-fixtures.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
## Generated fixtures and return expectations (ESM v7)
|
|
2
2
|
|
|
3
3
|
Standalone `screenplay` 4.68.0 or later binds and runs these, and so does the current cratis bundle (the
|
|
4
|
-
cratis 3.28.3 bundle, 4.66.0, did not);
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
cratis 3.28.3 bundle, 4.66.0, did not); CLI 3.56.0 / Stage 4.83.0 render UUID-concept generated values,
|
|
5
|
+
scalar/named responses, fixtures and `then returns`. Unsupported types/result combinations
|
|
6
|
+
remain `STAGE-ESM-028`/`-038`; preserve refused specifications as gap-fill contracts. The model and rules are in `cratis-screenplay-command-surface`; the
|
|
7
7
|
complete example is `cratis-screenplay-toolchain` `references/generated-responses-example.md`. Read that file when writing generated-value fixtures or scalar and record return expectations and needing a complete reference-executable model.
|
|
8
8
|
|
|
9
9
|
```screenplay excerpt
|
package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md
CHANGED
|
@@ -53,10 +53,11 @@ module Collections
|
|
|
53
53
|
- A reached reaction with a code body (`file` or inline) returns unsupported, as
|
|
54
54
|
does a reaction that never settles. The reference stops at 1,000 new facts per
|
|
55
55
|
scenario and 10,000 due occurrences per clock advance.
|
|
56
|
-
- A model that uses these forms selects ESM v6 (`schemaVersion: 6`). Stage 4.
|
|
57
|
-
admits ESM v1-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
- A model that uses these forms selects ESM v6 (`schemaVersion: 6`). Stage 4.83.0
|
|
57
|
+
admits ESM v1-v13 and renders supported event-triggered Automation, but not Translate,
|
|
58
|
+
captures, non-event triggers or opaque bodies (`-024`), `runsAs` (`-034`), `from` (`-035`)
|
|
59
|
+
or mixed effects (`-037`). Direct-append specs and command specs cascading into reactions
|
|
60
|
+
remain `-011`. Keep refused scope as gap-fill against this contract: `cratis-screenplay-render-and-gap-fill`.
|
|
60
61
|
|
|
61
62
|
### Version skew: cascades and the false `PLAY0285` (cratis before 3.28.2)
|
|
62
63
|
|
|
@@ -38,7 +38,7 @@ the CLI bundle's Chronicle is in `cratis-screenplay-toolchain` `references/versi
|
|
|
38
38
|
| Screenplay | v4.68.0 (`79801bf`) | ESM v7 generated values (`generated identifier`, decision 0026) and decision 0025's numbering; the diagnostics below were read at v4.66.0 (`c89198b`): `identifier`, `for`, constraints, generations, `id` pins, diagnostics PLAY0019/0135/0268/0271/0273/0391-0393/0446-0449/0469/0471 |
|
|
39
39
|
| Chronicle | v19.50.0 (read; first read at v19.32.0 `f17a2ff`) | CHR0012, CHR0034; open defects #3744, #4123, #4131 (still open) |
|
|
40
40
|
| Arc | v22.72.0 | `[ProtectedDecision]` and `DecisionRead<T>` (since v22.39.0) |
|
|
41
|
-
| Stage | v4.
|
|
41
|
+
| Stage | v4.83.0 | rendered apps pin the Arc and Chronicle client/kernel listed in the Stage skill's `references/rendered-application.md`; protected-read APIs available to gap-fill. Historical 4.24.2 admission probe: ESM v4, evolved events refused with `STAGE-ESM-026` |
|
|
42
42
|
|
|
43
43
|
Full pin table: `references/versions.md` in `cratis-screenplay-toolchain`. Re-check the three
|
|
44
44
|
Chronicle issues before relying on a constraint in a later release.
|
|
@@ -88,9 +88,9 @@ option, mark it `ASSUMED` in the slice or module `documentation` and in the sess
|
|
|
88
88
|
namespace, process-stream routing and concurrency scope apart
|
|
89
89
|
(`references/chronicle-boundaries.md`). Declared `eventsource`/`stream`/`streamId` and
|
|
90
90
|
command/specification routes bind and reference-execute as ESM v8 on 4.125.0.
|
|
91
|
-
The pinned CLI (toolchain `references/versions.md`) reaches Stage construct checks through
|
|
91
|
+
The pinned CLI (toolchain `references/versions.md`) reaches Stage construct checks through v13; keep the routing
|
|
92
92
|
contract when target admission requires gap-fill. Forms/boundaries:
|
|
93
|
-
toolchain `references/sources-and-streams.md`. A `generated identifier` (ESM v7, standalone 4.68.0 and later; Stage 4.
|
|
93
|
+
toolchain `references/sources-and-streams.md`. A `generated identifier` (ESM v7, standalone 4.68.0 and later; Stage 4.83.0 renders required scalar UUID concepts; unsupported types/results still refuse -028/-038) is
|
|
94
94
|
generated fresh on every acceptance: it is not a retry identity, and generated values give no
|
|
95
95
|
idempotency, retry or deduplication guarantee. When a retry must find the same stream, the caller
|
|
96
96
|
supplies the identifier before the first attempt.
|
package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md
CHANGED
|
@@ -178,7 +178,8 @@ integration support.
|
|
|
178
178
|
|
|
179
179
|
Never let an external system's ids, codes or shapes become our domain vocabulary: translate at
|
|
180
180
|
the edge, keep the external reference as a property when it is needed for correlation or dedup.
|
|
181
|
-
Stage renders
|
|
181
|
+
Stage 4.83.0 renders supported internal event-triggered Automation, but Translate,
|
|
182
|
+
captures and foreign/public event boundaries remain refused. The translation is gap-fill
|
|
182
183
|
with the model as its contract (`cratis-screenplay-render-and-gap-fill`).
|
|
183
184
|
|
|
184
185
|
## Change data capture is not a domain event
|
package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md
CHANGED
|
@@ -38,8 +38,8 @@ number. Removing a member still needs replay and mixed-reader compatibility deci
|
|
|
38
38
|
|
|
39
39
|
Numbered members may have sparse or negative unique int32 values, all or none per
|
|
40
40
|
enum. Source authoring shipped in 4.137.0; non-positional numbers bind as ESM v12
|
|
41
|
-
in 4.139.0. Positional pins retain older executable bytes/version. CLI 3.
|
|
42
|
-
Stage 4.
|
|
41
|
+
in 4.139.0. Positional pins retain older executable bytes/version. CLI 3.56.0 bundles Screenplay 4.145.1 /
|
|
42
|
+
Stage 4.83.0, admitting v12 and rendering explicit member numbers; keep the pins.
|
|
43
43
|
Short-lived input/view-only enums may remain positional. Use opt-in
|
|
44
44
|
`--check enum-pinning` (PLAY0671) to find unnumbered enums used by event properties.
|
|
45
45
|
Syntax/example and source evidence: command-surface [enum numbers](../../cratis-screenplay-command-surface/references/enum-numbers.md).
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
{ "kind": "skill-contains", "value": "bind and reference-execute as ESM v8" },
|
|
17
17
|
{ "kind": "skill-contains", "value": "STAGE-ESM-026" },
|
|
18
18
|
{ "kind": "skill-contains", "value": "generated values give no\n idempotency, retry or deduplication guarantee" },
|
|
19
|
-
{ "kind": "skill-contains", "value": "Stage construct checks through
|
|
19
|
+
{ "kind": "skill-contains", "value": "Stage construct checks through v13" }
|
|
20
20
|
]
|
|
21
21
|
}
|
|
@@ -45,7 +45,7 @@ or Screenplay 4.145.0.
|
|
|
45
45
|
PLAY0029 (a misspelt keyword or a `type` inside a slice) drops a construct silently.
|
|
46
46
|
3. **Pick the compiler deliberately and name it.** Standalone `screenplay` for
|
|
47
47
|
current language checks and reference specifications; `cratis` for rendering
|
|
48
|
-
and generation. Bundled and standalone versions differ (CLI 3.
|
|
48
|
+
and generation. Bundled and standalone versions differ (CLI 3.56.0 bundles 4.145.1;
|
|
49
49
|
the standalone pin is 4.145.0). Report both tool and
|
|
50
50
|
version, rather than transferring a verdict across releases.
|
|
51
51
|
4. **Know the mode** (design, executable, renderable) and write from its subset.
|
|
@@ -70,7 +70,7 @@ or Screenplay 4.145.0.
|
|
|
70
70
|
| Scope/checks | `--scope <address>`, `--check <names>`; a scoped pass is not whole-application success | `validate --executable` (bundled binder, no write), `--check <names>`, `--scope`; `render --scope`/`--check`; `cratis screenplay conform` |
|
|
71
71
|
| Reference execution | `screenplay test <root>` or MCP `run-specifications` | Discover bundled MCP capability; target tests are not V4 |
|
|
72
72
|
| MCP | `screenplay mcp <root>`; discover schemas | `cratis screenplay mcp [root]`; registered by `cratis ai install` |
|
|
73
|
-
| Render version boundary | Binder admission is not Stage admission | Pinned CLI (`versions.md`) passes through ESM
|
|
73
|
+
| Render version boundary | Binder admission is not Stage admission | Pinned CLI (`versions.md`) passes through ESM v13 to Stage construct admission; bound newer models: `CLI-RENDER-004` |
|
|
74
74
|
|
|
75
75
|
Read `references/versions.md` when you need the exact messages, exit codes or the MCP roots bug.
|
|
76
76
|
|
|
@@ -108,17 +108,19 @@ changes with the root folder name.
|
|
|
108
108
|
filters, opaque `scoped to`/`performer` and composite `by` remain PLAY0268. Read
|
|
109
109
|
read-surface [equality filters](../cratis-screenplay-read-surface/references/equality-filters.md). No handler (PLAY0268, with or without `implementation`/`hint`); `reads` and
|
|
110
110
|
`concurrency` do not bind (PLAY0271); concept compliance binds as v13 on standalone
|
|
111
|
-
4.142.0 (since 4.141.0)
|
|
111
|
+
4.142.0 (since 4.141.0) and the pinned CLI (precise refusals: command-surface `references/compliance.md`);
|
|
112
112
|
v6 constructs bind on Screenplay 4.61 or
|
|
113
113
|
later (standalone, and cratis 3.28.2 or later); generated values and `returns` responses bind (ESM v7)
|
|
114
114
|
from Screenplay 4.68.0 (also in the current CLI bundle) (`references/generated-responses-example.md`). Read [references/executable-example.md](references/executable-example.md) when you need a small StateChange and StateView model that binds executable, [references/pdl-example.md](references/pdl-example.md) when writing projection forms that bind and run, and [references/automation-translate-example.md](references/automation-translate-example.md) when writing Automation and Translate slices (ESM v6).
|
|
115
|
-
- **Renderable** (V5): `references/renderable-subset.md` has the current Stage 4.
|
|
116
|
-
explicitly labeled older probes.
|
|
117
|
-
values
|
|
115
|
+
- **Renderable** (V5): `references/renderable-subset.md` has the current Stage 4.83.0 table and
|
|
116
|
+
explicitly labeled older probes. CLI 3.56.0 admits through v13; generated UUID-concept
|
|
117
|
+
values/responses, enum numbers, compliance and supported event reactions render.
|
|
118
|
+
Unsupported generated types still get `STAGE-ESM-028`; result combinations get `-038`.
|
|
119
|
+
v14 filters bind but rendering refuses `CLI-RENDER-004`. Run admission
|
|
118
120
|
before claiming a particular model renders (`cratis render --scope` for an admitted part, `--check`
|
|
119
121
|
for no-write planning).
|
|
120
122
|
- **Event sources, streams and routes** bind as ESM v8 at 4.125.0.
|
|
121
|
-
The pinned CLI/Stage pair (`references/versions.md`) reaches admission through
|
|
123
|
+
The pinned CLI/Stage pair (`references/versions.md`) reaches admission through v13, not blanket
|
|
122
124
|
rendering. Operations and exact numeric source mode remain unadmitted.
|
|
123
125
|
Details: `references/sources-and-streams.md` and `references/versions.md`.
|
|
124
126
|
- **Released v9/v10 and published v11:** public contracts and direction select v9;
|
|
@@ -130,10 +132,9 @@ changes with the root folder name.
|
|
|
130
132
|
|
|
131
133
|
- **Published v12 (4.139.0):** non-positional enum numbers bind; canonical
|
|
132
134
|
`numbers` parallels `values`. Positional pins preserve earlier executable
|
|
133
|
-
bytes/version. Specifications still use names.
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
only the compiler would not lift their v10 admission ceiling (`references/versions.md`). Syntax:
|
|
135
|
+
bytes/version. Specifications still use names. CLI 3.56.0's compiler binds
|
|
136
|
+
non-positional numbers, and Stage 4.83.0 admits v12 and emits `Member = N`.
|
|
137
|
+
v14 collection filters still exceed the renderer's v13 ceiling (`references/versions.md`). Syntax:
|
|
137
138
|
command-surface `references/enum-numbers.md`; errors PLAY0667–0670 and opt-in
|
|
138
139
|
`enum-pinning` hint PLAY0671: `references/diagnostics.md`.
|
|
139
140
|
|
|
@@ -5,9 +5,8 @@ One complete document with every construct family. Design mode, not executable.
|
|
|
5
5
|
Binding blockers: unquoted import, `reads` (PLAY0271), `starts with`. Caller-supplied collection equality filters bind as ESM v14 since 4.143.0; context/single-result filters remain blocked. Executable shapes are in the sibling examples. The bare-marker fence compiles warning-free on standalone 4.127.0; the earlier legacy-marker version compiled on 4.66.0 and CLI 3.28.2. `RecordingAPayment` lists the `InvoiceClosed` cascade, which the cratis 3.27.1 bundle (4.60.1) rejected with a false PLAY0285 ("outcome cannot be produced by 'RecordPayment'"); 3.28.2 accepts it.
|
|
6
6
|
|
|
7
7
|
Concept compliance itself binds as ESM v13 on standalone 4.142.0 (first released
|
|
8
|
-
in 4.141.0); reasons remain report-only PLAY0270. CLI 3.
|
|
9
|
-
4.
|
|
10
|
-
(Stage#345). Binder-only PLAY0268
|
|
8
|
+
in 4.141.0); reasons remain report-only PLAY0270. CLI 3.56.0 bundles Screenplay
|
|
9
|
+
4.145.1 / Stage 4.83.0 and renders v13 concept protection. Binder-only PLAY0268
|
|
11
10
|
refusals and subject-lineage limits: command-surface `references/compliance.md`.
|
|
12
11
|
|
|
13
12
|
```screenplay test=unbound
|
|
@@ -23,7 +23,7 @@ select released v10: [routes and filters](production-routes-and-filters.md).
|
|
|
23
23
|
Qualifying non-route Double literals select published v11 at 4.135.0;
|
|
24
24
|
`numbers exact` does not bind. Non-positional enum member numbers (`draft = 1`)
|
|
25
25
|
select published v12 at 4.139.0; positional pins keep earlier bytes/version,
|
|
26
|
-
while specifications still use names. The pinned CLI/Stage pair (`versions.md`)
|
|
26
|
+
while specifications still use names. The pinned CLI/Stage pair (`versions.md`) admits v12 and renders explicit numbers.
|
|
27
27
|
Syntax/example: command-surface `references/enum-numbers.md`.
|
|
28
28
|
See `versions.md` for freeze and numeric boundaries.
|
|
29
29
|
|
|
@@ -174,8 +174,8 @@ Identity declarations and event `subject` are metadata; reading a declared
|
|
|
174
174
|
`$identity` detail in executable clauses is PLAY0268. `runs as` is admitted as
|
|
175
175
|
ESM v10 in the current standalone, not a current PLAY0268 gap. At standalone
|
|
176
176
|
4.142.0, concept compliance binds as v13 (since 4.141.0); enum/identity compliance and protected
|
|
177
|
-
events with explicit subject marks still refuse PLAY0268. CLI 3.
|
|
178
|
-
bundle
|
|
177
|
+
events with explicit subject marks still refuse PLAY0268. CLI 3.56.0's 4.145.1
|
|
178
|
+
bundle also binds concept compliance; purpose metadata is PLAY0270. See command-surface
|
|
179
179
|
`references/compliance.md` and `references/context.md` for syntax and limits.
|
|
180
180
|
|
|
181
181
|
`screenplay_repair_capabilities` and `propose-repair` advertise PLAY0653: a
|
|
@@ -334,7 +334,7 @@ Report each as `code file:line one-line meaning`; never paste more than about 30
|
|
|
334
334
|
## Render admission (V5): `STAGE-*`, `CLI-RENDER-*`, `STAGE-CRATIS-*`
|
|
335
335
|
Full table with causes: `renderable-subset.md`. The Stage 4.24.x rows below
|
|
336
336
|
retain historical source/probe evidence. The pinned CLI/Stage pair (`versions.md`) admits
|
|
337
|
-
through
|
|
337
|
+
through v13 to construct checks; above it is CLI-RENDER-004 (direct Stage:
|
|
338
338
|
STAGE-ESM-016). Publication STAGE-ESM-032, foreign facts/event captures 033,
|
|
339
339
|
reaction identity 034, reaction filters 035 and production overrides 036 remain
|
|
340
340
|
refused; reducer filters render. Previous CLI 3.46.1 admitted through v7; its
|
|
@@ -17,8 +17,8 @@ Event `subject` remains report-only, despite accepted future lineage work.
|
|
|
17
17
|
Rechecked at 4.142.0: concept `pii`/`personal` and `secret` bind as v13, while
|
|
18
18
|
reasons stay PLAY0270 report-only. PLAY0268 at binding only rejects enum/identity
|
|
19
19
|
compliance and events mixing personal or explicitly subject-scoped secret values
|
|
20
|
-
with an explicit `subject` mark. CLI 3.
|
|
21
|
-
|
|
20
|
+
with an explicit `subject` mark. CLI 3.56.0 bundles Screenplay 4.145.1 / Stage 4.83.0 and
|
|
21
|
+
renders v13 concept protection; protected identities/enums remain refused. These are distinct boundaries,
|
|
22
22
|
not a reason to remove protection.
|
|
23
23
|
|
|
24
24
|
`D/` is Screenplay `Documentation/screenplay/` at **v4.66.0**; line numbers were re-read at
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
- Admitted on both compilers
|
|
7
7
|
- Equality query filters (ESM v14, since 4.143.0)
|
|
8
8
|
- Admitted from Screenplay 4.61 (ESM v6): standalone tool and cratis 3.28.2 or later
|
|
9
|
-
- Generated values and responses (ESM v7): standalone 4.68.0 or later; the cratis 3.
|
|
9
|
+
- Generated values and responses (ESM v7): standalone 4.68.0 or later; the cratis 3.56.0 bundle binds them too
|
|
10
10
|
- Released public boundaries and observer routes
|
|
11
11
|
- Code attachments (what binds, what never does)
|
|
12
12
|
- Refused (code, reason): fix, or record as a mode gap
|
|
@@ -24,8 +24,7 @@ binder before promoting an older probe to a current capability claim.
|
|
|
24
24
|
|
|
25
25
|
What the binder admits, and what it refuses with which code. The answer depends on the
|
|
26
26
|
compiler version: the standalone tool (4.145.0) binds through v14; the compiler bundled in cratis
|
|
27
|
-
3.
|
|
28
|
-
binding; older bundles (4.66.0 in cratis 3.28.x, admitting v1 to v6; 4.60.1 before 3.28.2, v1 to v5)
|
|
27
|
+
3.56.0 (4.145.1) binds through v14, while rendering admits through v13; older bundles (4.66.0 in cratis 3.28.x, admitting v1 to v6; 4.60.1 before 3.28.2, v1 to v5)
|
|
29
28
|
are history.
|
|
30
29
|
Tool facts and the exact v6 messages: `versions.md`. Always name
|
|
31
30
|
the tool with a V2 or V3 result. When tool and documentation disagree, the tool decides
|
|
@@ -40,7 +39,7 @@ never bind (`verdicts.md`).
|
|
|
40
39
|
Complete examples that bind live in `executable-example.md` (both compilers),
|
|
41
40
|
`pdl-example.md` (projections, both compilers) and `automation-translate-example.md`
|
|
42
41
|
(ESM v6; standalone tool and cratis 3.28.2 or later) and `generated-responses-example.md`
|
|
43
|
-
(ESM v7; standalone tool 4.68.0 or later, and the cratis 3.
|
|
42
|
+
(ESM v7; standalone tool 4.68.0 or later, and the cratis 3.56.0 bundle).
|
|
44
43
|
|
|
45
44
|
## Caller and compliance boundary (4.142.0)
|
|
46
45
|
|
|
@@ -52,7 +51,7 @@ readiness. Executable reads of declared `$identity.<detail>` do (PLAY0268);
|
|
|
52
51
|
`$context.identity` remains built-ins only. Purposes and event `subject` marks
|
|
53
52
|
are metadata (PLAY0270), not source resolution, retention or subject propagation.
|
|
54
53
|
Bare `pii`/`personal` and `secret` concepts, scopes and qualifiers bind as v13
|
|
55
|
-
on standalone 4.142.0; CLI 3.
|
|
54
|
+
on standalone 4.142.0; CLI 3.56.0 bundles Screenplay 4.145.1, which binds them too. Enum/identity
|
|
56
55
|
compliance and events mixing protected values with explicit subject marks remain
|
|
57
56
|
refused; see command-surface `references/compliance.md` for the precise boundary.
|
|
58
57
|
Legacy spellings compile with PLAY0565 information; duplicates warn PLAY0653.
|
|
@@ -108,8 +107,8 @@ filters AND with `by`; optional omission does not narrow, supplied null is refus
|
|
|
108
107
|
`then query … arguments` and `when query` accept both `by` and filters; PLAY0468
|
|
109
108
|
reports unknown/repeated/missing required arguments. Collection results match by
|
|
110
109
|
read model/key regardless of row order. The standalone 4.145.0 pin admits this;
|
|
111
|
-
CLI 3.
|
|
112
|
-
|
|
110
|
+
CLI 3.56.0's 4.145.1 compiler also binds it. CLI rendering and Stage 4.83.0
|
|
111
|
+
admit through v13, not v14 (`CLI-RENDER-004` / direct `STAGE-ESM-016`). Complete compiled specs:
|
|
113
112
|
read-surface [equality filters](../../cratis-screenplay-read-surface/references/equality-filters.md).
|
|
114
113
|
|
|
115
114
|
## Admitted from Screenplay 4.61 (ESM v6): standalone tool and cratis 3.28.2 or later
|
|
@@ -131,15 +130,16 @@ read-surface [equality filters](../../cratis-screenplay-read-surface/references/
|
|
|
131
130
|
- Command specifications that list reaction cascades (no false PLAY0285).
|
|
132
131
|
- In a `then` list after `when append`, only what followed the appended event.
|
|
133
132
|
|
|
134
|
-
## Generated values and responses (ESM v7): standalone 4.68.0 or later; the cratis 3.
|
|
133
|
+
## Generated values and responses (ESM v7): standalone 4.68.0 or later; the cratis 3.56.0 bundle binds them too
|
|
135
134
|
|
|
136
135
|
Facts read at `v4.68.0`: decision 0026 and `Documentation/screenplay/{commands,specifications,interoperability}.md`.
|
|
137
136
|
A model selects ESM v7 only when it uses a generated property, a response, a generated fixture or a `then returns`
|
|
138
137
|
expectation; every other model keeps its version, bytes and revision. The cratis CLI 3.28.3 (bundled 4.66.0)
|
|
139
|
-
reported `PLAY0268` for these constructs (history). The current CLI (3.
|
|
140
|
-
and
|
|
141
|
-
|
|
142
|
-
|
|
138
|
+
reported `PLAY0268` for these constructs (history). The current CLI (3.56.0, bundled 4.145.1) binds them
|
|
139
|
+
and Stage 4.83.0 renders required scalar UUID-concept generated values, scalar/named responses,
|
|
140
|
+
fixtures and `then returns`. Unsupported generated types (`-028`) and result combinations
|
|
141
|
+
(`-038`) remain refused; see `renderable-subset.md` and command-surface
|
|
142
|
+
`references/generated-values-and-responses.md`. Complete example:
|
|
143
143
|
`generated-responses-example.md`.
|
|
144
144
|
|
|
145
145
|
- A generated property is command-only, required, scalar and a concept backed by `Uuid`; bare `Uuid`, optional and collection
|
|
@@ -183,7 +183,7 @@ Qualifying retained non-route Double literals bind/reference-execute as v11 on
|
|
|
183
183
|
Non-positional enum member numbers bind as ESM v12 from 4.139.0; positional
|
|
184
184
|
pins preserve the earlier executable version/bytes. The optional canonical last
|
|
185
185
|
`numbers` array parallels `values`; specifications still use member names.
|
|
186
|
-
Consumers must admit v12 explicitly; CLI 3.
|
|
186
|
+
Consumers must admit v12 explicitly; CLI 3.56.0/Stage 4.83.0 do. Syntax:
|
|
187
187
|
command-surface `references/enum-numbers.md`; version contract: `versions.md`.
|
|
188
188
|
|
|
189
189
|
Concept `pii`/`personal` and `secret`, qualifiers and scopes bind as optional
|
|
@@ -191,8 +191,8 @@ Concept `pii`/`personal` and `secret`, qualifiers and scopes bind as optional
|
|
|
191
191
|
report-only PLAY0270; reference execution proves neither encryption nor erasure.
|
|
192
192
|
Enum/identity concepts and an event combining personal or explicitly subject-scoped
|
|
193
193
|
secret values with an explicit `subject` mark refuse PLAY0268 at binding only.
|
|
194
|
-
CLI 3.
|
|
195
|
-
|
|
194
|
+
CLI 3.56.0 bundles Screenplay 4.145.1 / Stage 4.83.0 and renders v13 concept
|
|
195
|
+
protection; protected identities/enums still refuse `STAGE-ESM-040`. Preserve protection, not a falsely green bind.
|
|
196
196
|
|
|
197
197
|
## Code attachments (what binds, what never does)
|
|
198
198
|
|
|
@@ -237,7 +237,7 @@ bodies still leave their owner non-executable.
|
|
|
237
237
|
| --- | --- | --- |
|
|
238
238
|
| `Automation` or `Translate` slice, `reaction`, `capture`, `trigger`; `given clock`, `when clock`, `when trigger`, `when capture` | PLAY0268 | **cratis before 3.28.2 bundles only** (4.60.1); messages in `versions.md` |
|
|
239
239
|
| Unquoted `import Other.Contract` | PLAY0268 | external contract import is not bound |
|
|
240
|
-
| `pii` or `secret` on a concept | PLAY0268 |
|
|
240
|
+
| `pii` or `secret` on a concept | PLAY0268 | Historical blanket refusal on CLI 3.53.1's 4.137.0 bundle only. CLI 3.56.0 and standalone 4.142.0+ admit v13 except enum/identity compliance and events mixing personal or explicitly subject-scoped secret values with explicit subject marks; see `compliance.md` in command-surface references |
|
|
241
241
|
| `query` with a composite `by` block, or `by ... from` context-derived arguments | PLAY0268 | composite `by` blocks remain unadmitted (#599). 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 (since 4.105.0) |
|
|
242
242
|
| Context `from`, single-result filters, `scoped to`, `performer` queries | PLAY0268 | Typed query context, filtering of single results, opaque scope and query implementation remain unadmitted; 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 |
|
|
243
243
|
| `contains` or `starts with` in conditions | PLAY0268 | equality and numeric ordering only |
|
|
@@ -280,8 +280,8 @@ bodies still leave their owner non-executable.
|
|
|
280
280
|
Do not remove `pii`, `secret`, `authorize` or policies, list queries, automations or
|
|
281
281
|
rules a domain needs just to make binding pass. Report `V3 blocked: <codes>` and record the
|
|
282
282
|
slice in the gap list. A `pii` or `secret` marker selects v13 on standalone
|
|
283
|
-
4.142.0 (since 4.141.0). CLI 3.
|
|
284
|
-
|
|
283
|
+
4.142.0 (since 4.141.0). CLI 3.56.0 bundles Screenplay 4.145.1 / Stage 4.83.0, which renders concept
|
|
284
|
+
protection; protected identities/enums still refuse `STAGE-ESM-040`. Either attribute on an identifier or typed destination is a source error
|
|
285
285
|
PLAY0515 on the current compiler (including stream-id parts and route mapping
|
|
286
286
|
sources). Chronicle also rejects `[PII]`/`[Encrypted]` on event-source identifiers
|
|
287
287
|
(CHR0034/CHR0052). Keep surrogate identity and protected payload separate.
|
|
@@ -108,7 +108,7 @@ contract. A consumer admitting v10 must include all three, not just identity.
|
|
|
108
108
|
Composite **read-model** keys are separate and remain unadmitted (PLAY0268, #599).
|
|
109
109
|
|
|
110
110
|
Previous CLI 3.46.1/Stage 4.52.0 refused versions above v7 before planning.
|
|
111
|
-
The pinned CLI/Stage pair (`versions.md`) admits through
|
|
111
|
+
The pinned CLI/Stage pair (`versions.md`) admits through v13 to construct checks: production overrides
|
|
112
112
|
still refuse STAGE-ESM-036 and reaction filters STAGE-ESM-035; reducer filters render.
|
|
113
113
|
A supported version number alone never proves target support or a passing render.
|
|
114
114
|
|
|
@@ -74,7 +74,7 @@ by Martin Dilger and Nebulit GmbH (https://nebulit.de), used with the explicit c
|
|
|
74
74
|
ESM v7 and v11 allocations; added numbers-exact, concurrency, approval-policy, visualization,
|
|
75
75
|
bodied-reducer, file-mode and cascade rows.
|
|
76
76
|
- Corrected the code-attachment rule (a handler never binds, with or without `hint`), the
|
|
77
|
-
automation rendering rule (Stage
|
|
77
|
+
historical automation rendering rule (Stage 4.24 rendered no Automation or Translate slices; current admission is in `renderable-subset.md`) and the
|
|
78
78
|
Stage output description (a React/Vite scaffold is emitted too).
|
|
79
79
|
- Verdict names follow the frozen V1 to V5 (V2 is executable diagnostics, V3 binding-ready);
|
|
80
80
|
the earlier "authoring accepted" meaning of V2 was dropped because it proves only that the
|