@cratis/pi 7.50.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/harnesses/copilot/instructions/authoring-skills.instructions.md +93 -0
- package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +4 -0
- package/package/corpus/prompts/review-skill.prompt.md +6 -8
- package/package/corpus/rules/authoring-skills.md +92 -0
- package/package/corpus/rules/general.md +1 -0
- package/package/corpus/rules/profiles.md +4 -0
- package/package/corpus/skills/cratis-application-react-specifications/SKILL.md +1 -1
- 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-authentication-authorization-and-identity/SKILL.md +23 -29
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authentication.md +7 -7
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authorization.md +34 -32
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authproxy.md +1 -1
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/frontend.md +2 -2
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/local-development.md +3 -3
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/observable-emission-guards.md +8 -6
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/tenancy.md +3 -3
- package/package/corpus/skills/cratis-arc-command/SKILL.md +23 -25
- package/package/corpus/skills/cratis-arc-command/references/command-result.md +1 -1
- package/package/corpus/skills/cratis-arc-command/references/decisions-and-routing.md +9 -9
- package/package/corpus/skills/cratis-arc-command/references/generated-values.md +11 -12
- package/package/corpus/skills/cratis-arc-command/references/handler-shapes.md +4 -4
- package/package/corpus/skills/cratis-arc-command/references/proxy-generation.md +3 -3
- package/package/corpus/skills/cratis-arc-command/references/read-model-injection.md +1 -3
- package/package/corpus/skills/cratis-arc-command/references/shop-generation.md +11 -14
- package/package/corpus/skills/cratis-arc-command-execution/LICENSE +6 -0
- package/package/corpus/skills/cratis-arc-command-execution/SKILL.md +17 -19
- package/package/corpus/skills/cratis-arc-command-kotlin/SKILL.md +8 -7
- package/package/corpus/skills/cratis-arc-command-kotlin/references/read-model-naming.md +2 -2
- package/package/corpus/skills/cratis-arc-command-operation/SKILL.md +14 -15
- package/package/corpus/skills/cratis-arc-command-operation/references/execution-and-recovery.md +2 -2
- package/package/corpus/skills/cratis-arc-command-operation/references/testing.md +7 -8
- package/package/corpus/skills/cratis-arc-command-typescript/SKILL.md +14 -11
- package/package/corpus/skills/cratis-arc-command-typescript/references/chronicle-events.md +7 -7
- package/package/corpus/skills/cratis-arc-command-typescript/references/command-operations.md +4 -4
- package/package/corpus/skills/cratis-arc-command-typescript/references/hosting-and-storage.md +11 -7
- package/package/corpus/skills/cratis-arc-command-typescript/references/identity-and-introspection.md +4 -2
- package/package/corpus/skills/cratis-arc-command-typescript/references/observability-and-host-scopes.md +2 -2
- package/package/corpus/skills/cratis-arc-command-typescript/references/proxy-generation.md +3 -3
- package/package/corpus/skills/cratis-arc-command-typescript/references/slice-layout.md +1 -1
- package/package/corpus/skills/cratis-arc-command-typescript/verification.json +2 -2
- package/package/corpus/skills/cratis-arc-command-validation/SKILL.md +10 -14
- package/package/corpus/skills/cratis-arc-ef-core-migration/LICENSE +6 -0
- package/package/corpus/skills/cratis-arc-ef-core-migration/SKILL.md +9 -10
- package/package/corpus/skills/cratis-arc-go/SKILL.md +14 -15
- package/package/corpus/skills/cratis-arc-go/references/queries.md +2 -2
- package/package/corpus/skills/cratis-arc-hosting/SKILL.md +8 -8
- package/package/corpus/skills/cratis-arc-hosting/references/integrations-and-publish.md +11 -11
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +3 -3
- package/package/corpus/skills/cratis-arc-observable-query-http/SKILL.md +13 -13
- package/package/corpus/skills/cratis-arc-observable-query-http/verification.json +1 -1
- package/package/corpus/skills/cratis-arc-query-kotlin/SKILL.md +2 -3
- package/package/corpus/skills/cratis-arc-query-paging/SKILL.md +11 -14
- package/package/corpus/skills/cratis-arc-query-typescript/SKILL.md +3 -3
- package/package/corpus/skills/cratis-arc-query-typescript/references/storage-observation-and-compliance.md +2 -2
- 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-arc-spring-data-kotlin/SKILL.md +3 -3
- package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +3 -3
- package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +1 -2
- package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +4 -4
- package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +19 -22
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +10 -10
- package/package/corpus/skills/cratis-chronicle-client-dotnet/SKILL.md +36 -36
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/additional-surfaces.md +4 -2
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/client-construction.md +1 -1
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/compatibility-check.md +13 -13
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/discovery.md +10 -10
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/hosting.md +10 -10
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/pinned-generation-delivery.md +7 -5
- package/package/corpus/skills/cratis-chronicle-client-elixir/SKILL.md +59 -64
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/append-api.md +17 -17
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/compliance.md +5 -3
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/connections.md +15 -11
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/event-sources.md +3 -1
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/pitfalls.md +4 -4
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/projections.md +8 -4
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/upgrading.md +19 -19
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/variants.md +3 -8
- package/package/corpus/skills/cratis-chronicle-client-elixir/verification.json +2 -2
- package/package/corpus/skills/cratis-chronicle-client-go/SKILL.md +16 -18
- package/package/corpus/skills/cratis-chronicle-client-go/references/projections.md +2 -2
- package/package/corpus/skills/cratis-chronicle-client-kotlin/SKILL.md +61 -58
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/connection-lifecycle.md +9 -10
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/discovery-and-registration.md +6 -6
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/event-sources.md +4 -2
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/java-api.md +4 -4
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/options.md +1 -1
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/spring-boot.md +24 -24
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/variants.md +6 -5
- package/package/corpus/skills/cratis-chronicle-client-typescript/SKILL.md +26 -20
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/read-models-and-projections.md +4 -4
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/testing.md +1 -1
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/variants.md +4 -3
- package/package/corpus/skills/cratis-chronicle-client-typescript/verification.json +2 -2
- package/package/corpus/skills/cratis-chronicle-compliance/SKILL.md +9 -9
- package/package/corpus/skills/cratis-chronicle-decision-reads/SKILL.md +11 -10
- package/package/corpus/skills/cratis-chronicle-decision-reads/references/admission-and-ownership.md +1 -1
- package/package/corpus/skills/cratis-chronicle-decision-reads/references/choosing-how-a-rule-holds.md +5 -6
- package/package/corpus/skills/cratis-chronicle-event-constraints/SKILL.md +7 -7
- package/package/corpus/skills/cratis-chronicle-event-constraints/references/closing-streams.md +1 -1
- package/package/corpus/skills/cratis-chronicle-event-specifications/SKILL.md +6 -6
- package/package/corpus/skills/cratis-chronicle-event-type-migration/SKILL.md +12 -10
- package/package/corpus/skills/cratis-chronicle-event-type-migration/references/pinned-generations.md +2 -3
- package/package/corpus/skills/cratis-chronicle-hosting/SKILL.md +7 -7
- package/package/corpus/skills/cratis-chronicle-hosting/references/operations.md +5 -5
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +6 -6
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/blocked-tools.md +5 -5
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/deployment.md +9 -10
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +29 -29
- package/package/corpus/skills/cratis-chronicle-multi-tenancy/SKILL.md +9 -9
- package/package/corpus/skills/cratis-chronicle-projection/SKILL.md +13 -14
- package/package/corpus/skills/cratis-chronicle-projection/references/fluent-builder.md +3 -5
- package/package/corpus/skills/cratis-chronicle-projection/references/model-bound-attributes.md +2 -4
- package/package/corpus/skills/cratis-chronicle-projection/references/variants.md +1 -3
- 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/SKILL.md +16 -15
- package/package/corpus/skills/cratis-chronicle-read-model/references/queries.md +8 -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-chronicle-reducer/SKILL.md +14 -13
- package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +11 -12
- package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +6 -6
- package/package/corpus/skills/cratis-code-review/SKILL.md +13 -17
- package/package/corpus/skills/cratis-components-accessibility/SKILL.md +3 -3
- package/package/corpus/skills/cratis-components-common-controls/SKILL.md +15 -15
- package/package/corpus/skills/cratis-components-data-surfaces/SKILL.md +29 -29
- package/package/corpus/skills/cratis-components-schema-editor/SKILL.md +4 -4
- package/package/corpus/skills/cratis-components-schema-editor/references/tree-layout.md +1 -1
- package/package/corpus/skills/cratis-components-stepper-command-dialog/SKILL.md +6 -6
- package/package/corpus/skills/cratis-components-styling/LICENSE +6 -0
- package/package/corpus/skills/cratis-components-styling/SKILL.md +5 -4
- package/package/corpus/skills/cratis-components-toolbar/SKILL.md +5 -5
- package/package/corpus/skills/cratis-developer-marketing/SKILL.md +2 -2
- package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +3 -3
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +1 -1
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +4 -4
- package/package/corpus/skills/cratis-fundamentals-concept/SKILL.md +19 -24
- package/package/corpus/skills/cratis-fundamentals-concept/references/shop-generation.md +10 -10
- package/package/corpus/skills/cratis-fundamentals-concept/references/typescript-concepts.md +8 -8
- package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +10 -11
- package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +18 -18
- package/package/corpus/skills/cratis-fundamentals-telemetry/verification.json +1 -1
- package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +4 -4
- package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +19 -19
- package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +27 -27
- package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +12 -12
- package/package/corpus/skills/cratis-performance-review/SKILL.md +8 -10
- package/package/corpus/skills/cratis-release-notes/SKILL.md +1 -1
- 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 +12 -14
- 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/corpus/skills/cratis-security-review/SKILL.md +8 -10
- package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +18 -16
- package/package/corpus/skills/cratis-specification-by-example/SKILL.md +1 -1
- package/package/corpus/skills/cratis-specifications-csharp/SKILL.md +26 -29
- package/package/corpus/skills/cratis-specifications-csharp/references/application-scenarios.md +8 -8
- package/package/corpus/skills/cratis-specifications-csharp/references/csharp-patterns.md +2 -2
- package/package/corpus/skills/cratis-specifications-csharp/references/integration-specs.md +6 -4
- package/package/corpus/skills/cratis-specifications-csharp/references/shared-lifecycle.md +6 -2
- package/package/corpus/skills/cratis-specifications-typescript/SKILL.md +2 -2
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +4 -4
- package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +1 -1
- package/package/corpus/skills/guiding-refactoring-with-code-health/SKILL.md +1 -1
- package/package/corpus/skills/prioritizing-technical-debt/SKILL.md +1 -1
- package/package/corpus/skills/risk-based-testing-with-code-health/SKILL.md +3 -3
- package/package/corpus/skills/safeguarding-ai-generated-code/SKILL.md +1 -1
- 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
package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md
CHANGED
|
@@ -32,7 +32,7 @@ attachments, `feature`.
|
|
|
32
32
|
**Inside a feature:** `description`, `authorize`, `import "<glob>"`, nested
|
|
33
33
|
`feature`, `slice`, `contribute`, `on`/`uses` behavior attachments.
|
|
34
34
|
|
|
35
|
-
**Files
|
|
35
|
+
**Files.** `import "<path or glob>"` - quoted - imports `.play` files
|
|
36
36
|
relative to the importing file; unquoted, `import` still names a contract from
|
|
37
37
|
another bounded context. At the top level it brings in whole documents. Inside a
|
|
38
38
|
`module` or `feature` it places each imported file there, and that file's top
|
|
@@ -66,8 +66,8 @@ repeated header markers report PLAY0653 warning. Purposes declare the use/basis/
|
|
|
66
66
|
separately; see command-surface `references/compliance.md`.
|
|
67
67
|
|
|
68
68
|
Enum member `name = N` pins are unique int32 values, all members or none.
|
|
69
|
-
Unnumbered enums retain positions. Non-positional numbers bind as ESM v12
|
|
70
|
-
|
|
69
|
+
Unnumbered enums retain positions. Non-positional numbers bind as ESM v12;
|
|
70
|
+
positional pins preserve older bytes/version. Fixtures and conditions
|
|
71
71
|
still name members. Syntax, stored-number safety and consumer admission:
|
|
72
72
|
command-surface `references/enum-numbers.md`.
|
|
73
73
|
|
|
@@ -78,7 +78,7 @@ members or translating names from memory.
|
|
|
78
78
|
|
|
79
79
|
## Caller, subject and stream nodes
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
The typed syntax includes `IdentityExpressionSyntax` (`$identity`),
|
|
82
82
|
`IdentitySyntax`, `IdentityDetailSyntax`, `ClaimIdentitySourceSyntax`,
|
|
83
83
|
`QueryIdentitySourceSyntax`, `CodeIdentitySourceSyntax`, `FileIdentitySourceSyntax`.
|
|
84
84
|
`ApplicationSyntax.Identity` carries the block; query schemas before editing JSON.
|
|
@@ -87,6 +87,8 @@ are authoring-only and refuse executable binding (PLAY0268), while the block alo
|
|
|
87
87
|
does not block readiness. Claim/query sources have exactly one source and no body.
|
|
88
88
|
See command-surface `references/context.md` for key/type/gate restrictions.
|
|
89
89
|
|
|
90
|
+
Requires Screenplay 4.121.0 or later (`screenplay --version`) for `$identity` expressions, and 4.122.0 or later for the `identity` block.
|
|
91
|
+
|
|
90
92
|
`PropertySyntax.isSubject` marks an event's required unprotected scalar subject,
|
|
91
93
|
omitted from structural JSON when false. It is lineage metadata (PLAY0270), not
|
|
92
94
|
runtime subject propagation or generated C# `[Subject]`. Read-model marks are
|
|
@@ -99,7 +101,7 @@ old PLAY0268 gap. Never infer composite parts by splitting legacy scalar ids.
|
|
|
99
101
|
|
|
100
102
|
## Container dependencies and exact numbers
|
|
101
103
|
|
|
102
|
-
|
|
104
|
+
Modules and features accept `depends on <Name>`, one
|
|
103
105
|
per line. Bare targets resolve inside out (siblings, ancestor siblings, root
|
|
104
106
|
modules); qualified targets match an unambiguous trailing address. Merged files
|
|
105
107
|
accumulate each owner's declarations in file-path order; imports affect board
|
|
@@ -107,6 +109,8 @@ order, not accumulation. Dependencies are optional authoring metadata, not runti
|
|
|
107
109
|
or implementation order. See `cratis-screenplay-slice-design` `references/slicing.md`
|
|
108
110
|
for coverage diagnostics and MCP `dependency-graph` `declarations` evidence.
|
|
109
111
|
|
|
112
|
+
Requires Screenplay 4.76.0 or later (`screenplay --version`) for `depends on` container dependencies (PLAY0554).
|
|
113
|
+
|
|
110
114
|
A top-level `numbers exact` preamble opts each file into bounded decimal source
|
|
111
115
|
literals without Double rounding. All files/import barrels must agree on mode
|
|
112
116
|
(PLAY0508–PLAY0513 diagnose directive/range/mode errors). Exact mode is authorable,
|
|
@@ -124,14 +128,13 @@ not opt a Legacy root in. Change mode as a whole-tree edit (leaves and all root
|
|
|
124
128
|
options), not just a flag; fragment printing keeps the owner's mode without a
|
|
125
129
|
nested preamble.
|
|
126
130
|
|
|
127
|
-
Sources:
|
|
131
|
+
Sources: `slices.md`, `folders.md`, `ast-authoring.md`, `grammar.md` in `Documentation/screenplay/`.
|
|
128
132
|
|
|
129
133
|
## Complete model
|
|
130
134
|
|
|
131
135
|
This registration model uses an inline event and context identity rather than
|
|
132
|
-
copying the identifier into payload. It
|
|
133
|
-
|
|
134
|
-
check runs its specifications. Inline lowering
|
|
136
|
+
copying the identifier into payload. It compiles with zero source diagnostics under
|
|
137
|
+
`--warnaserror`; neither check runs its specifications. Inline lowering
|
|
135
138
|
and `optional` spelling do not themselves select a newer ESM version.
|
|
136
139
|
|
|
137
140
|
```screenplay
|
|
@@ -182,8 +185,7 @@ module Projects
|
|
|
182
185
|
|
|
183
186
|
## Source validity is not execution
|
|
184
187
|
|
|
185
|
-
The table and binding inventory below
|
|
186
|
-
probe labels; do not use them as current tool admission evidence. At 4.125.0,
|
|
188
|
+
The table and binding inventory below are a snapshot, not tool admission evidence.
|
|
187
189
|
`screenplay test` and MCP `run-specifications` expose reference execution,
|
|
188
190
|
and sources/streams/routes bind as ESM v8. Operations and exact numeric mode
|
|
189
191
|
still refuse binding. Use the installed tool, read as described in
|
|
@@ -221,18 +223,14 @@ The ESM version is selected by what a model uses, never by the author:
|
|
|
221
223
|
distinct revision property identities. Historical declarations are not migration
|
|
222
224
|
implementations; a target without migration support must reject the contract.
|
|
223
225
|
- **v5** adds keyed read-model absence assertions (`then no readmodel`).
|
|
224
|
-
- **v6**
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
responses, generated fixtures and `then returns` expectations, and is selected only by a model that
|
|
233
|
-
uses one (decision 0026). The Cratis CLI 3.28.3 bundles 4.66.0 and reports `PLAY0268`; Stage 4.24.2
|
|
234
|
-
refuses v7 with `STAGE-ESM-016` (tracked in Stage#201). Details:
|
|
235
|
-
`cratis-screenplay-command-surface`.
|
|
226
|
+
- **v6** admits reactions, captures, application triggers and the clock, hence
|
|
227
|
+
`Automation` and `Translate` slices. A compiler that stops before v6 reports these
|
|
228
|
+
constructs as `PLAY0268`. Name the tool with every bound result;
|
|
229
|
+
`cratis-screenplay-toolchain` describes the two compilers.
|
|
230
|
+
- **v7** admits generated command properties, `returns` responses, generated fixtures
|
|
231
|
+
and `then returns` expectations, and is selected only by a model that uses one. A
|
|
232
|
+
compiler or renderer that stops before v7 reports `PLAY0268` or `STAGE-ESM-016`.
|
|
233
|
+
Details: `cratis-screenplay-command-surface`.
|
|
236
234
|
|
|
237
235
|
Inline events lower to slice-owned standalone contracts and preserve equivalent
|
|
238
236
|
canonical bytes. Event `description`, `documentation` and rename-only `id` are
|
|
@@ -244,14 +242,10 @@ admitted. One refused construct blocks the whole plan, so no specification in
|
|
|
244
242
|
the model runs, including specifications that never touch it.
|
|
245
243
|
|
|
246
244
|
What binds today, what the reference execution plan refuses, what is opaque, what is
|
|
247
|
-
authorable but not executable, and what blocks binding.
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
Read-model identity below is corrected to 4.135.0; equality query filters are
|
|
253
|
-
updated to standalone 4.153.0 (admitted in 4.143.0, ESM v14):
|
|
254
|
-
explicit trailing `key` wins; otherwise single-instance queries in the owning slice
|
|
245
|
+
authorable but not executable, and what blocks binding. A bundled compiler can be older
|
|
246
|
+
than the standalone tool and refuse a row that binds below (toolchain `SKILL.md`).
|
|
247
|
+
|
|
248
|
+
Read-model identity: explicit trailing `key` wins; otherwise single-instance queries in the owning slice
|
|
255
249
|
must agree on `by`. Only with no single-instance identifier and an admitted list
|
|
256
250
|
query does conventional `*Id` inference run. Queryless views need explicit `key`.
|
|
257
251
|
See read-surface `references/named-keys.md` for the collection-key exclusion algorithm.
|
|
@@ -260,23 +254,22 @@ See read-surface `references/named-keys.md` for the collection-key exclusion alg
|
|
|
260
254
|
| --- | --- |
|
|
261
255
|
| Binds and runs in the reference runner | `StateChange`/`StateView` slices; `produces` including `when` conditions over command properties and literal tags; the portable validation rules, `matches email`, quoted `matches` patterns and `require` over command properties; declarative policies and `authorize` on modules, features, commands and keyed queries; `unique` constraints; projections as Chronicle lowers them, including variants, except the projection constructs in the next row; specifications, including `given caller`, `then denied` and `when append` |
|
|
262
256
|
| Binds, but the reference execution plan refuses it | A projection-level `remove via join`; `all` beside removals, `children` or `nested`; a `join`, `children` or `remove via join` inside `nested`; any event-context value other than the event source identity in a projection mapping or key, such as `$eventContext.occurred`, `$eventContext.sequenceNumber` or `$eventContext.causedBy.subject` (`$eventSourceId` and `$eventContext.eventSourceId` run) |
|
|
263
|
-
| Binds as ESM v6
|
|
264
|
-
| Reaction with trigger `reads` | Direct-producing (or code-bodied) reaction with `reads`: `PLAY0268` ("ESM v6 cannot protect that decision dependency"
|
|
265
|
-
| Binds as opaque code (v3); reference runner reports unsupported | Bodied reducers, bodied named rules, fenced `validate` blocks, code or file policies. A pure reducer body is the only attachment Stage
|
|
266
|
-
| Information only, never blocks
|
|
267
|
-
| Binds as ESM v7
|
|
257
|
+
| Binds as ESM v6 (`PLAY0268` on a compiler that stops before v6) | `Automation` and `Translate` slices, reactions that produce or invoke, captures, top-level `trigger`, clock, trigger and capture specifications. The standalone `screenplay test`/MCP reference route evaluates admitted v6 actions; Stage renders supported event-triggered Automation, with remaining refusals in the Stage skill's `references/admission.md` |
|
|
258
|
+
| Reaction with trigger `reads` | Direct-producing (or code-bodied) reaction with `reads`: `PLAY0268` ("ESM v6 cannot protect that decision dependency"), non-executable. Invokes-only reaction with `reads`: information only; the invoked command must declare and protect its own decision reads. Keep the `reads`; never remove them to obtain binding |
|
|
259
|
+
| Binds as opaque code (v3); reference runner reports unsupported | Bodied reducers, bodied named rules, fenced `validate` blocks, code or file policies. A pure reducer body is the only attachment Stage admits |
|
|
260
|
+
| Information only, never blocks | `persona` (report-only: `PLAY0270`, the policies it lists must exist), `authentication`, `domain`, `seed`, descriptions and `file` provenance. A persona does not block binding and does not change behavior, so state persona scope in a description or a policy the model uses |
|
|
261
|
+
| Binds as ESM v7 (`PLAY0268` on a compiler that stops before v7) | `generated` properties and `returns` responses, generated fixtures and `then returns`: bound and executed by the reference runner; a policy, rule or requirement that references a generated value is `PLAY0273`, and a generated property on a concept with validation rules is `PLAY0268`. Stage renders supported UUID/String strategies, scalar/named responses and fixtures; unsupported types/result combinations remain `-028`/`-038` |
|
|
268
262
|
| Authorable, not executable (PLAY0268) | Systems/operations, the `numbers exact` source mode (PLAY0268; exact lowering of qualifying Double literals is the admitted v11) and refusal/redelivery remain unadmitted |
|
|
269
|
-
| Concept generation strategies (ESM v15
|
|
270
|
-
| Response-name UI continuations (
|
|
271
|
-
| Collection equality filters (ESM v14
|
|
272
|
-
| Current routing and actor admission | Sources/streams and command/specification routes bind and reference-execute as v8; reaction `runs as system role` supplies the invocation actor as v10
|
|
273
|
-
| Blocks binding (`PLAY0268`) | enum/identity compliance and events combining personal or explicitly subject-scoped secret values with explicit subject marks
|
|
263
|
+
| Concept generation strategies (ESM v15) | Required scalar generatable Uuid/String concepts; concept-owned uuid/uuidv7/ulid/typeid/nanoid/bytes strategies and admitted modifiers. Strict fixture encoding; Guarded whole-source freshness rejects Concurrency with no append/retry. Rules, generated secrets, pattern/random/rule and sequence remain refused. Stage renders supported strategies: command-surface `references/generated-values-and-responses.md` |
|
|
264
|
+
| Response-name UI continuations (no ESM change) | Form submit and execute-success scopes, own failure PLAY0685, nested shadowing and outer success in inner failure; field/parameter precedence. An older bundled compiler lacks resolution; Scene runtime binding remains downstream. UI composition `references/response-continuations.md` |
|
|
265
|
+
| Collection equality filters (ESM v14) | Caller-supplied `filter name Type [optional]`, no `from`, matching a same-named scalar primitive/concept/enum read-model property with the same nominal type. AND with `by`; optional omission does not narrow, supplied null is refused. PLAY0468 covers unknown/repeated/missing required spec arguments; result rows compare by read-model/key regardless of order. Read read-surface `references/equality-filters.md` for the compiled example and renderer ceilings |
|
|
266
|
+
| Current routing and actor admission | Sources/streams and command/specification routes bind and reference-execute as v8; reaction `runs as system role` supplies the invocation actor as v10. Whole-workspace binding determines executable availability; CLI/Stage realization remains separate |
|
|
267
|
+
| Blocks binding (`PLAY0268`) | enum/identity compliance and events combining personal or explicitly subject-scoped secret values with explicit subject marks; a compiler that stops before v13 refuses all `pii`/`secret` concepts ("compliance attributes require portable data-subject semantics"), while v13 binds them and Stage renders protection; command `handler` (never binds; a command cannot declare both `produces` and `handler`, `PLAY0035`), bare `rule <Name>`, `require` or conditions over read-model paths, dates and `today` in comparisons, `$context.tenant`/claims/roles/causation in `produces`, `$env` conditions, `file` constraints, unquoted `import` of an external contract, a read model with neither explicit `key` nor unambiguous query-based identity as described above (composite keys remain unadmitted), queries with context `from` sources (typed query context is unadmitted), single-result filters (collections only), `scoped to` (opaque scope), `performer` (opaque implementation) or composite `by` blocks; optional keyed and collection queries, including caller-supplied equality filters and observable delivery, bind, `$causedBy` and templates in projections |
|
|
274
268
|
| Blocks binding (`PLAY0271`, legacy meaning) | Command `reads` and `concurrency` |
|
|
275
269
|
| Deferred (`PLAY0269`, information) | Screens, layouts, templates, forms, contributions, UI profiles, themes, behaviors and `on`/`uses` |
|
|
276
270
|
| Metadata only (`PLAY0270`, information) | `domain`, `seed`, `persona`, trigger and other descriptions, and `file` provenance on declarations |
|
|
277
271
|
|
|
278
|
-
The table is a snapshot, not a contract
|
|
279
|
-
v4.31.0 and v4.66.0 documentation): ask the binder (MCP `executable-diagnostics`
|
|
272
|
+
The table is a snapshot, not a contract: ask the binder (MCP `executable-diagnostics`
|
|
280
273
|
view) rather than extrapolating from it. Neither `screenplay` nor
|
|
281
274
|
`cratis screenplay validate` binds, so a clean validation says nothing about this table. Retain valid source that the
|
|
282
275
|
backend cannot represent rather than downgrading it to a stub. MCP `run-specifications` executes the admitted reference subset, not embedded
|
|
@@ -285,12 +278,12 @@ runtime admission.
|
|
|
285
278
|
|
|
286
279
|
## Not in the language yet
|
|
287
280
|
|
|
288
|
-
|
|
281
|
+
A reaction trigger may declare
|
|
289
282
|
`reads <View> [as <alias>] [by <trigger value>]` (see
|
|
290
|
-
`cratis-screenplay-captures-and-reactions`).
|
|
283
|
+
`cratis-screenplay-captures-and-reactions`). A direct-producing
|
|
291
284
|
reaction with `reads` fails binding (`PLAY0268`); an invokes-only reaction reports
|
|
292
285
|
the reads as information, and the invoked command must protect its own
|
|
293
|
-
dependencies.
|
|
286
|
+
dependencies.
|
|
294
287
|
|
|
295
288
|
Do not infer availability from an accepted decision. Event generations and typed
|
|
296
289
|
diagnostic repairs now exist; see the event and MCP references rather than the
|
|
@@ -300,14 +293,14 @@ Code attachment/source-map support likewise does not prove code round-trip
|
|
|
300
293
|
execution equivalence.
|
|
301
294
|
|
|
302
295
|
Operations remain authorable/unadmitted (PLAY0268). Named event sources/streams
|
|
303
|
-
and routes bind and reference-execute as v8
|
|
296
|
+
and routes bind and reference-execute as v8; reaction identity as v10.
|
|
304
297
|
Use standalone `screenplay test` or MCP `run-specifications` for a reference
|
|
305
298
|
verdict, and independently check CLI/Stage admission. Never drop a contract to bind.
|
|
306
|
-
Generated values and `returns` are
|
|
299
|
+
Generated values and `returns` are not in this group: they bind as ESM v7.
|
|
307
300
|
Protected reads and `derive`/`provide` (not admitted by any supported ESM version) have no documented
|
|
308
|
-
syntax
|
|
309
|
-
remain unavailable here. Event `subject` is report-only authoring metadata
|
|
310
|
-
|
|
301
|
+
syntax: do not teach or invent one. Affected-instance declarations and query paging/sorting/change-set delivery
|
|
302
|
+
remain unavailable here. Event `subject` is report-only authoring metadata;
|
|
303
|
+
public events/origin are admitted as ESM v9 (not provider realization).
|
|
311
304
|
Purpose declarations, references and processing records are authoring metadata,
|
|
312
305
|
not retention or lawful-processing enforcement.
|
|
313
306
|
|
|
@@ -19,11 +19,8 @@
|
|
|
19
19
|
The working loop for the session that owns the model connection: connect, orient,
|
|
20
20
|
choose an edit route, propose, review, run specifications, apply, verify. Tool-by-tool arguments and
|
|
21
21
|
refusals are in the [MCP tool guide](mcp-tools.md); verdict names (V1 to V5) are
|
|
22
|
-
defined by `cratis-screenplay-modeling-lifecycle`.
|
|
23
|
-
|
|
24
|
-
and probed against the standalone 4.66.0 tool and, for the connection behavior,
|
|
25
|
-
4.63.1. Cratis CLI 3.28.2 bundles Screenplay 4.66.0 (probed: 29 tools and the same views);
|
|
26
|
-
Cratis CLI before 3.28.2 bundled 4.60.1, whose tool set and views differ: read `tools/list`.
|
|
22
|
+
defined by `cratis-screenplay-modeling-lifecycle`. Discover the installed tool set and views with
|
|
23
|
+
`tools/list`: the CLI-bundled server can differ from the standalone one.
|
|
27
24
|
|
|
28
25
|
## Connect
|
|
29
26
|
|
|
@@ -39,7 +36,7 @@ Cratis CLI before 3.28.2 bundled 4.60.1, whose tool set and views differ: read `
|
|
|
39
36
|
`.screenplay` metadata.
|
|
40
37
|
4. Read `tools/list` schemas once per connection; never hard-code counts or
|
|
41
38
|
argument lists. MCP-Apps hosts also expose `visualize-model`.
|
|
42
|
-
5.
|
|
39
|
+
5. (Requires Screenplay 4.81.0 or later.) A startup root may switch to the same relative model folder in a
|
|
43
40
|
registered Git worktree of its repository. `open-workspace.path` accepts the
|
|
44
41
|
checkout or exact model folder. Shared Git directory and registration
|
|
45
42
|
back-pointer must agree physically; unrelated/malformed/unregistered roots,
|
|
@@ -49,19 +46,20 @@ Cratis CLI before 3.28.2 bundled 4.60.1, whose tool set and views differ: read `
|
|
|
49
46
|
worktree is removed, explicitly return to the startup root; if the startup
|
|
50
47
|
root is removed, start a new connection. No simultaneous named workspaces.
|
|
51
48
|
|
|
52
|
-
###
|
|
49
|
+
### Dynamic roots and the workaround
|
|
53
50
|
|
|
54
|
-
|
|
55
|
-
client's roots
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
**not** avoid it, because the error is sent before `open-workspace` runs.
|
|
51
|
+
A server started **without** a root binds one on first use: `open-workspace.path`, then the
|
|
52
|
+
client's `roots/list` root, then a working-directory or fallback model folder. Avoid depending on
|
|
53
|
+
that by fixing the root at launch (the forms in step 1). The `cratis/screenplay` profile
|
|
54
|
+
registration fixes it in an installed project, and the CLI locates the model itself, so no model
|
|
55
|
+
directory has to exist.
|
|
60
56
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
57
|
+
Requires Screenplay 4.63.2 or later (standalone, or a Cratis CLI 3.28.2 or later that bundles it)
|
|
58
|
+
for a server without a root facing a client that advertises roots. Before it, the server read the
|
|
59
|
+
roots reply from the wrong member and answered with an error with `id: null` immediately after
|
|
60
|
+
`notifications/initialized`, before any tool call; real hosts treat that as fatal and drop the
|
|
61
|
+
connection. Passing `open-workspace.path` does **not** avoid it, because the error is sent before
|
|
62
|
+
`open-workspace` runs. On such a tool, fix the root at launch.
|
|
65
63
|
|
|
66
64
|
## Who owns the connection
|
|
67
65
|
|
|
@@ -108,15 +106,15 @@ the server sends `roots/list` and serves `tools/list` after the reply).
|
|
|
108
106
|
`find-modeling-smells` as questions needing a domain consequence, and compare
|
|
109
107
|
generated/curated exported snapshots with `semantic-diff`.
|
|
110
108
|
Before a property change, use `find-references`/`dependencies`
|
|
111
|
-
`kind: "Property"`
|
|
109
|
+
`kind: "Property"` and `Owner.member` or historical event
|
|
112
110
|
`Owner.generationN.member`. Follow direct mapping counterparts one query at a
|
|
113
111
|
time; inspect incomplete/ambiguous evidence and `reasons`. `complete: false`
|
|
114
112
|
is not an empty successful result. Shapes/roles: [property links](property-links.md).
|
|
115
|
-
|
|
113
|
+
Inspect concept `generate` with `declaration-details`
|
|
116
114
|
`kind: "Concept"`, `view: "summary"`: `generation.executable.status` distinguishes
|
|
117
115
|
`admitted`, `refused`, `notAssessed`; empty local error codes do not prove binding.
|
|
118
|
-
|
|
119
|
-
Fields and tagged evidence: [concept generation](mcp-tools.md#concept-generation
|
|
116
|
+
A bundle that predates this summary also lacks the entropy repairs.
|
|
117
|
+
Fields and tagged evidence: [concept generation](mcp-tools.md#concept-generation).
|
|
120
118
|
3. `open-workspace` and keep `revision` and `catalogRevision`. Opening writes
|
|
121
119
|
nothing. With `identityPersistence: "root-local-on-apply"` the identities file
|
|
122
120
|
is written only by `apply`.
|
|
@@ -144,7 +142,7 @@ the server sends `roots/list` and serves `tools/list` after the reply).
|
|
|
144
142
|
diagnostics, report V3 as not binding-ready, and never drop or stub the
|
|
145
143
|
construct. The server's own guidance is to apply such a proposal only when
|
|
146
144
|
the user accepts a model that does not run yet.
|
|
147
|
-
7.
|
|
145
|
+
7. Run `run-specifications` with the
|
|
148
146
|
retained `proposalId` before `apply`. This read-only V4 route runs the candidate,
|
|
149
147
|
including retained identities and planned renames, without applying, refreshing
|
|
150
148
|
from disk or discarding it. `read-proposal view: "semantic-diff"` is static
|
|
@@ -191,9 +189,9 @@ the server sends `roots/list` and serves `tools/list` after the reply).
|
|
|
191
189
|
A text rename plus an `id "<old name>"` pin preserves authored stored-name intent
|
|
192
190
|
but leaves the identity catalog pointing at the old declaration; the next
|
|
193
191
|
`apply` can mint new identities silently. Use the identity-preserving operation.
|
|
194
|
-
|
|
195
|
-
that does not repair a stale catalog or admit the model to
|
|
196
|
-
|
|
192
|
+
Differing event pins carry `storedName` in ESM v16;
|
|
193
|
+
that does not repair a stale catalog or admit the model to a renderer that stops before
|
|
194
|
+
v16. Evidence and target limits: `mcp-tools.md`.
|
|
197
195
|
5. **A session without MCP** (a subagent, or a harness with no server) carries out a
|
|
198
196
|
requested rename by text with `id "<Old>"` pins and an identity note when no
|
|
199
197
|
`.screenplay/identities.json` exists. When it exists, it does not edit
|
|
@@ -209,7 +207,7 @@ the server sends `roots/list` and serves `tools/list` after the reply).
|
|
|
209
207
|
| Inline event extraction | `produces event ...` to a declared event | `propose-extract-inline-event` |
|
|
210
208
|
| Parser-invalid document | no editable handles | `propose-source` `replace-document` with corrected source, or typed `propose-ast` document replacement |
|
|
211
209
|
| Unadmitted constructs | systems/operations, the `numbers exact` source mode, refusal/redelivery | reviewed Authoring `propose-source` (whole documents) or `propose-ast` (typed edits); preserve intent and report PLAY0268 |
|
|
212
|
-
| Admitted source/stream routing | ESM v8
|
|
210
|
+
| Admitted source/stream routing | ESM v8 | typed `propose-ast`; `propose-rename` repairs proven route references; target admission separate |
|
|
213
211
|
|
|
214
212
|
PLAY0683/PLAY0684 repairs raise NanoID size or bytes count to at least 64 random
|
|
215
213
|
bits using the concept subject (possibly across documents). PLAY0683 can instead
|
|
@@ -220,11 +218,11 @@ and `read-workspace view: "repairs"`, then `propose-repair` with both revisions
|
|
|
220
218
|
Neither action supports fix-all or pinned evidence. A concept change affects all
|
|
221
219
|
uses; uniqueness changes append-time behavior. Derived regex, matches/checksum
|
|
222
220
|
repairs and rule-proof status await phase 2b-2; details and source citations are in
|
|
223
|
-
[concept generation](mcp-tools.md#concept-generation
|
|
221
|
+
[concept generation](mcp-tools.md#concept-generation).
|
|
224
222
|
|
|
225
223
|
## Self-describing identity migration refusals
|
|
226
224
|
|
|
227
|
-
|
|
225
|
+
Read `identityMigrationIssues` on rejected proposals
|
|
228
226
|
(conflict `InvalidIdentityMigration`). Each entry names typed `address.kind` and
|
|
229
227
|
`address.parts`, and the input `arguments` it belongs in: `semanticRenames`,
|
|
230
228
|
`eventRenames`, `retiredSemanticAddresses`, `retiredEventAddresses`. Stale renames
|
|
@@ -233,7 +231,9 @@ not an instruction to retire. Include both event-contract and semantic assignmen
|
|
|
233
231
|
and all assigned descendants. Rename/apply messages name the same offending addresses.
|
|
234
232
|
Supply exactly the entries required for the intended change instead of retrying
|
|
235
233
|
by trial and error. Re-read actual revisions when stale; never clear the catalog.
|
|
236
|
-
Authority:
|
|
234
|
+
Authority: `mcp/reference.md`, `mcp/authoring-tools.md`.
|
|
235
|
+
|
|
236
|
+
Requires Screenplay 4.89.0 or later (`screenplay --version`) for `identityMigrationIssues`.
|
|
237
237
|
|
|
238
238
|
## Identity state (`.screenplay/identities.json`)
|
|
239
239
|
|
|
@@ -253,7 +253,7 @@ Authority: v4.127.0 `mcp/reference.md`, `mcp/authoring-tools.md`.
|
|
|
253
253
|
|
|
254
254
|
### Root discovery conflicts
|
|
255
255
|
|
|
256
|
-
|
|
256
|
+
Default discovery preserves `.screenplay/identities.json`
|
|
257
257
|
or `pending.json` on the ancestor-or-self path from the offered project to the
|
|
258
258
|
discovered model. Empty metadata folders/backups do not count. With several
|
|
259
259
|
state roots, the nearest the offered project wins. `rootBindingConflict` in
|
|
@@ -320,10 +320,5 @@ rejects the plan.
|
|
|
320
320
|
|
|
321
321
|
## Provenance
|
|
322
322
|
|
|
323
|
-
Proposal execution: Screenplay v4.145.0
|
|
324
|
-
`Source/DotNET/Screenplay.Mcp/McpWorkspaces.Specifications.cs:12-79` and
|
|
325
|
-
`Source/DotNET/Tool/ModelTest.cs:14-108`; `Documentation/screenplay/mcp/authoring-tools.md:500-535`.
|
|
326
|
-
|
|
327
323
|
The structure of this loop (ownership, edit-request shape, failure handling) is
|
|
328
|
-
adapted from the project's earlier event-modeling toolkit draft
|
|
329
|
-
against the Screenplay sources named above. See [provenance](provenance.md).
|
|
324
|
+
adapted from the project's earlier event-modeling toolkit draft.
|