@cratis/pi 7.11.0 → 7.11.2
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/pi/extensions/cratis-hooks/index.ts +6 -5
- package/package/corpus/harnesses/pi/extensions/cratis-hooks/quality-gate.ts +25 -4
- package/package/corpus/hooks/README.md +33 -7
- package/package/corpus/hooks/scripts/cratis-quality-gate.sh +246 -79
- package/package/corpus/hooks/scripts/quality-gates.json +17 -3
- package/package/corpus/skills/cratis-application-slice-conformance/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-react-page/references/from-screenplay.md +3 -3
- package/package/corpus/skills/cratis-arc-react-page/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +12 -10
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +2 -2
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/cases-to-specify.md +4 -4
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +4 -3
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +7 -7
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translate-example.md +3 -2
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translation-patterns.md +2 -2
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +24 -22
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +5 -7
- package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +6 -6
- package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +9 -9
- package/package/corpus/skills/cratis-screenplay-discovery/references/facilitation.md +1 -1
- package/package/corpus/skills/cratis-screenplay-discovery/references/storming-loop.md +1 -1
- package/package/corpus/skills/cratis-screenplay-discovery/references/worked-session.md +1 -1
- package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +6 -6
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +3 -4
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +5 -5
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +6 -6
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md +1 -1
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/prologue-safety.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +6 -5
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +14 -13
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +8 -7
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/provenance.md +3 -3
- package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-review/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-review/references/report-template.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-review/references/worked-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +4 -4
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/identity-and-edits.md +2 -2
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/opt-in.md +25 -11
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/verdicts-and-modes.md +1 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +1 -1
- package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +5 -5
- package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +5 -5
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +7 -6
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/drift-and-ledger.md +1 -1
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +4 -4
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/worked-example.md +5 -5
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +10 -9
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-design.md +1 -2
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-example.md +2 -3
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/provenance.md +2 -2
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +2 -2
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-examples.md +1 -1
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +4 -4
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/view-and-story-specs.md +1 -1
- package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +1 -1
- package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +30 -29
- package/package/corpus/skills/cratis-screenplay-specifications/verification.json +2 -2
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +18 -17
- package/package/corpus/skills/cratis-screenplay-toolchain/references/automation-translate-example.md +1 -2
- 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 +4 -4
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +4 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/doc-contradictions.md +7 -7
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +14 -10
- package/package/corpus/skills/cratis-screenplay-toolchain/references/pdl-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/provenance.md +8 -8
- package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +7 -6
- package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +2 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +8 -8
- package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +12 -10
- package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +46 -36
- package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +2 -2
- package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +4 -4
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/worked-flow.md +3 -3
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +12 -9
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +8 -7
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/render-example.md +3 -3
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +1 -1
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +4 -1
- package/package.json +1 -1
package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Flags verified with `cratis screenplay generate --help` on the version recorded in
|
|
4
4
|
cratis-screenplay-toolchain `references/versions.md`; behaviour from the cratis CLI
|
|
5
|
-
(`v3.
|
|
5
|
+
(`v3.28.2:Source/Cli/Commands/Screenplay/`; the generate files are unchanged since `v3.27.1`), Arc `v22.50.5`
|
|
6
6
|
(`Documentation/backend/csharp/generating-a-screenplay.md`,
|
|
7
7
|
`Source/DotNET/Screenplay/ScreenplayDiagnosticCodes.cs`), Screenplay.Generation `v0.18.0` and
|
|
8
8
|
Screenplay.CritterStack `v0.24.0`. Version-specific capability facts belong in cratis-screenplay-toolchain
|
package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/prologue-safety.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Prologue capture and interpretation: safety
|
|
2
2
|
|
|
3
3
|
Sources: Prologue `ad4bbe7` (Extractor, Configuration, Interpretation) and cratis CLI
|
|
4
|
-
`v3.
|
|
4
|
+
`v3.28.2` (`Source/Cli/Commands/Prologue/*`, unchanged since `v3.27.1`; `LlmOptionsResolver.cs`,
|
|
5
5
|
`Documentation/reference/prologue.md`). Tool versions: `cratis-screenplay-toolchain`
|
|
6
6
|
`references/versions.md`.
|
|
7
7
|
Everything here that touches a target system is
|
|
@@ -19,15 +19,15 @@ the executable profile and a complete compiled model.
|
|
|
19
19
|
|
|
20
20
|
| Package | Version | Purpose |
|
|
21
21
|
| --- | --- | --- |
|
|
22
|
-
| `Cratis.Screenplay` / `Cratis.Screenplay.Tool` | `4.
|
|
22
|
+
| `Cratis.Screenplay` / `Cratis.Screenplay.Tool` | `4.66.0` (`c89198b`) | Current compiler, MCP (29/30 tools), roots fix; examples compiled with `--warnaserror` |
|
|
23
23
|
| `Cratis.Screenplay` | main `fd18129` | Inline events, repairs, rename/extraction and `optional` |
|
|
24
24
|
| `Cratis.Screenplay` | `4.31.0` | Original compiler, ESM and workspace evidence |
|
|
25
|
-
| `cratis` CLI | `3.
|
|
25
|
+
| `cratis` CLI | `3.28.2` | Bundles Screenplay 4.66.0 and Stage 4.24.1 (before 3.28.2: 4.60.1, ESM v5 at most, roots bug) |
|
|
26
26
|
|
|
27
27
|
Facts about the MCP connection, source-map, `whenAppendedEvent`, identity
|
|
28
|
-
persistence and the syntax-only constructs were read at tag `v4.
|
|
28
|
+
persistence and the syntax-only constructs were read at tag `v4.66.0`
|
|
29
29
|
(`Documentation/screenplay/mcp/{reference,install,edit}.md`,
|
|
30
|
-
`Source/DotNET/Screenplay.Mcp/`) and probed against the 4.
|
|
30
|
+
`Source/DotNET/Screenplay.Mcp/`) and probed against the 4.66.0 tool (persona,
|
|
31
31
|
trigger, `@pii`, generated values, operations, streams, automation binding).
|
|
32
32
|
Repair and refactoring guidance follows main `fd18129` (`commands.md`,
|
|
33
33
|
`events.md`, `types.md`, `diagnostics.md`, `mcp/authoring-tools.md`, `vscode.md`,
|
|
@@ -47,7 +47,8 @@ folder the user names. Without a project, the server works in `Documents/Screenp
|
|
|
47
47
|
in the user's home folder, so do not invent a location. A root fixed at launch
|
|
48
48
|
cannot be switched: another `path` returns `RootChangeRefused`.
|
|
49
49
|
|
|
50
|
-
**Prefer a fixed root.** Screenplay up to 4.63.1 (so Cratis CLI 3.
|
|
50
|
+
**Prefer a fixed root.** Screenplay up to 4.63.1 (so Cratis CLI before 3.28.2; fixed in
|
|
51
|
+
4.63.2, so not in CLI 3.28.2 or later, probed) fails a
|
|
51
52
|
dynamic-root server right after `notifications/initialized` when the client
|
|
52
53
|
advertises roots; real hosts then drop the connection, and `open-workspace.path`
|
|
53
54
|
cannot prevent it. Start `screenplay mcp <model-folder>` or `cratis screenplay mcp`
|
package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md
CHANGED
|
@@ -61,7 +61,7 @@ members or translating names from memory.
|
|
|
61
61
|
|
|
62
62
|
This registration model uses an inline event and context identity rather than
|
|
63
63
|
copying the identifier into payload. It was compiled at main `fd18129` with zero
|
|
64
|
-
source diagnostics and recompiled with standalone 4.
|
|
64
|
+
source diagnostics and recompiled with standalone 4.66.0 `--warnaserror`; neither
|
|
65
65
|
check runs its specifications. Inline lowering
|
|
66
66
|
and `optional` spelling do not themselves select a newer ESM version.
|
|
67
67
|
|
|
@@ -145,10 +145,11 @@ The ESM version is selected by what a model uses, never by the author:
|
|
|
145
145
|
distinct revision property identities. Historical declarations are not migration
|
|
146
146
|
implementations; a target without migration support must reject the contract.
|
|
147
147
|
- **v5** adds keyed read-model absence assertions (`then no readmodel`).
|
|
148
|
-
- **v6** (
|
|
148
|
+
- **v6** (Screenplay 4.61 and later; v4.66.0 `Versions.cs`) admits reactions,
|
|
149
149
|
captures, application triggers and the clock, hence `Automation` and
|
|
150
|
-
`Translate` slices. The Cratis CLI 3.
|
|
151
|
-
|
|
150
|
+
`Translate` slices. The Cratis CLI 3.28.2 bundles Screenplay 4.66.0 and binds them;
|
|
151
|
+
before 3.28.2 bundled 4.60.1 (ESM 5 at most), where these constructs failed
|
|
152
|
+
binding with `PLAY0268`. Name the tool
|
|
152
153
|
with every bound result; `cratis-screenplay-toolchain` (`references/versions.md`)
|
|
153
154
|
holds the per-tool table.
|
|
154
155
|
|
|
@@ -163,15 +164,15 @@ the model runs, including specifications that never touch it.
|
|
|
163
164
|
|
|
164
165
|
What binds today, what the reference execution plan refuses, what is opaque, what is
|
|
165
166
|
authorable but not executable, and what blocks binding. The snapshot comes from the
|
|
166
|
-
v4.31.0 table, re-read against v4.
|
|
167
|
-
the standalone 4.
|
|
168
|
-
(Screenplay 4.60.1
|
|
167
|
+
v4.31.0 table, re-read against v4.66.0 documentation and probed through the MCP of
|
|
168
|
+
the standalone 4.66.0 tool for the rows marked "probed"; Cratis CLI 3.28.2 bundles the
|
|
169
|
+
same Screenplay 4.66.0 (before 3.28.2, Screenplay 4.60.1, differ where stated).
|
|
169
170
|
|
|
170
171
|
| Disposition | Constructs |
|
|
171
172
|
| --- | --- |
|
|
172
173
|
| Binds and runs in the reference runner | `StateChange`/`StateView` slices; `produces` including `when` conditions over command properties and literal tags; the portable validation rules, `matches email`, quoted `matches` patterns and `require` over command properties; declarative policies and `authorize` on modules, features, commands and keyed queries; `unique` constraints; projections as Chronicle lowers them, including variants, except the projection constructs in the next row; specifications, including `given caller`, `then denied` and `when append` |
|
|
173
174
|
| Binds, but the reference execution plan refuses it | A projection-level `remove via join`; `all` beside removals, `children` or `nested`; a `join`, `children` or `remove via join` inside `nested`; any event-context value other than the event source identity in a projection mapping or key, such as `$eventContext.occurred`, `$eventContext.sequenceNumber` or `$eventContext.causedBy.subject` (`$eventSourceId` and `$eventContext.eventSourceId` run) |
|
|
174
|
-
| Binds as ESM v6 on
|
|
175
|
+
| Binds as ESM v6 on Screenplay 4.66.0, standalone and Cratis CLI 3.28.2 (probed); `PLAY0268` on Cratis CLI before 3.28.2 | `Automation` and `Translate` slices, reactions that produce or invoke, captures, top-level `trigger`, clock, trigger and capture specifications. The library reference runner evaluates them (v6 actions); no `screenplay` command or MCP tool runs it, and Stage 4.24.1 renders none of them (the whole automation is gap-fill) |
|
|
175
176
|
| Reaction with trigger `reads` | Direct-producing (or code-bodied) reaction with `reads`: `PLAY0268` ("ESM v6 cannot protect that decision dependency", decision 0006), non-executable. Invokes-only reaction with `reads`: information only; the invoked command must declare and protect its own decision reads. Keep the `reads`; never remove them to obtain binding |
|
|
176
177
|
| Binds as opaque code (v3); reference runner reports unsupported | Bodied reducers, bodied named rules, fenced `validate` blocks, code or file policies. A pure reducer body is the only attachment Stage 4.24.0 admits |
|
|
177
178
|
| Information only, never blocks (probed) | `persona` (report-only: `PLAY0270`, the policies it lists must exist), `authentication`, `domain`, `seed`, descriptions and `file` provenance. A persona does not block binding and does not change behavior, so state persona scope in a description or a policy the model uses |
|
|
@@ -182,7 +183,7 @@ the standalone 4.64.0 tool for the rows marked "probed"; Cratis CLI 3.27.1
|
|
|
182
183
|
| Metadata only (`PLAY0270`, information) | `domain`, `seed`, `persona`, trigger and other descriptions, and `file` provenance on declarations |
|
|
183
184
|
|
|
184
185
|
The table is a snapshot, not a contract (rows without "probed" are carried from
|
|
185
|
-
v4.31.0 and v4.
|
|
186
|
+
v4.31.0 and v4.66.0 documentation): ask the binder (MCP `executable-diagnostics`
|
|
186
187
|
view) rather than extrapolating from it. Neither `screenplay` nor
|
|
187
188
|
`cratis screenplay validate` binds, so a clean validation says nothing about this table. Retain valid source that the
|
|
188
189
|
backend cannot represent rather than downgrading it to a stub. The MCP does not
|
|
@@ -193,10 +194,10 @@ realization files. Stage owns rendering and runtime admission.
|
|
|
193
194
|
|
|
194
195
|
Decision 0006 shipped in Screenplay 4.31.0: a reaction trigger may declare
|
|
195
196
|
`reads <View> [as <alias>] [by <trigger value>]` (see
|
|
196
|
-
`cratis-screenplay-captures-and-reactions`). At v4.
|
|
197
|
+
`cratis-screenplay-captures-and-reactions`). At v4.66.0 a direct-producing
|
|
197
198
|
reaction with `reads` fails binding (`PLAY0268`); an invokes-only reaction reports
|
|
198
199
|
the reads as information, and the invoked command must protect its own
|
|
199
|
-
dependencies. On Cratis CLI 3.
|
|
200
|
+
dependencies. On Cratis CLI before 3.28.2 every reaction failed binding.
|
|
200
201
|
|
|
201
202
|
Do not infer availability from an accepted decision. Event generations and typed
|
|
202
203
|
diagnostic repairs now exist; see the event and MCP references rather than the
|
|
@@ -206,12 +207,12 @@ Code attachment/source-map support likewise does not prove code round-trip
|
|
|
206
207
|
execution equivalence.
|
|
207
208
|
|
|
208
209
|
Decision 0023's generated values and `returns`, operations and named event
|
|
209
|
-
sources/streams are **authorable** at v4.
|
|
210
|
+
sources/streams are **authorable** at v4.66.0 (syntax only, see the table above and
|
|
210
211
|
`commands.md`, `operations.md`, `event-sources.md` in the Screenplay documentation):
|
|
211
212
|
write them, but binding reports `PLAY0268` and nothing executes them until
|
|
212
213
|
the allocated ESM versions are implemented (the highest implemented is v6). Do not drop them for the sake of a green bind.
|
|
213
214
|
Protected reads and `derive`/`provide` (allocated v11) have no documented syntax at
|
|
214
|
-
v4.
|
|
215
|
+
v4.66.0: do not teach or invent one. Affected-instance declarations, per-event data
|
|
215
216
|
subjects, external event origin and query paging/sorting/change-set delivery also
|
|
216
217
|
remain unavailable here.
|
|
217
218
|
|
|
@@ -7,10 +7,10 @@ The working loop for the session that owns the model connection: connect, orient
|
|
|
7
7
|
choose an edit route, propose, review, apply, verify. Tool-by-tool arguments and
|
|
8
8
|
refusals are in the [MCP tool guide](mcp-tools.md); verdict names (V1 to V5) are
|
|
9
9
|
defined by `cratis-screenplay-modeling-lifecycle`. Facts here were read at
|
|
10
|
-
Screenplay v4.
|
|
11
|
-
and probed against the standalone 4.
|
|
12
|
-
4.63.1. Cratis CLI 3.
|
|
13
|
-
differ: read `tools/list`.
|
|
10
|
+
Screenplay v4.66.0 (`Source/DotNET/Screenplay.Mcp/`, `Documentation/screenplay/mcp/`)
|
|
11
|
+
and probed against the standalone 4.66.0 tool and, for the connection behavior,
|
|
12
|
+
4.63.1. Cratis CLI 3.28.2 bundles Screenplay 4.66.0 (probed: 29 tools and the same views);
|
|
13
|
+
Cratis CLI before 3.28.2 bundled 4.60.1, whose tool set and views differ: read `tools/list`.
|
|
14
14
|
|
|
15
15
|
## Connect
|
|
16
16
|
|
|
@@ -33,7 +33,7 @@ differ: read `tools/list`.
|
|
|
33
33
|
|
|
34
34
|
### Roots bug and the workaround
|
|
35
35
|
|
|
36
|
-
Screenplay up to 4.63.1 (fixed in 4.63.2; the 4.
|
|
36
|
+
Screenplay up to 4.63.1 (fixed in 4.63.2; the 4.66.0 tool is fixed) read the
|
|
37
37
|
client's roots reply from the wrong member. A server started **without** a root,
|
|
38
38
|
facing a client that advertises roots, answered with an error with `id: null`
|
|
39
39
|
immediately after `notifications/initialized`, before any tool call. Real hosts
|
|
@@ -41,8 +41,9 @@ treat that as fatal and drop the connection. Passing `open-workspace.path` does
|
|
|
41
41
|
**not** avoid it, because the error is sent before `open-workspace` runs.
|
|
42
42
|
|
|
43
43
|
Avoid it by fixing the root at launch (the forms in step 1). The `cratis/screenplay`
|
|
44
|
-
profile registration is not affected in an installed project, and the CLI now locates the model itself, so no model directory has to exist. Cratis CLI 3.
|
|
45
|
-
dynamic root there, fix the root.
|
|
44
|
+
profile registration is not affected in an installed project, and the CLI now locates the model itself, so no model directory has to exist. Cratis CLI before 3.28.2 bundled 4.60.1: for a
|
|
45
|
+
dynamic root there, fix the root. Cratis CLI 3.28.2 bundles 4.66.0, which is fixed (probed:
|
|
46
|
+
the server sends `roots/list` and serves `tools/list` after the reply).
|
|
46
47
|
|
|
47
48
|
## Who owns the connection
|
|
48
49
|
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
| Content | Source | How it is used |
|
|
7
7
|
| --- | --- | --- |
|
|
8
|
-
| `mcp-loop.md` (ownership, edit-request shape, edit routes, failure handling) | The project's own earlier event-modeling toolkit draft (MCP loop reference) | Restructured and re-verified against Screenplay v4.
|
|
9
|
-
| Connection facts (29/30 tools, `notifications/initialized`, 16 connection-local proposals, fixed root) | Screenplay `v4.
|
|
10
|
-
| Disposition table (personas, generated values, operations, streams, automation) | Screenplay `v4.
|
|
8
|
+
| `mcp-loop.md` (ownership, edit-request shape, edit routes, failure handling) | The project's own earlier event-modeling toolkit draft (MCP loop reference) | Restructured and re-verified against Screenplay v4.66.0 source and documentation; the roots-bug workaround and the identity rule (`id` pins are not enough when `identities.json` exists) were corrected or tightened |
|
|
9
|
+
| Connection facts (29/30 tools, `notifications/initialized`, 16 connection-local proposals, fixed root) | Screenplay `v4.66.0` `Source/DotNET/Screenplay.Mcp/McpToolCatalog.cs`, `McpConnection.cs`, `McpWorkspaces.cs`, `Documentation/screenplay/mcp/reference.md`, `install.md` | Read at the tag and probed against the standalone 4.66.0 tool (4.63.1 for the roots behavior) |
|
|
10
|
+
| Disposition table (personas, generated values, operations, streams, automation) | Screenplay `v4.66.0` `SemanticModelBinder.cs`, `commands.md`, `operations.md`, `event-sources.md`, `Versions.cs` | Probed through the MCP `executable-diagnostics` view of the 4.66.0 tool |
|
|
11
11
|
|
|
12
12
|
No TrogonStack or Nebulit text is reproduced here: neither covers the Screenplay
|
|
13
13
|
MCP surface.
|
|
@@ -29,9 +29,9 @@ adapted to `.play` declarations (`references/provenance.md`).
|
|
|
29
29
|
## Verified product sources
|
|
30
30
|
| Source | Pin | Used for |
|
|
31
31
|
|---|---|---|
|
|
32
|
-
| Screenplay | `v4.
|
|
33
|
-
| Screenplay issues | open at v4.
|
|
34
|
-
| cratis CLI | `v3.
|
|
32
|
+
| Screenplay | `v4.66.0` (`c89198b`) | MCP catalog (29 tools: `describe-application`, `search-declarations`, `dependencies`, `find-assertion-gaps`, `read-workspace`, `declaration-details`) in `Source/DotNET/Screenplay.Mcp/McpToolCatalog.cs`; diagnostics PLAY0029, PLAY0191, PLAY0268, PLAY0271, PLAY0350, PLAY0381, PLAY0469 in `Source/DotNET/Screenplay/Diagnostics/DiagnosticCodes.cs`; decision 0008 (one data subject per event) |
|
|
33
|
+
| Screenplay issues | open at v4.66.0 | Screenplay#393 advisory modeling-smell report (the sweep is its manual form); Screenplay#377 spec execution and Screenplay#388 lineage report: not available, so "specs written" is never "specs pass" and lineage is walked by hand |
|
|
34
|
+
| cratis CLI | `v3.28.2` | bundles Screenplay 4.66.0 and Stage 4.24.1; see the toolchain skill |
|
|
35
35
|
|
|
36
36
|
The full pin table lives in `cratis-screenplay-toolchain` `references/versions.md`; do not copy
|
|
37
37
|
it here. Compilation (V1) does not establish reference execution.
|
|
@@ -37,7 +37,7 @@ not why: a signal, so confirm the hidden reason before reporting. The fix names
|
|
|
37
37
|
change (`BerthReassigned`, `BerthLengthLimitRaised`), one event per reason, each with its own
|
|
38
38
|
rules and consumers. A shared payload shape alone is not a defect: full generations repeat the
|
|
39
39
|
prior shape on purpose and different facts may look alike. Cratis/Screenplay#393 proposes an
|
|
40
|
-
advisory report for exactly these signals; at v4.
|
|
40
|
+
advisory report for exactly these signals; at v4.66.0 no such report exists among the 29 MCP
|
|
41
41
|
tools, so the sweep is done by hand.
|
|
42
42
|
|
|
43
43
|
## Phase 2. Entity walk (5 checks, T1-T5; feeds F1-F3 and scenario coverage)
|
|
@@ -36,6 +36,6 @@ is adapted with the agreement of Martin Dilger and Nebulit GmbH.
|
|
|
36
36
|
the boundary rows of `anti-patterns.md`.
|
|
37
37
|
- Draft lineage of the first draft of this skill: the field-copy signal, the element sweep
|
|
38
38
|
and the entity walk are Cratis additions, grounded in Cratis/Screenplay#393 (advisory report
|
|
39
|
-
of information-level modeling smells, open at v4.
|
|
39
|
+
of information-level modeling smells, open at v4.66.0).
|
|
40
40
|
- Rejected anti-patterns (`checklist.md` R): Cratis/Screenplay strategy decisions and the
|
|
41
41
|
closure comments of the Screenplay issues that rejected them.
|
|
@@ -27,7 +27,7 @@ V2 executable diagnostics: <clean | n diagnostics: codes | not run: reason>
|
|
|
27
27
|
V3 binding-ready: <ready | blocked: codes | not run: reason>
|
|
28
28
|
V4 reference specs run: <route, expected vs discovered, passed/failed/unsupported/cancelled | not run: no route>
|
|
29
29
|
V5 rendered, target-verified: admission <...>; publication <...>; build <...>; tests <...> (each "not run: reason" when absent)
|
|
30
|
-
Gaps: <capability gaps and tool-version gaps, e.g. false PLAY0285 on cascades
|
|
30
|
+
Gaps: <capability gaps and tool-version gaps, e.g. a false PLAY0285 on cascades from a cratis before 3.28.2 bundle>
|
|
31
31
|
|
|
32
32
|
## Inventory (read-only audit; MCP describe-application view=summary, find-assertion-gaps)
|
|
33
33
|
Modules n, features n, slices n (StateChange n, StateView n, Automation n, Translate n),
|
|
@@ -112,7 +112,7 @@ Every event has a consumer (BerthList). Terminal reason: none needed.
|
|
|
112
112
|
Mode: design Stance: critic Review kind: independent
|
|
113
113
|
Source identity: 4f1c2ab+3e9a1c0b7d42 (source-identity helper)
|
|
114
114
|
Scope: feature Moorings/Berths
|
|
115
|
-
V1 authorable: pass (screenplay 4.
|
|
115
|
+
V1 authorable: pass (screenplay 4.66.0, 1 file)
|
|
116
116
|
V2 executable diagnostics: not run: design mode
|
|
117
117
|
V3 binding-ready: not run: design mode
|
|
118
118
|
V4 reference specs run: not run: no route
|
|
@@ -43,7 +43,7 @@ an unproven pass.
|
|
|
43
43
|
| An accepted model covers the scope | **Model** | Change the `.play`, verify V1-V3, review, then render or gap-fill |
|
|
44
44
|
| Opted in, but this scope has no model yet | **Model** | New behavior starts in discovery, then slice design |
|
|
45
45
|
| A computed rule inside a modeled slice | **Model + code attachment** | `csharp`/`file` block; it binds only as the construct allows (`cratis-screenplay-model-authoring`) |
|
|
46
|
-
| Scope Stage cannot render yet, including every modeled automation and translation (Stage `v4.24.
|
|
46
|
+
| Scope Stage cannot render yet, including every modeled automation and translation (Stage `v4.24.1` renders neither; the whole behavior is gap-fill, not just its outside call) | **Gap-fill code** | Hand-written; the `.play` slice and specs are the contract. `cratis-screenplay-render-and-gap-fill` separates an authorized existing generated base from fully hand-written delivery |
|
|
47
47
|
| Outside call, transport or credentials | **Adapter code** | `Customizations/` or the host, applying `cratis-engineering-effect-boundaries` |
|
|
48
48
|
| Infrastructure, clients, framework-profile repositories, brownfield not opted in | **Code** | Arc, Chronicle, spec and React skills; trivial changes keep the proportional-delegation policy |
|
|
49
49
|
|
|
@@ -213,11 +213,11 @@ the packet opens with `Outcome:`; STATE.md is current.
|
|
|
213
213
|
|
|
214
214
|
## Verified product sources
|
|
215
215
|
Full pin table: `cratis-screenplay-toolchain/references/versions.md`. Used here: Screenplay
|
|
216
|
-
`v4.
|
|
216
|
+
`v4.66.0` (`c89198b`): `Source/DotNET/Tool/Program.cs` (`--warnaserror`, folder mode),
|
|
217
217
|
`Source/DotNET/Screenplay/Semantics/SemanticModelBinder.cs:209-216` (personas are report-only),
|
|
218
218
|
`Documentation/screenplay/{constraints,specifications}.md`, `mcp/reference.md` (`modelRevision`);
|
|
219
|
-
cratis CLI `v3.
|
|
220
|
-
Stage `v4.24.
|
|
219
|
+
cratis CLI `v3.28.2` (`cratis screenplay validate --warnings-as-errors`, bundled Screenplay 4.66.0);
|
|
220
|
+
Stage `v4.24.1` (admits ESM v1-v3); opt-in key `mcpServers.screenplay.root` in cratis CLI `v3.28.2`
|
|
221
221
|
`Documentation/reference/screenplay-mcp.md`. The worked example compiles with both tools.
|
|
222
222
|
## Verify
|
|
223
223
|
```shell
|
package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/identity-and-edits.md
CHANGED
|
@@ -22,7 +22,7 @@ changes. The Screenplay Reviewer and Renderer never edit `.play`; they always re
|
|
|
22
22
|
|
|
23
23
|
## Classify by catalog address
|
|
24
24
|
Classify an edit by whether it changes the **catalog addresses**, not by artifact category.
|
|
25
|
-
At Screenplay v4.
|
|
25
|
+
At Screenplay v4.66.0 `SemanticAddress` assigns identities to modules, features, slices,
|
|
26
26
|
concepts, composite types, properties, commands, event contracts, read models, projections,
|
|
27
27
|
queries, query arguments, specifications, triggers, reactions and captures;
|
|
28
28
|
`ScreenplayWorkspace` materializes new assignments when it is created from source; and
|
|
@@ -38,7 +38,7 @@ contract evolution of a persisted event (new generation, property added, removed
|
|
|
38
38
|
|
|
39
39
|
**Document mappings count too.** With `identities.json` present, creating, deleting, renaming or
|
|
40
40
|
moving a mapped `.play` file changes no catalog address but still breaks reopening: at Screenplay
|
|
41
|
-
v4.
|
|
41
|
+
v4.66.0 `McpState.Open` throws `IdentityMappingConflict` ("mapped .play files are missing,
|
|
42
42
|
renamed, or accompanied by unmapped files ... use an MCP proposal to move/add/delete documents
|
|
43
43
|
explicitly"). Do these through MCP document operations (`propose-ast`), never a file move or rename
|
|
44
44
|
in the shell or editor.
|
|
@@ -3,20 +3,34 @@
|
|
|
3
3
|
The decision rule is in `SKILL.md` ("Decide the level first"). This file holds the evidence.
|
|
4
4
|
|
|
5
5
|
## Why an empty directory or an MCP entry is not opt-in
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
(`
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
Up to cratis CLI `v3.27.1`, `cratis ai install`/`update` created an empty `.cratis/screenplay`
|
|
7
|
+
model directory for the `cratis/screenplay` profile (and composed profiles such as Stage) and
|
|
8
|
+
registered a Screenplay MCP entry for it. From `v3.28.x` (read at `v3.28.2`) install no longer
|
|
9
|
+
creates a model directory by default: `AiMcpDescriptor.Root(configuration)` returns only an
|
|
10
|
+
explicitly configured `mcpServers.screenplay.root` (null otherwise; there is no `DefaultRoot`), and
|
|
11
|
+
`AiMcpPlan` creates a directory only for a configured root. The MCP entry is still registered,
|
|
12
|
+
and uninstall keeps any model directory. With no configured root, `cratis screenplay mcp` locates the model
|
|
13
|
+
itself (`Source/Cli/Commands/Screenplay/ScreenplayModelLocation.cs`): a legacy `.cratis/screenplay`
|
|
14
|
+
that already holds `.play` files, else the common ancestor of existing `.play` files, else a `Source`
|
|
15
|
+
or `src` folder, else a new `Screenplay/` folder at the project root. Nothing is chosen under
|
|
16
|
+
`.cratis` for new work. The MCP entry and any directory a tool created therefore appear in every
|
|
17
|
+
repository that merely installed the language skills, so neither can signal consent. The old
|
|
18
|
+
documentation text (`Documentation/ai/index.md` at `v3.28.2`: "Install/update creates the selected
|
|
19
|
+
empty model directory (normally `.cratis/screenplay`)") is stale against that source.
|
|
12
20
|
|
|
13
21
|
## The explicit signal
|
|
14
|
-
`mcpServers.screenplay.root` in `.cratis/ai.json` is the project-owned property that
|
|
15
|
-
model directory (`Documentation/reference/screenplay-mcp.md` at `v3.
|
|
22
|
+
`mcpServers.screenplay.root` in `.cratis/ai.json` is the project-owned property that sets the
|
|
23
|
+
model directory (`Documentation/reference/screenplay-mcp.md` at `v3.28.2`: "The optional
|
|
16
24
|
project-owned `mcpServers` property in `.cratis/ai.json` overrides the model directory or
|
|
17
|
-
disables registration"; `AiConfiguration.McpServers`, read by `AiMcpDescriptor`
|
|
18
|
-
`
|
|
19
|
-
|
|
25
|
+
disables registration"; `AiConfiguration.McpServers`, read by `AiMcpDescriptor.Root`). Verify with
|
|
26
|
+
`git -C <cli checkout> show v3.28.2:Source/Cli/Commands/Ai/AiMcpDescriptor.cs`.
|
|
27
|
+
|
|
28
|
+
## Model root and the committed-`.play` test
|
|
29
|
+
The corpus rule keeps `.cratis/screenplay/` as the default root for the committed-`.play` test.
|
|
30
|
+
Because a 3.28.x MCP server may place a new model under `Source/`, `src/` or `Screenplay/`, a
|
|
31
|
+
repository whose accepted model lives elsewhere is not opted in by rule (a) alone: it must set
|
|
32
|
+
`mcpServers.screenplay.root` to that directory, which is rule (b). When such a model exists
|
|
33
|
+
without the setting, report the mismatch instead of treating the repository as opted in.
|
|
20
34
|
|
|
21
35
|
## Edge cases
|
|
22
36
|
- `.play` files only under `.ai-work/`, a docs folder or a sample: not under the root, so not opt-in.
|
package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/verdicts-and-modes.md
CHANGED
|
@@ -8,7 +8,7 @@ defines what each result means and how to report it. Do not copy version facts h
|
|
|
8
8
|
|
|
9
9
|
| Result | Evidence | Does NOT prove |
|
|
10
10
|
|---|---|---|
|
|
11
|
-
| V1 authorable | folder-mode validate with warnings as errors. The standalone compiler includes imports in folder and file mode; the pinned `cratis` CLI (v3.
|
|
11
|
+
| V1 authorable | folder-mode validate with warnings as errors. The standalone compiler includes imports in folder and file mode; the pinned `cratis` CLI (v3.28.2) file validation still ignores imports (cli#244, probed), so folder mode is the cross-tool check | semantics, binding, specs |
|
|
12
12
|
| V2 executable diagnostics | the executable model reports no diagnostics for the scope | that any spec runs or passes |
|
|
13
13
|
| V3 binding-ready | the model binds to the executable semantic model | that any spec runs or passes |
|
|
14
14
|
| V4 reference specs run | the reference execution route only: engine, and per `.play` specification passed / failed / unsupported / cancelled | rendering, generated code, build or target tests |
|
package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md
CHANGED
|
@@ -42,7 +42,7 @@ Screenplay meaning, and when you meet the older usage, translate it and say so.
|
|
|
42
42
|
- Screenplay **`reaction`**: the construct that models it (`when` trigger, optional `where`,
|
|
43
43
|
`invokes` a command or `produces` events).
|
|
44
44
|
- Chronicle **reactor**: C# observer, usually for side effects; it does not by itself define
|
|
45
|
-
business decisions. A Screenplay reaction is authorable and bindable, but Stage `v4.24.
|
|
45
|
+
business decisions. A Screenplay reaction is authorable and bindable, but Stage `v4.24.1` renders no Automation or
|
|
46
46
|
Translate slice: the reactor and command are gap-fill code.
|
|
47
47
|
|
|
48
48
|
## Scenario vs specification
|
|
@@ -30,7 +30,7 @@ source is the single flow model.
|
|
|
30
30
|
| --- | --- | --- |
|
|
31
31
|
| `Cratis.Screenplay` | `4.31.0` | PDL parser, validator, diagnostics, semantic binder |
|
|
32
32
|
| `Cratis.Screenplay` | main `fd18129` | Inline event extraction and context identity guidance |
|
|
33
|
-
| `Cratis.Screenplay` | `4.
|
|
33
|
+
| `Cratis.Screenplay` | `4.66.0` (`c89198b`) | Reducer-body binding (`Semantics/`); no PDL syntax change affects the examples |
|
|
34
34
|
|
|
35
35
|
The update follows `commands.md`, `events.md` and `mcp/authoring-tools.md` at
|
|
36
36
|
that main commit (after v4.52.0); no PDL example changes in this update.
|
|
@@ -328,10 +328,10 @@ projection diagnostic codes, and worked examples.
|
|
|
328
328
|
|
|
329
329
|
## Verify
|
|
330
330
|
|
|
331
|
-
- [ ] Standalone `screenplay <model> --warnaserror` (4.
|
|
332
|
-
warnings;
|
|
333
|
-
|
|
334
|
-
lower). Name which tool produced the result.
|
|
331
|
+
- [ ] Standalone `screenplay <model> --warnaserror` (4.66.0) reports zero errors and zero
|
|
332
|
+
warnings; or `cratis screenplay validate --warnings-as-errors` on the model folder
|
|
333
|
+
(3.28.2 bundles the same Screenplay 4.66.0; before 3.28.2 bundled 4.60.1, ESM v5
|
|
334
|
+
or lower). Name which tool produced the result.
|
|
335
335
|
- [ ] Each read model has **exactly one** builder.
|
|
336
336
|
- [ ] No projection-level `key`; every `from` that must address the same
|
|
337
337
|
instance is keyed on the same identity.
|
|
@@ -29,7 +29,7 @@ source is the single flow model.
|
|
|
29
29
|
| --- | --- | --- |
|
|
30
30
|
| `Cratis.Screenplay` | `4.31.0` | Original parser, validator and binder evidence |
|
|
31
31
|
| `Cratis.Screenplay` | main `fd18129` | Canonical optionality; changed examples compiled |
|
|
32
|
-
| `Cratis.Screenplay` | `4.
|
|
32
|
+
| `Cratis.Screenplay` | `4.66.0` (`c89198b`) | Which query shapes bind and render (`Semantics/`, `Documentation/screenplay/queries.md`) |
|
|
33
33
|
|
|
34
34
|
The update follows `types.md`, `queries.md` and `vscode.md` at that main commit
|
|
35
35
|
(after v4.52.0). Compilation does not establish query execution.
|
|
@@ -258,10 +258,10 @@ binding failures are errors.
|
|
|
258
258
|
|
|
259
259
|
## Verify
|
|
260
260
|
|
|
261
|
-
- [ ] Standalone `screenplay <model> --warnaserror` (4.
|
|
262
|
-
warnings;
|
|
263
|
-
|
|
264
|
-
lower). Name which tool produced the result.
|
|
261
|
+
- [ ] Standalone `screenplay <model> --warnaserror` (4.66.0) reports zero errors and zero
|
|
262
|
+
warnings; or `cratis screenplay validate --warnings-as-errors` on the model folder
|
|
263
|
+
(3.28.2 bundles the same Screenplay 4.66.0; before 3.28.2 bundled 4.60.1, ESM v5
|
|
264
|
+
or lower). Name which tool produced the result.
|
|
265
265
|
- [ ] Every value the caller must not choose is a `from` parameter, not a `filter`.
|
|
266
266
|
- [ ] Every `scoped to global` is deliberate and defensible.
|
|
267
267
|
- [ ] `observable` is present exactly where the caller should see changes without
|
|
@@ -25,12 +25,12 @@ Version pins live once in `cratis-screenplay-toolchain` `references/versions.md`
|
|
|
25
25
|
|
|
26
26
|
| Source | Pin | Used for |
|
|
27
27
|
| --- | --- | --- |
|
|
28
|
-
| cratis CLI | `v3.
|
|
29
|
-
| Stage | `v4.24.
|
|
30
|
-
| Screenplay | `v4.
|
|
28
|
+
| cratis CLI | `v3.28.2` (`141c499`) | `cratis render` options, exit codes, publication receipt, bundled Screenplay 4.66.0 and Stage 4.24.1 (before 3.28.2 bundled 4.60.1 and 4.24.0) |
|
|
29
|
+
| Stage | `v4.24.1` (`2cadf59`) | admission (`STAGE-ESM-*`), ownership manifest, `Customizations/` seams, Debug-only specifications |
|
|
30
|
+
| Screenplay | `v4.66.0` (`c89198b`) | standalone compiler for V1 to V3; binding codes `PLAY0268` and the code-attachment rules |
|
|
31
31
|
| Rendered apps | Arc `22.25.0`, Chronicle `19.8.1` | `[ProtectedDecision]` (Arc 22.39.0 and later) is not available in code written into one |
|
|
32
32
|
|
|
33
|
-
Facts were read at those tags and `cratis render` was run at 3.
|
|
33
|
+
Facts were read at those tags and `cratis render` was run at 3.28.2 for the worked example
|
|
34
34
|
(`references/worked-example.md`). The renderer facts are owned by `cratis-stage-rendering-and-sandbox`;
|
|
35
35
|
this skill links them and never restates the admission table.
|
|
36
36
|
|
|
@@ -77,8 +77,9 @@ import-only root file.
|
|
|
77
77
|
when present; uncommitted model changes return to P6 before delivery. Record the source identity (`cratis-screenplay-modeling-lifecycle`
|
|
78
78
|
`references/verdicts-and-modes.md` "Source identity"), the model root, `--name`,
|
|
79
79
|
`--project-name`, `--root-namespace` and target `cratis`. Take V1 and V3 from
|
|
80
|
-
`cratis-screenplay-toolchain`; report each with tool and version. V3 from
|
|
81
|
-
compiler does not prove the cratis-bundled binder admits the model
|
|
80
|
+
`cratis-screenplay-toolchain`; report each with tool and version. V3 from a different
|
|
81
|
+
compiler version does not prove the cratis-bundled binder admits the model (they agree on
|
|
82
|
+
4.66.0 and cratis 3.28.2; an older cratis bundle binds less).
|
|
82
83
|
2. **Probe.** `cratis render <model-root> --name <App> --destination <probe-dir> -o json`
|
|
83
84
|
(exit 0 published, 5 refused with nothing published, 1 missing input). Classify every
|
|
84
85
|
diagnostic with `references/renderability-gate.md`: model fix in the chosen mode,
|
package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/drift-and-ledger.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
The ownership manifest `.cratis-render.json` at the destination records `semanticRevision`
|
|
5
5
|
(`rev1:<sha256>`), the target, the renderer, the application name and a hash per managed file.
|
|
6
6
|
|
|
7
|
-
Facts verified with `cratis render` 3.
|
|
7
|
+
Facts verified with `cratis render` 3.28.2 on one model: the same files rendered under the names
|
|
8
8
|
`Marina` and `Harbour` gave different `semanticRevision` values, so **the application name is part
|
|
9
9
|
of the revision**. The MCP workspace names the application after the model root folder (without
|
|
10
10
|
`.screenplay/identities.json`), so its `modelRevision` is not comparable with a render's manifest
|
package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/provenance.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## Moved and rewritten (Cratis)
|
|
4
4
|
- The render workflow of the earlier model skill set: capability probe, renderability
|
|
5
5
|
classification, delivery protocol, drift and fallback ledger. Rewritten for Stage 4.24 and cli
|
|
6
|
-
3.27.1,
|
|
6
|
+
3.27.1, then re-verified on cli 3.28.2 (Stage 4.24.1) by running `cratis render`; the
|
|
7
7
|
helper scripts are not shipped (their steps are the manual commands in `references/delivery-protocol.md`).
|
|
8
8
|
- The fallback-conformance checklist moved into `cratis-application-slice-conformance`
|
|
9
9
|
(`references/checklists.md`); this skill links it and keeps no copy.
|
package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md
CHANGED
|
@@ -7,8 +7,8 @@ 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 model with its **bundled** Screenplay (4.
|
|
11
|
-
ESM up to v5). Binding errors are `PLAY0268` (outside the admitted vertical), `PLAY0269`
|
|
10
|
+
1. The CLI compiles and binds the model with its **bundled** Screenplay (4.66.0 in cratis 3.28.2,
|
|
11
|
+
ESM up to v6; 4.60.1, ESM up to v5, before 3.28.2). Binding errors are `PLAY0268` (outside the admitted vertical), `PLAY0269`
|
|
12
12
|
(deferred), `PLAY0270` (report-only information), `PLAY0271` (legacy semantics) and `PLAY0273`
|
|
13
13
|
(a specification shape).
|
|
14
14
|
2. Execution planning builds the plan and can emit `PLAN-*` diagnostics before Stage runs.
|
|
@@ -27,7 +27,7 @@ ESM). Only the probe answers renderability. `PLAY0270` entries are information,
|
|
|
27
27
|
| --- | --- | --- | --- |
|
|
28
28
|
| **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 without `authenticated` (`-015`) | edit request to the modeler session with address, change and rationale |
|
|
29
29
|
| **Capability gap** | the intended meaning needs a construct Stage does not render yet | list, observable and filtered queries (`PLAY0268` "must declare one caller-supplied 'by'", `-010`); Automation and Translate slices (`PLAY0268` "not admitted by ESM v1", `-001`, Stage#79); reactions, clocks, captures and triggers (v6, `-016`); event generations (`CLI-RENDER-003`); conditional `produces when` (`-006`); `reads` (`PLAY0271`); code validation (`-005`); opaque policies (`-015`); compliance attributes (`PLAY0268` "require portable data-subject semantics"); a command `handler` (`PLAY0268`) | keep the model; ledger entry; options a to c in `SKILL.md`; link the Stage issue |
|
|
30
|
-
| **Tool skew** | the bundled compiler disagrees with documented semantics | the false `PLAY0285` on reaction cascades (cli#242); codes the standalone compiler does not raise | record in the session state and the ledger; never "fix" a correct model |
|
|
30
|
+
| **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 |
|
|
31
31
|
| **Environment** | not the model | restore failures, missing SDK, a destination that is not writable | fix the environment or report blocked |
|
|
32
32
|
|
|
33
33
|
## Triage rules
|
|
@@ -52,5 +52,5 @@ it, and cite only numbers you have just read. A closed issue is a trigger to pro
|
|
|
52
52
|
|
|
53
53
|
## Reference outcomes
|
|
54
54
|
- The complete marina model of `cratis-stage-rendering-and-sandbox` `references/render-example.md`:
|
|
55
|
-
admission ok, 30 artifacts, Debug build ok, 7 tests passed (cratis 3.
|
|
55
|
+
admission ok, 30 artifacts, Debug build ok, 7 tests passed (cratis 3.28.2).
|
|
56
56
|
- The model in `worked-example.md`: admission refused with 2 blocking `PLAY0268` diagnostics, nothing published.
|
package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/worked-example.md
CHANGED
|
@@ -7,7 +7,7 @@ refuses it, so nothing is published. The example shows how to classify, decide a
|
|
|
7
7
|
|
|
8
8
|
```screenplay
|
|
9
9
|
// cratis-screenplay-render-and-gap-fill: complete model for the refused-render example.
|
|
10
|
-
// Compiles with warnings as errors; `cratis render` 3.
|
|
10
|
+
// Compiles with warnings as errors; `cratis render` 3.28.2 refuses the list query.
|
|
11
11
|
domain Harbour.Marina
|
|
12
12
|
|
|
13
13
|
concept BerthId : Uuid
|
|
@@ -57,7 +57,7 @@ module Berths
|
|
|
57
57
|
|
|
58
58
|
## The probe
|
|
59
59
|
|
|
60
|
-
Source identity recorded first (`<commit>+<digest>`), tools named: `screenplay 4.
|
|
60
|
+
Source identity recorded first (`<commit>+<digest>`), tools named: `screenplay 4.66.0`, `cratis 3.28.2`.
|
|
61
61
|
V1 passed on both. Then:
|
|
62
62
|
|
|
63
63
|
```text
|
|
@@ -104,10 +104,10 @@ what the reference execution route supports).
|
|
|
104
104
|
## The report
|
|
105
105
|
|
|
106
106
|
```text
|
|
107
|
-
Mode: renderable (user chose) Source: <commit>+<digest> tools: screenplay 4.
|
|
108
|
-
V1 authorable: pass (1 file, screenplay 4.
|
|
107
|
+
Mode: renderable (user chose) Source: <commit>+<digest> tools: screenplay 4.66.0, cratis 3.28.2
|
|
108
|
+
V1 authorable: pass (1 file, screenplay 4.66.0; cratis validate also pass)
|
|
109
109
|
V2 diagnostics: not run: no MCP in this session (the bundled binder's PLAY0268 came from the render probe)
|
|
110
|
-
V3 binding: blocked: PLAY0268 x2 (cratis 3.
|
|
110
|
+
V3 binding: blocked: PLAY0268 x2 (cratis 3.28.2 bundled binder)
|
|
111
111
|
V4 specs: not run: no reference execution route in this toolchain (1 specification written, none run)
|
|
112
112
|
V5 admission: refused, 2 blocking diagnostics (list query), nothing published
|
|
113
113
|
V5 publication: not run: admission refused
|
|
@@ -24,8 +24,8 @@ language cannot express today are recorded, not faked. Grammar and outcome compa
|
|
|
24
24
|
`cratis-specification-by-example`); a full audit (`cratis-screenplay-model-review`).
|
|
25
25
|
|
|
26
26
|
## Verified product sources
|
|
27
|
-
Screenplay v4.
|
|
28
|
-
compiler; `cratis` 3.
|
|
27
|
+
Screenplay v4.66.0 (`c89198b`): `Documentation/screenplay/specifications.md` and the standalone
|
|
28
|
+
compiler; `cratis` 3.28.2 bundles the same Screenplay 4.66.0 (before 3.28.2 it bundled 4.60.1). The full pin table and the probes are in
|
|
29
29
|
`cratis-screenplay-toolchain` `references/versions.md`. Specification obligations reported by
|
|
30
30
|
the MCP (Screenplay#390) and multi-step storylines (Screenplay#394) are **not available**: the
|
|
31
31
|
coverage matrix is built by hand and lifecycle families emulate storylines.
|
|
@@ -159,13 +159,14 @@ target requirements.
|
|
|
159
159
|
- Cross-context views: are the real source contracts resolved, or is missing evidence a gap?
|
|
160
160
|
|
|
161
161
|
## Version skew: reaction cascades and false PLAY0285
|
|
162
|
-
Under ESM v6 a command spec's `then` lists the events reactions cascade from it. The
|
|
163
|
-
|
|
164
|
-
standalone `screenplay`
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
162
|
+
Under ESM v6 a command spec's `then` lists the events reactions cascade from it. The compiler
|
|
163
|
+
bundled in `cratis` before 3.28.2 (Screenplay 4.60.1) reported a **false PLAY0285** for such
|
|
164
|
+
a spec (cli#242); the standalone `screenplay` 4.66.0 and `cratis` 3.28.2 accept it (probed).
|
|
165
|
+
Neither checks that a cascade event is *missing*.
|
|
166
|
+
- Screenplay 4.61 or later (standalone, or `cratis` 3.28.2 or later): write the v6-correct spec
|
|
167
|
+
(own productions plus cascade); validate with `screenplay <folder> --warnaserror --no-color`
|
|
168
|
+
or `cratis screenplay validate <folder> --warnings-as-errors`.
|
|
169
|
+
- Only a `cratis` before 3.28.2 bundle and no standalone tool: keep the command spec to its own productions, specify the reaction in its
|
|
169
170
|
Automation slice (`when append <Trigger>` -> `then <Produced>`), record the pending cascade
|
|
170
171
|
expectation in `STATE.md` as known-incomplete. Never delete the reaction.
|
|
171
172
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
**Design mode, not binding-ready by design.** This document states the stored-state rules of the
|
|
4
4
|
invoicing example as the skill requires (`reads <View>` + `require ... message`, marked NOT
|
|
5
5
|
enforced in the slice `description`, target named). It compiles (V1, warnings as errors) but
|
|
6
|
-
does not bind at Screenplay 4.
|
|
6
|
+
does not bind at Screenplay 4.66.0, and the only blockers are `reads` (PLAY0271) and `require` over
|
|
7
7
|
a view (PLAY0268), so no specification here runs (V3 blocked). `PaymentReceived` has its producer
|
|
8
8
|
here (the capture and `ReceivedTranslator`), so nothing else blocks: with every `reads` and
|
|
9
9
|
`require` line removed the document binds. The rules cover an unknown invoice, voiding a paid
|
|
@@ -14,7 +14,6 @@ replaced by prose. The runnable counterpart, which holds no stored-state rule, i
|
|
|
14
14
|
`invoicing-dues-example.md`; `scenario-examples.md` copies `ReversingAReceivedPayment` from here.
|
|
15
15
|
|
|
16
16
|
```screenplay
|
|
17
|
-
// Needs the standalone screenplay compiler (ESM v6)
|
|
18
17
|
// Scenario coverage design-mode example: stored-state rules of invoicing club dues (complete document).
|
|
19
18
|
// Design mode: `reads` is PLAY0271 and `require` over a view is PLAY0268 at binding (the only
|
|
20
19
|
// blockers), so this model compiles but is not executable; the specifications below do not run. The runnable counterpart
|