@cratis/pi 7.24.0 → 7.26.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.
Files changed (56) hide show
  1. package/package/corpus/skills/cratis-application-slice-conformance/verification.json +3 -0
  2. package/package/corpus/skills/cratis-arc-react-page/verification.json +14 -0
  3. package/package/corpus/skills/cratis-screenplay-automations-and-translations/assets/pending-certificates.play +10 -0
  4. package/package/corpus/skills/cratis-screenplay-automations-and-translations/assets/retry-sweep.play +11 -0
  5. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +3 -3
  6. package/package/corpus/skills/cratis-screenplay-automations-and-translations/verification.json +1 -0
  7. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +1 -1
  8. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/refusals-and-redelivery.md +1 -1
  9. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/verification.json +1 -0
  10. package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +5 -5
  11. package/package/corpus/skills/cratis-screenplay-command-surface/references/context.md +2 -2
  12. package/package/corpus/skills/cratis-screenplay-command-surface/references/operations.md +1 -1
  13. package/package/corpus/skills/cratis-screenplay-command-surface/references/policy-persona-seed.md +1 -1
  14. package/package/corpus/skills/cratis-screenplay-command-surface/references/validate-rules.md +1 -1
  15. package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +1 -0
  16. package/package/corpus/skills/cratis-screenplay-discovery/verification.json +1 -0
  17. package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +2 -2
  18. package/package/corpus/skills/cratis-screenplay-event-modeling/verification.json +1 -0
  19. package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +1 -1
  20. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/intent-example.md +1 -1
  21. package/package/corpus/skills/cratis-screenplay-legacy-extraction/verification.json +1 -0
  22. package/package/corpus/skills/cratis-screenplay-model-authoring/verification.json +1 -0
  23. package/package/corpus/skills/cratis-screenplay-model-review/verification.json +1 -0
  24. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/verification.json +1 -0
  25. package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +6 -6
  26. package/package/corpus/skills/cratis-screenplay-projections/references/pdl-grammar.md +7 -7
  27. package/package/corpus/skills/cratis-screenplay-projections/verification.json +1 -0
  28. package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +6 -6
  29. package/package/corpus/skills/cratis-screenplay-read-surface/verification.json +1 -0
  30. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +1 -0
  31. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/berth-reservations.md +1 -1
  32. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-design.md +1 -1
  33. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-examples.md +6 -6
  34. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/view-and-story-specs.md +1 -1
  35. package/package/corpus/skills/cratis-screenplay-scenario-coverage/verification.json +1 -0
  36. package/package/corpus/skills/cratis-screenplay-slice-design/references/slicing.md +1 -1
  37. package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +1 -1
  38. package/package/corpus/skills/cratis-screenplay-slice-design/verification.json +1 -0
  39. package/package/corpus/skills/cratis-screenplay-specifications/references/examples-and-routes.md +1 -1
  40. package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +1 -1
  41. package/package/corpus/skills/cratis-screenplay-specifications/verification.json +1 -0
  42. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +1 -1
  43. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +1 -0
  44. package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +1 -1
  45. package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet-example.md +1 -1
  46. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +44 -0
  47. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +20246 -0
  48. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +1 -0
  49. package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +2 -0
  50. package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +1 -0
  51. package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +7 -7
  52. package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +6 -6
  53. package/package/corpus/skills/cratis-screenplay-ui-composition/verification.json +1 -0
  54. package/package/corpus/skills/cratis-specification-by-example/verification.json +14 -0
  55. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +1 -0
  56. package/package.json +1 -1
@@ -25,6 +25,8 @@ probe; older probes retain their original labels in the other references.
25
25
  | Chronicle / Fundamentals bundled by CLI | **19.32.0 / 7.22.8** | Same file |
26
26
  | Stage 4.51.3 rendered backend | **Arc 22.50.5 / Chronicle 19.32.0** | Stage `v4.51.3:Source/Rendering.Cratis/Scaffolding/CratisBackendApplicationScaffoldProfile.cs`; client/testing/image match; scaffold disables embedded reverse extraction |
27
27
 
