@cratis/pi 7.164.0 → 7.164.2

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 (49) hide show
  1. package/package/corpus/skills/cratis-arc-react-page/references/from-screenplay.md +1 -1
  2. package/package/corpus/skills/cratis-chronicle-projection/SKILL.md +4 -0
  3. package/package/corpus/skills/cratis-chronicle-projection/references/dictionaries-set-once-ordering.md +47 -0
  4. package/package/corpus/skills/cratis-chronicle-reducer/SKILL.md +1 -0
  5. package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +2 -0
  6. package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +3 -1
  7. package/package/corpus/skills/cratis-screenplay-command-surface/references/policy-persona-seed.md +24 -0
  8. package/package/corpus/skills/cratis-screenplay-command-surface/references/routes-and-external-operations.md +1 -1
  9. package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +3 -1
  10. package/package/corpus/skills/cratis-screenplay-delivery-planning/SKILL.md +1 -1
  11. package/package/corpus/skills/cratis-screenplay-delivery-planning/verification.json +3 -1
  12. package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +16 -5
  13. package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +2 -0
  14. package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +6 -6
  15. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +1 -1
  16. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +13 -3
  17. package/package/corpus/skills/cratis-screenplay-model-authoring/references/storylines.md +68 -0
  18. package/package/corpus/skills/cratis-screenplay-model-authoring/verification.json +9 -1
  19. package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +1 -0
  20. package/package/corpus/skills/cratis-screenplay-model-review/verification.json +2 -1
  21. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +1 -1
  22. package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +1 -0
  23. package/package/corpus/skills/cratis-screenplay-projections/references/dictionaries-and-ordering.md +64 -0
  24. package/package/corpus/skills/cratis-screenplay-projections/references/graphs.md +99 -2
  25. package/package/corpus/skills/cratis-screenplay-projections/references/pdl-grammar.md +5 -0
  26. package/package/corpus/skills/cratis-screenplay-projections/verification.json +7 -1
  27. package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +4 -2
  28. package/package/corpus/skills/cratis-screenplay-read-surface/references/screen-levels.md +2 -2
  29. package/package/corpus/skills/cratis-screenplay-read-surface/verification.json +3 -1
  30. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +1 -0
  31. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +8 -0
  32. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +5 -1
  33. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +1 -1
  34. package/package/corpus/skills/cratis-screenplay-slice-design/references/model-reasoning.md +1 -1
  35. package/package/corpus/skills/cratis-screenplay-specifications/references/graph-steps.md +10 -0
  36. package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +5 -1
  37. package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet.md +1 -1
  38. package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +52 -0
  39. package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +3 -2
  40. package/package/corpus/skills/cratis-screenplay-toolchain/references/language-admission.md +14 -0
  41. package/package/corpus/skills/cratis-screenplay-toolchain/references/model-export-diff-rename.md +68 -0
  42. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +1557 -42
  43. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +1 -1
  44. package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +2 -2
  45. package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +1 -1
  46. package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +1 -2
  47. package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +14 -1
  48. package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +1 -1
  49. package/package.json +1 -1
@@ -22,8 +22,8 @@ with CLI-RENDER-004. Keep routing intact when a target refuses it;
22
22
  never remove routing to obtain a render. Per-production
23
23
  v10 overrides and observer filters: `production-routes-and-filters.md`.
24
24
 
25
- Systems/operations and `numbers exact` source mode still report
26
- PLAY0268; they are separate capabilities, not evidence against v8 routing.
25
+ Operations, systems in a model where none declares an ability, and `numbers exact`
26
+ source mode still report PLAY0268 (any ability admits every system at ESM v50); they are separate capabilities, not evidence against v8 routing.
27
27
 
28
28
  ## Declare and route
29
29
 
@@ -27,7 +27,7 @@ Compiler syntax: `cheat-sheet.md`. Negative capability claims depend on the tool
27
27
  23. `@` escapes are mandatory for `tag`, `authorize`, `produces`, `reads`, `file`, `validate`, `sequence`, `occurred`, `causedBy`, `namespace`, `correlation`, `causation`, and projection `key`/`parent`/`with` as names.
28
28
  24. Canonicalizing edits can drop unplaceable comments (PLAY0288; inspect `droppedCommentCount`); keep durable rationale in fenced Markdown `documentation`, not `//`, and summaries in `description`. Documentation survives canonical printing but changes neither executable bytes nor `modelRevision`; it is not rendered code.
29
29
  25. MCP writes: propose, review, approval, apply by the identity owner (the session that owns the MCP connection); other subagents return edit requests; proposals are connection-local, at most 16 (`cratis-screenplay-model-authoring`).
