@cratis/pi 7.48.2 → 7.48.4
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/agents/backend-developer.md +1 -1
- package/package/corpus/agents/slice-implementer.md +2 -2
- package/package/corpus/harnesses/copilot/instructions/application-profile.instructions.md +3 -3
- package/package/corpus/harnesses/copilot/instructions/csharp.instructions.md +3 -1
- package/package/corpus/harnesses/copilot/instructions/glossary.instructions.md +3 -3
- package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/vertical-slices.instructions.md +6 -3
- package/package/corpus/prompts/add-projection.prompt.md +2 -1
- package/package/corpus/prompts/add-reducer.prompt.md +6 -4
- package/package/corpus/rules/application-profile.md +3 -3
- package/package/corpus/rules/csharp.md +3 -1
- package/package/corpus/rules/glossary.md +3 -3
- package/package/corpus/rules/profiles.md +1 -1
- package/package/corpus/rules/vertical-slices.md +6 -3
- package/package/corpus/skills/cratis-application-slice-conformance/SKILL.md +2 -2
- package/package/corpus/skills/cratis-chronicle-client-dotnet/SKILL.md +16 -33
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/discovery.md +92 -7
- package/package/corpus/skills/cratis-chronicle-event-modeling/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-projection/SKILL.md +18 -10
- package/package/corpus/skills/cratis-chronicle-read-model/SKILL.md +46 -18
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/SKILL.md +32 -14
- package/package/corpus/skills/cratis-chronicle-reducer/SKILL.md +194 -38
- package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +4 -4
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/audit-format.md +1 -1
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +3 -3
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/cases-to-specify.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 +2 -2
- 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 +6 -6
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/invocation-identity.md +3 -3
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/product-sources.md +1 -1
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/specifying-triggers-and-clock.md +1 -1
- package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-command-surface/references/context.md +1 -1
- package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +1 -1
- package/package/corpus/skills/cratis-screenplay-delivery-planning/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-delivery-planning/references/slice-counting.md +1 -1
- package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +2 -2
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/chronicle-observations.md +1 -1
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md +4 -5
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generated-recovery.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 +1 -1
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +4 -4
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +3 -3
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/model-notes.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/screen-authoring-workflow.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/stop-or-assume.md +1 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/verdicts-and-modes.md +1 -1
- package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-read-surface/references/provenance.md +2 -2
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +3 -3
- 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/gap-fill-handoff.md +2 -2
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +2 -2
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +2 -2
- 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 +1 -1
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +5 -5
- package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +2 -2
- package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-specifications/references/examples-and-routes.md +2 -2
- 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/chronicle-boundaries.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +2 -2
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +2 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +42 -61
- package/package/corpus/skills/cratis-screenplay-toolchain/references/automation-translate-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet-example.md +7 -9
- package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet.md +15 -18
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +33 -53
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +82 -93
- package/package/corpus/skills/cratis-screenplay-toolchain/references/generated-responses-example.md +4 -5
- package/package/corpus/skills/cratis-screenplay-toolchain/references/generation-strategies-example.md +1 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/preferred-syntax.md +5 -9
- package/package/corpus/skills/cratis-screenplay-toolchain/references/production-routes-and-filters.md +7 -16
- package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +38 -92
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +4 -11
- package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +14 -19
- package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +32 -35
- package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +119 -52
- package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +18 -24
- package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +2 -2
- package/package.json +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/doc-contradictions.md +0 -72
- package/package/corpus/skills/cratis-screenplay-toolchain/references/provenance.md +0 -81
- package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +0 -341
|
@@ -8,14 +8,19 @@
|
|
|
8
8
|
- V3: binding-ready
|
|
9
9
|
- V4: reference specifications run
|
|
10
10
|
- V5: rendered and target-verified
|
|
11
|
+
- Exit codes at a glance
|
|
12
|
+
- Model notes gate
|
|
13
|
+
- Revisions and descriptions
|
|
11
14
|
- Report format
|
|
12
15
|
- Example gate (for skill and documentation authors)
|
|
13
16
|
|
|
14
17
|
The five verdicts are independent results, not a ladder: each proves only its own layer,
|
|
15
18
|
and each is either a result or "not run" with the reason. The verdict names are frozen
|
|
16
19
|
(`cratis-screenplay-modeling-lifecycle` owns when each is required; this file owns how to
|
|
17
|
-
obtain it).
|
|
18
|
-
|
|
20
|
+
obtain it). No script ships with this skill: V2 and V3 are read from the MCP server or from a
|
|
21
|
+
render, V1 and V5 from the CLIs. Read installed versions with `screenplay --version` and
|
|
22
|
+
`cratis --version`; an older executable earlier on `PATH` shadows a newer install, so check
|
|
23
|
+
`which -a cratis` too.
|
|
19
24
|
|
|
20
25
|
| Verdict | Meaning |
|
|
21
26
|
| --- | --- |
|
|
@@ -29,12 +34,11 @@ V3 are read from the MCP server or from a render, V1 and V5 from the CLIs.
|
|
|
29
34
|
|
|
30
35
|
| Tool | Command | Pass | Fail |
|
|
31
36
|
| --- | --- | --- | --- |
|
|
32
|
-
| Standalone (preferred
|
|
37
|
+
| Standalone (preferred) | `screenplay <model-root> --warnaserror --no-color` | exit 0 and a nonzero compiled file count | exit 1 defects; exit 2 could not run/invalid arguments or input |
|
|
33
38
|
| cratis (fallback) | `cratis screenplay validate <model-folder> --warnings-as-errors -o json-compact` | exit 0 | exit 5; exit 1 means missing path or no files |
|
|
34
39
|
|
|
35
40
|
- Validate the complete application root, not an independently selected fragment.
|
|
36
|
-
Standalone file mode follows imports; folder mode includes all files.
|
|
37
|
-
file-import limitation below was a 3.28.2 probe, not a current tool claim.
|
|
41
|
+
Standalone file mode follows imports; folder mode includes all files.
|
|
38
42
|
- Require a nonzero file count; empty input is not a model-validation pass.
|
|
39
43
|
- Optional `--scope <Module.Feature.Slice>` compiles the whole application but
|
|
40
44
|
reports descendants and direct dependent declarations, not transitive impact.
|
|
@@ -47,31 +51,36 @@ V3 are read from the MCP server or from a render, V1 and V5 from the CLIs.
|
|
|
47
51
|
- Warnings are failures here. PLAY0029 (a construct dropped silently) and the unresolved-name
|
|
48
52
|
warnings are the defects this verdict exists to catch.
|
|
49
53
|
- Syntax and consistency checks (PLAY0282 to PLAY0294) run; binding does not.
|
|
50
|
-
- Report: `V1 pass (screenplay
|
|
54
|
+
- Report: `V1 pass (screenplay <version>, 3 files)`, `V1 fail: PLAY0029 in a.play, line 12`.
|
|
51
55
|
|
|
52
56
|
## Release-baseline gate (independent of V1–V5)
|
|
53
57
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
Run `screenplay baseline check <model-root>` before accepting edits to released event
|
|
59
|
+
contracts: exit 0 matching, 1 changed or missing revision, 2 cannot check or unreadable. An
|
|
60
|
+
absent baseline is not proof of release admission. In the release job,
|
|
61
|
+
`screenplay baseline admit <model-root> --release <label>` records revisions; commit the
|
|
62
|
+
sidecar. Neither command changes canonical ESM or substitutes for migration or target tests.
|
|
63
|
+
Without a baseline an explicit event mode is still required: unadmitted revisions default to
|
|
64
|
+
in-place edits, admitted revisions accept only an explicit `newGeneration`. Never hand-edit the
|
|
65
|
+
sidecar except for a reviewed correction.
|
|
66
|
+
Preconditions and MCP review: model-authoring
|
|
67
|
+
[release baseline](../../cratis-screenplay-model-authoring/references/release-baseline.md).
|
|
68
|
+
|
|
69
|
+
Requires Screenplay 4.153.0 or later (`screenplay --version`) for `baseline`; with an older tool, report the gate as not run.
|
|
61
70
|
|
|
62
71
|
## V2: executable diagnostics
|
|
63
72
|
|
|
64
73
|
Needs an MCP connection (V2 and V3 belong to the session that owns MCP; a subagent without
|
|
65
74
|
MCP reports `V2 not run: no MCP in this agent` unless the brief supplies fresh output). Without
|
|
66
75
|
MCP, a binding check exists: `cratis screenplay validate --executable <root>` binds with the
|
|
67
|
-
**bundled** compiler
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
76
|
+
**bundled** compiler, never renders or writes files, and exits 5 with "The model does not bind
|
|
77
|
+
into an executable semantic model" when it does not. Report it as
|
|
78
|
+
`V3 (bundled compiler via cratis validate --executable)`; it gives binding errors, not the V2
|
|
79
|
+
`executable-diagnostics` view, so V2 stays MCP-only.
|
|
71
80
|
|
|
72
81
|
1. Start the server with a fixed root: `screenplay mcp <model-folder>` or `cratis screenplay
|
|
73
|
-
mcp` in a project with `.cratis/ai.json
|
|
74
|
-
`
|
|
82
|
+
mcp` in a project with `.cratis/ai.json`. Send `initialize`, then
|
|
83
|
+
`notifications/initialized`.
|
|
75
84
|
2. `open-workspace`. The result carries `readiness` (`authoringAccepted`, `executableReady`)
|
|
76
85
|
and `executableDiagnosticsCount`.
|
|
77
86
|
3. Read the diagnostics: `read-workspace` with `view: "executable-diagnostics"` and the
|
|
@@ -83,6 +92,10 @@ gives binding errors, not the V2 `executable-diagnostics` view, so V2 stays MCP-
|
|
|
83
92
|
information-severity diagnostics (PLAY0269 deferred UI, PLAY0270 authoring metadata such as
|
|
84
93
|
descriptions, personas and screens) on models that bind; they do not block.
|
|
85
94
|
|
|
95
|
+
Requires Cratis CLI 3.46.1 or later (`cratis --version`) to start `cratis screenplay mcp --project-root <project>` without creating a model folder; older CLIs create the resolved root at startup.
|
|
96
|
+
|
|
97
|
+
Requires Screenplay 4.63.2 or later (`screenplay --version`) to initialize an MCP server without a fixed root; with an older tool, always pass the root as an argument.
|
|
98
|
+
|
|
86
99
|
`authoringAccepted: true` only says the source compiled (or the root is empty). It says
|
|
87
100
|
nothing about print or parse fidelity or identity continuity.
|
|
88
101
|
|
|
@@ -95,27 +108,24 @@ do not block. The ESM then binds (and `read-workspace view=executable-model` rep
|
|
|
95
108
|
comparison needs it). Binding is what makes a model renderable at all. V3 means "binds",
|
|
96
109
|
never "specifications pass".
|
|
97
110
|
|
|
98
|
-
- Report the ESM version the model needs: `V3 ready (screenplay
|
|
111
|
+
- Report the ESM version the model needs: `V3 ready (screenplay <version>, ESM v6)`,
|
|
99
112
|
`V3 blocked: PLAY0268 (enum compliance) - design scope kept`.
|
|
100
|
-
Bare `pii`/`personal` and `secret` bind as
|
|
101
|
-
|
|
113
|
+
Bare `pii`/`personal` and `secret` bind as concept compliance; reasons remain
|
|
114
|
+
report-only PLAY0270. Enum/identity compliance and personal or explicitly
|
|
102
115
|
subject-scoped secret event values with an explicit `subject` mark still refuse
|
|
103
|
-
PLAY0268 at binding only.
|
|
104
|
-
concept protection (not protected identities/enums or explicit subject lineage).
|
|
105
|
-
V3 does not prove rendering.
|
|
116
|
+
PLAY0268 at binding only. V3 does not prove rendering.
|
|
106
117
|
- A blocked V3 is not repaired by deleting protection or domain rules. Never remove `pii`,
|
|
107
118
|
`secret`, authorization, list queries, automations or rules to reach V3; record the
|
|
108
119
|
slice and the code in the gap list.
|
|
109
|
-
- A model is executable only on the compiler that bound it. V3 does not carry
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
The old 3.28.x/Stage 4.24.x probes remain historical in the subset references.
|
|
120
|
+
- A model is executable only on the compiler that bound it. V3 does not carry to render
|
|
121
|
+
admission: the bundled renderer admits only ESM versions it knows and answers newer models
|
|
122
|
+
with CLI-RENDER-004. Public publication and reaction identity, filters and production
|
|
123
|
+
overrides still receive typed Stage refusals (`renderable-subset.md`).
|
|
114
124
|
|
|
115
125
|
## V4: reference specifications run
|
|
116
126
|
|
|
117
127
|
Run `screenplay test <root> [--filter <exact-address>] [--format text|json]` on
|
|
118
|
-
the standalone
|
|
128
|
+
the standalone tool, or MCP `run-specifications`. The compile command alone does not
|
|
119
129
|
execute scenarios. Reference execution is in-memory: no external services or
|
|
120
130
|
opaque code run. Record route, expected versus discovered/selected counts,
|
|
121
131
|
passed, failed and unsupported outcomes. Exit 0 means all selected passed; 1
|
|
@@ -125,26 +135,26 @@ is not proof of coverage. `test` rejects `--no-color` (exit 2).
|
|
|
125
135
|
|
|
126
136
|
MCP selectors are `specification` (exact address/id) and `scope` (prefix);
|
|
127
137
|
both supplied mean intersection. `offset`/`limit` page results; continuation
|
|
128
|
-
requires `expectedSourceRevision`.
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
V4 belongs only to its returned source revision, not to the disk model.
|
|
138
|
+
requires `expectedSourceRevision`. Pass `proposalId` between proposal review and `apply`
|
|
139
|
+
to run the retained candidate read-only; without that argument the call runs the workspace.
|
|
140
|
+
A candidate V4 belongs only to its returned source revision, not to the disk model.
|
|
132
141
|
Unknown/applied/discarded/reopened proposals give `UnknownProposal`.
|
|
133
142
|
A statically impossible `then` reports PLAY0285: the whole model is unbound,
|
|
134
|
-
exit 3, and no specifications run. Details
|
|
143
|
+
exit 3, and no specifications run. Details:
|
|
135
144
|
[reference execution](../../cratis-screenplay-model-authoring/references/mcp-tools.md#run-reference-specifications).
|
|
136
145
|
|
|
146
|
+
Requires Screenplay 4.145.0 or later (`screenplay --version`) for `proposalId` on `run-specifications`; with an older tool, apply the proposal before running specifications.
|
|
147
|
+
|
|
137
148
|
The reference runner returns unsupported for a specification that reads a reducer-built read
|
|
138
149
|
model and for any construct whose evaluation needs an opaque body.
|
|
139
150
|
|
|
140
151
|
**Rendered Debug tests are never V4.** A rendered application is a different engine: Stage
|
|
141
|
-
|
|
152
|
+
admits pure reducer bodies and generates reducer replay and assertions in its Debug
|
|
142
153
|
tests, so the two engines can differ (a pure reducer body is a concrete case). Report those
|
|
143
154
|
outcomes only under V5.tests, labelled target-test evidence. The `cratis/stage-specrunner` job
|
|
144
|
-
(Docker, opt-in
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
evidence)", never as V4 and not as V5.tests.
|
|
155
|
+
(Docker, opt-in) runs Stage's own semantic executor, not the reference route: report its
|
|
156
|
+
outcomes on a separate line, "Stage semantic engine (target-engine evidence)", never as V4
|
|
157
|
+
and not as V5.tests.
|
|
148
158
|
Without a reference route: `V4 not run: no route`.
|
|
149
159
|
|
|
150
160
|
## V5: rendered and target-verified
|
|
@@ -166,6 +176,67 @@ Never claim a whole-application V5 from a rendered subset. Render workflow, owne
|
|
|
166
176
|
and gap-fill: `cratis-screenplay-render-and-gap-fill` and `cratis-stage-rendering-and-sandbox`.
|
|
167
177
|
What Stage admits: `renderable-subset.md`.
|
|
168
178
|
|
|
179
|
+
## Exit codes at a glance
|
|
180
|
+
|
|
181
|
+
| Layer | Route | Result |
|
|
182
|
+
| --- | --- | --- |
|
|
183
|
+
| Source validation | `screenplay <root> --warnaserror --no-color` | 0 clean; 1 reported defects; 2 could not run or invalid arguments or input. `--scope` limits the reported set, not compilation |
|
|
184
|
+
| Completeness | add `--check <name>[,<name>]` (repeatable) or `--check all` | Opt-in warnings; whole-source errors skip checks, not pass them |
|
|
185
|
+
| CLI source validation | `cratis screenplay validate <root> --warnings-as-errors -o json-compact` | Read the producer exit and the JSON errors, warnings and file count |
|
|
186
|
+
| Binding | MCP workspace readiness and `executable-diagnostics` | V2 reads diagnostics; V3 requires binding with no blocking diagnostics |
|
|
187
|
+
| Reference specifications | `screenplay test <root> [--filter <address>] [--format text\|json]`, or MCP `run-specifications` (`specification`, `scope`, `offset`, `limit`, `expectedSourceRevision`, `proposalId`) | 0 all selected passed; 1 failed; 2 invalid arguments, input, selection or IO; 3 unsupported or unbound. Counts of zero do not prove coverage |
|
|
188
|
+
| Release baseline | `screenplay baseline admit <root> --release <label>`; `screenplay baseline check <root>` | 0 success; 1 changed or missing revision; 2 unavailable, unreadable or invalid input or write failure |
|
|
189
|
+
| Rendering | `cratis render` | Separate admission, publication, target build and target tests (V5) |
|
|
190
|
+
|
|
191
|
+
Source validation does not bind or run attached code. Reference execution is in-memory and
|
|
192
|
+
does not run opaque attachments or external services. CLI-derived specification IDs need not
|
|
193
|
+
match persisted MCP identities after renames; use MCP for identity-stable selection. A folder
|
|
194
|
+
compiles as one application: a standalone file includes its imports, not unimported siblings,
|
|
195
|
+
so keep the application root as the input for scoped checks and never treat a clean fragment
|
|
196
|
+
or scoped result as whole-application success.
|
|
197
|
+
|
|
198
|
+
MCP server launch: `screenplay mcp <model-root>` or `cratis screenplay mcp <model-root>`.
|
|
199
|
+
Discover `tools/list`, views and schemas rather than counting tools. Connection, worktree
|
|
200
|
+
switching and root-state conflicts: `cratis-screenplay-model-authoring`. The standalone tool
|
|
201
|
+
and the compiler bundled in the CLI can differ in release, so name the tool with every
|
|
202
|
+
verdict and never transfer a verdict between them without rerunning the same inputs.
|
|
203
|
+
|
|
204
|
+
## Model notes gate
|
|
205
|
+
|
|
206
|
+
```shell
|
|
207
|
+
screenplay <model-folder> --open-questions report --no-color
|
|
208
|
+
screenplay <model-folder> --scope Library.Loans.CheckIn --open-questions fail --no-color
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
`report` emits info `model-note.open-question` findings without failing for questions.
|
|
212
|
+
`fail` exits **1** when the selected set has an open question; unreadable notes exit **2**
|
|
213
|
+
when the flag is given. Compilation still runs with its own verdict; question findings are
|
|
214
|
+
MCP/CLI only, **no PLAY code**. With no flag the sidecar is ignored, and `--warnaserror` does
|
|
215
|
+
not gate questions. Tasks and ordinary notes do not fail this gate.
|
|
216
|
+
|
|
217
|
+
Scope includes descendants and ancestor notes (application notes too). An unscoped report
|
|
218
|
+
includes orphaned open questions. Absent identity state reports all open questions unscoped as
|
|
219
|
+
orphaned with `identity-state-absent`, rather than hiding them behind a scope. Notes never
|
|
220
|
+
change ESM or V1–V5 verdicts. Read model-authoring
|
|
221
|
+
[model notes](../../cratis-screenplay-model-authoring/references/model-notes.md) when
|
|
222
|
+
recording, resolving, paging or reviewing orphan impact.
|
|
223
|
+
|
|
224
|
+
Requires Screenplay 4.144.0 or later (`screenplay --version`) for `--open-questions`; `cratis screenplay validate` has no such option, so use the standalone tool for this gate.
|
|
225
|
+
|
|
226
|
+
## Revisions and descriptions
|
|
227
|
+
|
|
228
|
+
`modelRevision` exists only when binding succeeds; it is canonical semantic
|
|
229
|
+
identity, not source identity. Source positions and report-only metadata can
|
|
230
|
+
change source/workspace revisions without changing it. Persisted catalogs
|
|
231
|
+
preserve assigned identities; do not reconstruct them from names.
|
|
232
|
+
|
|
233
|
+
A render manifest's `semanticRevision` is a different provenance value, made
|
|
234
|
+
with the render name and bundled compiler. Do not compare it directly to MCP
|
|
235
|
+
`modelRevision`. Compare successive renders with the same identity and inputs, or use
|
|
236
|
+
`cratis render ... --check`. Descriptions and event documentation render as XML
|
|
237
|
+
doc comments, so editing them changes managed-file hashes (a `--check` exit 6) but not the
|
|
238
|
+
executable model revision.
|
|
239
|
+
|
|
169
240
|
## Report format
|
|
170
241
|
|
|
171
242
|
One line per verdict, tool and version first, evidence second:
|
|
@@ -184,16 +255,12 @@ source change makes earlier verdicts stale.
|
|
|
184
255
|
|
|
185
256
|
## Example gate (for skill and documentation authors)
|
|
186
257
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
The `// Needs the standalone screenplay compiler (ESM v6)` first-line marker belonged to cratis
|
|
193
|
-
before 3.28.2, which could not validate those fences; no fence carries it now, and a
|
|
194
|
-
checker that still skips marked fences under `cratis` skips nothing. Examples meant to execute are also opened through MCP and
|
|
195
|
-
must be `executableReady`. No example uses `numbers exact`.
|
|
258
|
+
Check each changed complete fence with the standalone tool and `--warnaserror`; run
|
|
259
|
+
`screenplay test` for specification examples, and verify expected-diagnostic examples against
|
|
260
|
+
their claimed codes. Where bundle compatibility matters, also check the CLI. Examples meant to
|
|
261
|
+
execute are also opened through MCP and must be `executableReady`. No example uses
|
|
262
|
+
`numbers exact`.
|
|
196
263
|
|
|
197
264
|
Edit strategy for `.play` changes (typed identity-preserving operations preferred, bounded text
|
|
198
|
-
edits for address-preserving changes) is in
|
|
199
|
-
`
|
|
265
|
+
edits for address-preserving changes) is in `SKILL.md`; the MCP edit procedure is in
|
|
266
|
+
`cratis-screenplay-model-authoring`.
|
|
@@ -4,57 +4,51 @@
|
|
|
4
4
|
"fixtures": [],
|
|
5
5
|
"assertions": [
|
|
6
6
|
{ "kind": "skill-contains", "value": "screenplay baseline check", "file": "references/verdicts.md" },
|
|
7
|
-
{ "kind": "skill-contains", "value": "
|
|
7
|
+
{ "kind": "skill-contains", "value": "independent of V1–V5", "file": "references/verdicts.md" },
|
|
8
8
|
{ "kind": "skill-contains", "value": "Specifications that relied on whitespace being accepted now fail.", "file": "references/executable-subset.md" },
|
|
9
9
|
{ "kind": "skill-contains", "value": "PLAY0686", "file": "references/diagnostics.md" },
|
|
10
10
|
{ "kind": "skill-contains", "value": "streams `all`, `ALL` and `Default`", "file": "references/sources-and-streams.md" },
|
|
11
11
|
{ "kind": "skill-contains", "value": "PLAY0614", "file": "references/diagnostics.md" },
|
|
12
12
|
{ "kind": "skill-contains", "value": "PLAY0666", "file": "references/diagnostics.md" },
|
|
13
|
-
{ "kind": "skill-contains", "value": "
|
|
14
|
-
{ "kind": "skill-contains", "value": "
|
|
15
|
-
{ "kind": "skill-contains", "value": "Composite
|
|
13
|
+
{ "kind": "skill-contains", "value": "bind/reference-execute as v11", "file": "references/executable-subset.md" },
|
|
14
|
+
{ "kind": "skill-contains", "value": "A consumer admitting v10 must include all three", "file": "references/production-routes-and-filters.md" },
|
|
15
|
+
{ "kind": "skill-contains", "value": "Composite view keys remain authoring-only (PLAY0268)" },
|
|
16
16
|
{ "kind": "skill-contains", "value": "the **whole source, stream and stream id**", "file": "references/production-routes-and-filters.md" },
|
|
17
17
|
{ "kind": "play-compiles" },
|
|
18
|
-
{ "kind": "skill-contains", "value": "
|
|
19
|
-
{ "kind": "skill-contains", "value": "
|
|
20
|
-
{ "kind": "skill-contains", "value": "--open-questions fail", "file": "references/
|
|
21
|
-
{ "kind": "skill-contains", "value": "unreadable notes exit **2**", "file": "references/
|
|
22
|
-
{ "kind": "skill-contains", "value": "MCP/CLI only, **no PLAY code**", "file": "references/
|
|
23
|
-
{ "kind": "skill-contains", "value": "identity-state-absent", "file": "references/
|
|
24
|
-
{ "kind": "skill-contains", "value": "4.141.0" },
|
|
25
|
-
{ "kind": "skill-contains", "value": "
|
|
18
|
+
{ "kind": "skill-contains", "value": "Requires Screenplay 4.144.0", "file": "references/verdicts.md" },
|
|
19
|
+
{ "kind": "skill-contains", "value": "`cratis screenplay validate` has no such option", "file": "references/verdicts.md" },
|
|
20
|
+
{ "kind": "skill-contains", "value": "--open-questions fail", "file": "references/verdicts.md" },
|
|
21
|
+
{ "kind": "skill-contains", "value": "unreadable notes exit **2**", "file": "references/verdicts.md" },
|
|
22
|
+
{ "kind": "skill-contains", "value": "MCP/CLI only, **no PLAY code**", "file": "references/verdicts.md" },
|
|
23
|
+
{ "kind": "skill-contains", "value": "identity-state-absent", "file": "references/verdicts.md" },
|
|
24
|
+
{ "kind": "skill-contains", "value": "Requires Screenplay 4.141.0", "file": "references/executable-subset.md" },
|
|
25
|
+
{ "kind": "skill-contains", "value": "Enum numbers (v12)" },
|
|
26
26
|
{ "kind": "skill-contains", "value": "PLAY0671", "file": "references/diagnostics.md" },
|
|
27
27
|
{ "kind": "skill-contains", "value": "PLAY0653", "file": "references/diagnostics.md" },
|
|
28
28
|
{ "kind": "skill-contains", "value": "PLAY0646", "file": "references/diagnostics.md" },
|
|
29
29
|
{ "kind": "skill-contains", "value": "PLAY0595", "file": "references/diagnostics.md" },
|
|
30
30
|
{ "kind": "skill-contains", "value": "PLAY0652", "file": "references/diagnostics.md" },
|
|
31
31
|
{ "kind": "skill-contains", "value": "PLAY0504 | E", "file": "references/diagnostics.md" },
|
|
32
|
-
{ "kind": "skill-contains", "value": "references/
|
|
32
|
+
{ "kind": "skill-contains", "value": "references/verdicts.md" },
|
|
33
33
|
{ "kind": "skill-contains", "value": "PLAY0029" },
|
|
34
34
|
{ "kind": "skill-contains", "value": "--warnaserror" },
|
|
35
|
-
{ "kind": "skill-contains", "value": "4.68.0" },
|
|
36
|
-
{ "kind": "skill-contains", "value": "4.66.0" },
|
|
35
|
+
{ "kind": "skill-contains", "value": "Requires Screenplay 4.68.0", "file": "references/generated-responses-example.md" },
|
|
37
36
|
{ "kind": "skill-contains", "value": "references/generated-responses-example.md" },
|
|
38
37
|
{ "kind": "skill-contains", "value": "Operations and exact numeric" },
|
|
39
38
|
{ "kind": "skill-contains", "value": "generation/responses, enum numbers, compliance, equality filters and event reactions render" },
|
|
40
39
|
{ "kind": "skill-contains", "value": "cratis screenplay validate --executable" },
|
|
41
40
|
{ "kind": "skill-contains", "value": "XML doc comments" },
|
|
42
|
-
{ "kind": "skill-contains", "value": "Stage 4.89.1 rendered backend", "file": "references/versions.md" },
|
|
43
41
|
{ "kind": "skill-contains", "value": "cratis screenplay validate" },
|
|
44
|
-
{ "kind": "skill-contains", "value": "
|
|
42
|
+
{ "kind": "skill-contains", "value": "validating one file with `cratis screenplay validate file.play`", "file": "references/traps.md" },
|
|
45
43
|
{ "kind": "skill-contains", "value": "`notifications/initialized`" },
|
|
46
44
|
{ "kind": "skill-contains", "value": "A handler never binds" },
|
|
47
45
|
{ "kind": "skill-contains", "value": "references/sources-and-streams.md" },
|
|
48
46
|
{ "kind": "skill-contains", "value": "CLI-RENDER-004" },
|
|
49
|
-
{ "kind": "skill-contains", "value": "
|
|
50
|
-
{ "kind": "skill-contains", "value": "**4.147.1**", "file": "references/versions.md" },
|
|
51
|
-
{ "kind": "skill-contains", "value": "**4.89.1**", "file": "references/versions.md" },
|
|
52
|
-
{ "kind": "skill-contains", "value": "**Published v15 in 4.147.0:**", "file": "references/versions.md" },
|
|
47
|
+
{ "kind": "skill-contains", "value": "Concept strategies (v15)" },
|
|
53
48
|
{ "kind": "skill-contains", "value": "protected identities/enums (`-040`)", "file": "references/renderable-subset.md" },
|
|
54
49
|
{ "kind": "skill-contains", "value": "PLAY0514" },
|
|
55
|
-
{ "kind": "skill-contains", "value": "
|
|
56
|
-
{ "kind": "skill-contains", "value": "
|
|
57
|
-
{ "kind": "skill-contains", "value": "Neither released consumer admits v16", "file": "references/versions.md" },
|
|
50
|
+
{ "kind": "skill-contains", "value": "Differing event pins travel as `storedName` in ESM v16", "file": "references/diagnostics.md" },
|
|
51
|
+
{ "kind": "skill-contains", "value": "must refuse the model rather than render it under the new name", "file": "references/diagnostics.md" },
|
|
58
52
|
{ "kind": "skill-contains", "value": "RejectsAUsedGeneratedSource", "file": "references/generation-strategies-example.md" },
|
|
59
53
|
{ "kind": "skill-contains", "value": "bind as ESM v8" },
|
|
60
54
|
{ "kind": "skill-contains", "value": "PLAY0530/0531", "file": "references/diagnostics.md" },
|
|
@@ -27,7 +27,7 @@ Markdown in project documentation; `.play` is the single flow model.
|
|
|
27
27
|
|
|
28
28
|
## Verified product sources
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
Tool versions: toolchain `SKILL.md`; UI statements were re-read at Screenplay v4.139.0
|
|
31
31
|
(`screens.md`, `contributions.md`, `forms.md`, `templates.md`, `ui-profile.md`, `fixtures/screen-release-ui.play`). Older provenance:
|
|
32
32
|
`4.31.0` (original parser evidence), main `fd18129` (cancellation routing, `optional`), `4.66.0` (`c89198b`: `PLAY0269`).
|
|
33
33
|
|
|
@@ -41,7 +41,7 @@ Checked against the Screenplay repository at tag `v4.31.0` (commit `355dffb`):
|
|
|
41
41
|
Those checks established the original baseline. The changed cancellation
|
|
42
42
|
example uses the newer main commit above, not the old tag.
|
|
43
43
|
|
|
44
|
-
Read `
|
|
44
|
+
Read `SKILL.md` in `cratis-screenplay-toolchain` when reading installed tool versions for these examples.
|
|
45
45
|
|
|
46
46
|
Every construct on this page is deferred from the executable model with
|
|
47
47
|
information `PLAY0269`: it never blocks binding, and it is not evidence that a
|
|
@@ -392,7 +392,7 @@ The rules:
|
|
|
392
392
|
- [ ] `screenplay <model> --warnaserror` (standalone) reports zero errors and zero
|
|
393
393
|
warnings; `cratis screenplay validate --warnings-as-errors` says the same on
|
|
394
394
|
cratis 3.28.2 or later, which bundles the same compiler (versions: `cratis-screenplay-toolchain`
|
|
395
|
-
`
|
|
395
|
+
`SKILL.md`).
|
|
396
396
|
- [ ] Every screen in the flow has Level 1 reviewed before any layout, and every
|
|
397
397
|
form field and screen field traces to a command or read-model property.
|
|
398
398
|
- [ ] Every slot a `contribute` targets is declared `contributes <Point>` somewhere
|
|
@@ -40,8 +40,8 @@ the executed vector renders on Scene 4.15.0. Packages published since are newer
|
|
|
40
40
|
that vector and are not claimed browser-verified. Scene 4.17.0 was the earlier
|
|
41
41
|
source-checked runtime summary, not a new executed vector. Scene runtime capabilities
|
|
42
42
|
below were source-checked at the current scaffold's Scene tag; this does not
|
|
43
|
-
re-label the historical execution result.
|
|
44
|
-
`cratis-screenplay-toolchain/
|
|
43
|
+
re-label the historical execution result. Tool versions:
|
|
44
|
+
`cratis-screenplay-toolchain/SKILL.md`.
|
|
45
45
|
All three levels hold for the canonical `ScreenComposition` corpus on the historical vector:
|
|
46
46
|
|
|
47
47
|
- authoring and executable admission: MCP opens it with `sourceSuccess true`,
|
package/package.json
CHANGED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
# Documentation contradictions and which side to trust
|
|
2
|
-
|
|
3
|
-
Current pins: `versions.md`. This is a
|
|
4
|
-
**historical** contradiction inventory, not a claim that all listed defects still
|
|
5
|
-
exist. Current grammar documents exact numbers and free description placement;
|
|
6
|
-
sources/routes bind as ESM v8; PLAY0515 is a source error; CLI admits through
|
|
7
|
-
v10 to Stage construct checks. At `v4.135.0:Documentation/screenplay/interoperability.md:133–137`
|
|
8
|
-
v11 is still labeled "claimed, unreleased"; Versions.cs admits it and decision
|
|
9
|
-
0066 freezes it on package publication. The corpus follows source and 0066.
|
|
10
|
-
|
|
11
|
-
At v4.127.0 `concepts.md` links the shipped purpose declarations/checks/record
|
|
12
|
-
but its final identifier section still calls them later phases. `purposes.md`,
|
|
13
|
-
the released grammar/tool and successful purpose probes take precedence. The same
|
|
14
|
-
page's legacy `@pii` mentions do not change bare `pii`/`secret` canonical syntax;
|
|
15
|
-
legacy forms compile with PLAY0565 information, duplicates with PLAY0653 warning.
|
|
16
|
-
Event `subject` remains report-only, despite accepted future lineage work.
|
|
17
|
-
Rechecked at 4.142.0: concept `pii`/`personal` and `secret` bind as v13, while
|
|
18
|
-
reasons stay PLAY0270 report-only. PLAY0268 at binding only rejects enum/identity
|
|
19
|
-
compliance and events mixing personal or explicitly subject-scoped secret values
|
|
20
|
-
with an explicit `subject` mark. CLI 3.57.0 bundles Screenplay 4.147.1 / Stage 4.89.1 and
|
|
21
|
-
renders v13 concept protection; protected identities/enums remain refused. These are distinct boundaries,
|
|
22
|
-
not a reason to remove protection.
|
|
23
|
-
|
|
24
|
-
`D/` is Screenplay `Documentation/screenplay/` at **v4.66.0**; line numbers were re-read at
|
|
25
|
-
that tag. Rule: the compiler you ran decides what the tool accepts today; the documentation
|
|
26
|
-
and the domain decide what the model should mean. When they disagree, follow the compiler
|
|
27
|
-
for syntax, keep the intended semantics in the model, and record the gap (an issue).
|
|
28
|
-
Tool names mean the standalone `screenplay` 4.68.0 and `cratis` 3.28.2 (bundled Screenplay
|
|
29
|
-
4.66.0; before 3.28.2 bundled 4.60.1); see `versions.md`. [probed] marks a row re-checked by running a tool; the rest are
|
|
30
|
-
read from source or documentation.
|
|
31
|
-
|
|
32
|
-
| # | Topic | Conflict | Trust |
|
|
33
|
-
| --- | --- | --- | --- |
|
|
34
|
-
| 0 | ESM v6 | `D/specifications.md` and `D/reactions.md` describe clocks, triggers, captures and reactions as admitted and executed | both tools admit them (ESM v6) since cratis 3.28.2; cratis 3.27.1 (4.60.1) rejected them with PLAY0268 [probed] |
|
|
35
|
-
| 1 | `#` comments | PDL docs use `#` (`D/projections/auto-map.mdx:125,147,153`, `D/forms.md:10`) | compiler: PLAY0058 in a projection; use `//` [probed] |
|
|
36
|
-
| 2 | projection `automap` | `D/projections/grammar.md:70,77` now allow `automap` for children and nested; the projection-level `ProjDirective` (`:38`) still lists only `no automap` | compiler accepts bare `automap`; keep `no automap` at projection level |
|
|
37
|
-
| 3 | AutoMap inside `from` | `D/projections/auto-map.mdx:49` "cannot be toggled" vs `:226` "apply `no automap` per event" | ambiguous; use `no automap` at the projection, children or nested level |
|
|
38
|
-
| 4 | child id syntax | `D/projections/keys.md:110` says `id userId` | `identified by` (compiled) |
|
|
39
|
-
| 5 | root `remove via join` | `D/projections/removal.md` promises instance removal | `D/projections/semantic-model.md:59,94`: the engine wires it as a child pull and the evaluator does not execute it. Unverified at runtime |
|
|
40
|
-
| 6 | `$strings` in authentication | `D/internationalization.md:30` allows it wherever a value expression is accepted | PLAY0183: no provider configuration lines |
|
|
41
|
-
| 7 | interaction examples | `D/interactions.md:33` uses `button` | PLAY0103; `on double click` on `table` compiles though not in the EBNF |
|
|
42
|
-
| 8 | where screens live | `D/screens.md:3` "inside `StateView` slices" | samples also put dialogs in `StateChange` |
|
|
43
|
-
| 9 | where reducers live | `D/slices.md:74` and `D/glossary.md:21` call a reducer an `Automation` thing vs `D/slices.md:87` (`StateView`) | `StateView` (samples) |
|
|
44
|
-
| Query rows | Older specification guidance promises authored result-row order | Screenplay v4.145.0 `specifications.md:307-319,426`: compare collections without regard to order, by read-model/key and exact count. Event ordering and collection-valued property ordering are separate |
|
|
45
|
-
| 10 | `then` after `when append` | `D/specifications.md:67` "must match exactly the appended fact" vs `:232` and `:282` (v6: what followed it) | v6 text on the standalone tool; before v6, `:67` |
|
|
46
|
-
| 11 | constraint collision across sources | `D/constraints.md:118` "cannot yet show" vs `D/specifications.md:77` (`for` lets a spec claim a value on another source) | `specifications.md` (newer) |
|
|
47
|
-
| 12 | capture backtick `when` | opaque (`D/captures/grammar.md:321`) vs small portable grammar (`D/captures.md:94`) | both: storage versus binder |
|
|
48
|
-
| 13 | clock boundary | resolved: an occurrence fires if due **after** the given clock and **at or before** the when clock (`D/specifications.md:282-284`; `Semantics/Execution/SemanticClock.cs`, `at > from && at <= to`). Given equal to when fires nothing, so the Screenplay sample `Samples/Commerce/Fulfillment/Shipping/ReleasePickingWave.play:20-22` (06:00 to 06:00, expecting `PickingWaveReleased`) is wrong | the code; never write given equal to when. A Screenplay issue for the sample is a candidate |
|
|
49
|
-
| 14 | `$causedBy` | not evaluable (#4119), not ESM | showcase only |
|
|
50
|
-
| 15 | literal keys | `key literal "global"` vs `key "global"` | both compile; prefer `literal` |
|
|
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 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
|
-
| 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
|
-
| 19 | `$strings` constraint messages | `D/constraints.md:31` vs `D/internationalization.md:55` | the compiler keeps the key; realization localizes |
|
|
55
|
-
| 20 | composite key braces | optional in the EBNF; both forms in docs | both fine |
|
|
56
|
-
| 21 | counters list | `D/projections/index.md:54` lists only increment and decrement | `count` exists too [probed] |
|
|
57
|
-
| 22 | ESM version allocation | older text and decisions 0023 and 0024 give exact numbers, operations, streams and reads fixed numbers (v7 to v11) | use actual released binder selection: v7 responses, v8 routing, v9 public boundaries, v10 identity/routes/filters, v11 qualifying retained non-route Double literals at 4.135.0; operations and `numbers exact` source mode remain unadmitted. Never infer current admission from older proposed allocations |
|
|
58
|
-
| 23 | claim conditions | the condition grammar lists `==` | claims need `matches` (PLAY0120) [probed] |
|
|
59
|
-
| 24 | `numbers exact` | released in 4.64.0 as syntax only, but absent from `D/grammar.md`; documented only in `D/diagnostics.md` (PLAY0508 to PLAY0513) | the compiler: it parses, never binds (PLAY0268, "not admitted by any supported executable model (ESM) version yet"), PLAY0001 on older compilers [probed] |
|
|
60
|
-
| 25 | command `concurrency` | `D/commands.md:609` says the executable model "does not bind the `concurrency` block yet" | the binder reports PLAY0271 as an **error**, not a silent skip (`SemanticModelBinder.Commands.cs:32-38`) |
|
|
61
|
-
| 26 | MCP approval policy | `D/mcp/reference.md:37` "Keep client approval enabled for both" vs the server instructions (`McpConnection.cs:14`) "hosts need not confirm them each time" | keep approval on; this skill's rule is explicit user approval before `apply` |
|
|
62
|
-
| 27 | decision index | `decisions/README.md` row 0020 shows stage `none` while v5 is implemented | the code: v5 `then no readmodel` binds |
|
|
63
|
-
| 28 | `visualize-model` kind | the tool filters on the kind "Reactor" (`McpVisualization.cs:21`) although the construct is a Reaction; its added/removed summary never counts reactions (Screenplay#379, open) | the model, not the summary |
|
|
64
|
-
| 29 | bodied reducers in Stage | cli `Documentation/reference/screenplay.md:38` says bodied reducers are unsupported (STAGE-ESM-019) | Stage 4.24 code admits pure allowlisted reducer bodies (`PureTransitionAdmission.cs`); trust the code |
|
|
65
|
-
| 30 | `cratis screenplay validate <file>` | the command reads as a document validator | file mode ignored the file's imports and reported false unknown-name warnings on CLI 3.28.2 (cli#244, closed by PR #258: later releases compile the file with its imports); validate the folder anyway [probed on 3.28.2] |
|
|
66
|
-
| 31 | cli false PLAY0285 | `D/diagnostics.md:640` defines PLAY0285 as a contradiction against every possible producer | cratis before 3.28.2 reported it falsely on reaction cascades (cli#242); not reproduced on cratis 3.28.2 [probed] |
|
|
67
|
-
| 32 | competing-claim specification | `D/constraints.md` says a specification "cannot yet show a collision between two event sources" | `D/specifications.md`: `for` on `given` events establishes a claim on one source and attempts the same value on another; the specification page and the tool decide (checked at v4.139.0) |
|
|
68
|
-
| 33 | descriptions in rendered code | Stage `Documentation/reference/render-plans.md` says the cratis CLI does not yet call `WithAuthoringMetadata` | the CLI calls it since 3.51.0 (`CratisRenderTarget.cs`): descriptions and documentation render as XML doc comments; `CLI-RENDER-006` when skipped (checked at cli v3.53.1) |
|
|
69
|
-
|
|
70
|
-
Rows 0 to 12, 14 to 21 and 23 were re-read at the v4.66.0 line numbers above; rows 14, 15,
|
|
71
|
-
19, 20 and 23 are properties of the language rather than documentation defects and were
|
|
72
|
-
not re-probed on 4.66.0.
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
# Provenance
|
|
2
|
-
|
|
3
|
-
## Origin
|
|
4
|
-
|
|
5
|
-
This skill is an original Cratis work, condensed from verified research on the Screenplay
|
|
6
|
-
language, the standalone tool, the cratis CLI and Stage, then re-verified against product
|
|
7
|
-
source at the tags in `versions.md` and probed on the installed tools (Screenplay 4.66.0 and
|
|
8
|
-
cratis 3.28.2). Every version, diagnostic and exit-code row cites its evidence there or in
|
|
9
|
-
the file that holds it.
|
|
10
|
-
|
|
11
|
-
## External material
|
|
12
|
-
|
|
13
|
-
| Source | Use | Licence handling |
|
|
14
|
-
| --- | --- | --- |
|
|
15
|
-
| TrogonStack/agentskills `7b249d3ee42d8b7e11fa564141ebd5fbc37aadf1` (MIT, Copyright (c) 2025 Straw Hat, LLC) | none: no passage of this skill is adapted from it | no third-party notice needed in `LICENSE` |
|
|
16
|
-
|
|
17
|
-
## Adapted closely (Martin Dilger and Nebulit GmbH)
|
|
18
|
-
|
|
19
|
-
Source: https://github.com/Nebulit-GmbH/agentic-engineer at commit `07b0f30648d663cb588d7e2c7aa031af9dfc21f2`,
|
|
20
|
-
by Martin Dilger and Nebulit GmbH (https://nebulit.de), used with the explicit consent of Martin Dilger and Nebulit GmbH.
|
|
21
|
-
|
|
22
|
-
| Source file | Used in | How |
|
|
23
|
-
|---|---|---|
|
|
24
|
-
| `.claude/skills/connect/SKILL.md`: resolve the connection once per session, reuse it, re-resolve only when a value actually needs to change | `SKILL.md` "Ground rules" 8, `references/verdicts.md` V2 start-up | Now adapted closely; board token/config prompts not adopted, translated to tool, version and model root |
|
|
25
|
-
| `.claude/skills/load-slice/SKILL.md`: scoped, identity-first reads instead of loading everything | `SKILL.md` "Edit strategy" | Idea; our own wording kept |
|
|
26
|
-
| `.claude/skills/learn-eventmodelers-api/SKILL.md`: load the tool reference on demand; prefer the typed tool over raw calls | `SKILL.md` "Ground rules" 8, "Edit strategy" | Idea; our own wording kept; the 934-line API catalog has no Screenplay equivalent to adopt |
|
|
27
|
-
|
|
28
|
-
## Sources read for facts
|
|
29
|
-
|
|
30
|
-
- Historical public/keys/routes/version source check: Screenplay `v4.135.0` (`b4e46130`),
|
|
31
|
-
unchanged release contract, `Semantics/Versions.cs`, `Documentation/screenplay/{events,slices,captures,readmodels,queries,event-sources,diagnostics,interoperability}.md`,
|
|
32
|
-
decisions 0049–0051 and 0060–0066. Composite view keys remain PLAY0268 (#599);
|
|
33
|
-
v11 literal lowering is admitted despite interoperability's unreleased label.
|
|
34
|
-
CLI `v3.50.0` (`546dea12`) pins Stage 4.67.0 and Screenplay 4.131.0;
|
|
35
|
-
`RenderedSemanticVersions.cs` and Stage's version-feature admission were read,
|
|
36
|
-
not executed as a new render/browser vector.
|
|
37
|
-
- Previous pin update: Screenplay `v4.131.0` (`71f3ef37`), published
|
|
38
|
-
`screenplay-contract.json`, `Source/DotNET/Screenplay.Mcp/{McpRevisionDiff,McpWorkspaces.Comparison,McpToolSchemas}.cs`
|
|
39
|
-
and `Documentation/screenplay/mcp/reference.md`; CLI `v3.46.1` (`73578fbf`)
|
|
40
|
-
`Directory.Packages.props`, `RenderedSemanticVersions.cs`, `RenderSettings.cs`,
|
|
41
|
-
`CratisRenderTarget.cs`, `RunSettings.cs` and `StageContainer.cs`. The CLI
|
|
42
|
-
source checks are not a new render/browser probe.
|
|
43
|
-
- Identity/compliance/route-literal guidance: Screenplay `v4.127.0` (`e70435a4`)
|
|
44
|
-
`identity.md`, `context.md`, `concepts.md`, `purposes.md`, `events.md`,
|
|
45
|
-
`event-sources.md`, `reactions.md`, `completeness.md`, `diagnostics.md`,
|
|
46
|
-
`editor-diagnostics.md`, MCP reference/authoring tools and `Semantics/Versions.cs`.
|
|
47
|
-
Installed 4.127.0 version and changed examples were checked separately. Historical
|
|
48
|
-
execution and renderer probes retain their labels, including CLI 3.41.0.
|
|
49
|
-
- Earlier baseline: Screenplay `v4.125.0` `Documentation/screenplay/{tool,diagnostics,editor-diagnostics,grammar,event-sources,specifications,policies}.md`, MCP reference/authoring guides and `Semantics/Versions.cs`; CLI `v3.41.0` dependency pins, `RenderedSemanticVersions.cs` and its v7 planning specification. Installed versions/CLI help and changed examples were checked separately. Pins are in `versions.md`; the older probes below retain their original labels.
|
|
50
|
-
- Screenplay `v4.66.0` (`c89198b`): `Documentation/screenplay/` (grammar, commands, queries,
|
|
51
|
-
specifications, reactions, diagnostics, mcp), `decisions/0017`, `0020`, `0022` to `0024`,
|
|
52
|
-
`Source/DotNET/Screenplay/Semantics/` (binder, versions, execution),
|
|
53
|
-
`Source/DotNET/Screenplay.Mcp/` (connection, catalog, schemas, workspaces, visualization),
|
|
54
|
-
`Source/DotNET/Tool/Program.cs`. Also `v4.60.1` and `v4.63.1` for the differences from the compiler bundled in cratis 3.27.1
|
|
55
|
-
and earlier.
|
|
56
|
-
- Stage `v4.24.0` (`fa48546`, unchanged in `Rendering.Cratis` admission at `v4.24.1`): `Source/Rendering.Cratis/` (surface ledger, planner, pure
|
|
57
|
-
transition admission, scaffold), `Documentation/guides/customize-rendered-application.md`.
|
|
58
|
-
- cratis `v3.28.2` (`141c499`; `Render/`, `Run/`, `Prologue/` and `Screenplay/Generate*` are unchanged since `v3.27.1`, `a327e89`): `Source/Cli/Commands/Render/`, `ScreenplayMcpRoot.cs`,
|
|
59
|
-
`Documentation/reference/screenplay.md`.
|
|
60
|
-
- Arc `v22.50.5` and Chronicle `v19.32.0` for the code-level facts cited in `versions.md`.
|
|
61
|
-
- Historical issue inventory at the old probes: cli#242, #243, #244, #245;
|
|
62
|
-
Stage#79, #165, #178; Chronicle#3744, #4123, #4131. Current invocation actor and
|
|
63
|
-
reference-execution availability are verified against v4.125.0, not old open-issue status.
|
|
64
|
-
|
|
65
|
-
## Changes from the earlier toolkit
|
|
66
|
-
|
|
67
|
-
- Folded the version facts into one `versions.md` (the only version table in the corpus).
|
|
68
|
-
- Moved the pin to Screenplay 4.68.0 (ESM v7: generated values and responses, decision 0026, `generated-responses-example.md`); re-ran the example compile and reference-runner gates unchanged; replaced every fixed number for unadmitted features with "not admitted by any supported ESM version" (decision 0025).
|
|
69
|
-
- Replaced the readiness script with the MCP view and field that carry the same result; no
|
|
70
|
-
script ships.
|
|
71
|
-
- Moved the MCP loop to `cratis-screenplay-model-authoring`; this skill keeps only the facts
|
|
72
|
-
needed to run a verdict and the edit strategy summary.
|
|
73
|
-
- Re-checked every documentation contradiction at v4.66.0; resolved the clock boundary and the
|
|
74
|
-
ESM v7 and v11 allocations; added numbers-exact, concurrency, approval-policy, visualization,
|
|
75
|
-
bodied-reducer, file-mode and cascade rows.
|
|
76
|
-
- Corrected the code-attachment rule (a handler never binds, with or without `hint`), the
|
|
77
|
-
historical automation rendering rule (Stage 4.24 rendered no Automation or Translate slices; current admission is in `renderable-subset.md`) and the
|
|
78
|
-
Stage output description (a React/Vite scaffold is emitted too).
|
|
79
|
-
- Verdict names follow the frozen V1 to V5 (V2 is executable diagnostics, V3 binding-ready);
|
|
80
|
-
the earlier "authoring accepted" meaning of V2 was dropped because it proves only that the
|
|
81
|
-
source compiled.
|