@cratis/pi 7.51.0 → 7.51.1
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/skills/cratis-application-slice-conformance/SKILL.md +8 -7
- package/package/corpus/skills/cratis-application-slice-conformance/references/checklists.md +1 -1
- package/package/corpus/skills/cratis-application-slice-conformance/references/provenance.md +2 -2
- package/package/corpus/skills/cratis-application-slice-specifications/SKILL.md +15 -19
- package/package/corpus/skills/cratis-application-slice-specifications/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-application-slice-specifications/references/query-and-decision-scenarios.md +8 -6
- package/package/corpus/skills/cratis-arc-react-page/SKILL.md +10 -14
- package/package/corpus/skills/cratis-arc-react-page/references/dialogs.md +4 -2
- package/package/corpus/skills/cratis-arc-react-page/references/from-screenplay.md +7 -7
- package/package/corpus/skills/cratis-arc-react-page/references/provenance.md +2 -2
- package/package/corpus/skills/cratis-arc-react-page/references/queries-and-commands.md +1 -1
- package/package/corpus/skills/cratis-arc-react-page/verification.json +0 -2
- package/package/corpus/skills/cratis-chronicle-reactor/SKILL.md +15 -19
- package/package/corpus/skills/cratis-chronicle-reactor/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-chronicle-reactor/references/specifications.md +10 -8
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/SKILL.md +7 -7
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/references/provenance.md +3 -3
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +30 -28
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +8 -8
- 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/effects-and-idempotency.md +3 -1
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/provenance.md +1 -14
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/public-events-and-direction.md +6 -4
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +5 -6
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +11 -12
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translate-example.md +3 -3
- 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 +22 -20
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +1 -1
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/invocation-identity.md +9 -10
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/refusals-and-redelivery.md +1 -1
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/specifying-triggers-and-clock.md +3 -4
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/verification.json +0 -4
- package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +16 -15
- package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +17 -17
- package/package/corpus/skills/cratis-screenplay-command-surface/references/context.md +8 -8
- package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +8 -12
- package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +31 -29
- package/package/corpus/skills/cratis-screenplay-command-surface/references/inline-events.md +5 -5
- package/package/corpus/skills/cratis-screenplay-command-surface/references/operations.md +2 -2
- package/package/corpus/skills/cratis-screenplay-command-surface/references/policy-persona-seed.md +3 -3
- package/package/corpus/skills/cratis-screenplay-command-surface/references/shop-generation.md +10 -10
- package/package/corpus/skills/cratis-screenplay-command-surface/references/validate-rules.md +9 -7
- package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +2 -5
- package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +14 -15
- package/package/corpus/skills/cratis-screenplay-discovery/references/facilitation.md +1 -1
- package/package/corpus/skills/cratis-screenplay-discovery/references/personas-and-causes.md +1 -1
- package/package/corpus/skills/cratis-screenplay-discovery/references/plotting-and-handoff.md +2 -2
- package/package/corpus/skills/cratis-screenplay-discovery/references/provenance.md +3 -3
- package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +13 -17
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/naming-primitives.md +2 -2
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +2 -2
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +11 -12
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/provenance.md +2 -2
- package/package/corpus/skills/cratis-screenplay-event-modeling/verification.json +0 -4
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/evidence-table-template.md +4 -4
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md +34 -21
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generated-recovery.md +18 -12
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/prologue-safety.md +7 -7
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/rule-modeling.md +4 -4
- package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +24 -29
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/choosing-generation.md +1 -2
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +44 -51
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +31 -36
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +56 -63
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/model-notes.md +11 -10
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/property-links.md +15 -15
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/release-baseline.md +25 -21
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/screen-authoring-workflow.md +16 -31
- package/package/corpus/skills/cratis-screenplay-model-authoring/verification.json +5 -4
- package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +3 -3
- package/package/corpus/skills/cratis-screenplay-model-review/references/provenance.md +3 -4
- package/package/corpus/skills/cratis-screenplay-model-review/references/public-keys-and-routes.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-review/references/report-template.md +7 -5
- package/package/corpus/skills/cratis-screenplay-model-review/references/worked-example.md +2 -2
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +11 -12
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/code-reading-and-tokens.md +2 -2
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/identity-and-edits.md +1 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/opt-in.md +8 -10
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/provenance.md +6 -6
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/stop-or-assume.md +2 -2
- 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 +3 -3
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/worked-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +11 -22
- package/package/corpus/skills/cratis-screenplay-projections/references/pdl-grammar.md +1 -1
- package/package/corpus/skills/cratis-screenplay-projections/verification.json +0 -1
- package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +16 -29
- package/package/corpus/skills/cratis-screenplay-read-surface/references/equality-filters.md +14 -18
- package/package/corpus/skills/cratis-screenplay-read-surface/references/guarded-actions.md +5 -7
- package/package/corpus/skills/cratis-screenplay-read-surface/references/named-keys.md +6 -6
- package/package/corpus/skills/cratis-screenplay-read-surface/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-read-surface/verification.json +1 -2
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +18 -19
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/delivery-protocol.md +2 -2
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md +6 -6
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/provenance.md +4 -4
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +5 -6
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/worked-example.md +2 -3
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +1 -1
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +13 -15
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-design.md +1 -1
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-example.md +2 -2
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/provenance.md +4 -6
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +4 -4
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-examples.md +3 -3
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +11 -9
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/view-and-story-specs.md +5 -5
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/verification.json +0 -1
- package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +11 -13
- package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +4 -4
- package/package/corpus/skills/cratis-screenplay-slice-design/references/rule-layers.md +6 -4
- package/package/corpus/skills/cratis-screenplay-slice-design/references/slicing.md +4 -2
- package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +37 -40
- package/package/corpus/skills/cratis-screenplay-specifications/references/actions-beyond-commands.md +10 -15
- package/package/corpus/skills/cratis-screenplay-specifications/references/child-ordering.md +14 -12
- package/package/corpus/skills/cratis-screenplay-specifications/references/concept-rules.md +1 -1
- package/package/corpus/skills/cratis-screenplay-specifications/references/examples-and-routes.md +9 -10
- package/package/corpus/skills/cratis-screenplay-specifications/references/generated-fixtures.md +5 -6
- package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +8 -9
- package/package/corpus/skills/cratis-screenplay-specifications/references/source-notes.md +13 -16
- package/package/corpus/skills/cratis-screenplay-specifications/references/whitespace-rules.md +15 -13
- package/package/corpus/skills/cratis-screenplay-specifications/verification.json +4 -9
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +29 -29
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +18 -15
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +16 -15
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +19 -17
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/provenance.md +3 -3
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +2 -2
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +2 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +2 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/pdl-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +0 -28
- package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +21 -26
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/guarded-interactions.md +3 -3
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/response-continuations.md +10 -10
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +23 -30
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/worked-flow.md +4 -5
- package/package/corpus/skills/cratis-screenplay-ui-composition/verification.json +1 -5
- package/package.json +1 -1
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/product-sources.md +0 -15
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/provenance.md +0 -13
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
- Tool groups
|
|
9
9
|
- Run reference specifications
|
|
10
10
|
- Whole-source authoring
|
|
11
|
-
- Concept generation
|
|
11
|
+
- Concept generation
|
|
12
12
|
- Diagnostic repairs and refactorings
|
|
13
13
|
- Syntax-only constructs through the MCP
|
|
14
14
|
- Descriptions and specification views
|
|
@@ -25,12 +25,13 @@
|
|
|
25
25
|
- Formatting and recovery limits
|
|
26
26
|
- Code attachments
|
|
27
27
|
|
|
28
|
+
The standalone MCP server lists 43 tools (including the MCP-Apps visualization tool); `tools/list` is the authority for the installed server.
|
|
29
|
+
|
|
28
30
|
The supported CLI launch is `cratis screenplay mcp <model-root>`, or `cratis screenplay mcp`
|
|
29
31
|
alone inside a project, where the CLI locates the model (the project's `.play` files, else
|
|
30
32
|
`Source/` or `src/`, else a new `Screenplay/` folder). The standalone form is `screenplay mcp <model-folder>`. A
|
|
31
33
|
server started with no root at all binds one on first use from `open-workspace`'s
|
|
32
|
-
`path`, the client's roots, or the working directory; that dynamic form
|
|
33
|
-
roots bug in Screenplay up to 4.63.1 (see the [MCP loop](mcp-loop.md#roots-bug-and-the-workaround)),
|
|
34
|
+
`path`, the client's roots, or the working directory; that dynamic form depends on the client supplying roots (see the [MCP loop](mcp-loop.md#dynamic-roots-and-the-workaround)),
|
|
34
35
|
so prefer a fixed root. Without a project the server works in `Documents/Screenplay`. Model files never go under `.cratis/`. AI distribution provides the
|
|
35
36
|
profile-selected declaration and guidance; the CLI owns executable hosting and
|
|
36
37
|
client registration. Installation must preserve user-owned MCP servers and
|
|
@@ -55,7 +56,7 @@ the [MCP loop](mcp-loop.md).
|
|
|
55
56
|
| Visual (MCP-Apps hosts only) | `visualize-model` | Draw the board for the model or a `proposalId`; its `sketch` argument previews a what-if of whole documents. Reads only |
|
|
56
57
|
| Planning | `propose-source`, `propose-ast`, `propose-rename`, `propose-move`, `propose-repair`, `propose-property`, `propose-number-enum-members`, `propose-extract-inline-event`, `propose`, `recommend-layout`, `expand-layout` | Produce validated, reviewable candidates without writing them |
|
|
57
58
|
| Review | `read-proposal`, `discard-proposal` | Inspect exact changes, dropped comments and proposed attachments, or abandon a connection-local proposal |
|
|
58
|
-
| Reference execution | `run-specifications` | Run the workspace or
|
|
59
|
+
| Reference execution | `run-specifications` | Run the workspace or a retained proposal candidate read-only; not attached code or target tests |
|
|
59
60
|
| Effects | `apply`, `recover-workspace` | Apply an accepted plan or explicitly recover an interrupted write |
|
|
60
61
|
|
|
61
62
|
`propose-move` moves a slice to another feature, or a feature to another module or feature, keeping identities: copy the `target` and `newParent` `{kind, parts}` addresses from the identity inventory and pass `expectedRevision` and `expectedCatalogRevision`. It repairs qualified references and `depends on`, and refuses identity loss, capture, collisions, descendant destinations, inherited authorization or screen-interaction changes and glob imports; review `moveReport` (`identityMigrations`, `referenceRepairs`, `fragmentsMoved`). It does not rename events, change pins or move files, and declaration moves between slices are deferred. Use it for legacy re-slicing instead of retyping declarations.
|
|
@@ -63,13 +64,15 @@ the [MCP loop](mcp-loop.md).
|
|
|
63
64
|
`propose` is the executable-only whole-document interface. Prefer `propose-source`
|
|
64
65
|
for whole `.play` text, `propose-ast` for focused typed edits, and `propose-rename`
|
|
65
66
|
for proved logical renames. Prefer `propose-property` over hand-composed AST
|
|
66
|
-
batches for property chains
|
|
67
|
+
batches for property chains.
|
|
67
68
|
Add takes `owner`, `expectedOwnerName`, `name`, `type`, `optional`,
|
|
68
69
|
`hops` (`{at, name}` or `{at, value}`) and `fixtureValue`, plus both revision guards.
|
|
69
70
|
Missing sources/required fixture values refuse `SourcesRequired`/`FixtureValueRequired`;
|
|
70
71
|
off-chain hops refuse `HopNotOnChain`, nested feeds `UnsupportedPropertySpan`.
|
|
71
72
|
Read `property.needsDecision` and `property.chainCandidates`, select an event
|
|
72
73
|
evolution mode even for optional additions, and review before applying.
|
|
74
|
+
|
|
75
|
+
Requires Screenplay 4.140.0 or later (`screenplay --version`) for `propose-property` rename and remove, and 4.142.0 or later for add.
|
|
73
76
|
Exact arguments, AutoMap and fixture rules: [property evidence and planning](property-links.md). A
|
|
74
77
|
source-only authoring proposal may be accepted while `executableReady` is false.
|
|
75
78
|
That is not permission to claim the application runs.
|
|
@@ -84,7 +87,9 @@ prefix), `offset` (default 0), `limit` (1–200, default 50), and
|
|
|
84
87
|
intersection; no match refuses `UnknownSpecificationSelection`, never an empty pass.
|
|
85
88
|
A table address selects all its cases. Drift refuses `StaleSourceRevision`.
|
|
86
89
|
|
|
87
|
-
|
|
90
|
+
Requires Screenplay 4.145.0 or later (`screenplay --version`) for `proposalId`.
|
|
91
|
+
|
|
92
|
+
`run-specifications` also accepts `proposalId`: propose → review
|
|
88
93
|
`read-proposal` (including `view: "semantic-diff"`) → run the retained candidate →
|
|
89
94
|
`apply`. Static expectation comparison is not execution. The candidate retains
|
|
90
95
|
identities and planned renames; running does not apply, refresh from disk or discard
|
|
@@ -108,9 +113,6 @@ exit 0 passed, 1 failed, 2 invalid arguments/input/selection or IO, 3 unsupporte
|
|
|
108
113
|
or unbound. `--no-color` is rejected (exit 2); there is no proposal or paging option.
|
|
109
114
|
A folder is one application; a file selects only itself and its imports.
|
|
110
115
|
|
|
111
|
-
Sources: Screenplay v4.145.0 `Source/DotNET/Screenplay.Mcp/McpWorkspaces.Specifications.cs:12-79`,
|
|
112
|
-
`McpSpecificationExecution.cs:20-49,106-111`, `Source/DotNET/Tool/ModelTest.cs:14-108`,
|
|
113
|
-
`Documentation/screenplay/mcp/authoring-tools.md:500-535` and `tool.md:120-142`.
|
|
114
116
|
|
|
115
117
|
## Whole-source authoring
|
|
116
118
|
|
|
@@ -136,7 +138,7 @@ dropped comments, identity changes and introduced executable errors through
|
|
|
136
138
|
`read-proposal`, then `apply` with before revisions. Accepted authoring source with
|
|
137
139
|
`executableReady: false` is not running behavior.
|
|
138
140
|
|
|
139
|
-
## Concept generation
|
|
141
|
+
## Concept generation
|
|
140
142
|
|
|
141
143
|
Inspect `screenplay_declaration_details` (`declaration-details`) with
|
|
142
144
|
`kind: "Concept"`, `view: "summary"` and the concept's address. Its `details.generation`
|
|
@@ -192,23 +194,12 @@ before applying; discovery/proposal write nothing. The saved-file VS Code repair
|
|
|
192
194
|
picker does not expose these entropy actions.
|
|
193
195
|
|
|
194
196
|
Derived regexes, derived `matches`/checksum repairs and rule-proof status are
|
|
195
|
-
**not shipped** in this view
|
|
196
|
-
|
|
197
|
-
summary
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
`Source/DotNET/Screenplay.Mcp/McpGenerationDetails.cs:13-83`,
|
|
202
|
-
`McpDeclarationDetails.cs:160`, `McpRepairCapabilities.cs:10-24`,
|
|
203
|
-
`Source/DotNET/Screenplay/Workspaces/WorkspaceGenerationRepairs.cs:29-134`,
|
|
204
|
-
`Source/DotNET/Screenplay/Semantics/GenerationEntropy.cs:15-60`,
|
|
205
|
-
`Source/DotNET/Screenplay.Mcp/for_McpAuthoringWorkflow/when_authoring_generation.cs:10-97`,
|
|
206
|
-
`when_describing_generation.cs:10-118`, `when_repairing_generation.cs:10-50`;
|
|
207
|
-
`Documentation/screenplay/mcp/reference.md:103-128` and
|
|
208
|
-
`generated-values.md:62-70`. Bundle evidence: Cratis/cli
|
|
209
|
-
`v3.57.0:Directory.Packages.props:8,35-37`; Cratis/Screenplay **v4.147.1**,
|
|
210
|
-
`Source/DotNET/Screenplay.Mcp/McpDeclarationDetails.cs:153-160` and
|
|
211
|
-
`McpRepairCapabilities.cs:10-24`.
|
|
197
|
+
**not shipped** in this view; MCP does not generate values. The CLI-bundled MCP can lack
|
|
198
|
+
this generation summary and the entropy repairs. Existing typed concept proposals predate the
|
|
199
|
+
new summary; discover installed schemas rather than assuming the standalone surface.
|
|
200
|
+
|
|
201
|
+
Requires Screenplay 4.149.0 or later (`screenplay --version`) for the generation summary and entropy repairs.
|
|
202
|
+
|
|
212
203
|
|
|
213
204
|
## Diagnostic repairs and refactorings
|
|
214
205
|
|
|
@@ -226,7 +217,7 @@ with `view: "diagnostics"`, then `view: "repairs"` at the current revision.
|
|
|
226
217
|
| `PLAY0563/0564` | Expand a one-line interaction alternative / turn a strict item `where` into one block-form `when`. Individual review, canonical formatting, no pinned evidence; refuse comment loss. Opaque non-item-condition text has no PLAY0564 repair. |
|
|
227
218
|
| `PLAY0614` | Declare Translate direction only when exactly one inbound/outbound interpretation fits public metadata; never change event visibility to make a repair fit. |
|
|
228
219
|
| `PLAY0661` | Complete command reads only when each missing part has one same-named compatible source; preserve authored parts and refuse ambiguity. Queries and trigger reads have no repair. |
|
|
229
|
-
| `PLAY0683/0684` | Raise NanoID size/bytes count using the concept subject; PLAY0683 also offers uniqueness using the command-property subject. Individual review, canonical formatting, no pinned evidence; see [concept generation](#concept-generation
|
|
220
|
+
| `PLAY0683/0684` | Raise NanoID size/bytes count using the concept subject; PLAY0683 also offers uniqueness using the command-property subject. Individual review, canonical formatting, no pinned evidence; see [concept generation](#concept-generation). |
|
|
230
221
|
| `PLAY0664` | Remove an override identical to the command's complete source/stream/id route. |
|
|
231
222
|
| `PLAY0516` | Move a producing sibling declaration/import before its consumer, or pin an already placed file before a retained glob. Preserve catalogs, comments, placement and executable readiness; introduce no timeline findings. Own-sub-feature edges, cycles, unranked members and mixed/different-parent boundaries have no repair. Rediscover after each move; pinned evidence is unsupported. |
|
|
232
223
|
|
|
@@ -258,7 +249,9 @@ tags and identities survive; canonical ESM must stay byte-identical and every
|
|
|
258
249
|
comment must survive exactly once. Extract before adding `generation`, not after
|
|
259
250
|
making the document parser-invalid. This is a refactoring, not a diagnostic repair.
|
|
260
251
|
|
|
261
|
-
`propose-rename`
|
|
252
|
+
Requires Screenplay 4.153.0 or later (`screenplay --version`) for `propose-rename` to consult release-baseline mutability; before it, `propose-rename` pins the previous effective name without a baseline.
|
|
253
|
+
|
|
254
|
+
`propose-rename` consults release-baseline mutability: without a
|
|
262
255
|
baseline it conservatively pins the previous effective name; an unadmitted event
|
|
263
256
|
gets no new pin, while any admitted revision requires preserving its stored name.
|
|
264
257
|
`eventNeverPersisted: true` is refused for admitted revisions; otherwise it needs
|
|
@@ -267,34 +260,34 @@ pin, but retains a pin for a different earlier name. Contradictory generation pi
|
|
|
267
260
|
refuse the rename. Do not promise a generation-2 payload-removal repair or a
|
|
268
261
|
`PLAY0470` repair: neither is available.
|
|
269
262
|
|
|
270
|
-
|
|
263
|
+
Requires Screenplay 4.152.0 or later (`screenplay --version`) for `storedName` (ESM v16).
|
|
264
|
+
|
|
265
|
+
Differing event pins carry `storedName` on the current
|
|
271
266
|
contract and select **ESM v16**. All generations share the effective stored name;
|
|
272
267
|
pins must be event-name identifiers, unique across the application (PLAY0472).
|
|
273
268
|
An equal-name pin is a no-op: no `storedName` or v16 selection; PLAY0471 removal
|
|
274
|
-
preserves canonical bytes.
|
|
269
|
+
preserves canonical bytes. There is no interim event-pin warning: the compatibility
|
|
275
270
|
`eventPinWarnings` array in proposals is empty. The pin does not replace or rehash
|
|
276
271
|
`EventContractId`; use the identity-preserving rename, not a text/catalog bypass.
|
|
277
272
|
|
|
278
273
|
Consumers must explicitly admit v16 and preserve stored names or refuse the model.
|
|
279
|
-
|
|
274
|
+
A renderer admits only the ESM versions it bundles (toolchain
|
|
275
|
+
`references/renderable-subset.md`), so do not promise rendered storage
|
|
280
276
|
compatibility, delete intended pins or treat reference specs as storage tests.
|
|
281
|
-
|
|
277
|
+
The release baseline: admit in the release job,
|
|
282
278
|
inspect `screenplay_list_release_baseline` and `read-proposal view=release-baseline`,
|
|
283
279
|
then choose edits from evidence. Workflow, flags, guards and recovery:
|
|
284
|
-
[release baseline](release-baseline.md).
|
|
285
|
-
`
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
target evidence: toolchain `references/diagnostics.md` (Reserved stored names and event pins).
|
|
280
|
+
[release baseline](release-baseline.md). Target evidence: toolchain
|
|
281
|
+
`references/diagnostics.md` (Reserved stored names and event pins).
|
|
282
|
+
|
|
283
|
+
Requires Screenplay 4.150.0 or later (`screenplay --version`) for the stored stream name `All` refusal.
|
|
289
284
|
|
|
290
285
|
A stream whose stored name is exactly `All`, from its name or `id "All"`,
|
|
291
286
|
refuses executable binding/readiness with PLAY0273. Use discovered `propose-rename`
|
|
292
287
|
to change that stored stream name; pinning it back to `All` is not a repair.
|
|
293
288
|
There is no typed PLAY0273 repair for this case. Existing `All` history reads as
|
|
294
289
|
source-only appends. Source/stream pins otherwise travel as ESM v8 stored names;
|
|
295
|
-
event stored names require v16.
|
|
296
|
-
`Source/DotNET/Screenplay/Semantics/SemanticModelBinder.EventSources.cs:17-52` and
|
|
297
|
-
`decisions/0073-reserve-the-stored-event-stream-name-all.md:35-63`.
|
|
290
|
+
event stored names require v16.
|
|
298
291
|
|
|
299
292
|
VS Code and Monaco provide local PLAY0479 optionality and PLAY0471 redundant-id
|
|
300
293
|
fixes without .NET. PLAY0471 removes the whole id line; a trailing comment blocks
|
|
@@ -302,9 +295,11 @@ it. VS Code also has an experimental opt-in trusted C# bridge for PLAY0166/PLAY0
|
|
|
302
295
|
configure the executable/root in User settings, preview source and identity changes,
|
|
303
296
|
then explicitly confirm Apply. Dirty/untitled buffers and evidence drift refuse;
|
|
304
297
|
uncertain Apply outcomes are never retried. Restricted Mode cannot launch it.
|
|
305
|
-
Monaco has no production-repair host bridge. See
|
|
298
|
+
Monaco has no production-repair host bridge. See `vscode.md`.
|
|
306
299
|
|
|
307
|
-
### Number enum members
|
|
300
|
+
### Number enum members
|
|
301
|
+
|
|
302
|
+
Requires Screenplay 4.137.0 or later (`screenplay --version`) for `propose-number-enum-members`, and 4.139.0 or later for non-positional numbers (ESM v12).
|
|
308
303
|
|
|
309
304
|
Find the unnumbered enum's `ConceptSyntax` handle with `read-ast`; pass it as
|
|
310
305
|
`subject` to `propose-number-enum-members` with `expectedRevision`,
|
|
@@ -314,18 +309,16 @@ Optional `validation` and `includeContent` follow ordinary proposals. It writes
|
|
|
314
309
|
requires retained comments/catalog assignments and unchanged executable bytes
|
|
315
310
|
when the original binds. Review with `read-proposal`, then `apply` with before
|
|
316
311
|
revisions; proposing writes nothing. Positional pins preserve executable version,
|
|
317
|
-
bytes and revision. Non-positional numbers require v12
|
|
312
|
+
bytes and revision. Non-positional numbers require v12 consumer admission.
|
|
318
313
|
|
|
319
314
|
Opt into `diagnostics` `checks: "enum-pinning"` (or `PLAY0671` or `all`) for an
|
|
320
315
|
Information hint on unnumbered enums used by event properties, including composite
|
|
321
316
|
uses. Ordinary compilation does not report it. This is a refactoring, not a
|
|
322
317
|
correctness repair; PLAY0667–0670 require an author decision, with no automatic repair.
|
|
323
|
-
Source: `v4.139.0:Documentation/screenplay/mcp/authoring-tools.md`.
|
|
324
318
|
|
|
325
319
|
## Syntax-only constructs through the MCP
|
|
326
320
|
|
|
327
|
-
|
|
328
|
-
sources/streams and command/specification routes bind as ESM v8 and have
|
|
321
|
+
Sources/streams and command/specification routes bind as ESM v8 and have
|
|
329
322
|
catalog identities; `executionAvailable` still requires whole-workspace binding.
|
|
330
323
|
Source/stream `propose-rename` repairs bound route references. Operations and
|
|
331
324
|
exact numeric mode remain unadmitted. Check installed schemas, especially when
|
|
@@ -333,27 +326,26 @@ the CLI bundle predates the standalone tool.
|
|
|
333
326
|
|
|
334
327
|
Systems/operations remain authoring-only (PLAY0268). Sources/streams and their
|
|
335
328
|
routes are admitted v8, not syntax-only; see toolchain `references/sources-and-streams.md`.
|
|
336
|
-
`generated` properties and `returns` responses are admitted as ESM v7
|
|
337
|
-
there (`PLAY0268` on the 4.66.0 in the cratis 3.28.x bundle). The server reads and edits them: `declaration-details` exposes `isGenerated`
|
|
329
|
+
`generated` properties and `returns` responses are admitted as ESM v7 and bind. The server reads and edits them: `declaration-details` exposes `isGenerated`
|
|
338
330
|
and a command `response` view, `route` and `streams` views; `read-workspace` offers
|
|
339
331
|
the views `event-sources`, `event-streams`, `event-source-details`,
|
|
340
332
|
`event-stream-details`, `command-routes` and `event-source-diagnostics` (detail
|
|
341
333
|
views need the exact `authoringKey` from the inventory). Executable availability
|
|
342
334
|
requires successful whole-workspace binding, not just an inventoried source node.
|
|
343
335
|
Discover `syntax-schema` and edit through typed `propose-ast`; source/stream rename
|
|
344
|
-
can repair proven route references on the current compiler.
|
|
336
|
+
can repair proven route references on the current compiler. Inline-event extraction
|
|
345
337
|
admits response-bearing commands when it proves byte-identical canonical ESM,
|
|
346
338
|
unchanged catalog assignments and exact comment preservation; responses are not
|
|
347
339
|
an automatic refusal.
|
|
348
340
|
|
|
349
|
-
For `generated`/`returns
|
|
341
|
+
For `generated`/`returns`: `propose-ast` accepts
|
|
350
342
|
`validation: "Executable"` for the admitted subset (use `"Authoring"` for full-language syntax); a
|
|
351
343
|
response-only command reports `syntaxOnly: false` and a null `executionReadiness`, while a command that
|
|
352
344
|
also uses operations, streams, handlers or exact numeric mode keeps a readiness string naming each
|
|
353
345
|
unadmitted feature. Null readiness does not prove the whole application binds or that every generation
|
|
354
346
|
fixture exists. Canonical `executable-model` pages include `generated`, `response`, `generatedValues`
|
|
355
|
-
and `thenReturns` when present. Screenplay
|
|
356
|
-
Scene runtime continuation binding remains downstream
|
|
347
|
+
and `thenReturns` when present. Screenplay resolves form/execute-success response names (no ESM change);
|
|
348
|
+
Scene runtime continuation binding remains downstream in Stage. See UI composition
|
|
357
349
|
`references/response-continuations.md` for scope, failure PLAY0685 and tagged evidence.
|
|
358
350
|
|
|
359
351
|
## Descriptions and specification views
|
|
@@ -367,8 +359,8 @@ persona/policy and table/case/caseParameter provenance. Neither view executes.
|
|
|
367
359
|
|
|
368
360
|
## Identity, compliance and processing views
|
|
369
361
|
|
|
370
|
-
|
|
371
|
-
additions
|
|
362
|
+
`mcp/reference.md` and `authoring-tools.md` describe these
|
|
363
|
+
additions. Discover installed schemas; current compiler
|
|
372
364
|
and bundle versions are covered in `cratis-screenplay-toolchain/SKILL.md`.
|
|
373
365
|
|
|
374
366
|
- Identity/detail summaries expose declared sources; `$identity` has its own
|
|
@@ -427,7 +419,9 @@ limits. Continue with `expectedSourceRevision`.
|
|
|
427
419
|
|
|
428
420
|
## Property-reference evidence
|
|
429
421
|
|
|
430
|
-
|
|
422
|
+
Requires Screenplay 4.138.0 or later (`screenplay --version`) for `kind: "Property"` and `Owner.generationN.member`.
|
|
423
|
+
|
|
424
|
+
`find-references` and `dependencies` accept `kind: "Property"`
|
|
431
425
|
and `Owner.member`, or historical event `Owner.generationN.member`. Before a
|
|
432
426
|
property change, read [property links](property-links.md) for exact query/result
|
|
433
427
|
shapes, roles, direct counterpart traversal, revision paging and `complete: false`
|
|
@@ -491,7 +485,7 @@ suppression ships. Both tools page with `offset`/`limit` and
|
|
|
491
485
|
|
|
492
486
|
## Semantic revision comparison
|
|
493
487
|
|
|
494
|
-
|
|
488
|
+
`semantic-diff` accepts `before` and `after` source objects,
|
|
495
489
|
without opening/replacing the active workspace, clearing proposals or writing
|
|
496
490
|
source/state. Each side selects exactly one form:
|
|
497
491
|
|
|
@@ -512,16 +506,15 @@ the open model as candidate:
|
|
|
512
506
|
}
|
|
513
507
|
```
|
|
514
508
|
|
|
515
|
-
|
|
516
|
-
(`cratis --version`, MCP `serverInfo.version`) with that minimum
|
|
517
|
-
(previous CLI 3.46.1 bundled 4.130.0).
|
|
509
|
+
Requires Screenplay 4.131.0 or later (`screenplay --version`) for these source objects; compare the
|
|
510
|
+
bundled compiler (`cratis --version`, MCP `serverInfo.version`) with that minimum.
|
|
518
511
|
Discover installed schemas rather than assuming bundle parity.
|
|
519
512
|
Check that the registered worktree is checked out at the intended commit and
|
|
520
513
|
contains the baseline model; Git refs are not resolved. An admitted missing
|
|
521
514
|
`path` (whose parent exists) reads as an empty model, not a failure: a wrong
|
|
522
515
|
baseline path can make every candidate declaration appear added. Check that
|
|
523
516
|
the folder exists and contains the expected `.play` files before comparing.
|
|
524
|
-
Source:
|
|
517
|
+
Source: `Source/DotNET/Screenplay.Mcp/McpWorkspaces.Comparison.cs`
|
|
525
518
|
(`OpenFromDisk`, `allowEmpty: true`) and `McpRoot.cs` (`TraversalStart`). A fixed-root server
|
|
526
519
|
admits its own root or the corresponding model folder in a registered worktree
|
|
527
520
|
of the same repository; a dynamic server uses normal root checks. Relative paths
|
|
@@ -548,7 +541,7 @@ or transitive/runtime impact. Use `read-proposal` with `view: "semantic-diff"`
|
|
|
548
541
|
for a retained proposal against its disk baseline without applying it; changed
|
|
549
542
|
baseline bytes or pending recovery refuse that view too.
|
|
550
543
|
|
|
551
|
-
Authority: `
|
|
544
|
+
Authority: `Source/DotNET/Screenplay.Mcp/{McpRevisionDiff,McpWorkspaces.Comparison,McpToolSchemas,McpToolCatalog}.cs`
|
|
552
545
|
and `Documentation/screenplay/mcp/reference.md`.
|
|
553
546
|
|
|
554
547
|
## Source map and appended-event fixtures
|
|
@@ -602,7 +595,7 @@ row; route parts retain their individual lineage. These are source facts, not ex
|
|
|
602
595
|
| Backend unsupported | Preserve valid source and report not-executable; do not remove business intent to appease a narrower runtime |
|
|
603
596
|
| InvalidIdentityMigration | Read `identityMigrationIssues`, not trial-and-error retries; supply the intended continuity/retirement for exactly the listed addresses |
|
|
604
597
|
|
|
605
|
-
|
|
598
|
+
Migration refusals name each offending address and its input array:
|
|
606
599
|
`semanticRenames`, `eventRenames`, `retiredSemanticAddresses`,
|
|
607
600
|
`retiredEventAddresses`. Rejected `propose`, `propose-ast` and `propose-source`
|
|
608
601
|
return structured `identityMigrationIssues`: each item has `arguments` and typed
|
|
@@ -16,20 +16,21 @@
|
|
|
16
16
|
|
|
17
17
|
## Verified product sources
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
Cratis CLI's older bundle. Sources in `Cratis/Screenplay` at that tag:
|
|
19
|
+
Requires Screenplay 4.144.0 or later (`screenplay --version`) for model notes; the CLI-bundled MCP can be older.
|
|
21
20
|
|
|
22
|
-
|
|
21
|
+
Sources in `Cratis/Screenplay`:
|
|
22
|
+
|
|
23
|
+
| Contract | Path |
|
|
23
24
|
| --- | --- |
|
|
24
|
-
| Purpose, anchors, decisions and privacy | `Documentation/screenplay/model-notes.md
|
|
25
|
-
| Filters, operations, review and orphan disclosure | `Documentation/screenplay/mcp/reference.md
|
|
26
|
-
| Retained proposals, revision guards and notes review | `Source/DotNET/Screenplay.Mcp/McpWorkspaces.Notes.cs
|
|
27
|
-
| Operation fields and resolution evidence | `Source/DotNET/Screenplay.Mcp/McpNotesOperations.cs
|
|
28
|
-
| Sidecar bytes, absence and canonical revision | `Source/DotNET/Screenplay/Workspaces/ModelNotesStore.cs
|
|
29
|
-
| Standalone question gate | `Source/DotNET/Tool/ModelOpenQuestions.cs
|
|
25
|
+
| Purpose, anchors, decisions and privacy | `Documentation/screenplay/model-notes.md` |
|
|
26
|
+
| Filters, operations, review and orphan disclosure | `Documentation/screenplay/mcp/reference.md`; `Source/DotNET/Screenplay.Mcp/McpNotesSchemas.cs` |
|
|
27
|
+
| Retained proposals, revision guards and notes review | `Source/DotNET/Screenplay.Mcp/McpWorkspaces.Notes.cs` |
|
|
28
|
+
| Operation fields and resolution evidence | `Source/DotNET/Screenplay.Mcp/McpNotesOperations.cs` |
|
|
29
|
+
| Sidecar bytes, absence and canonical revision | `Source/DotNET/Screenplay/Workspaces/ModelNotesStore.cs` |
|
|
30
|
+
| Standalone question gate | `Source/DotNET/Tool/ModelOpenQuestions.cs`; `Documentation/screenplay/model-notes.md` |
|
|
30
31
|
|
|
31
32
|
The source-edit and authoring guides remain useful for the ordinary proposal loop:
|
|
32
|
-
`Documentation/screenplay/mcp/edit.md
|
|
33
|
+
`Documentation/screenplay/mcp/edit.md` and `authoring-tools.md`.
|
|
33
34
|
The notes-specific arguments are in the reference and sources above.
|
|
34
35
|
|
|
35
36
|
## Choose the artifact
|
package/package/corpus/skills/cratis-screenplay-model-authoring/references/property-links.md
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
|
|
8
8
|
- Address and query
|
|
9
9
|
- Read evidence, not just a count
|
|
10
|
-
- Propose a property change
|
|
10
|
+
- Propose a property change
|
|
11
11
|
- Add with explicit sources and fixtures
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
`
|
|
15
|
-
`
|
|
16
|
-
|
|
17
|
-
4.
|
|
13
|
+
Property-path evidence in `find-references` and `dependencies` is read-only inspection.
|
|
14
|
+
Discover installed `tools/list`: an older CLI bundle can predate it. The separate
|
|
15
|
+
`propose-property` planner renames, removes and adds properties.
|
|
16
|
+
|
|
17
|
+
Requires Screenplay 4.138.0 or later (`screenplay --version`) for property-path evidence, 4.140.0 or later for `propose-property` rename and remove, and 4.142.0 or later for add.
|
|
18
18
|
|
|
19
19
|
## Address and query
|
|
20
20
|
|
|
@@ -34,7 +34,7 @@ first inspect the event with `find-references`:
|
|
|
34
34
|
}
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
This returns two references (`produces`, `thenEvent`), with top-level
|
|
38
38
|
`totalCount: 2`, `references` and empty `ambiguous`, `incomplete`, `wrongKind`
|
|
39
39
|
arrays. The event response has no `complete` field. Query its property separately:
|
|
40
40
|
|
|
@@ -85,7 +85,7 @@ navigate `targets`, not an assumed interpretation of `otherEnd`. Evidence roles
|
|
|
85
85
|
| `opaque` | Text names the property; code is not resolved |
|
|
86
86
|
| `unclassified` | Conservative backstop found a name occurrence outside classified links |
|
|
87
87
|
|
|
88
|
-
### Observed result on the compiled example
|
|
88
|
+
### Observed result on the compiled example
|
|
89
89
|
|
|
90
90
|
The property `find-references` response has `success: true`, `complete: false`,
|
|
91
91
|
`totalCount: 3`, `nextOffset: null`: two resolved references (`mapping-target`
|
|
@@ -123,11 +123,11 @@ identity-safe edit route with the connection owner. Never infer safe deletion fr
|
|
|
123
123
|
zero resolved hits or edit every same-named field. An event-property change still
|
|
124
124
|
needs a persisted-contract evolution decision; the catalog is not storage evidence.
|
|
125
125
|
|
|
126
|
-
Source/output authority: `
|
|
126
|
+
Source/output authority: `Documentation/screenplay/mcp/reference.md`
|
|
127
127
|
(property links), `Source/DotNET/Screenplay.Mcp/McpPropertyDependencies.cs`,
|
|
128
|
-
`McpToolSchemas.cs`, and
|
|
128
|
+
`McpToolSchemas.cs`, and the released prerequisite index. The planner's release evidence is separate below.
|
|
129
129
|
|
|
130
|
-
## Propose a property change
|
|
130
|
+
## Propose a property change
|
|
131
131
|
|
|
132
132
|
Use `propose-property`, not hand-composed `propose-ast` batches, for supported
|
|
133
133
|
add/rename/remove changes along a proven chain. For add, inspect existing
|
|
@@ -156,7 +156,7 @@ A refusal returns `success: false` and no writable partial candidate. Missing an
|
|
|
156
156
|
event mode without a baseline returns `EventContractChangeRequiresDecision`; never
|
|
157
157
|
bypass it by text editing or claiming the catalog proves non-persistence.
|
|
158
158
|
|
|
159
|
-
|
|
159
|
+
Read [release-baseline evidence](release-baseline.md) before choosing:
|
|
160
160
|
`noBaseline` requires exactly one of `newGeneration: true` or
|
|
161
161
|
`eventNeverPersisted: true`, even for optional additions; `notInBaseline` defaults
|
|
162
162
|
to `inPlace`; `baselined` accepts only explicit `newGeneration: true`, otherwise
|
|
@@ -195,7 +195,7 @@ For a required addition with existing fixtures/assertions, supply `fixtureValue`
|
|
|
195
195
|
as **literal source text**, for example `"\"normal\""` for a String value. The
|
|
196
196
|
planner adds it to existing specification steps, examples and query results;
|
|
197
197
|
`optional: true` adds no fixture values. A literal is not proof of behavior:
|
|
198
|
-
inspect the assertions and
|
|
198
|
+
inspect the assertions and run
|
|
199
199
|
`run-specifications` with `proposalId` on the retained candidate before `apply`.
|
|
200
200
|
See [reference execution](mcp-tools.md#run-reference-specifications).
|
|
201
201
|
|
|
@@ -211,8 +211,8 @@ Use `CanonicalizeTouchedDocuments` for additions. Review `property.changed`
|
|
|
211
211
|
bytes, dropped comments, identities and semantic diff before ordinary `apply`.
|
|
212
212
|
Even an optional event addition needs the same explicit evolution mode above.
|
|
213
213
|
|
|
214
|
-
Authority:
|
|
214
|
+
Authority: `Source/DotNET/Screenplay.Mcp/McpWorkspaces.Property.cs`,
|
|
215
215
|
`Screenplay/Workspaces/WorkspaceProperty{Request,Plan,Safety,Report}.cs`,
|
|
216
216
|
`WorkspacePropertyAdd{Plan,Edits}.cs`, `WorkspacePropertyAssertionProvenance.cs`,
|
|
217
217
|
`WorkspaceEventGenerations.cs`, and `Documentation/screenplay/mcp/{edit,reference,authoring-tools}.md`;
|
|
218
|
-
the published contract's `mcpTools` entry for `propose-property
|
|
218
|
+
the published contract's `mcpTools` entry for `propose-property`.
|
package/package/corpus/skills/cratis-screenplay-model-authoring/references/release-baseline.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- Copyright (c) Cratis. All rights reserved. -->
|
|
2
2
|
<!-- Licensed under the MIT license. See LICENSE file in the project root for full license information. -->
|
|
3
3
|
|
|
4
|
-
# Release baseline
|
|
4
|
+
# Release baseline
|
|
5
5
|
|
|
6
6
|
## Contents
|
|
7
7
|
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
- Earlier shipped models
|
|
13
13
|
- Verified product sources
|
|
14
14
|
|
|
15
|
+
Requires Screenplay 4.153.0 or later (`screenplay --version`) for the release baseline and its `baseline` command, and 4.152.0 or later for `storedName` (ESM v16).
|
|
16
|
+
|
|
15
17
|
## Admit in the release job
|
|
16
18
|
|
|
17
19
|
Commit `.screenplay/release-baseline.json` with the model. It records the event
|
|
@@ -19,7 +21,7 @@ revisions a release admitted, keyed by persisted event contract identity and
|
|
|
19
21
|
revision, not display name/address. Its header is
|
|
20
22
|
`schema: "cratis.screenplay.release-baseline"`, `schemaVersion: 1`, with
|
|
21
23
|
`applicationIdentity` and `entries`. Published schema:
|
|
22
|
-
[release-baseline-v1.schema.json](https://github.com/Cratis/Screenplay/blob/
|
|
24
|
+
[release-baseline-v1.schema.json](https://github.com/Cratis/Screenplay/blob/main/Documentation/screenplay/release-baseline-v1.schema.json).
|
|
23
25
|
|
|
24
26
|
Persist `.screenplay/identities.json` through the owning MCP session first.
|
|
25
27
|
Admission requires a binding model, persisted identities and no pending recovery.
|
|
@@ -116,25 +118,27 @@ installation has no write outcome to recover.
|
|
|
116
118
|
## Earlier shipped models
|
|
117
119
|
|
|
118
120
|
`screenplay baseline admit <model-root> --release <release-label> --from-esm <shipped-esm>`
|
|
119
|
-
strictly reads an earlier canonical ESM with the same application identity.
|
|
120
|
-
|
|
121
|
-
`
|
|
122
|
-
|
|
123
|
-
or
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
121
|
+
strictly reads an earlier canonical ESM with the same application identity. It resolves
|
|
122
|
+
each shipped event type from the shipped contract's `StoredName`, falling back to `Name`,
|
|
123
|
+
and refuses `ShippedStoredNameMismatch` when that name differs from the current stored
|
|
124
|
+
name. Do not remove a correct current pin to force admission. A reviewed baseline
|
|
125
|
+
correction or data migration needs the actual stored-type evidence. Ordinary admission
|
|
126
|
+
from the current model uses its effective stored name.
|
|
127
|
+
|
|
128
|
+
Requires Screenplay 4.154.0 or later (`screenplay --version`) for `baseline admit --from-esm <shipped-esm>` to read the
|
|
129
|
+
shipped `storedName`; earlier tools compare the shipped `name` and can refuse a pinned
|
|
130
|
+
rename with `ShippedStoredNameMismatch`.
|
|
127
131
|
|
|
128
132
|
## Verified product sources
|
|
129
133
|
|
|
130
|
-
Cratis/Screenplay
|
|
131
|
-
|
|
132
|
-
- `Documentation/screenplay/events.md
|
|
133
|
-
- `Documentation/screenplay/tool.md
|
|
134
|
-
- `Documentation/screenplay/mcp/reference.md
|
|
135
|
-
- `Documentation/screenplay/mcp/recovery.md
|
|
136
|
-
- `Documentation/screenplay/release-baseline-v1.schema.json
|
|
137
|
-
- `Source/DotNET/Tool/BaselineCommand.cs
|
|
138
|
-
- `Source/DotNET/Screenplay/Workspaces/ReleaseBaseline.cs
|
|
139
|
-
- `WorkspaceEventMutability.cs
|
|
140
|
-
- `Source/DotNET/Screenplay.Mcp/McpWorkspaces.ReleaseBaseline.cs
|
|
134
|
+
Cratis/Screenplay:
|
|
135
|
+
|
|
136
|
+
- `Documentation/screenplay/events.md` (stored shape, modes, rename).
|
|
137
|
+
- `Documentation/screenplay/tool.md` (CLI, persistence and exits).
|
|
138
|
+
- `Documentation/screenplay/mcp/reference.md` (views, paging, reports and guards).
|
|
139
|
+
- `Documentation/screenplay/mcp/recovery.md` (unreadability, drift, journal).
|
|
140
|
+
- `Documentation/screenplay/release-baseline-v1.schema.json` (sidecar).
|
|
141
|
+
- `Source/DotNET/Tool/BaselineCommand.cs` (real CLI requirements/exits).
|
|
142
|
+
- `Source/DotNET/Screenplay/Workspaces/ReleaseBaseline.cs` (monotonic admission, stored-name comparison and the `--from-esm` boundary).
|
|
143
|
+
- `WorkspaceEventMutability.cs`, `WorkspaceRefactoring.Property.cs` and `WorkspaceRefactoring.cs` in that Workspaces folder (classification/refusal).
|
|
144
|
+
- `Source/DotNET/Screenplay.Mcp/McpWorkspaces.ReleaseBaseline.cs` (read, paging and apply checks).
|
|
@@ -116,18 +116,19 @@ Before re-rendering an edited model over an earlier render, preview it:
|
|
|
116
116
|
cratis render <model-folder> --name <ApplicationName> --destination <render-dir> --check -o json
|
|
117
117
|
```
|
|
118
118
|
|
|
119
|
-
`--check`
|
|
119
|
+
`--check` plans exactly like a render and reports per path what a real
|
|
120
120
|
render would write, delete, leave unchanged or refuse, without writing anything. It
|
|
121
121
|
exits `0` when the destination is current, `6` (`changes_pending`) when a render
|
|
122
|
-
would change it and `5` when planning is refused.
|
|
122
|
+
would change it and `5` when planning is refused. The receipt lists
|
|
123
123
|
for every path the semantic declarations it realizes (`sources`: id, kind and a
|
|
124
124
|
`Module/Feature/Slice/Name` address) and a `bySource` view mapping each declaration
|
|
125
125
|
to its files. After an MCP edit, use `bySource` to confirm the edited screen or
|
|
126
|
-
binding changed exactly the files you expect, and `semantic-diff` (MCP
|
|
127
|
-
|
|
126
|
+
binding changed exactly the files you expect, and `semantic-diff` (MCP:
|
|
127
|
+
`before` and `after` as `{ "workspace": "active" }`, `{ "path": "<folder>" }`
|
|
128
128
|
or `{ "workspaceJson": "<export>" }`) to compare the model before and after the
|
|
129
|
-
edit.
|
|
130
|
-
|
|
129
|
+
edit.
|
|
130
|
+
|
|
131
|
+
Requires cratis CLI 3.44.0 or later (`cratis --version`) for `cratis render --check`.
|
|
131
132
|
|
|
132
133
|
For screens-release parity, the smoke check must assert that every authored
|
|
133
134
|
screen, template, component, form, toolbar, outlet, route and package/icon use is
|
|
@@ -142,15 +143,8 @@ not to the AI corpus. Link to the fixture path and run its published checks; do
|
|
|
142
143
|
copy those `.play` files into `.cratis/ai/` or into a skill reference as a
|
|
143
144
|
maintained duplicate.
|
|
144
145
|
|
|
145
|
-
|
|
146
|
+
Executable checks against the corpus:
|
|
146
147
|
|
|
147
|
-
- executed toolchain: public CLI 3.43.0 (`23e5a24`), whose default runtime was
|
|
148
|
-
`cratis/stage:4.52.0` and which bundled Screenplay 4.127.0. Published since,
|
|
149
|
-
and not verified by this vector: Scene 4.17.0, Screenplay 4.133.1, Stage 4.64.0,
|
|
150
|
-
previous CLI 3.46.1 (bundling Screenplay 4.130.0, then-default Stage 4.52.0) and
|
|
151
|
-
Studio 0.152.2. Tool versions: `cratis-screenplay-toolchain/SKILL.md`.
|
|
152
|
-
Compiler claims from this `cratis` probe are 4.127.0 claims, not current
|
|
153
|
-
bundled-compiler claims;
|
|
154
148
|
- fixture root: `Source/DotNET/Screenplay.CanonicalCorpus/Corpus/ScreenComposition/v1/source/folder`
|
|
155
149
|
in the Screenplay repository;
|
|
156
150
|
- Screenplay repo tool (available checkout): `dotnet run --project Source/DotNET/Tool
|
|
@@ -163,25 +157,21 @@ Historical verified public vector and executable checks:
|
|
|
163
157
|
`apply`, real `apply` and `open-workspace` again. It uses a scratch copy,
|
|
164
158
|
changes `application.play` with a comment-preservation probe, fails closed on a
|
|
165
159
|
stale revision, applies with the matching revision and verifies the comment
|
|
166
|
-
remains on disk.
|
|
167
|
-
`executableReady true`, stale apply `StaleRevision`, comment preserved;
|
|
160
|
+
remains on disk. A passing run shows `executableReady true`, stale apply `StaleRevision` and the comment preserved;
|
|
168
161
|
- render (`cratis render <corpus-folder> --name ScreenComposition --destination
|
|
169
|
-
<dir> -o json`)
|
|
170
|
-
|
|
171
|
-
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
Cratis/Screenplay#671); the codes remain for a guard Stage cannot evaluate. Studio
|
|
175
|
-
production Play proof is a separate vector (Cratis/Screenplay#173). UI-profile
|
|
176
|
-
rejection and render-then-recover shipped in Cratis/cli#301.
|
|
162
|
+
<dir> -o json`) publishes the corpus;
|
|
163
|
+
- guarded Close and double-click: Stage renders and runs them; the codes
|
|
164
|
+
`STAGE-SCENE-ACTION-001` and `STAGE-SCENE-INTERACTION-001` remain for a guard Stage
|
|
165
|
+
cannot evaluate. Studio production Play proof is a separate vector. UI-profile
|
|
166
|
+
rejection and render-then-recover are covered by the CLI.
|
|
177
167
|
|
|
178
168
|
## Replay the workflow in CI without a Screenplay checkout
|
|
179
169
|
|
|
180
170
|
`screens-smoke.sh <work-folder>` in the AI repository's `screens-smoke` verification folder installs the pinned public `cratis` CLI,
|
|
181
171
|
materializes the published `Cratis.Screenplay.CanonicalCorpus` folder source (so the corpus stays Screenplay-owned and
|
|
182
172
|
is never copied), replays the MCP transcript with the revision-checked column edit, renders the edited folder and
|
|
183
|
-
requires the column in the generated `scene.json`. The pins live in `screens-smoke.json
|
|
184
|
-
|
|
173
|
+
requires the column in the generated `scene.json`. The pins live in `screens-smoke.json`; the corpus package records the
|
|
174
|
+
expected results. The corpus verification job runs it on every
|
|
185
175
|
change. With `SCREENS_SMOKE_BROWSER=1` (the CI job sets it) it also runs the edited folder with `cratis run`
|
|
186
176
|
and checks the edited column and a created row in Chromium with the pinned Playwright, so the browser step below runs in
|
|
187
177
|
corpus CI too; locally it needs Docker.
|
|
@@ -206,11 +196,6 @@ reaches a running application, end to end, on the installed public CLI:
|
|
|
206
196
|
Docker and a resolvable `playwright` (`SCREENPLAY_PLAYWRIGHT_NODE_PATH`); exit
|
|
207
197
|
`0` verified, `1` edit not visible, `2` could not run.
|
|
208
198
|
|
|
209
|
-
Executed on public CLI 3.43.0 (`23e5a24`, Stage 4.52.0, bundled Screenplay
|
|
210
|
-
4.127.0): 9/9 MCP requests with the column on disk, render `published` with the
|
|
211
|
-
column in `scene.json`, and all five browser checks passed against
|
|
212
|
-
`cratis/stage:4.52.0` (also passed earlier on CLI 3.41.0 / `cratis/stage:4.51.3`).
|
|
213
|
-
|
|
214
199
|
Report a corpus the released compiler, MCP server or renderer refuses as a
|
|
215
200
|
capability/version-pairing gap with the exact diagnostics; never soften it to a
|
|
216
201
|
pass.
|