@cratis/pi 7.40.0 → 7.42.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/harnesses/copilot/instructions/local-work-artifacts.instructions.md +12 -6
- package/package/corpus/harnesses/pi/extensions/cratis-hooks/index.ts +35 -2
- package/package/corpus/hooks/README.md +24 -0
- package/package/corpus/hooks/scripts/cratis-cleanup-worktrees.sh +184 -0
- package/package/corpus/hooks/settings.template.json +21 -0
- package/package/corpus/product-sync.json +10 -10
- package/package/corpus/prompts/ship-changes.prompt.md +15 -0
- package/package/corpus/rules/local-work-artifacts.md +12 -6
- package/package/corpus/skills/cratis-arc-command/references/generated-values.md +3 -2
- package/package/corpus/skills/cratis-chronicle-reactor/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/audit-format.md +2 -2
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +1 -1
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/provenance.md +2 -2
- 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 +5 -4
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +5 -5
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/invocation-identity.md +4 -2
- package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +10 -8
- package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +7 -6
- package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +4 -4
- package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +137 -50
- package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +12 -7
- package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +7 -7
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +1 -1
- 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 +6 -4
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +3 -1
- 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 +1 -1
- package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-read-surface/references/equality-filters.md +15 -10
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +11 -11
- 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 -4
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +5 -5
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +1 -1
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +6 -5
- 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 +10 -3
- package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +5 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +4 -4
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +1 -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 +17 -13
- package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet-example.md +2 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +6 -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 +26 -21
- package/package/corpus/skills/cratis-screenplay-toolchain/references/generation-strategies-example.md +43 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/production-routes-and-filters.md +5 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +32 -32
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +1499 -46
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +2 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +3 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +2 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +50 -38
- package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +8 -6
- package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +5 -4
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/response-continuations.md +109 -0
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/worked-flow.md +1 -1
- package/package/corpus/skills/cratis-screenplay-ui-composition/verification.json +5 -0
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +17 -18
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +47 -35
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/rendered-application.md +7 -7
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +20 -8
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/scene-runtime.md +1 -1
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +4 -1
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
- Rendering is a different verdict
|
|
12
12
|
- Verified product sources
|
|
13
13
|
|
|
14
|
-
Screenplay **4.143.0 and later**, including the standalone **4.
|
|
14
|
+
Screenplay **4.143.0 and later**, including the standalone **4.148.0** pin,
|
|
15
15
|
binds `filter <name> <Type> [optional]` on a collection query when:
|
|
16
16
|
|
|
17
17
|
- there is no `from` source;
|
|
@@ -189,11 +189,14 @@ module FilteringExamples
|
|
|
189
189
|
|
|
190
190
|
## Rendering is a different verdict
|
|
191
191
|
|
|
192
|
-
**CLI 3.
|
|
193
|
-
|
|
194
|
-
`
|
|
195
|
-
|
|
196
|
-
|
|
192
|
+
**CLI 3.57.0** bundles **Screenplay 4.147.1 / Stage 4.89.1**, admitting through
|
|
193
|
+
**ESM v15**. Equality filters render on observable collections, with or without
|
|
194
|
+
`by`, combined by AND. Optional omission is preserved. Snapshot lists, DateTime
|
|
195
|
+
filters and required filter parameters after optional ones refuse `STAGE-ESM-010`;
|
|
196
|
+
parameter name collisions refuse `-012`. Generated query specifications pass named
|
|
197
|
+
arguments and check result counts. The semantic Host executes filters, but the
|
|
198
|
+
independent specification executor refuses filtered assertions with `-010`
|
|
199
|
+
(and retains the GivenReadModel gap). V3/V4 is still not a render/build/test result;
|
|
197
200
|
never erase filters to obtain a render.
|
|
198
201
|
|
|
199
202
|
## Verified product sources
|
|
@@ -202,7 +205,9 @@ never erase filters to obtain a render.
|
|
|
202
205
|
`decisions/0069-admit-equality-query-filters-as-esm-v14.md`;
|
|
203
206
|
`Documentation/screenplay/queries.md` (Executable equality filters),
|
|
204
207
|
`specifications.md:145,307-319,409-428`; admission shipped in v4.143.0.
|
|
205
|
-
- Stage **v4.
|
|
206
|
-
uses `
|
|
207
|
-
|
|
208
|
-
|
|
208
|
+
- Stage **v4.89.1**: `Source/Rendering.Cratis/Semantics/SemanticVersionFeatures.cs:105`
|
|
209
|
+
uses `EsmSchemaV15Support`; `SemanticCratisAdmission.StateView.cs:139-178`
|
|
210
|
+
checks filters/order; `Documentation/docker/index.md:143-153`, `docker/spec-runner.md:35-43`
|
|
211
|
+
distinguish Host and independent executor.
|
|
212
|
+
- CLI **v3.57.0**: `Directory.Packages.props:8-10` pins Screenplay 4.147.1 / Stage
|
|
213
|
+
4.89.1; `Source/Cli/Commands/Render/RenderedSemanticVersions.cs:34-47` admits v1-v15.
|
|
@@ -26,8 +26,8 @@ Version pins live once in `cratis-screenplay-toolchain` `references/versions.md`
|
|
|
26
26
|
selecting the compiler and renderer for delivery: the CLI bundles its own Screenplay and Stage;
|
|
27
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.
|
|
30
|
-
`SemanticVersionFeatureAdmission.cs:25-
|
|
29
|
+
and `cratis render --help`; admission at Stage `v4.89.1` (`SemanticVersionFeatures.cs:105`,
|
|
30
|
+
`SemanticVersionFeatureAdmission.cs:25-46`, `SemanticCratisAdmission.Automation.cs:15-123`). Stage's scaffold pins Arc and
|
|
31
31
|
Chronicle releases, which are not the latest (`cratis-stage-rendering-and-sandbox`
|
|
32
32
|
`references/rendered-application.md`). Source reading is not a new render run.
|
|
33
33
|
|
|
@@ -71,10 +71,10 @@ assume an answer to 4, and record it as `blocked` for the user.
|
|
|
71
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** |
|
|
72
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` |
|
|
73
73
|
|
|
74
|
-
Evolved events are gap-fill too: Stage still refuses (4.
|
|
74
|
+
Evolved events are gap-fill too: Stage still refuses (4.89.1) 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.
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
fixtures and `then returns
|
|
76
|
+
Supported UUID/String generation strategies, v15 freshness and scalar/named `returns`
|
|
77
|
+
responses, fixtures and `then returns` render with CLI 3.57.0 / Stage 4.89.1. Unsupported generated
|
|
78
78
|
types (`STAGE-ESM-028`) and result combinations (`-038`) still require case A or C:
|
|
79
79
|
preserve the model and its specifications. See Stage's `references/admission.md`.
|
|
80
80
|
Supported event-triggered Automation slices also render as managed Chronicle reactors;
|
|
@@ -83,9 +83,9 @@ refused reactions, captures and Translate slices remain gap-fill.
|
|
|
83
83
|
Models with event sources, streams or command routes bind and reference-execute as ESM v8 on the standalone
|
|
84
84
|
tool, so report V3 and V4 from that tool. The pinned CLI/Stage pair
|
|
85
85
|
(`cratis-screenplay-toolchain/references/versions.md`) reaches v8 route checks
|
|
86
|
-
and construct admission through
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
and construct admission through v15. Public/foreign events and production overrides
|
|
87
|
+
still refuse; semantic reaction/reducer filters and role/authenticated `runs as` render.
|
|
88
|
+
Claim-reading/opaque system gates, legacy actor/filter paths and mixed effects still refuse. Keep refused scope as case A/C,
|
|
89
89
|
never infer target support from binding. Read Stage's `references/admission.md` and
|
|
90
90
|
toolchain `references/sources-and-streams.md`.
|
|
91
91
|
|
|
@@ -96,7 +96,7 @@ transaction; a retry can repeat the events). The scaffold now includes the mixed
|
|
|
96
96
|
but Stage still refuses it because redelivery can duplicate events. `[OnceOnly]` excludes replay,
|
|
97
97
|
not retries. Keep the modeled reaction whole; gap-fill needs a proven retry-safe realization,
|
|
98
98
|
not splitting or dropping effects to get a render. Source: Stage
|
|
99
|
-
`v4.
|
|
99
|
+
`v4.89.1:Documentation/reference/reaction-rendering.md:53-98`.
|
|
100
100
|
|
|
101
101
|
Two rules hold in every case: a customization never makes a rejected model renderable, and
|
|
102
102
|
a whole-application V5 is never claimed from a subset. `--scope` renders an admitted part (the whole
|
|
@@ -110,7 +110,7 @@ model still compiles and binds) and its V5 states the scope.
|
|
|
110
110
|
`--project-name`, `--root-namespace` and target `cratis`. Take V1 and V3 from
|
|
111
111
|
`cratis-screenplay-toolchain`; report each with tool and version. V3 from a different
|
|
112
112
|
compiler version does not prove the cratis-bundled binder admits the model (the bundle is
|
|
113
|
-
4.
|
|
113
|
+
4.147.1, the standalone tool 4.148.0). `cratis screenplay validate --executable <root>` binds with
|
|
114
114
|
the bundled compiler and writes nothing: use it as the bundled-binder check (toolchain `references/verdicts.md`).
|
|
115
115
|
2. **Probe.** `cratis render <model-root> --name <App> --destination <probe-dir> -o json`
|
|
116
116
|
(exit 0 published, 5 refused with nothing published, 1 missing input); add `--check` to plan
|
|
@@ -157,7 +157,7 @@ Adapters and non-renderable scope follow the contract rules of `cratis-applicati
|
|
|
157
157
|
(`cratis-application-slice-conformance` `references/build-prompts.md`).
|
|
158
158
|
- One ledger scope per `slice-implementer` brief; the brief carries addresses and paths, not contents.
|
|
159
159
|
- Model-enforced rules realized in code (state-dependent rules) need a protected read or
|
|
160
|
-
concurrency scope; never claim them from prose. Stage 4.
|
|
160
|
+
concurrency scope; never claim them from prose. Stage 4.89.1 rendered apps scaffold
|
|
161
161
|
the Arc/Chronicle set in `cratis-stage-rendering-and-sandbox` `references/rendered-application.md`; API availability alone is not verified enforcement.
|
|
162
162
|
- Adapters that call outside systems follow `cratis-engineering-effect-boundaries`; slice
|
|
163
163
|
specifications follow `cratis-application-slice-specifications`.
|
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.57.0 = Screenplay 4.147.1), not standalone 4.148.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,7 +74,7 @@ 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 4.
|
|
77
|
+
Stage 4.89.1 renders supported event-triggered Automation as Chronicle reactors.
|
|
78
78
|
Translate/captures and refused reactions are gap-fill against the slice and its specifications;
|
|
79
79
|
see Stage's `references/admission.md` for precise limits. The realization follows the actual construct and
|
|
80
80
|
trigger, not the slice label: a capture is an ingestion adapter, an event reaction (including a
|
|
@@ -87,14 +87,14 @@ composition conventions (`rules/vertical-slices.md`, `cratis-chronicle-reactor`)
|
|
|
87
87
|
Declare the trusted actor with reaction `runs as system role "<Role>"`
|
|
88
88
|
(standalone 4.125.0, ESM v10); `given caller` is not an invocation actor.
|
|
89
89
|
Historical CLI 3.41.0's older compiler rejected the syntax. The pinned CLI/Stage pair
|
|
90
|
-
(`cratis-screenplay-toolchain/references/versions.md`)
|
|
91
|
-
|
|
90
|
+
(`cratis-screenplay-toolchain/references/versions.md`) renders role/authenticated reaction identity; claim-reading/opaque system gates still
|
|
91
|
+
refuse STAGE-ESM-034. Gap-fill retains the declared role and uses Arc
|
|
92
92
|
`[ExecuteCommandsAsSystem]` for returned commands. Checked model and diagnostics:
|
|
93
93
|
captures-and-reactions `references/invocation-identity.md`.
|
|
94
94
|
|
|
95
95
|
A reaction that both produces events and invokes commands keeps its single modeled form
|
|
96
96
|
(`STAGE-ESM-037` is Stage's refusal, not a model defect). Hand-write one reactor returning the events
|
|
97
|
-
and the commands: on Arc 22.72.0 or later (the Stage 4.
|
|
97
|
+
and the commands: on Arc 22.72.0 or later (the Stage 4.89.1 scaffold includes the handler, but mixed reactions remain refused because redelivery can duplicate events) the runtime appends the events first as one batch, then
|
|
98
98
|
runs the commands in order, with no transaction across the two effects; a failing command stops the
|
|
99
99
|
later ones but keeps the committed events, and a retry can append the events again, so make the
|
|
100
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.147.1 in
|
|
11
|
+
cratis 3.57.0, ESM up to v15 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 (see Stage's current code table, including `-024`, `-027`, `-028`, `-030` to `-
|
|
18
|
+
(still refused at Stage 4.89.1); the CLI adds nothing. Stage admits ESM v1 to v15 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 `-041`).
|
|
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),
|
|
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), DateTime equality filters and required parameters after optional filters (`-010`); context/single-result filters, opaque `scoped to`/`performer` and composite `by` remain PLAY0268; Translate, clocks, captures, non-event triggers and opaque reaction bodies (`-024`); claim-reading/opaque `runs as` gates (`-034`), legacy `from` (`-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`), non-text secrets (`-041`) 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
|
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"kind": "skill-contains",
|
|
45
45
|
"value": "STAGE-ESM-026"
|
|
46
46
|
},
|
|
47
|
-
{ "kind": "skill-contains", "value": "
|
|
47
|
+
{ "kind": "skill-contains", "value": "render with CLI 3.57.0 / Stage 4.89.1" },
|
|
48
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" }
|
package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md
CHANGED
|
@@ -14,18 +14,19 @@ Typed example/override forms: `cratis-screenplay-specifications`
|
|
|
14
14
|
| `when <Cmd>` -> `then <Event>` / `then error` / `then denied` | yes | yes | yes |
|
|
15
15
|
| `given <Event>` with `for` | yes | yes (needed for keyed views) | yes |
|
|
16
16
|
| `given readmodel` | yes | yes (complete instance with key) | only as the query-only lookup below |
|
|
17
|
-
| `when append <Event>` | yes | yes |
|
|
17
|
+
| `when append <Event>` | yes | yes | supported single-hop reaction effects/invocation only; fan-out, deeper cascades and other refused assertions retain STAGE-ESM-011 |
|
|
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 |
|
|
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 | yes on supported observable collections in CLI 3.57.0 / Stage 4.89.1; DateTime/filter parameter order and snapshot lists refuse -010; independent Stage executor still refuses filtered assertions (-010) |
|
|
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: STAGE-ESM-011; generated CommandScenario does not settle reactions (Stage 4.
|
|
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.
|
|
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.89.1) |
|
|
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.89.1 for supported UUID/String strategies and v15 freshness and scalar/named responses; unsupported types/combinations remain -028/-038 |
|
|
27
|
+
| v15 generation strategy fixtures and used-source rejection | yes | strict encoding/size/case/version/variant; Contract for invalid pins, Concurrency for reused source | supported strategies/freshness render; invalid pins refuse -011, unpinned unordered/projected assertions -038; source: command-surface `references/generated-values-and-responses.md` |
|
|
27
28
|
| `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 now renders (Stage 4.
|
|
29
|
+
| 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.89.1); reserved names/unformattable fixtures remain STAGE-ESM-030 |
|
|
29
30
|
| Typed examples and overrides | yes | expanded and type-checked before binding; required fields remain required | depends on expanded contract, not fixture reuse |
|
|
30
31
|
| `given operation ... fails`, `then operation`, `then compensated` | yes | unadmitted PLAY0268 | gap-fill |
|
|
31
32
|
| 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
|
|
24
|
+
| allocated by the runtime | `Type generated` on a required scalar generatable Uuid/String concept (implicit UUID is v7; explicit serialized strategy selects v15, Screenplay 4.147.0+ with strict fixtures and whole-source freshness). CLI 3.57.0 / Stage 4.89.1 render supported strategies; types/combinations retain -028/-038; no concept rules. See command-surface `references/generated-values-and-responses.md` | 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,7 +1,7 @@
|
|
|
1
|
-
## Generated fixtures and return expectations (ESM v7)
|
|
1
|
+
## Generated fixtures and return expectations (ESM v7 and v15)
|
|
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); CLI 3.
|
|
4
|
+
cratis 3.28.3 bundle, 4.66.0, did not); CLI 3.57.0 / Stage 4.89.1 render supported UUID/String generation strategies,
|
|
5
5
|
scalar/named responses, fixtures and `then returns`. Unsupported types/result combinations
|
|
6
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.
|
|
@@ -35,6 +35,13 @@ specification RegisteringReturnsIdentifiers
|
|
|
35
35
|
keeps its own outcome.
|
|
36
36
|
- For a generated identifier `for` is the generation fixture, not a destination assertion: expected events state their
|
|
37
37
|
own destinations. For commands without a generated identifier `when ... for` keeps the destination assertion.
|
|
38
|
-
UUID
|
|
38
|
+
UUID fixtures require canonical lowercase hyphenated form. From v15, pins must also match
|
|
39
|
+
exact strategy size, case, UUID version/variant and zero trailing encoding bits; invalid pins are
|
|
40
|
+
Contract rejections. Earlier models check canonical UUID type, not its version.
|
|
41
|
+
- A serialized concept generation strategy selects v15 and Guarded whole-source freshness for all
|
|
42
|
+
generated destinations, including implicit UUIDs. Reusing a generated source with existing facts
|
|
43
|
+
rejects the entire command with Concurrency, without append, response or silent retry. Below v15
|
|
44
|
+
fixtures retain legacy reuse. See the complete [strategy example](../../cratis-screenplay-toolchain/references/generation-strategies-example.md)
|
|
45
|
+
and command-surface `references/generated-values-and-responses.md` for tagged sources.
|
|
39
46
|
- A reaction-invoked command that reaches generation is `Unsupported(IdentityAllocation)` (no fixture channel); a
|
|
40
47
|
response-only command runs and its response is discarded.
|
package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md
CHANGED
|
@@ -53,11 +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
|
-
captures, non-event triggers or opaque bodies (`-024`), `
|
|
59
|
-
or mixed effects (`-037`).
|
|
60
|
-
remain `-011`. Keep refused scope as gap-fill against this contract: `cratis-screenplay-render-and-gap-fill`.
|
|
56
|
+
- A model that uses these forms selects ESM v6 (`schemaVersion: 6`). Stage 4.89.1
|
|
57
|
+
admits ESM v1-v15 and renders supported event-triggered Automation, but not Translate,
|
|
58
|
+
captures, non-event triggers or opaque bodies (`-024`), claim-reading/opaque `runs as` gates (`-034`), legacy filters (`-035`)
|
|
59
|
+
or mixed effects (`-037`). Single-hop reaction append specs render; deeper appends and
|
|
60
|
+
command specs cascading into reactions remain `-011`. Keep refused scope as gap-fill against this contract: `cratis-screenplay-render-and-gap-fill`.
|
|
61
61
|
|
|
62
62
|
### Version skew: cascades and the false `PLAY0285` (cratis before 3.28.2)
|
|
63
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.89.1 | 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 v15; 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.89.1 renders supported UUID/String strategies and v15 freshness; 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.
|
|
@@ -156,7 +156,7 @@ option, mark it `ASSUMED` in the slice or module `documentation` and in the sess
|
|
|
156
156
|
block compiles but is PLAY0271 at binding. Keep both when they state real intent; they are not
|
|
157
157
|
protection. `description` text never reaches rendered code: a rule that lives only in prose is
|
|
158
158
|
unenforced there.
|
|
159
|
-
- `pii` and `secret` bind as ESM v13 on standalone 4.142.0 (since 4.141.0)
|
|
159
|
+
- `pii` and `secret` bind as ESM v13 on standalone 4.142.0 (since 4.141.0) and the pinned CLI;
|
|
160
160
|
enum/identity compliance and protected events with explicit subject marks still
|
|
161
161
|
refuse PLAY0268 (command-surface `references/compliance.md`). Legacy markers are
|
|
162
162
|
deprecated (PLAY0565). Never remove protection to pass a tool. PLAY0515 also refuses
|
package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md
CHANGED
|
@@ -178,7 +178,7 @@ 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 4.
|
|
181
|
+
Stage 4.89.1 renders supported internal event-triggered Automation, but Translate,
|
|
182
182
|
captures and foreign/public event boundaries remain refused. The translation is gap-fill
|
|
183
183
|
with the model as its contract (`cratis-screenplay-render-and-gap-fill`).
|
|
184
184
|
|
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.57.0 bundles Screenplay 4.147.1 /
|
|
42
|
+
Stage 4.89.1, 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 v15" }
|
|
20
20
|
]
|
|
21
21
|
}
|
|
@@ -24,7 +24,7 @@ files is one application: always check the folder, never one file of it.
|
|
|
24
24
|
|
|
25
25
|
When choosing or upgrading a tool, or checking version-specific capabilities, read `references/versions.md`; it is the only version table, and other skills point to it. For exact diagnostic codes, MCP names/parameters and standalone CLI options, search the large published [references/screenplay-contract.json](references/screenplay-contract.json), pinned by [references/screenplay-contract.version](references/screenplay-contract.version), rather than loading it in full. Locate a diagnostic by its exact `code` (for example `"code": "PLAY0029"`), a tool by its exact `name` (for example `"name": "read-workspace"`), or a command in `cliCommands`; read the matched object for retirement, parameters or options. [references/screenplay-contract-exceptions.json](references/screenplay-contract-exceptions.json) records reasoned exceptions for historical statements; it does not change the current contract.
|
|
26
26
|
|
|
27
|
-
The standalone pin is Screenplay 4.
|
|
27
|
+
The standalone pin is Screenplay 4.148.0.
|
|
28
28
|
CLI and bundled package pins: `references/versions.md`. The single version table records
|
|
29
29
|
released source evidence and historical probes separately; do not relabel an old
|
|
30
30
|
render/browser result as a probe of the current packages.
|
|
@@ -33,7 +33,7 @@ Historical screens-release evidence: CLI 3.40.7 / Stage 4.51.1 / bundled
|
|
|
33
33
|
Screenplay 4.114.0 opened the canonical corpus with `executableReady true`
|
|
34
34
|
and the stdio transcript exposed 37 tools; standalone language 4.122.0 was
|
|
35
35
|
recorded in that vector. These retained results are not a rerun on CLI 3.53.1
|
|
36
|
-
or
|
|
36
|
+
or the current standalone pin.
|
|
37
37
|
|
|
38
38
|
## Ground rules
|
|
39
39
|
|
|
@@ -45,8 +45,8 @@ 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.
|
|
49
|
-
the standalone pin is 4.
|
|
48
|
+
and generation. Bundled and standalone versions differ (CLI 3.57.0 bundles 4.147.1;
|
|
49
|
+
the standalone pin is 4.148.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.
|
|
52
52
|
5. **Capability is not correctness.** The tool you ran decides what is accepted today; the
|
|
@@ -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 v15 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
|
|
|
@@ -112,15 +112,15 @@ changes with the root folder name.
|
|
|
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. CLI 3.
|
|
117
|
-
|
|
115
|
+
- **Renderable** (V5): `references/renderable-subset.md` has the current Stage 4.89.1 table and
|
|
116
|
+
explicitly labeled older probes. CLI 3.57.0 admits through v15; supported UUID/String
|
|
117
|
+
generation/responses, enum numbers, compliance, equality filters and event reactions render.
|
|
118
118
|
Unsupported generated types still get `STAGE-ESM-028`; result combinations get `-038`.
|
|
119
|
-
|
|
119
|
+
Newer versions refuse `CLI-RENDER-004`. Run admission
|
|
120
120
|
before claiming a particular model renders (`cratis render --scope` for an admitted part, `--check`
|
|
121
121
|
for no-write planning).
|
|
122
122
|
- **Event sources, streams and routes** bind as ESM v8 at 4.125.0.
|
|
123
|
-
The pinned CLI/Stage pair (`references/versions.md`) reaches admission through
|
|
123
|
+
The pinned CLI/Stage pair (`references/versions.md`) reaches admission through v15, not blanket
|
|
124
124
|
rendering. Operations and exact numeric source mode remain unadmitted.
|
|
125
125
|
Details: `references/sources-and-streams.md` and `references/versions.md`.
|
|
126
126
|
- **Released v9/v10 and published v11:** public contracts and direction select v9;
|
|
@@ -132,12 +132,16 @@ changes with the root folder name.
|
|
|
132
132
|
|
|
133
133
|
- **Published v12 (4.139.0):** non-positional enum numbers bind; canonical
|
|
134
134
|
`numbers` parallels `values`. Positional pins preserve earlier executable
|
|
135
|
-
bytes/version. Specifications still use names. CLI 3.
|
|
136
|
-
non-positional numbers, and Stage 4.
|
|
137
|
-
v14 collection filters still exceed the renderer's v13 ceiling (`references/versions.md`). Syntax:
|
|
135
|
+
bytes/version. Specifications still use names. CLI 3.57.0's compiler binds
|
|
136
|
+
non-positional numbers, and Stage 4.89.1 admits v12 and emits `Member = N`. Syntax:
|
|
138
137
|
command-surface `references/enum-numbers.md`; errors PLAY0667–0670 and opt-in
|
|
139
138
|
`enum-pinning` hint PLAY0671: `references/diagnostics.md`.
|
|
140
139
|
|
|
140
|
+
- **Published v15 (4.147.0):** concept strategies and Guarded freshness; strict fixture shapes,
|
|
141
|
+
no silent retry. Read [references/generation-strategies-example.md](references/generation-strategies-example.md)
|
|
142
|
+
and command-surface `references/generated-values-and-responses.md` for supported strategies/refusals.
|
|
143
|
+
Response-name continuations ship separately in 4.148.0, outside ESM; Scene runtime binding is not supplied.
|
|
144
|
+
|
|
141
145
|
- **Caller/compliance metadata** at 4.127.0: `$identity` aliases caller built-ins;
|
|
142
146
|
additional identity details are metadata and executable reads still refuse.
|
|
143
147
|
Bare `pii`/`secret` replace legacy spellings; `pii personal` repeats one marker
|
|
@@ -5,8 +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.
|
|
8
|
+
in 4.141.0); reasons remain report-only PLAY0270. CLI 3.57.0 bundles Screenplay
|
|
9
|
+
4.147.1 / Stage 4.89.1 and renders v13 concept protection. Binder-only PLAY0268
|
|
10
10
|
refusals and subject-lineage limits: command-surface `references/compliance.md`.
|
|
11
11
|
|
|
12
12
|
```screenplay test=unbound
|
|
@@ -174,7 +174,7 @@ 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.
|
|
177
|
+
events with explicit subject marks still refuse PLAY0268. CLI 3.57.0's 4.147.1
|
|
178
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
|
|
|
@@ -326,6 +326,9 @@ or V4 execution. Run the CLI or MCP for those verdicts. Authority:
|
|
|
326
326
|
| PLAY0469 (I/W) | command identifier copied into the payload while targeting it |
|
|
327
327
|
| PLAY0479 (I) | legacy `?` optional |
|
|
328
328
|
| PLAY0480/0484 | modifier order `Type optional generated identifier` |
|
|
329
|
+
| PLAY0682 | `generate sequence` is reserved; keep the intended sequence as a capability gap |
|
|
330
|
+
| PLAY0683/0684 | PLAY0683: generated non-identifier below 64 random bits warns (a single-property unique constraint suppresses it); PLAY0684: generated identifier below 64 random bits is an error |
|
|
331
|
+
| PLAY0685 | own response name used under execute failure; outer successful responses remain available. Screenplay 4.148.0, UI composition `references/response-continuations.md` |
|
|
329
332
|
| PLAY0289 | (binding) no documents: empty root |
|
|
330
333
|
|
|
331
334
|
Fix order: E at V1 -> W at V1 -> silent-gap check -> V2 codes (if the mode needs V3).
|
|
@@ -334,9 +337,9 @@ Report each as `code file:line one-line meaning`; never paste more than about 30
|
|
|
334
337
|
## Render admission (V5): `STAGE-*`, `CLI-RENDER-*`, `STAGE-CRATIS-*`
|
|
335
338
|
Full table with causes: `renderable-subset.md`. The Stage 4.24.x rows below
|
|
336
339
|
retain historical source/probe evidence. The pinned CLI/Stage pair (`versions.md`) admits
|
|
337
|
-
through
|
|
340
|
+
through v15 to construct checks; above it is CLI-RENDER-004 (direct Stage:
|
|
338
341
|
STAGE-ESM-016). Publication STAGE-ESM-032, foreign facts/event captures 033,
|
|
339
|
-
reaction
|
|
342
|
+
claim-reading/opaque reaction gates 034, legacy filters 035 and production overrides 036 remain
|
|
340
343
|
refused; reducer filters render. Previous CLI 3.46.1 admitted through v7; its
|
|
341
344
|
v7 corpus received STAGE-ESM-028/029, not the older v7 version gate.
|
|
342
345
|
Codes in the historical snapshot:
|
|
@@ -17,7 +17,7 @@ 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.
|
|
20
|
+
with an explicit `subject` mark. CLI 3.57.0 bundles Screenplay 4.147.1 / Stage 4.89.1 and
|
|
21
21
|
renders v13 concept protection; protected identities/enums remain refused. These are distinct boundaries,
|
|
22
22
|
not a reason to remove protection.
|
|
23
23
|
|
|
@@ -49,7 +49,7 @@ read from source or documentation.
|
|
|
49
49
|
| 14 | `$causedBy` | not evaluable (#4119), not ESM | showcase only |
|
|
50
50
|
| 15 | literal keys | `key literal "global"` vs `key "global"` | both compile; prefer `literal` |
|
|
51
51
|
| 16 | query admission | Older `D/queries.md:74` and historical binder probes rejected live/collection/filter queries | Current v4.145.0 `queries.md` admits collection/observable queries and caller-supplied equality filters (ESM v14 since 4.143.0). Context `from`, single-result filters, opaque scope/performer and composite `by` remain PLAY0268 with specific reasons; source/refusal details: read-surface `references/equality-filters.md` |
|
|
52
|
-
| 17 | `@pii` | `D/concepts.md:3,33` "Chronicle applies `@pii` and `@sensitive` rules automatically" | the historical binder rejected any compliance attribute (PLAY0268); standalone 4.142.0 admits concept compliance as v13 (since 4.141.0) with narrower enum/identity/subject-lineage refusals (command-surface `references/compliance.md`). Keep protection; the
|
|
52
|
+
| 17 | `@pii` | `D/concepts.md:3,33` "Chronicle applies `@pii` and `@sensitive` rules automatically" | the historical binder rejected any compliance attribute (PLAY0268); standalone 4.142.0 admits concept compliance as v13 (since 4.141.0) with narrower enum/identity/subject-lineage refusals (command-surface `references/compliance.md`). Keep protection; the historical pre-v13 CLI reported V3 blocked. `@sensitive` means an operational secret (`[Encrypted]` + `[NotAudited]`; Screenplay decision 0034); the historically probed tools (standalone 4.68.0, bundle 4.66.0) do **not** report `PLAY0515` (`@pii` from 4.69.1, `@sensitive` from 4.84.1): there only Chronicle catches either attribute on an event-source identifier, at build time of the generated code (CHR0034 for `@pii`, CHR0052 for `@sensitive`) |
|
|
53
53
|
| 18 | read-model identity | `D/readmodels.md:32` "from the keyed query" | at 4.135.0 explicit `key` wins; else single-instance queries agree on one read-model `by` property; only with none and an admitted list query does conventional `*Id` inference run (collection-key exclusions: read-surface `references/named-keys.md`). Queryless views need explicit `key` |
|
|
54
54
|
| 19 | `$strings` constraint messages | `D/constraints.md:31` vs `D/internationalization.md:55` | the compiler keeps the key; realization localizes |
|
|
55
55
|
| 20 | composite key braces | optional in the EBNF; both forms in docs | both fine |
|