@cratis/pi 7.15.1 → 7.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/screen-authoring-workflow.md +23 -18
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +7 -6
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +14 -9
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +20 -17
- package/package.json +1 -1
|
@@ -121,27 +121,32 @@ not to the AI corpus. Link to the fixture path and run its published checks; do
|
|
|
121
121
|
copy those `.play` files into `.cratis/ai/` or into a skill reference as a
|
|
122
122
|
maintained duplicate.
|
|
123
123
|
|
|
124
|
-
|
|
125
|
-
checkout toolchain):
|
|
124
|
+
Round-5 vector and executable checks (2026-10-09):
|
|
126
125
|
|
|
126
|
+
- final public vector: Scene 4.12.0, Screenplay 4.114.0 (final ABI release after #592), Stage
|
|
127
|
+
4.49.5, Docker `cratis/stage:4.49.5`, CLI 3.40.3 and Studio 0.136.4; public
|
|
128
|
+
NuGet flat-container visibility was verified for `Cratis.Screenplay` and
|
|
129
|
+
`Cratis.Screenplay.CanonicalCorpus` 4.114.0, while CLI 3.40.3 still pins
|
|
130
|
+
Screenplay 4.105.0, so keep the package pairing visible;
|
|
127
131
|
- fixture root: `Source/DotNET/Screenplay.CanonicalCorpus/Corpus/ScreenComposition/v1/source/folder`
|
|
128
132
|
in the Screenplay repository;
|
|
129
|
-
- Screenplay repo tool (
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
- MCP
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
`
|
|
142
|
-
|
|
143
|
-
Report a corpus the released compiler or renderer refuses as a
|
|
144
|
-
pairing gap with the exact diagnostics; never soften it to a
|
|
133
|
+
- Screenplay repo tool (available checkout): `dotnet run --project Source/DotNET/Tool
|
|
134
|
+
-- <corpus-folder> --warnaserror` → exit `0`, `10 file(s) compiled - 0 error(s),
|
|
135
|
+
0 warning(s)`;
|
|
136
|
+
- stdio MCP protocol harness: the AI repository carries `screenplay-mcp-transcript.ts`;
|
|
137
|
+
run it with packaged `cratis` on `PATH`, `--corpus <corpus-folder>` and
|
|
138
|
+
`--scratch <scratch-folder>`. It sends `initialize`, `tools/list`,
|
|
139
|
+
`open-workspace`, `read-workspace`, `propose-source`, `read-proposal`, stale
|
|
140
|
+
`apply`, real `apply` and `open-workspace` again. It uses a scratch copy,
|
|
141
|
+
changes `application.play` with a comment-preservation probe, fails closed on a
|
|
142
|
+
stale revision, applies with the matching revision and verifies the comment
|
|
143
|
+
remains on disk;
|
|
144
|
+
- render (`cratis render <corpus-folder> --name ScreenComposition --destination
|
|
145
|
+
<dir> -o json`) with packaged CLI 3.40.3 publishes the corpus.
|
|
146
|
+
|
|
147
|
+
Report a corpus the released compiler, MCP server or renderer refuses as a
|
|
148
|
+
capability/version-pairing gap with the exact diagnostics; never soften it to a
|
|
149
|
+
pass.
|
|
145
150
|
|
|
146
151
|
When the fixture is not yet published, report the parity checks as blocked by the
|
|
147
152
|
fixture contract and continue verifying the independently authored guidance and
|
|
@@ -25,14 +25,15 @@ Version pins live once in `cratis-screenplay-toolchain` `references/versions.md`
|
|
|
25
25
|
|
|
26
26
|
| Source | Pin | Used for |
|
|
27
27
|
| --- | --- | --- |
|
|
28
|
-
| cratis CLI | `3.40.
|
|
29
|
-
| Stage | `4.49.
|
|
30
|
-
| Screenplay | `4.
|
|
31
|
-
| Rendered apps | Arc `22.25.0`, Chronicle `19.8.1`, Scene packages | `[ProtectedDecision]` (Arc 22.39.0 and later) is not available in code written into one; verify the generated package set
|
|
28
|
+
| cratis CLI | `3.40.3` (public package/tag #295) | `cratis render` options, exit codes, publication receipt; tag pins Stage 4.49.5 and Screenplay 4.105.0, with `cratis/stage:4.49.5` as the runtime image. Reading baselines: 3.40.2, 3.39.0 and 3.28.3 (`8b43fef`) |
|
|
29
|
+
| Stage | `4.49.5` | admission (`STAGE-ESM-*`, and `PLAY0268` render refusals surfaced by the CLI), ownership manifest, `Customizations/` seams, Debug-only specifications, generated query specs, guarded-action safety and frontend form stability. Older baselines: 4.49.2, 4.49.1, 4.43.0 and `v4.24.2` (`32dcac4`) |
|
|
30
|
+
| Screenplay | `4.114.0` final ABI release | standalone compiler for V1 to V3; binding codes `PLAY0268` and the code-attachment rules, read at `v4.66.0`; CLI 3.40.3 still bundles 4.105.0, so rerun if a later CLI consumes 4.114.0 |
|
|
31
|
+
| Rendered apps | Arc `22.25.0`, Chronicle `19.8.1`, Scene packages | `[ProtectedDecision]` (Arc 22.39.0 and later) is not available in code written into one; verify the generated package set before claiming exact Scene 4.12.0 runtime parity |
|
|
32
32
|
|
|
33
33
|
Facts were read at those tags and `cratis render` was run at 3.28.2 and 3.28.3 for the worked example
|
|
34
|
-
(`references/worked-example.md`);
|
|
35
|
-
corpus and published successfully. The
|
|
34
|
+
(`references/worked-example.md`); with packaged CLI 3.40.3 it was run over the canonical
|
|
35
|
+
`ScreenComposition` corpus and published successfully. The AI repository's `screenplay-mcp-transcript.ts`
|
|
36
|
+
harness proves the real stdio proposal/apply path against the packaged CLI. The renderer facts are owned by `cratis-stage-rendering-and-sandbox`;
|
|
36
37
|
this skill links them and never restates the admission table.
|
|
37
38
|
|
|
38
39
|
## When to use / when not
|
|
@@ -25,9 +25,9 @@ When choosing or upgrading a tool, or checking version-specific capabilities, re
|
|
|
25
25
|
| Package | Version | Purpose |
|
|
26
26
|
| --- | --- | --- |
|
|
27
27
|
| `Cratis.Screenplay.Tool` | `4.68.0` (`79801bf`) | standalone compiler, binder and MCP server; admits ESM v7 (generated values and responses) |
|
|
28
|
-
| cratis CLI | `3.40.
|
|
29
|
-
| Screenplay | `4.
|
|
30
|
-
| Stage | `4.49.
|
|
28
|
+
| cratis CLI | `3.40.3` public package/tag #295 | Tag pins Stage 4.49.5 and Screenplay 4.105.0, with `cratis/stage:4.49.5` as the runtime image. The packaged CLI executed render publication and the real stdio MCP transcript harness. Reading baselines: 3.40.2, 3.39.0 and 3.28.3 (`8b43fef`) |
|
|
29
|
+
| Screenplay | `4.114.0` final ABI release | Exact public Screenplay release after #592. CLI 3.40.3 still bundles 4.105.0 and reports `sourceSuccess true`, `semanticSuccess true`, `executableReady true`; the repo tool compiles the corpus with `10 file(s) compiled - 0 error(s), 0 warning(s)`. Rerun if a later CLI consumes 4.114.0 |
|
|
30
|
+
| Stage | `4.49.5` | Docker image `cratis/stage:4.49.5`; includes the 4.49.x generated query spec, guarded-action safety and frontend form-stability line. Packaged CLI 3.40.3 renders the canonical screen corpus and publishes Scene output with Arc `CommandForm` shells plus query bindings. Check generated package sets before claiming exact Scene 4.12 runtime parity |
|
|
31
31
|
| Arc / Chronicle | `22.50.5` / `19.32.0` | code-level facts cited here |
|
|
32
32
|
|
|
33
33
|
Facts were read with `git show <tag>:<path>` and probed on the installed tools. Behaviour
|
|
@@ -31,15 +31,20 @@ hand-writing an alternate shape.
|
|
|
31
31
|
without dropping it, silently falling back or replacing it with a default.
|
|
32
32
|
|
|
33
33
|
Keep those three lines separate in reports. Correct an old limitation only when
|
|
34
|
-
the package/version you are using proves the new level.
|
|
35
|
-
|
|
36
|
-
`
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
34
|
+
the package/version you are using proves the new level. Round-5 target vector:
|
|
35
|
+
Scene 4.12.0, Screenplay 4.114.0 (final ABI release after #592), Stage 4.49.5, Docker
|
|
36
|
+
`cratis/stage:4.49.5`, CLI 3.40.3 and Studio 0.136.4. Executed packaged-CLI
|
|
37
|
+
protocol proof: the canonical `ScreenComposition` corpus opens with `sourceSuccess true`,
|
|
38
|
+
`semanticSuccess true`, `executableReady true`; the stdio MCP harness sends real
|
|
39
|
+
proposal/apply requests, rejects a stale revision and preserves an authored
|
|
40
|
+
comment on disk. Render publication is verified on the available CLI checkout;
|
|
41
|
+
the CLI 3.40.3 package still pins Screenplay 4.105.0, so rerun if a later CLI
|
|
42
|
+
package consumes Screenplay 4.114.0. Runtime/browser
|
|
43
|
+
behavior, Studio Play and production deploy are separate checks; Studio 0.136.4
|
|
44
|
+
production deploy proof remains pending because Pulumi lock recovery cleared but
|
|
45
|
+
deploy failed on Core CrashLoopBackOff. On Stage
|
|
46
|
+
4.24.2 or cratis 3.28.x renderers, authored screens are still reported as
|
|
47
|
+
omitted/default composition.
|
|
43
48
|
|
|
44
49
|
## Data context and component bindings
|
|
45
50
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-stage-rendering-and-sandbox
|
|
3
|
-
description: "What Cratis Stage and `cratis render` actually do with a Screenplay `.play` model today: the narrow model shape Stage 4.49.
|
|
3
|
+
description: "What Cratis Stage and `cratis render` actually do with a Screenplay `.play` model today: the narrow model shape Stage 4.49.5 admits and refuses (`STAGE-ESM-*`, `PLAY0268` render refusals), what it emits (C# Arc/Chronicle backend, React/Vite scaffold with Arc `CommandForm` shell emission over Scene 4.12 typed bindings, Debug specifications), managed publication, `--force` and recovery, authored-UI omission/parity checks, the unmanaged `Customizations/` seam, and the `cratis/stage` sandbox and `cratis/stage-specrunner` job. Use when deciding whether Stage can render a model, reading a blocked render, re-rendering safely, checking generated/runtime screen parity, or running the sandbox. Not for: authoring the model (use `cratis-screenplay-model-authoring`) or the render and gap-fill workflow (use `cratis-screenplay-render-and-gap-fill`)."
|
|
4
4
|
license: MIT
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -18,10 +18,12 @@ reading in this skill is not a render result.
|
|
|
18
18
|
|
|
19
19
|
Authored UI has its own parity hazard. Stage 4.24 rendered a default React/Vite
|
|
20
20
|
scaffold and did not prove that modeled screens, templates, forms, toolbars,
|
|
21
|
-
components, outlets, package icons or routes were implemented.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
components, outlets, package icons or routes were implemented. The final public
|
|
22
|
+
vector is Stage 4.49.5, Screenplay 4.114.0 (the final ABI release), Scene 4.12.0,
|
|
23
|
+
CLI 3.40.3 and Studio 0.136.4; the sandbox image is `cratis/stage:4.49.5`.
|
|
24
|
+
The packaged CLI 3.40.3 render/MCP transcript publishes the canonical corpus, but
|
|
25
|
+
its tag still pins Screenplay 4.105.0, so keep the CLI/Screenplay pairing visible
|
|
26
|
+
when claiming exact compiler coverage. Runtime/browser parity is still a
|
|
25
27
|
separate claim: require a generated plan or artifact entry for every authored UI
|
|
26
28
|
construct, and report every unsupported UI directive as a diagnostic.
|
|
27
29
|
Silent fallback to a default screen is a failure, not a partial render.
|
|
@@ -37,10 +39,10 @@ argument or an invalid semantic option.
|
|
|
37
39
|
|
|
38
40
|
| Source | Pin | Notes |
|
|
39
41
|
| --- | --- | --- |
|
|
40
|
-
| Stage | `4.49.
|
|
41
|
-
| cratis CLI | `3.40.
|
|
42
|
-
| Screenplay | `4.
|
|
43
|
-
| Rendered applications | Arc, Chronicle, Scene 4.12.0, .NET 10 |
|
|
42
|
+
| Stage | `4.49.5` (`v4.49.5`) | Renderer, sandbox host, spec runner; includes the 4.49.x generated query specs, guarded-action safety and frontend form-stability fixes. The Docker image is `cratis/stage:4.49.5`. Earlier executed baselines: 4.49.2, 4.49.1, 4.43.0 and `v4.24.2` (`32dcac4`) |
|
|
43
|
+
| cratis CLI | `3.40.3` (`v3.40.3`, PR #295) | `cratis render`, `cratis run`; public packaged CLI 3.40.3 renders the canonical corpus and runs the stdio MCP transcript. Its tag pins Stage 4.49.5 and Screenplay 4.105.0, so mention that pairing until a CLI package consumes Screenplay 4.114.0. Older baseline: `v3.28.2` (`141c499`, Cratis/cli#253) |
|
|
44
|
+
| Screenplay | `4.114.0` (`v4.114.0`, final ABI release after #592) | Standalone Screenplay final release after #592. The canonical screen corpus and MCP transcript were rerun through packaged CLI 3.40.3, which still bundles Screenplay 4.105.0; rerun if a CLI package moves to 4.114.0 |
|
|
45
|
+
| Rendered applications | Arc, Chronicle, Scene 4.12.0, .NET 10 | Stage 4.49.5 / CLI 3.40.3 renders the canonical corpus to `.cratis-render.json`, backend artifacts, `.frontend/**`, `scene.json`, `src/bindings.ts`. Verify the generated package set for each render before claiming exact Scene runtime parity |
|
|
44
46
|
|
|
45
47
|
Everything below was read at those tags (`Source/Rendering.Cratis/**`, `README.md`,
|
|
46
48
|
`Documentation/**` in Stage; `Source/Cli/Commands/Render/**` and
|
|
@@ -49,10 +51,10 @@ Everything below was read at those tags (`Source/Rendering.Cratis/**`, `README.m
|
|
|
49
51
|
tested with cratis 3.28.2 (re-run on 3.28.3). Read `references/render-example.md` when you need a complete renderable model and the observed render, build, and test results. The full version table (Screenplay 4.66.0, Arc 22.50.5,
|
|
50
52
|
Chronicle 19.32.0 and the tool split) is in the `cratis-screenplay-toolchain` skill,
|
|
51
53
|
`references/versions.md`. Rendered apps are on Arc `22.25.0`, so `[ProtectedDecision]`
|
|
52
|
-
(Arc 22.39.0 and later) is not available in code written into one. Screen UI render
|
|
53
|
-
4.49.
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
(Arc 22.39.0 and later) is not available in code written into one. Screen UI render publication for the canonical corpus is verified on packaged
|
|
55
|
+
CLI 3.40.3 / Stage 4.49.5. Browser runtime behavior, Studio Play and production
|
|
56
|
+
deploy remain separate checks; Studio 0.136.4 production deploy proof is pending
|
|
57
|
+
because Pulumi lock recovery cleared but deploy failed on Core CrashLoopBackOff.
|
|
56
58
|
|
|
57
59
|
## Model-first rule
|
|
58
60
|
|
|
@@ -183,10 +185,11 @@ read models `when_<snake>_is_projected`.
|
|
|
183
185
|
|
|
184
186
|
For UI, record what the generated output claims separately from what the model
|
|
185
187
|
authored. On Stage 4.24 the generated scaffold is not screen parity evidence.
|
|
186
|
-
On Stage 4.49.
|
|
187
|
-
`commandForm` components while `src/bindings.ts`
|
|
188
|
-
and queries. That is render-output evidence, not
|
|
189
|
-
proof. Require an explicit plan, manifest entry or
|
|
188
|
+
On packaged CLI 3.40.3 / Stage 4.49.5 the canonical corpus publishes and
|
|
189
|
+
`scene.json` contains Arc `commandForm` components while `src/bindings.ts`
|
|
190
|
+
registers the modeled commands and queries. That is render-output evidence, not
|
|
191
|
+
browser or Studio production proof. Require an explicit plan, manifest entry or
|
|
192
|
+
generated artifact for each
|
|
190
193
|
screen/template/form/toolbar/component/outlet/route/package-icon use, or a
|
|
191
194
|
blocking diagnostic explaining why it was not generated.
|
|
192
195
|
|