30
- 26. Operations/systems and `numbers exact` source mode remain unadmitted. Qualifying retained non-route Double literals select ESM v11. Sources/streams/routes bind as v8, public/direction forms v9, identity/overrides/filters v10. Stage construct checks run through the CLI's newest admitted version; supported equality filters and strategies render (`renderable-subset.md`).
30
+ 26. Operations, `numbers exact` source mode and systems in a model where none declares an ability remain unadmitted (any ability admits every system at v50). Qualifying retained non-route Double literals select ESM v11. Sources/streams/routes bind as v8, public/direction forms v9, identity/overrides/filters v10. Stage construct checks run through the CLI's newest admitted version; supported equality filters and strategies render (`renderable-subset.md`).
31
31
  27. Translate crosses the public boundary: inbound foreign/data to private local facts; outbound private facts to one local public type. Public metadata needs explicit direction; a quoted origin is an unverified store name, not a path. Commands never publish public events. In-app private follow-up is Automation; see public-events-and-direction in the method skill.
32
32
  - PLAY0694: a directionless Translate's unrouted reaction to its own capture's append (including children/nested) warns and fails `--warnaserror`. Keep the capture here, move the reaction/specs to Automation; no automatic split. Explicit inbound already refuses local consumption (PLAY0616). Older compilers do not report it; see the cheat sheet for the minimum version.
33
33
  - PLAY0700/0701: event-capture keys must be required content properties of every `from` event, not `$eventSourceId`. Supply typed `given <Event>` / `when append <Event>`, not capture records. PLAY0701 repairs only a single-source-event capture; no PLAY0700 repair. Older runners do not deliver events to captures; see the cheat sheet for the minimum version. See automations-and-translations `references/public-events-and-direction.md`.
@@ -250,8 +250,7 @@ What Stage admits: `renderable-subset.md`.
250
250
  | Rendering | `cratis render` | Separate admission, publication, target build and target tests (V5) |
251
251
 
252
252
  Source validation does not bind or run attached code. Reference execution is in-memory and
253
- does not run opaque attachments or external services. CLI-derived specification IDs need not
254
- match persisted MCP identities after renames; use MCP for identity-stable selection. A folder
253
+ does not run opaque attachments or external services. In a folder with `.screenplay/identities.json`, `test`, `export`, `diff` and `rename` use the persisted identities the MCP server uses; without it, or when the folder drifted, `test` uses address-derived ids (see [export, compare and rename](model-export-diff-rename.md#persisted-identities)). A folder
255
254
  compiles as one application: a standalone file includes its imports, not unimported siblings,
256
255
  so keep the application root as the input for scoped checks and never treat a clean fragment
257
256
  or scoped result as whole-application success.
@@ -104,6 +104,19 @@
104
104
  { "kind": "skill-contains", "value": "| PLAY0886 | E |", "file": "references/diagnostics.md" },
105
105
  { "kind": "skill-contains", "value": "| PLAY0955 | W |", "file": "references/diagnostics.md" },
106
106
  { "kind": "skill-contains", "value": "does not establish runtime identity safety", "file": "references/executable-subset.md" },
107
- { "kind": "skill-contains", "value": "| PLAY1142 | W |", "file": "references/diagnostics.md" }
107
+ { "kind": "skill-contains", "value": "| PLAY1142 | W |", "file": "references/diagnostics.md" },
108
+ {"kind":"skill-contains","value":"screenplay rename","file":"references/model-export-diff-rename.md"},
109
+ {"kind":"skill-contains","value":"IdentityReconciliationRequired","file":"references/model-export-diff-rename.md"},
110
+ {"kind":"skill-contains","value":"[contract-breaking]","file":"references/model-export-diff-rename.md"},
111
+ {"kind":"skill-contains","value":"persisted identities the MCP server uses","file":"references/verdicts.md"},
112
+ {"kind":"skill-contains","value":"`--screens`","file":"references/model-export-diff-rename.md"},
113
+ {"kind":"skill-contains","value":"ESM v42","file":"references/language-admission.md"},
114
+ {"kind":"skill-contains","value":"--format openapi","file":"references/model-export-diff-rename.md"},
115
+ {"kind":"skill-contains","value":"screenplay-ui/1","file":"references/model-export-diff-rename.md"},
116
+ {"kind":"skill-contains","value":"esm-v<major>.schema.json","file":"references/language-admission.md"},
117
+ {"kind":"skill-contains","value":"shape, not admission","file":"references/language-admission.md"},
118
+ {"kind":"skill-contains","value":"`PLAY0942`","file":"references/diagnostics.md"},
119
+ {"kind":"skill-contains","value":"--direction","file":"references/model-export-diff-rename.md"},
120
+ {"kind":"skill-contains","value":"`PLAY0889`","file":"references/diagnostics.md"}
108
121
  ]
109
122
  }
@@ -38,7 +38,7 @@ limits. These host APIs are not new `.play` syntax and do not verify UI renderin
38
38
 
39
39
  Every construct on this page is deferred from the executable model with
40
40
  information `PLAY0269`: it never blocks binding, and it is not evidence that a
41
- target renders it.
41
+ target renders it. `screenplay export --screens` admits the neutral members (data, actions, navigation, layout) as ESM v42; Scene and behavior wiring are not carried. A consumer of the `screenplay-ui/1` contract (`--format ui`) does not need Scene.
42
42
 
43
43
  The screens-release surface adds component data-context bindings,
44
44
  exposed template configuration, package/icon catalogs, manual form columns, hierarchical slots,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.164.0",
3
+ "version": "7.164.2",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [