@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
@@ -5,7 +5,7 @@ tick, a trigger or a capture record, each new fact runs the reactions to its eve
5
5
  and what those append or invoke runs more, until nothing is left. `then` events
6
6
  compare every new fact, the action's and the reactions'.
7
7
 
8
- ```screenplay
8
+ ```screenplay expect PLAY0469
9
9
  concept InvoiceId : Uuid
10
10
  module Collections
11
11
  feature Invoices
@@ -3,6 +3,7 @@
3
3
  "input": "Write given/when/then specifications for a Screenplay slice.",
4
4
  "fixtures": [],
5
5
  "assertions": [
6
+ { "kind": "play-compiles" },
6
7
  {
7
8
  "kind": "skill-contains",
8
9
  "value": "main `fd18129`"
@@ -9,7 +9,7 @@ The model compiles at 4.127.0 (V1, warnings as errors) but is not binding-ready
9
9
  concept fails binding (PLAY0268), `reads` and the `concurrency` block are PLAY0271, and
10
10
  `require` over a view is PLAY0268. Keep those lines: they state real intent.
11
11
 
12
- ```screenplay
12
+ ```screenplay expect PLAY0516 test=unbound
13
13
  // cratis-screenplay-streams-and-consistency: complete design-mode example (V1 with --warnings-as-errors).
14
14
  // Shows: one business identity per stream, cross-stream references as payload, uniqueness
15
15
  // constraints (single, composite with release, unique event), a recorded state-dependent rule
@@ -3,6 +3,7 @@
3
3
  "input": "Review the stream identities in our Screenplay model, tell me whether two people can enrol in the last seat at once, and what happens when a client retries after a lost reply.",
4
4
  "fixtures": [],
5
5
  "assertions": [
6
+ { "kind": "play-compiles" },
6
7
  { "kind": "skill-contains", "value": "one business identity per stream" },
7
8
  { "kind": "skill-contains", "value": "NOT enforced in the model today" },
8
9
  { "kind": "skill-contains", "value": "#3744" },
@@ -20,7 +20,7 @@ files is one application: always check the folder, never one file of it.
20
20
 
21
21
  ## Verified product sources
22
22
 
23
- When choosing or upgrading a tool, or checking version-specific capabilities, read `references/versions.md`; it is the only version table, and other skills point to it.
23
+ When choosing or upgrading a tool, or checking version-specific capabilities, read `references/versions.md`; it is the only version table, and other skills point to it. For exact diagnostic codes, MCP names/parameters and standalone CLI options, search the large published [references/screenplay-contract.json](references/screenplay-contract.json), pinned by [references/screenplay-contract.version](references/screenplay-contract.version), rather than loading it in full. Locate a diagnostic by its exact `code` (for example `"code": "PLAY0029"`), a tool by its exact `name` (for example `"name": "read-workspace"`), or a command in `cliCommands`; read the matched object for retirement, parameters or options. [references/screenplay-contract-exceptions.json](references/screenplay-contract-exceptions.json) records reasoned exceptions for historical statements; it does not change the current contract.
24
24
 
25
25
  The standalone pin is Screenplay 4.127.0. CLI 3.41.0 bundles Screenplay 4.114.0,
26
26
  Stage 4.51.3 and Cratis.Arc.Screenplay 22.54.0. The single version table records
@@ -4,7 +4,7 @@ One complete document with every construct family. Design mode, not executable.
4
4
 
5
5
  Binding blockers: unquoted import, `pii`, `reads` (PLAY0271), `starts with`, observable/list/filter query. Executable shapes are in the sibling examples. The bare-marker fence compiles warning-free on standalone 4.127.0; the earlier legacy-marker version compiled on 4.66.0 and CLI 3.28.2. `RecordingAPayment` lists the `InvoiceClosed` cascade, which the cratis 3.27.1 bundle (4.60.1) rejected with a false PLAY0285 ("outcome cannot be produced by 'RecordPayment'"); 3.28.2 accepts it.
6
6
 
7
- ```screenplay
7
+ ```screenplay test=unbound
8
8
  // Design-mode cheat-sheet: every construct family; compiles warning-free on the standalone tool.
9
9
  domain Acme.Invoicing // optional; first line when present
10
10
  import Customers.CustomerRegistered // unquoted = another bounded context's contract
@@ -0,0 +1,44 @@
1
+ [
2
+ {
3
+ "file": ".cratis/ai/skills/cratis-screenplay-model-authoring/references/mcp-loop.md",
4
+ "text": "4.63.1. Cratis CLI 3.28.2 bundles Screenplay 4.66.0 (probed: 29 tools and the same views);",
5
+ "kind": "toolCount",
6
+ "value": "29",
7
+ "reason": "Historical Screenplay 4.66.0 probe. Remove when this older probe is removed or replaced by a current-release probe."
8
+ },
9
+ {
10
+ "file": ".cratis/ai/skills/cratis-screenplay-model-authoring/references/provenance.md",
11
+ "text": "| Connection facts (29/30 tools, `notifications/initialized`, 16 connection-local proposals, fixed root) | Screenplay `v4.66.0` `Source/DotNET/Screenplay.Mcp/McpToolCatalog.cs`, `McpConnection.cs`, `McpWorkspaces.cs`, `Documentation/screenplay/mcp/reference.md`, `install.md` | Read at the tag and probed against the standalone 4.66.0 tool (4.63.1 for the roots behavior) |",
12
+ "kind": "toolCount",
13
+ "value": "29",
14
+ "reason": "Historical 4.66.0 catalog without visualization. Remove when this provenance statement is removed or replaced."
15
+ },
16
+ {
17
+ "file": ".cratis/ai/skills/cratis-screenplay-model-authoring/references/provenance.md",
18
+ "text": "| Connection facts (29/30 tools, `notifications/initialized`, 16 connection-local proposals, fixed root) | Screenplay `v4.66.0` `Source/DotNET/Screenplay.Mcp/McpToolCatalog.cs`, `McpConnection.cs`, `McpWorkspaces.cs`, `Documentation/screenplay/mcp/reference.md`, `install.md` | Read at the tag and probed against the standalone 4.66.0 tool (4.63.1 for the roots behavior) |",
19
+ "kind": "toolCount",
20
+ "value": "30",
21
+ "reason": "Historical 4.66.0 catalog with visualization. Remove when this provenance statement is removed or replaced."
22
+ },
23
+ {
24
+ "file": ".cratis/ai/skills/cratis-screenplay-model-authoring/references/screen-authoring-workflow.md",
25
+ "text": " remains on disk. On CLI 3.40.7: 9 requests and 9 responses, 37 tools,",
26
+ "kind": "toolCount",
27
+ "value": "37",
28
+ "reason": "Historical CLI 3.40.7 transcript, not the standalone pin. Remove when this probe is removed or replaced."
29
+ },
30
+ {
31
+ "file": ".cratis/ai/skills/cratis-screenplay-model-review/SKILL.md",
32
+ "text": "| Screenplay | `v4.66.0` (`c89198b`) | MCP catalog (29 tools: `describe-application`, `search-declarations`, `dependencies`, `find-assertion-gaps`, `read-workspace`, `declaration-details`) in `Source/DotNET/Screenplay.Mcp/McpToolCatalog.cs`; diagnostics PLAY0029, PLAY0191, PLAY0268, PLAY0271, PLAY0350, PLAY0381, PLAY0469 in `Source/DotNET/Screenplay/Diagnostics/DiagnosticCodes.cs`; decision 0008 (one data subject per event) |",
33
+ "kind": "toolCount",
34
+ "value": "29",
35
+ "reason": "Source evidence explicitly pinned to v4.66.0. Remove when this older source vector is removed or replaced."
36
+ },
37
+ {
38
+ "file": ".cratis/ai/skills/cratis-screenplay-toolchain/SKILL.md",
39
+ "text": "and the stdio transcript exposed 37 tools; standalone language 4.122.0 was",
40
+ "kind": "toolCount",
41
+ "value": "37",
42
+ "reason": "Historical CLI 3.40.7 / standalone 4.122.0 transcript (version vector in preceding lines). Remove when this probe is removed or replaced."
43
+ }
44
+ ]