28
+ The published `screenplay-contract.json` beside this reference is the machine-readable authority for PLAY codes, MCP tools and parameters, and standalone CLI commands/options. Its unchanged release bytes are pinned by `screenplay-contract.version` to the standalone version above. Before adding a claim, search this large JSON file by exact `code` in `diagnostics`, or by exact `name` in `mcpTools`/`cliCommands`, and inspect that object's retirement flag, parameters or options; do not load the full file into context. For example, search for `"code": "PLAY0029"` or `"name": "read-workspace"`; `screenplay-contract-exceptions.json` preserves explicitly reasoned historical statements, not current-release exceptions. Coverage gaps are mention inventories, not proof that a skill teaches a feature.
29
+
28
30
  Check the actual executable before relying on this table: `screenplay --version`,
29
31
  `cratis --version`, MCP `initialize` → `serverInfo.version`. An older executable
30
32
  on PATH can shadow a newer install; inspect `which -a cratis`.
@@ -3,6 +3,7 @@
3
3
  "input": "Check a Screenplay model folder: which compiler should I run, what do V1 to V3 mean, and what does the cratis CLI do with my Automation slice?",
4
4
  "fixtures": [],
5
5
  "assertions": [
6
+ { "kind": "play-compiles" },
6
7
  { "kind": "skill-contains", "value": "4.127.0" },
7
8
  { "kind": "skill-contains", "value": "PLAY0653", "file": "references/diagnostics.md" },
8
9
  { "kind": "skill-contains", "value": "PLAY0646", "file": "references/diagnostics.md" },
@@ -74,11 +74,11 @@ work on a screen whose purpose is unsettled is rework.
74
74
  2. **Review the flow before adding layout.** Walk it screen by screen as text
75
75
  (format in `references/flow-review.md`). When the host advertises the MCP-Apps
76
76
  extension for the `screenplay` MCP server, `visualize-model` (a `proposalId` or a `sketch`) can also show it on
77
- a board; that is optional, and the text review is enough on its own. Do not
77
+ a board; that is optional, and the text review is enough. Do not
78
78
  use the Stage sandbox as the review: it renders only part of a screen, and
79
79
  nothing here establishes that Stage renders an authored screen faithfully.
80
80
  3. **Add structure only to screens whose Level 1 is agreed**: template, sections,
81
- forms, `on`/`uses`. Use Level 3 inline code last, and only where Level 2 cannot
81
+ forms, `on`/`uses`. Use Level 3 inline code last, only where Level 2 cannot
82
82
  say it.
83
83
  4. **Trace every field.** Each `form` `field` is a property of the form's command.
84
84
  A prefilled value comes from `populate` or `from`; a derived one from
@@ -132,7 +132,7 @@ or `regular` — phone landscape, phone portrait, desktop short, desktop tall.
132
132
  **`arrangement freeform`** declares one variant per matrix point. Excerpt, inside
133
133
  the `layout` above in place of its `arrangement flow`:
134
134
 
135
- ```screenplay
135
+ ```screenplay excerpt
136
136
  arrangement freeform
137
137
  variant width regular, height regular
138
138
  place navigation at 0,0 size 240,fill
@@ -149,7 +149,7 @@ arrangement freeform
149
149
 
150
150
  Declared at module level, referenced by screens. Excerpt, inside a `module`:
151
151
 
152
- ```screenplay
152
+ ```screenplay excerpt
153
153
  screen template MasterDetail
154
154
  fits slot content
155
155
  sidebar
@@ -178,7 +178,7 @@ difference. See `cratis-screenplay-read-surface` for the directives that go insi
178
178
  Excerpt, inside a `module`; the command, query and screen are declared in its
179
179
  slices.
180
180
 
181
- ```screenplay
181
+ ```screenplay excerpt
182
182
  form RegisterInvoiceForm for RegisterInvoice
183
183
  populate via query GetInvoiceDefaults by customerId
184
184
  field invoiceNumber label "Invoice #"
@@ -204,7 +204,7 @@ level, so it disambiguates by module rather than by feature or slice.
204
204
  Excerpt, inside a `module` or `feature`; `Navigation` is the contribution point
205
205
  the layout above declares.
206
206
 
207
- ```screenplay
207
+ ```screenplay excerpt
208
208
  contribute to Navigation
209
209
  navigate to InvoiceList
210
210
  label "Invoices"
@@ -315,7 +315,7 @@ An existing success continuation does not imply a response contract.
315
315
 
316
316
  Excerpt: `AppShell` is the layout above.
317
317
 
318
- ```screenplay
318
+ ```screenplay excerpt
319
319
  ui profile Desktop
320
320
  target platform web
321
321
  target size regular
@@ -59,7 +59,7 @@ renderers, authored screens are still reported as omitted/default composition.
59
59
  A component instance is a presentation of a typed Screenplay data context. The
60
60
  proposed syntax is:
61
61
 
62
- ```screenplay
62
+ ```screenplay excerpt
63
63
  component <Package.Component> <instanceName>
64
64
  context <binding>
65
65
  property <property.path> from <binding>
@@ -115,7 +115,7 @@ screen actions with STAGE-SCENE-ACTION-001, not proof of runtime selection.
115
115
 
116
116
  Reusable templates can expose configuration and typed outlets:
117
117
 
118
- ```screenplay
118
+ ```screenplay excerpt
119
119
  screen template MasterDetail
120
120
  category workflow
121
121
  type master-detail
@@ -148,14 +148,14 @@ installed parser/printer supports the scoped `template` directive before using i
148
148
  A form remains bound to exactly one command. The screens-release additions make
149
149
  its generated fields explicit when the automatic shape is not enough:
150
150
 
151
- ```screenplay
151
+ ```screenplay excerpt
152
152
  form RegisterInvoiceForm for RegisterInvoice
153
153
  columns auto
154
154
  ```
155
155
 
156
156
  or:
157
157
 
158
- ```screenplay
158
+ ```screenplay excerpt
159
159
  form RegisterInvoiceForm for RegisterInvoice
160
160
  columns manual
161
161
  column invoiceNumber label "Invoice #"
@@ -171,7 +171,7 @@ field.
171
171
 
172
172
  `ui profile` owns package priority and icon sets:
173
173
 
174
- ```screenplay
174
+ ```screenplay excerpt
175
175
  ui profile Desktop
176
176
  target platform web
177
177
  layout AppShell
@@ -194,7 +194,7 @@ ui profile Desktop
194
194
  Navigation and toolbar items target the same typed destination contract: screen,
195
195
  named outlet, optional route parameters, and optionally a dialog.
196
196
 
197
- ```screenplay
197
+ ```screenplay excerpt
198
198
  toolbar InvoiceToolbar
199
199
  item register action RegisterInvoice
200
200
  label "Register"
@@ -3,6 +3,7 @@
3
3
  "input": "Declare the application shell, a screen template and a command form.",
4
4
  "fixtures": [],
5
5
  "assertions": [
6
+ { "kind": "play-compiles" },
6
7
  {
7
8
  "kind": "skill-contains",
8
9
  "value": "main `fd18129`"
@@ -0,0 +1,14 @@
1
+ {
2
+ "skill": "cratis-specification-by-example",
3
+ "input": "Organize and name the specifications for a new behavior.",
4
+ "fixtures": [],
5
+ "assertions": [
6
+ {
7
+ "kind": "play-compiles"
8
+ },
9
+ {
10
+ "kind": "skill-contains",
11
+ "value": "for_"
12
+ }
13
+ ]
14
+ }
@@ -3,6 +3,7 @@
3
3
  "input": "Can Stage render this Screenplay model, and how do I re-render it safely after someone edited Program.cs?",
4
4
  "fixtures": [],
5
5
  "assertions": [
6
+ { "kind": "play-compiles" },
6
7
  { "kind": "skill-contains", "value": "`cratis render`" },
7
8
  { "kind": "skill-contains", "value": "`--name <NAME>` | **Required for plain source**" },
8
9
  { "kind": "skill-contains", "value": "`.cratis-render.json`" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.24.0",
3
+ "version": "7.26.0",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [