@cratis/pi 7.194.3 → 8.0.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/README.md +6 -18
- package/package/corpus/harnesses/copilot/instructions/ai-distribution.instructions.md +35 -32
- package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +53 -72
- package/package/corpus/harnesses/copilot/instructions/browser.instructions.md +8 -7
- package/package/corpus/harnesses/copilot/instructions/code-health.instructions.md +1 -24
- package/package/corpus/harnesses/copilot/instructions/code-quality.csharp.instructions.md +3 -3
- package/package/corpus/harnesses/copilot/instructions/code-quality.instructions.md +0 -30
- package/package/corpus/harnesses/copilot/instructions/code-quality.typescript.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/codescene.instructions.md +64 -0
- package/package/corpus/harnesses/copilot/instructions/components.instructions.md +5 -288
- package/package/corpus/harnesses/copilot/instructions/concepts.instructions.md +2 -130
- package/package/corpus/harnesses/copilot/instructions/criticality-tiers.instructions.md +2 -2
- package/package/corpus/harnesses/copilot/instructions/csharp.instructions.md +6 -75
- package/package/corpus/harnesses/copilot/instructions/dialogs.instructions.md +2 -269
- package/package/corpus/harnesses/copilot/instructions/discoverability.instructions.md +2 -2
- package/package/corpus/harnesses/copilot/instructions/documentation.instructions.md +3 -3
- package/package/corpus/harnesses/copilot/instructions/efcore.instructions.md +8 -28
- package/package/corpus/harnesses/copilot/instructions/efcore.specs.instructions.md +3 -4
- package/package/corpus/harnesses/copilot/instructions/elixir.instructions.md +6 -35
- package/package/corpus/harnesses/copilot/instructions/exit-codes-and-wrappers.instructions.md +6 -6
- package/package/corpus/harnesses/copilot/instructions/framework-dotnet.instructions.md +17 -0
- package/package/corpus/harnesses/copilot/instructions/framework.instructions.md +9 -45
- package/package/corpus/harnesses/copilot/instructions/frontend-quality.instructions.md +5 -49
- package/package/corpus/harnesses/copilot/instructions/frontend-testing.instructions.md +2 -117
- package/package/corpus/harnesses/copilot/instructions/general.instructions.md +15 -0
- package/package/corpus/harnesses/copilot/instructions/github-actions.instructions.md +8 -9
- package/package/corpus/harnesses/copilot/instructions/glossary.instructions.md +4 -15
- package/package/corpus/harnesses/copilot/instructions/go-engineering.instructions.md +1 -5
- package/package/corpus/harnesses/copilot/instructions/go.instructions.md +7 -9
- package/package/corpus/harnesses/copilot/instructions/guards-and-fuses.instructions.md +7 -6
- package/package/corpus/harnesses/copilot/instructions/issue-assignment.instructions.md +20 -0
- package/package/corpus/harnesses/copilot/instructions/java.instructions.md +4 -4
- package/package/corpus/harnesses/copilot/instructions/kotlin.instructions.md +5 -5
- package/package/corpus/harnesses/copilot/instructions/local-verification-and-delivery.instructions.md +17 -0
- package/package/corpus/harnesses/copilot/instructions/local-work-artifacts.instructions.md +9 -7
- package/package/corpus/harnesses/copilot/instructions/new-repository-intake.instructions.md +3 -1
- package/package/corpus/harnesses/copilot/instructions/operational-safety.instructions.md +19 -13
- package/package/corpus/harnesses/copilot/instructions/orleans.instructions.md +6 -5
- package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +43 -438
- package/package/corpus/harnesses/copilot/instructions/published-contracts.instructions.md +3 -4
- package/package/corpus/harnesses/copilot/instructions/react.instructions.md +2 -176
- package/package/corpus/harnesses/copilot/instructions/reactors.instructions.md +7 -334
- package/package/corpus/harnesses/copilot/instructions/review-reports.instructions.md +6 -6
- package/package/corpus/harnesses/copilot/instructions/specs.csharp.instructions.md +35 -29
- package/package/corpus/harnesses/copilot/instructions/specs.elixir.instructions.md +22 -164
- package/package/corpus/harnesses/copilot/instructions/specs.instructions.md +4 -143
- package/package/corpus/harnesses/copilot/instructions/specs.scenarios.csharp.instructions.md +2 -307
- package/package/corpus/harnesses/copilot/instructions/specs.typescript.instructions.md +7 -131
- package/package/corpus/harnesses/copilot/instructions/storybook.instructions.md +1 -6
- package/package/corpus/harnesses/copilot/instructions/typescript.instructions.md +5 -54
- package/package/corpus/harnesses/copilot/instructions/verification-discipline.instructions.md +10 -16
- package/package/corpus/harnesses/copilot/instructions/vertical-slices.instructions.md +5 -451
- package/package/corpus/harnesses/copilot/instructions/writing-cratis-docs.instructions.md +1 -1
- package/package/corpus/harnesses/pi/agents/browser-operator.md +5 -30
- package/package/corpus/harnesses/pi/agents/code-reviewer.md +4 -156
- package/package/corpus/harnesses/pi/agents/performance-reviewer.md +4 -68
- package/package/corpus/harnesses/pi/agents/security-reviewer.md +4 -80
- package/package/corpus/harnesses/pi/agents/slice-implementer.md +6 -99
- package/package/corpus/harnesses/pi/extensions/cratis-hooks/index.ts +3 -42
- package/package/corpus/harnesses/pi/extensions/cratis-path-guidance/index.ts +2 -2
- package/package/corpus/harnesses/pi/extensions/cratis-path-guidance/touchedPaths.ts +4 -4
- package/package/corpus/harnesses/pi/extensions/shared/rules.ts +4 -4
- package/package/corpus/hooks/README.md +23 -339
- package/package/corpus/hooks/scripts/cratis-guard-secrets.sh +132 -11
- package/package/corpus/hooks/scripts/cratis-pattern-scan.sh +46 -207
- package/package/corpus/hooks/scripts/cratis-quality-gate.sh +0 -6
- package/package/corpus/hooks/scripts/hook-lib.sh +5 -57
- package/package/corpus/hooks/scripts/quality-gates.json +3 -4
- package/package/corpus/hooks/settings.template.json +6 -5
- package/package/corpus/rules/ai-distribution.md +35 -32
- package/package/corpus/rules/authoring-skills.md +53 -72
- package/package/corpus/rules/browser.md +8 -7
- package/package/corpus/rules/code-health-policy.txt +27 -0
- package/package/corpus/rules/code-health.md +1 -24
- package/package/corpus/rules/code-quality.csharp.md +3 -3
- package/package/corpus/rules/code-quality.md +0 -30
- package/package/corpus/rules/code-quality.typescript.md +1 -1
- package/package/corpus/rules/codescene.md +11 -7
- package/package/corpus/rules/components.md +5 -288
- package/package/corpus/rules/concepts.md +2 -130
- package/package/corpus/rules/criticality-tiers.md +2 -2
- package/package/corpus/rules/csharp.md +6 -75
- package/package/corpus/rules/dialogs.md +2 -269
- package/package/corpus/rules/discoverability.md +2 -2
- package/package/corpus/rules/documentation.md +3 -3
- package/package/corpus/rules/efcore.md +8 -28
- package/package/corpus/rules/efcore.specs.md +3 -4
- package/package/corpus/rules/elixir.md +6 -35
- package/package/corpus/rules/exit-codes-and-wrappers.md +6 -6
- package/package/corpus/rules/framework-dotnet.md +16 -0
- package/package/corpus/rules/framework.md +9 -45
- package/package/corpus/rules/frontend-quality.md +5 -49
- package/package/corpus/rules/frontend-testing.md +2 -117
- package/package/corpus/rules/general.md +38 -178
- package/package/corpus/rules/github-actions.md +8 -9
- package/package/corpus/rules/glossary.md +4 -15
- package/package/corpus/rules/go-engineering.md +1 -5
- package/package/corpus/rules/go.md +7 -9
- package/package/corpus/rules/guards-and-fuses.md +7 -6
- package/package/corpus/rules/issue-assignment.md +5 -2
- package/package/corpus/rules/java.md +4 -4
- package/package/corpus/rules/kotlin.md +5 -5
- package/package/corpus/rules/local-verification-and-delivery.md +7 -2
- package/package/corpus/rules/local-work-artifacts.md +9 -7
- package/package/corpus/rules/new-repository-intake.md +3 -1
- package/package/corpus/rules/operational-safety.md +19 -13
- package/package/corpus/rules/orleans.md +6 -5
- package/package/corpus/rules/profiles.md +43 -438
- package/package/corpus/rules/published-contracts.md +3 -4
- package/package/corpus/rules/react.md +2 -176
- package/package/corpus/rules/reactors.md +7 -334
- package/package/corpus/rules/review-reports.md +6 -6
- package/package/corpus/rules/specs.csharp.md +35 -29
- package/package/corpus/rules/specs.elixir.md +22 -164
- package/package/corpus/rules/specs.md +4 -143
- package/package/corpus/rules/specs.scenarios.csharp.md +2 -307
- package/package/corpus/rules/specs.typescript.md +7 -131
- package/package/corpus/rules/storybook.md +1 -6
- package/package/corpus/rules/typescript.md +5 -54
- package/package/corpus/rules/verification-discipline.md +10 -16
- package/package/corpus/rules/vertical-slices.md +5 -451
- package/package/corpus/rules/writing-cratis-docs.md +1 -1
- package/package/corpus/skills/analyzing-dotnet-performance/SKILL.md +7 -7
- package/package/corpus/skills/check-bin-obj-clash/SKILL.md +1 -1
- package/package/corpus/skills/coverage-analysis/SKILL.md +3 -3
- package/package/corpus/skills/cratis-application-growth/SKILL.md +17 -22
- package/package/corpus/skills/cratis-application-growth/references/rename-window.md +1 -2
- package/package/corpus/skills/cratis-application-growth/references/stages.md +39 -0
- package/package/corpus/skills/cratis-arc-authorize-request/SKILL.md +35 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/csharp.md +69 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/go.md +5 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/java.md +5 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/kotlin.md +25 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/typescript.md +11 -0
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/SKILL.md +1 -2
- package/package/corpus/skills/cratis-arc-connect-storage/SKILL.md +28 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp.md +98 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/go.md +5 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/java.md +5 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/typescript.md +7 -0
- package/package/corpus/skills/cratis-arc-declare-command/SKILL.md +34 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp.md +111 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/elixir.md +19 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/go.md +51 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/java.md +27 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/kotlin.md +43 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/typescript.md +54 -0
- package/package/corpus/skills/cratis-arc-declare-operation/SKILL.md +42 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp.md +79 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/elixir.md +3 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/go.md +11 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/java.md +3 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/kotlin.md +3 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/typescript.md +15 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/SKILL.md +40 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/csharp.md +74 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/go.md +3 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/java.md +3 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/kotlin.md +3 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/scripts/check-frames.mjs +29 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/SKILL.md +91 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/custom-exposure-and-audit.md +19 -0
- package/package/corpus/skills/cratis-arc-expose-query/SKILL.md +30 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/csharp.md +51 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/elixir.md +7 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/go.md +27 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/java.md +14 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/typescript.md +32 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/SKILL.md +18 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/csharp.md +50 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/go.md +3 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/java.md +3 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin.md +7 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/typescript.md +22 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/scripts/check-proxy.mjs +24 -0
- package/package/corpus/skills/cratis-arc-host-application/SKILL.md +21 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-configuration.md +44 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp.md +76 -0
- package/package/corpus/skills/cratis-arc-host-application/references/elixir.md +35 -0
- package/package/corpus/skills/cratis-arc-host-application/references/go.md +5 -0
- package/package/corpus/skills/cratis-arc-host-application/references/java.md +7 -0
- package/package/corpus/skills/cratis-arc-host-application/references/kotlin.md +7 -0
- package/package/corpus/skills/cratis-arc-host-application/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-host-application/references/typescript.md +43 -0
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +3 -8
- package/package/corpus/skills/cratis-arc-invoke-command/SKILL.md +29 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/csharp.md +60 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/elixir.md +3 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/go.md +5 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/java.md +5 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/kotlin.md +26 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/typescript.md +27 -0
- package/package/corpus/skills/cratis-arc-isolate-tenant/SKILL.md +23 -0
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/csharp.md +53 -0
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/go.md +5 -0
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/java.md +19 -0
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/kotlin.md +16 -0
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/SKILL.md +45 -0
- package/package/corpus/skills/cratis-arc-page-query/SKILL.md +29 -0
- package/package/corpus/skills/cratis-arc-page-query/references/csharp.md +48 -0
- package/package/corpus/skills/cratis-arc-page-query/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-arc-page-query/references/go.md +9 -0
- package/package/corpus/skills/cratis-arc-page-query/references/java.md +9 -0
- package/package/corpus/skills/cratis-arc-page-query/references/kotlin.md +11 -0
- package/package/corpus/skills/cratis-arc-page-query/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-page-query/references/typescript.md +12 -0
- package/package/corpus/skills/cratis-arc-page-query/scripts/check-pages.mjs +32 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/SKILL.md +76 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/commands.md +88 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/csharp.md +9 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/identity.md +7 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/kotlin.md +9 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/manual-screen.md +10 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/query-state.md +29 -0
- package/package/corpus/skills/cratis-arc-react-separate-view-model/SKILL.md +70 -0
- package/package/corpus/skills/cratis-arc-react-separate-view-model/references/react-routing-and-messaging.md +45 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/SKILL.md +15 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/csharp.md +5 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/elixir.md +21 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/go.md +38 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/java.md +14 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/kotlin.md +14 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/typescript.md +21 -0
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/SKILL.md +14 -19
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/read-model-naming.md +3 -0
- package/package/corpus/skills/cratis-arc-storage-typescript/SKILL.md +3 -5
- package/package/corpus/skills/cratis-arc-tenancy-typescript/SKILL.md +3 -3
- package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +2 -9
- package/package/corpus/skills/cratis-arc-testing-typescript/SKILL.md +4 -7
- package/package/corpus/skills/cratis-arc-validate-command/SKILL.md +33 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/csharp.md +68 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/go.md +3 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/java.md +14 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/kotlin.md +3 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/typescript.md +3 -0
- package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +4 -14
- package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +9 -22
- package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +5 -18
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +4 -15
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/project-tooling.md +2 -4
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/recovery-and-comparison.md +1 -1
- package/package/corpus/skills/cratis-chronicle-connect-application/SKILL.md +21 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp.md +58 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/go.md +5 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/java.md +3 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/typescript.md +11 -0
- package/package/corpus/skills/cratis-chronicle-constrain-append/SKILL.md +19 -0
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/csharp.md +47 -0
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/go.md +5 -0
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/java.md +3 -0
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/typescript.md +3 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/SKILL.md +52 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/storage.md +29 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/webhooks.md +5 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/SKILL.md +23 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/bulk-repair.md +7 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/csharp.md +66 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/deployed-readers.md +37 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/go.md +3 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/java.md +3 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/kotlin.md +3 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/typescript.md +3 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/SKILL.md +23 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/csharp.md +61 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/elixir.md +10 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/go.md +5 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/java.md +5 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/typescript.md +13 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/scripts/summarize-failure.mjs +36 -0
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +11 -29
- 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 +15 -20
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +28 -37
- package/package/corpus/skills/cratis-chronicle-project-view/SKILL.md +19 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp.md +77 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir.md +71 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/go.md +3 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/java.md +3 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/typescript.md +44 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/SKILL.md +19 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp.md +96 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/elixir.md +30 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/go.md +21 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/java.md +5 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/kotlin.md +23 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/standalone.md +31 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/typescript.md +11 -0
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/SKILL.md +21 -0
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/csharp.md +73 -0
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/go.md +3 -0
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/java.md +3 -0
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/SKILL.md +19 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp.md +74 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir.md +25 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/go.md +3 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/java.md +3 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/kotlin.md +3 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/typescript.md +3 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/SKILL.md +19 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp.md +75 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/elixir.md +15 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/go.md +5 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/java.md +5 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/kotlin.md +7 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/occurrences.md +24 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/typescript.md +16 -0
- package/package/corpus/skills/cratis-chronicle-record-event/SKILL.md +21 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp.md +122 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir.md +33 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/go.md +3 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/java.md +20 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin.md +38 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-chronicle-reduce-state/SKILL.md +21 -0
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/csharp.md +42 -0
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/elixir.md +3 -0
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/go.md +5 -0
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/java.md +3 -0
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/typescript.md +3 -0
- package/package/corpus/skills/cratis-chronicle-select-client/SKILL.md +21 -0
- package/package/corpus/skills/cratis-chronicle-select-client/references/csharp.md +9 -0
- package/package/corpus/skills/cratis-chronicle-select-client/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-chronicle-select-client/references/go.md +9 -0
- package/package/corpus/skills/cratis-chronicle-select-client/references/java.md +18 -0
- package/package/corpus/skills/cratis-chronicle-select-client/references/kotlin.md +9 -0
- package/package/corpus/skills/cratis-chronicle-select-client/references/python.md +27 -0
- package/package/corpus/skills/cratis-chronicle-select-client/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +14 -24
- package/package/corpus/skills/cratis-ci-pipeline-performance/NOTICE +24 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/SKILL.md +14 -17
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/build-once-and-shard.md +2 -3
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/publish-pipelines.md +2 -2
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/required-checks-and-path-filters.md +3 -3
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/runner-sizing-and-images.md +5 -5
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/security-and-pinning.md +2 -2
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/test-setup-cost.md +17 -15
- package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +1 -9
- package/package/corpus/skills/cratis-code-review/SKILL.md +43 -68
- package/package/corpus/skills/cratis-commits-and-pull-requests/SKILL.md +16 -37
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/commits.md +11 -2
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-description.md +9 -103
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-labels-and-release.md +4 -85
- package/package/corpus/skills/cratis-components-accessibility/SKILL.md +2 -6
- package/package/corpus/skills/cratis-components-build-canvas/SKILL.md +48 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/pixi-items.md +15 -0
- package/package/corpus/skills/cratis-components-choose-control/SKILL.md +45 -0
- package/package/corpus/skills/cratis-components-choose-control/references/collections.md +7 -0
- package/package/corpus/skills/cratis-components-choose-control/references/inputs.md +3 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/SKILL.md +43 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/SKILL.md +76 -0
- package/package/corpus/skills/cratis-components-display-list/SKILL.md +54 -0
- package/package/corpus/skills/cratis-components-display-list/references/server-query.md +21 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/SKILL.md +77 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/controlled-editor.md +9 -0
- package/package/corpus/skills/cratis-components-explore-data/SKILL.md +61 -0
- package/package/corpus/skills/cratis-components-host-chat/SKILL.md +51 -0
- package/package/corpus/skills/cratis-components-submit-form/SKILL.md +76 -0
- package/package/corpus/skills/cratis-components-submit-form/references/confirmation.md +9 -0
- package/package/corpus/skills/cratis-components-submit-form/references/wizard.md +9 -0
- package/package/corpus/skills/cratis-components-theme-application/SKILL.md +99 -0
- package/package/corpus/skills/cratis-components-theme-application/references/renderer-adapters.md +5 -0
- package/package/corpus/skills/cratis-content-length/references/length-evidence.md +1 -1
- package/package/corpus/skills/cratis-discoverability/SKILL.md +9 -10
- package/package/corpus/skills/cratis-documentation-writing/SKILL.md +9 -11
- package/package/corpus/skills/cratis-documentation-writing/references/cratis-site.md +5 -5
- package/package/corpus/skills/cratis-documentation-writing/references/reader-review.md +1 -1
- package/package/corpus/skills/cratis-documentation-writing/references/writing-guidance.md +4 -4
- package/package/corpus/skills/cratis-engineering-ci-gates/SKILL.md +29 -58
- package/package/corpus/skills/cratis-engineering-consolidation-guard/SKILL.md +3 -5
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/ci-required-check.md +2 -2
- package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +1 -1
- package/package/corpus/skills/cratis-engineering-decision-record/SKILL.md +9 -9
- package/package/corpus/skills/cratis-engineering-decision-record/references/record-format.md +1 -1
- package/package/corpus/skills/cratis-engineering-docs-authoring/SKILL.md +5 -5
- package/package/corpus/skills/cratis-engineering-docs-authoring/references/explaining-code.md +1 -1
- package/package/corpus/skills/cratis-engineering-docs-authoring/references/site-format.md +1 -1
- package/package/corpus/skills/cratis-engineering-effect-boundaries/SKILL.md +3 -3
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +8 -0
- package/package/corpus/skills/cratis-engineering-inherited-work/SKILL.md +3 -3
- package/package/corpus/skills/cratis-engineering-issue-design-note/SKILL.md +5 -7
- package/package/corpus/skills/cratis-engineering-issue-hygiene/SKILL.md +10 -14
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/SKILL.md +6 -7
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dotnet-nuget.md +9 -6
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/other-environments.md +4 -1
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/worked-examples.md +2 -2
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/scripts/cratis-local-packages.sh +13 -10
- package/package/corpus/skills/cratis-engineering-post-mortem/SKILL.md +6 -7
- package/package/corpus/skills/cratis-engineering-regression-cluster/SKILL.md +7 -13
- package/package/corpus/skills/cratis-engineering-release-trains/SKILL.md +23 -28
- package/package/corpus/skills/cratis-engineering-review-rounds/SKILL.md +15 -13
- package/package/corpus/skills/cratis-environments-and-secrets/SKILL.md +4 -9
- package/package/corpus/skills/cratis-event-model-diagram/LICENSE +1 -1
- package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +10 -27
- package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +3 -8
- package/package/corpus/skills/cratis-fundamentals-name-value/SKILL.md +20 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp.md +56 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/elixir.md +11 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/go.md +11 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/java.md +14 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/kotlin.md +3 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/python.md +3 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/typescript.md +21 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +12 -23
- package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +1 -1
- package/package/corpus/skills/cratis-governed-release-methodology/SKILL.md +10 -9
- package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +7 -20
- package/package/corpus/skills/cratis-llm-friendly-documentation/SKILL.md +3 -3
- package/package/corpus/skills/cratis-modeling-design-event-model/SKILL.md +33 -0
- package/package/corpus/skills/cratis-modeling-design-event-model/references/review-one-slice.md +38 -0
- package/package/corpus/skills/cratis-modeling-discover-timeline/SKILL.md +28 -0
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/discovery-questions.md +16 -0
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/group-and-document-intake.md +5 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/SKILL.md +21 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/implementation-findings.md +23 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/model-findings.md +27 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/resilience-review.md +5 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/SKILL.md +49 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/blackbox-intake.md +13 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/recovery-inputs.md +11 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/resuming-a-trace.md +9 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/side-car-migration.md +7 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/SKILL.md +10 -13
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/docker-compose.md +3 -4
- package/package/corpus/skills/cratis-observability/SKILL.md +10 -102
- package/package/corpus/skills/cratis-observability/references/arc-and-chronicle-signals.md +2 -2
- package/package/corpus/skills/cratis-observability/references/chronicle-kernel-export.md +5 -5
- package/package/corpus/skills/cratis-observability/references/csharp.md +97 -0
- package/package/corpus/skills/cratis-observability/references/dotnet-setup-and-options.md +2 -2
- package/package/corpus/skills/cratis-observability/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-observability/references/troubleshooting.md +5 -1
- package/package/corpus/skills/cratis-onboarding-runtime/SKILL.md +7 -7
- package/package/corpus/skills/cratis-orchestration-lanes/SKILL.md +18 -21
- package/package/corpus/skills/cratis-orchestration-lanes/references/inbox-and-handover.md +1 -2
- package/package/corpus/skills/cratis-orchestration-lanes/references/placeholders.md +1 -1
- package/package/corpus/skills/cratis-orchestration-merge-gates/SKILL.md +1 -2
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/unattended-guards.md +3 -5
- package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +1 -5
- package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +11 -11
- package/package/corpus/skills/cratis-performance-review/SKILL.md +20 -18
- package/package/corpus/skills/cratis-platform-configure-environment/SKILL.md +51 -0
- package/package/corpus/skills/cratis-platform-contribute-change/SKILL.md +16 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/SKILL.md +23 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/contract-reconciliation.md +9 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/coordinate-slices.md +7 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/SKILL.md +38 -0
- package/package/corpus/skills/cratis-platform-prepare-release-pr/SKILL.md +30 -0
- package/package/corpus/skills/cratis-platform-start-application/SKILL.md +38 -0
- package/package/corpus/skills/cratis-platform-start-application/references/csharp.md +37 -0
- package/package/corpus/skills/cratis-platform-start-application/references/java.md +16 -0
- package/package/corpus/skills/cratis-platform-start-application/references/kotlin.md +16 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/SKILL.md +23 -0
- package/package/corpus/skills/cratis-release-notes/SKILL.md +22 -17
- package/package/corpus/skills/cratis-rtk/SKILL.md +2 -3
- package/package/corpus/skills/cratis-screenplay-accept-model/SKILL.md +31 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/capability-consumption.md +18 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/coverage-obligations.md +15 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/diagnostic-decisions.md +25 -0
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/SKILL.md +6 -7
- package/package/corpus/skills/cratis-screenplay-author-extension/SKILL.md +29 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/consume.md +14 -0
- package/package/corpus/skills/cratis-screenplay-availability/SKILL.md +5 -12
- package/package/corpus/skills/cratis-screenplay-declare-slice/SKILL.md +108 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/projection-replay.md +31 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/read-identity.md +12 -0
- package/package/corpus/skills/cratis-screenplay-edit-workspace/SKILL.md +41 -0
- package/package/corpus/skills/cratis-screenplay-edit-workspace/references/model-notes.md +33 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/SKILL.md +48 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/ordering.md +7 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/unknown-preserving-reader.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/SKILL.md +113 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/external-effects.md +13 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/host-trigger.md +17 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-boundaries.md +15 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/statemachines-and-workflows.md +54 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/SKILL.md +94 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp-performers.md +18 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/decision-inputs.md +23 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/localized-strings.md +17 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/shell-and-data.md +16 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-translation/SKILL.md +123 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/SKILL.md +36 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/version-migration.md +12 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/SKILL.md +35 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/csharp.md +11 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/ground-truth-benchmark.md +6 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/running-system.md +7 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/SKILL.md +144 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/coverage-worksheet.md +15 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/graph-steps.md +40 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/host-body-execution.md +12 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/named-cases.md +16 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/observable-result.md +39 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/query-rejections.md +28 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +33 -92
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +8 -14
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +15 -19
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +36 -51
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +3 -4
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +12 -29
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/multi-service-models.md +5 -17
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/neighbouring-skills.md +7 -8
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/read-model-keys.md +6 -13
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-id-rules.md +2 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +6 -8
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +3 -22
- package/package/corpus/skills/cratis-security-review/SKILL.md +24 -22
- package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +2 -16
- package/package/corpus/skills/cratis-session-handoff/SKILL.md +15 -14
- package/package/corpus/skills/cratis-session-handoff/references/handoff-template.md +6 -8
- package/package/corpus/skills/cratis-showrunner-herald/SKILL.md +5 -6
- package/package/corpus/skills/cratis-social-feed-post/SKILL.md +2 -2
- package/package/corpus/skills/cratis-social-feed-post/references/engagement-evidence.md +1 -1
- package/package/corpus/skills/cratis-specifications-exercise-backend/SKILL.md +52 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-command-results.md +59 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-decision-reads.md +59 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-integration.md +114 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-query-scenario.md +20 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp.md +60 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/elixir.md +63 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/go.md +124 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/java.md +13 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/kotlin.md +14 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/typescript.md +84 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/SKILL.md +52 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp-phase-timings.md +13 -0
- package/package/corpus/skills/cratis-specifications-observe-ui/SKILL.md +59 -0
- package/package/corpus/skills/cratis-specifications-test-application-ui/SKILL.md +17 -0
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-command-results.md +7 -0
- package/package/corpus/skills/cratis-specifications-test-typescript-behavior/SKILL.md +19 -0
- package/package/corpus/skills/cratis-stage-render-slice/SKILL.md +28 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/review-render-plan.md +21 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/SKILL.md +21 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-spec-runner.md +15 -0
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +1 -9
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/blocked-tools.md +0 -1
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/observational-tools.md +0 -1
- package/package/corpus/skills/cratis-technical-examples/SKILL.md +17 -16
- package/package/corpus/skills/cratis-technical-examples/references/csharp-package-checks.md +8 -0
- package/package/corpus/skills/cratis-technical-examples/references/typescript-package-checks.md +8 -0
- package/package/corpus/skills/cratis-ux-review/SKILL.md +7 -4
- package/package/corpus/skills/cratis-ux-review/references/checklist.md +1 -1
- package/package/corpus/skills/cratis-ux-review/references/report-template.md +2 -2
- package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +8 -7
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/ai-tells.md +2 -2
- package/package/corpus/skills/dotnet-aot-compat/SKILL.md +1 -1
- package/package/corpus/skills/dotnet-trace-collect/SKILL.md +5 -5
- package/package/corpus/skills/dump-collect/SKILL.md +3 -3
- package/package/corpus/skills/eliminate-redundant-restores/SKILL.md +1 -1
- package/package/corpus/skills/exp-mock-usage-analysis/SKILL.md +1 -1
- package/package/corpus/skills/filter-syntax/SKILL.md +2 -2
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/SKILL.md +1 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/aspnetcore-dotnet10to11.md +0 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/core-libraries-dotnet10to11.md +0 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/cryptography-dotnet10to11.md +0 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/csharp-compiler-dotnet10to11.md +1 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/efcore-dotnet10to11.md +0 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/runtime-jit-dotnet10to11.md +0 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/sdk-msbuild-dotnet10to11.md +0 -1
- package/package/corpus/skills/msbuild/SKILL.md +3 -3
- package/package/corpus/skills/msbuild/references/build-perf-baseline.md +1 -1
- package/package/corpus/skills/msbuild/references/build-perf-diagnostics.md +1 -1
- package/package/corpus/skills/platform-detection/SKILL.md +1 -1
- package/package/corpus/skills/profiling/SKILL.md +2 -2
- package/package/corpus/skills/run-tests/SKILL.md +2 -2
- package/package/profile-catalog.json +1261 -160
- package/package.json +2 -8
- package/src/index.ts +2 -5
- package/package/corpus/agents/backend-developer.md +0 -141
- package/package/corpus/agents/browser-operator.md +0 -44
- package/package/corpus/agents/code-reviewer.md +0 -170
- package/package/corpus/agents/coordinator.md +0 -180
- package/package/corpus/agents/frontend-developer.md +0 -254
- package/package/corpus/agents/orchestrator.md +0 -216
- package/package/corpus/agents/performance-reviewer.md +0 -82
- package/package/corpus/agents/planner.md +0 -170
- package/package/corpus/agents/post-mortem.md +0 -78
- package/package/corpus/agents/repository-investigation-reviewer.md +0 -56
- package/package/corpus/agents/repository-investigator.md +0 -51
- package/package/corpus/agents/screenplay-modeler.md +0 -76
- package/package/corpus/agents/screenplay-renderer.md +0 -60
- package/package/corpus/agents/screenplay-reviewer.md +0 -64
- package/package/corpus/agents/security-reviewer.md +0 -94
- package/package/corpus/agents/slice-implementer.md +0 -116
- package/package/corpus/agents/spec-writer.md +0 -166
- package/package/corpus/harnesses/copilot/instructions/application-anatomy.instructions.md +0 -143
- package/package/corpus/harnesses/copilot/instructions/application-profile.instructions.md +0 -95
- package/package/corpus/harnesses/copilot/instructions/authentication-boundary.instructions.md +0 -84
- package/package/corpus/harnesses/copilot/instructions/capability-is-not-authority.instructions.md +0 -65
- package/package/corpus/harnesses/copilot/instructions/fast-feedback.instructions.md +0 -50
- package/package/corpus/harnesses/copilot/instructions/git-commits.instructions.md +0 -46
- package/package/corpus/harnesses/copilot/instructions/mongodb.instructions.md +0 -67
- package/package/corpus/harnesses/copilot/instructions/observability.instructions.md +0 -42
- package/package/corpus/harnesses/copilot/instructions/pull-requests.instructions.md +0 -38
- package/package/corpus/harnesses/copilot/instructions/rtk.instructions.md +0 -13
- package/package/corpus/harnesses/copilot/instructions/secrets.instructions.md +0 -56
- package/package/corpus/harnesses/copilot/instructions/web-fetching.instructions.md +0 -12
- package/package/corpus/harnesses/pi/agents/backend-developer.md +0 -136
- package/package/corpus/harnesses/pi/agents/coordinator.md +0 -176
- package/package/corpus/harnesses/pi/agents/frontend-developer.md +0 -249
- package/package/corpus/harnesses/pi/agents/orchestrator.md +0 -212
- package/package/corpus/harnesses/pi/agents/planner.md +0 -166
- package/package/corpus/harnesses/pi/agents/post-mortem.md +0 -75
- package/package/corpus/harnesses/pi/agents/repository-investigation-reviewer.md +0 -54
- package/package/corpus/harnesses/pi/agents/repository-investigator.md +0 -48
- package/package/corpus/harnesses/pi/agents/screenplay-modeler.md +0 -71
- package/package/corpus/harnesses/pi/agents/screenplay-renderer.md +0 -57
- package/package/corpus/harnesses/pi/agents/screenplay-reviewer.md +0 -61
- package/package/corpus/harnesses/pi/agents/spec-writer.md +0 -161
- package/package/corpus/harnesses/pi/extensions/subagent/agents.ts +0 -152
- package/package/corpus/harnesses/pi/extensions/subagent/delegation.ts +0 -40
- package/package/corpus/harnesses/pi/extensions/subagent/index.ts +0 -431
- package/package/corpus/harnesses/pi/extensions/subagent/modelTiers.ts +0 -123
- package/package/corpus/harnesses/pi/extensions/subagent/tool-names.ts +0 -77
- package/package/corpus/hooks/agent-stop.md +0 -46
- package/package/corpus/hooks/pre-commit.md +0 -47
- package/package/corpus/hooks/scripts/cratis-check-handoff.mjs +0 -307
- package/package/corpus/hooks/scripts/cratis-nuget-pins.txt +0 -18
- package/package/corpus/hooks/scripts/cratis-patterns.json +0 -116
- package/package/corpus/hooks/scripts/cratis-slice-scope-report.sh +0 -55
- package/package/corpus/hooks/scripts/type-references-allowlist.txt +0 -71
- package/package/corpus/hooks/scripts/validate-package-imports.sh +0 -166
- package/package/corpus/hooks/scripts/validate-package-subpaths.sh +0 -119
- package/package/corpus/hooks/scripts/validate-type-references.sh +0 -308
- package/package/corpus/product-sync.json +0 -945
- package/package/corpus/prompts/add-business-rule.prompt.md +0 -22
- package/package/corpus/prompts/add-concept.prompt.md +0 -17
- package/package/corpus/prompts/add-ef-migration.prompt.md +0 -24
- package/package/corpus/prompts/add-projection.prompt.md +0 -21
- package/package/corpus/prompts/add-reactor.prompt.md +0 -24
- package/package/corpus/prompts/add-reducer.prompt.md +0 -22
- package/package/corpus/prompts/audit-hooks.prompt.md +0 -15
- package/package/corpus/prompts/check-doc-drift.prompt.md +0 -21
- package/package/corpus/prompts/code-review.prompt.md +0 -10
- package/package/corpus/prompts/new-feature.prompt.md +0 -9
- package/package/corpus/prompts/new-vertical-slice.prompt.md +0 -29
- package/package/corpus/prompts/pre-publish-check.prompt.md +0 -26
- package/package/corpus/prompts/reverse-engineer.prompt.md +0 -50
- package/package/corpus/prompts/review-pr.prompt.md +0 -31
- package/package/corpus/prompts/review-skill.prompt.md +0 -14
- package/package/corpus/prompts/scaffold-feature.prompt.md +0 -16
- package/package/corpus/prompts/ship-changes.prompt.md +0 -98
- package/package/corpus/prompts/verify-ai-setup.prompt.md +0 -29
- package/package/corpus/prompts/write-documentation.prompt.md +0 -57
- package/package/corpus/prompts/write-specs.prompt.md +0 -28
- package/package/corpus/rules/application-anatomy.md +0 -142
- package/package/corpus/rules/application-profile.md +0 -94
- package/package/corpus/rules/authentication-boundary.md +0 -83
- package/package/corpus/rules/capability-is-not-authority.md +0 -64
- package/package/corpus/rules/fast-feedback.md +0 -49
- package/package/corpus/rules/git-commits.md +0 -45
- package/package/corpus/rules/mongodb.md +0 -66
- package/package/corpus/rules/observability.md +0 -41
- package/package/corpus/rules/pull-requests.md +0 -37
- package/package/corpus/rules/rtk.md +0 -12
- package/package/corpus/rules/secrets.md +0 -55
- package/package/corpus/rules/web-fetching.md +0 -11
- package/package/corpus/skills/cratis-application-growth/verification.json +0 -14
- package/package/corpus/skills/cratis-application-react-specifications/LICENSE +0 -2
- package/package/corpus/skills/cratis-application-react-specifications/SKILL.md +0 -206
- package/package/corpus/skills/cratis-application-slice-conformance/LICENSE +0 -14
- package/package/corpus/skills/cratis-application-slice-conformance/SKILL.md +0 -190
- package/package/corpus/skills/cratis-application-slice-conformance/references/build-prompts.md +0 -186
- package/package/corpus/skills/cratis-application-slice-conformance/references/checklists.md +0 -126
- package/package/corpus/skills/cratis-application-slice-conformance/references/contract-and-precedence.md +0 -47
- package/package/corpus/skills/cratis-application-slice-conformance/references/provenance.md +0 -43
- package/package/corpus/skills/cratis-application-slice-conformance/references/worked-example.md +0 -93
- package/package/corpus/skills/cratis-application-slice-conformance/verification.json +0 -46
- package/package/corpus/skills/cratis-application-slice-specifications/LICENSE +0 -13
- package/package/corpus/skills/cratis-application-slice-specifications/SKILL.md +0 -310
- package/package/corpus/skills/cratis-application-slice-specifications/references/command-result-assertions.md +0 -36
- package/package/corpus/skills/cratis-application-slice-specifications/references/provenance.md +0 -28
- package/package/corpus/skills/cratis-application-slice-specifications/references/query-and-decision-scenarios.md +0 -163
- package/package/corpus/skills/cratis-application-slice-specifications/references/reading-play-specifications.md +0 -30
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/SKILL.md +0 -302
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authentication.md +0 -208
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authorization.md +0 -429
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authproxy.md +0 -82
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/command-identity.md +0 -194
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/frontend.md +0 -136
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/identity-endpoints.md +0 -40
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/local-development.md +0 -95
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/observable-emission-guards.md +0 -127
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/product-sources.md +0 -37
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/tenancy.md +0 -113
- package/package/corpus/skills/cratis-arc-command/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-command/SKILL.md +0 -304
- package/package/corpus/skills/cratis-arc-command/references/causation-details.md +0 -26
- package/package/corpus/skills/cratis-arc-command/references/client-contract.md +0 -16
- package/package/corpus/skills/cratis-arc-command/references/command-result.md +0 -206
- package/package/corpus/skills/cratis-arc-command/references/decisions-and-routing.md +0 -217
- package/package/corpus/skills/cratis-arc-command/references/event-source-id-details.md +0 -13
- package/package/corpus/skills/cratis-arc-command/references/fresh-identifiers.md +0 -113
- package/package/corpus/skills/cratis-arc-command/references/generated-values.md +0 -149
- package/package/corpus/skills/cratis-arc-command/references/generation-boundaries.md +0 -8
- package/package/corpus/skills/cratis-arc-command/references/handler-shapes.md +0 -193
- package/package/corpus/skills/cratis-arc-command/references/product-sources.md +0 -16
- package/package/corpus/skills/cratis-arc-command/references/provide-example.md +0 -43
- package/package/corpus/skills/cratis-arc-command/references/proxy-generation.md +0 -188
- package/package/corpus/skills/cratis-arc-command/references/read-model-injection.md +0 -142
- package/package/corpus/skills/cratis-arc-command/references/return-shape-examples.md +0 -24
- package/package/corpus/skills/cratis-arc-command/references/shop-generation.md +0 -120
- package/package/corpus/skills/cratis-arc-command-execution/LICENSE +0 -8
- package/package/corpus/skills/cratis-arc-command-execution/SKILL.md +0 -246
- package/package/corpus/skills/cratis-arc-command-execution/references/command-refusals.md +0 -65
- package/package/corpus/skills/cratis-arc-command-execution/references/occurrence-commands.md +0 -79
- package/package/corpus/skills/cratis-arc-command-kotlin/SKILL.md +0 -336
- package/package/corpus/skills/cratis-arc-command-kotlin/references/artifacts.md +0 -16
- package/package/corpus/skills/cratis-arc-command-kotlin/references/authorization-override-example.md +0 -17
- package/package/corpus/skills/cratis-arc-command-kotlin/references/project-setup.md +0 -40
- package/package/corpus/skills/cratis-arc-command-kotlin/references/read-model-naming.md +0 -29
- package/package/corpus/skills/cratis-arc-command-operation/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-command-operation/SKILL.md +0 -282
- package/package/corpus/skills/cratis-arc-command-operation/references/execution-and-recovery.md +0 -241
- package/package/corpus/skills/cratis-arc-command-operation/references/testing.md +0 -261
- package/package/corpus/skills/cratis-arc-command-operation/verification.json +0 -19
- package/package/corpus/skills/cratis-arc-command-typescript/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-command-typescript/SKILL.md +0 -340
- package/package/corpus/skills/cratis-arc-command-typescript/references/chronicle-events.md +0 -175
- package/package/corpus/skills/cratis-arc-command-typescript/references/command-operations.md +0 -114
- package/package/corpus/skills/cratis-arc-command-typescript/references/command-pipeline.md +0 -137
- package/package/corpus/skills/cratis-arc-command-typescript/references/command-specifications.md +0 -63
- package/package/corpus/skills/cratis-arc-command-typescript/references/configuration.md +0 -83
- package/package/corpus/skills/cratis-arc-command-typescript/references/hosting-and-storage.md +0 -219
- package/package/corpus/skills/cratis-arc-command-typescript/references/identity-and-introspection.md +0 -88
- package/package/corpus/skills/cratis-arc-command-typescript/references/observability-and-host-scopes.md +0 -25
- package/package/corpus/skills/cratis-arc-command-typescript/references/parameter-binding.md +0 -26
- package/package/corpus/skills/cratis-arc-command-typescript/references/project-setup.md +0 -94
- package/package/corpus/skills/cratis-arc-command-typescript/references/proxy-generation.md +0 -69
- package/package/corpus/skills/cratis-arc-command-typescript/references/proxy-generator-options.md +0 -90
- package/package/corpus/skills/cratis-arc-command-typescript/references/slice-layout.md +0 -30
- package/package/corpus/skills/cratis-arc-command-typescript/verification.json +0 -22
- package/package/corpus/skills/cratis-arc-command-validation/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-command-validation/SKILL.md +0 -327
- package/package/corpus/skills/cratis-arc-command-validation/references/input-binding.md +0 -66
- package/package/corpus/skills/cratis-arc-command-validation/references/protected-validator-construction.md +0 -98
- package/package/corpus/skills/cratis-arc-command-validation/references/read-model-resolution.md +0 -52
- package/package/corpus/skills/cratis-arc-command-validation/references/validation-severity.md +0 -21
- package/package/corpus/skills/cratis-arc-configuration/SKILL.md +0 -89
- package/package/corpus/skills/cratis-arc-configuration/references/arc-options.md +0 -93
- package/package/corpus/skills/cratis-arc-configuration/references/data-and-protection-keys.md +0 -54
- package/package/corpus/skills/cratis-arc-configuration/references/frontend-and-routes.md +0 -53
- package/package/corpus/skills/cratis-arc-configuration/references/symptoms.md +0 -23
- package/package/corpus/skills/cratis-arc-ef-core-migration/LICENSE +0 -8
- package/package/corpus/skills/cratis-arc-ef-core-migration/SKILL.md +0 -264
- package/package/corpus/skills/cratis-arc-elixir/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-elixir/SKILL.md +0 -130
- package/package/corpus/skills/cratis-arc-elixir/references/availability.md +0 -79
- package/package/corpus/skills/cratis-arc-elixir/references/commands-and-queries.md +0 -84
- package/package/corpus/skills/cratis-arc-elixir/references/event-model.md +0 -79
- package/package/corpus/skills/cratis-arc-elixir/references/hosting-and-testing.md +0 -57
- package/package/corpus/skills/cratis-arc-elixir/references/mongodb.md +0 -79
- package/package/corpus/skills/cratis-arc-elixir/references/observable-queries-and-hubs.md +0 -54
- package/package/corpus/skills/cratis-arc-elixir/references/pitfalls.md +0 -36
- package/package/corpus/skills/cratis-arc-elixir/references/product-sources.md +0 -15
- package/package/corpus/skills/cratis-arc-elixir/references/proxies-and-vertical-slices.md +0 -113
- package/package/corpus/skills/cratis-arc-elixir/references/tenancy-and-identity.md +0 -55
- package/package/corpus/skills/cratis-arc-elixir/verification.json +0 -70
- package/package/corpus/skills/cratis-arc-go/SKILL.md +0 -147
- package/package/corpus/skills/cratis-arc-go/references/queries.md +0 -80
- package/package/corpus/skills/cratis-arc-hosting/SKILL.md +0 -103
- package/package/corpus/skills/cratis-arc-hosting/references/availability.md +0 -115
- package/package/corpus/skills/cratis-arc-hosting/references/connection-resolution.md +0 -61
- package/package/corpus/skills/cratis-arc-hosting/references/integrations-and-publish.md +0 -80
- package/package/corpus/skills/cratis-arc-mcp/SKILL.md +0 -261
- package/package/corpus/skills/cratis-arc-mcp/references/setup-and-profiles.md +0 -191
- package/package/corpus/skills/cratis-arc-mcp/references/troubleshooting.md +0 -86
- package/package/corpus/skills/cratis-arc-neo4j/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-neo4j/SKILL.md +0 -166
- package/package/corpus/skills/cratis-arc-neo4j/references/connection-resolution-and-single-mode.md +0 -51
- package/package/corpus/skills/cratis-arc-observable-query-http/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-observable-query-http/SKILL.md +0 -212
- package/package/corpus/skills/cratis-arc-observable-query-http/verification.json +0 -12
- package/package/corpus/skills/cratis-arc-query-kotlin/SKILL.md +0 -244
- package/package/corpus/skills/cratis-arc-query-paging/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-query-paging/SKILL.md +0 -241
- package/package/corpus/skills/cratis-arc-query-paging/references/live-query-processing.md +0 -71
- package/package/corpus/skills/cratis-arc-query-typescript/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-query-typescript/SKILL.md +0 -307
- package/package/corpus/skills/cratis-arc-query-typescript/references/product-sources.md +0 -10
- package/package/corpus/skills/cratis-arc-query-typescript/references/query-pipeline.md +0 -125
- package/package/corpus/skills/cratis-arc-query-typescript/references/scenario-example.md +0 -23
- package/package/corpus/skills/cratis-arc-query-typescript/references/storage-examples.md +0 -52
- package/package/corpus/skills/cratis-arc-query-typescript/references/storage-observation-and-compliance.md +0 -66
- package/package/corpus/skills/cratis-arc-query-typescript/verification.json +0 -18
- package/package/corpus/skills/cratis-arc-react-page/LICENSE +0 -13
- package/package/corpus/skills/cratis-arc-react-page/SKILL.md +0 -344
- package/package/corpus/skills/cratis-arc-react-page/references/availability.md +0 -75
- package/package/corpus/skills/cratis-arc-react-page/references/data-page.md +0 -248
- package/package/corpus/skills/cratis-arc-react-page/references/data-tables.md +0 -167
- package/package/corpus/skills/cratis-arc-react-page/references/dialogs.md +0 -326
- package/package/corpus/skills/cratis-arc-react-page/references/from-screenplay.md +0 -220
- package/package/corpus/skills/cratis-arc-react-page/references/mvvm.md +0 -161
- package/package/corpus/skills/cratis-arc-react-page/references/provenance.md +0 -28
- package/package/corpus/skills/cratis-arc-react-page/references/queries-and-commands.md +0 -227
- package/package/corpus/skills/cratis-arc-react-page/verification.json +0 -20
- package/package/corpus/skills/cratis-arc-validation-typescript/verification.json +0 -14
- package/package/corpus/skills/cratis-chronicle-client-dotnet/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-client-dotnet/SKILL.md +0 -314
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/additional-surfaces.md +0 -85
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/append-outcomes.md +0 -78
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/client-construction.md +0 -42
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/compatibility-check.md +0 -38
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/connection-options.md +0 -99
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/discovery.md +0 -163
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/hosting.md +0 -82
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/immediate-append-refusal.md +0 -40
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/lifecycle.md +0 -40
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/occurrences.md +0 -89
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/pinned-generation-delivery.md +0 -124
- package/package/corpus/skills/cratis-chronicle-client-elixir/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-client-elixir/SKILL.md +0 -338
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/append-api.md +0 -50
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/captures.md +0 -43
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/client-options.md +0 -49
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/compliance.md +0 -34
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/connections.md +0 -60
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/constraints.md +0 -63
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/decision-reads.md +0 -75
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/discovery-and-generations.md +0 -56
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/event-sources.md +0 -66
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/graphs.md +0 -123
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/idioms-and-inspection.md +0 -35
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/observability.md +0 -37
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/patterns.md +0 -22
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/pitfalls.md +0 -33
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/product-sources.md +0 -10
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/projections.md +0 -80
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/reactor-example.md +0 -33
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/read-models.md +0 -41
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/testing.md +0 -76
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/upgrading.md +0 -68
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/variants.md +0 -76
- package/package/corpus/skills/cratis-chronicle-client-elixir/verification.json +0 -36
- package/package/corpus/skills/cratis-chronicle-client-go/SKILL.md +0 -170
- package/package/corpus/skills/cratis-chronicle-client-go/references/projections.md +0 -73
- package/package/corpus/skills/cratis-chronicle-client-kotlin/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-client-kotlin/SKILL.md +0 -313
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/annotations-and-handlers.md +0 -37
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/append-concurrency.md +0 -9
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/connection-lifecycle.md +0 -32
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/connection-string.md +0 -26
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/discovery-and-registration.md +0 -54
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/event-sources.md +0 -67
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/event-type-annotations.md +0 -9
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/fundamentals-migration.md +0 -48
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/java-api.md +0 -33
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/options.md +0 -29
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/product-sources.md +0 -13
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/read-models-and-projections.md +0 -29
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/spring-boot.md +0 -67
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/variants.md +0 -79
- package/package/corpus/skills/cratis-chronicle-client-typescript/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-client-typescript/SKILL.md +0 -325
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/connection-options.md +0 -52
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/lifecycle.md +0 -38
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/project-setup.md +0 -36
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/read-models-and-projections.md +0 -66
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/testing.md +0 -126
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/variants.md +0 -62
- package/package/corpus/skills/cratis-chronicle-client-typescript/verification.json +0 -19
- package/package/corpus/skills/cratis-chronicle-compliance/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-compliance/SKILL.md +0 -308
- package/package/corpus/skills/cratis-chronicle-configuration/SKILL.md +0 -87
- package/package/corpus/skills/cratis-chronicle-configuration/references/client-options.md +0 -80
- package/package/corpus/skills/cratis-chronicle-configuration/references/development-inner-loop.md +0 -77
- package/package/corpus/skills/cratis-chronicle-configuration/references/environment-variables.md +0 -66
- package/package/corpus/skills/cratis-chronicle-configuration/references/kernel-options.md +0 -87
- package/package/corpus/skills/cratis-chronicle-configuration/references/symptoms.md +0 -53
- package/package/corpus/skills/cratis-chronicle-decision-reads/SKILL.md +0 -208
- package/package/corpus/skills/cratis-chronicle-decision-reads/references/admission-and-ownership.md +0 -79
- package/package/corpus/skills/cratis-chronicle-decision-reads/references/choosing-how-a-rule-holds.md +0 -384
- package/package/corpus/skills/cratis-chronicle-decision-reads/verification.json +0 -12
- package/package/corpus/skills/cratis-chronicle-event-constraints/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-event-constraints/SKILL.md +0 -313
- package/package/corpus/skills/cratis-chronicle-event-constraints/references/closing-streams.md +0 -73
- package/package/corpus/skills/cratis-chronicle-event-constraints/references/storage-uniqueness.md +0 -28
- package/package/corpus/skills/cratis-chronicle-event-modeling/LICENSE +0 -7
- package/package/corpus/skills/cratis-chronicle-event-modeling/SKILL.md +0 -259
- package/package/corpus/skills/cratis-chronicle-event-modeling/references/event-log-cleanup-rollout.md +0 -53
- package/package/corpus/skills/cratis-chronicle-event-modeling/references/event-log-hygiene.md +0 -92
- package/package/corpus/skills/cratis-chronicle-event-specifications/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-event-specifications/SKILL.md +0 -234
- package/package/corpus/skills/cratis-chronicle-event-type-migration/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-event-type-migration/SKILL.md +0 -325
- package/package/corpus/skills/cratis-chronicle-event-type-migration/references/explicit-migrations.md +0 -46
- package/package/corpus/skills/cratis-chronicle-event-type-migration/references/pinned-generations.md +0 -119
- package/package/corpus/skills/cratis-chronicle-hosting/SKILL.md +0 -170
- package/package/corpus/skills/cratis-chronicle-hosting/references/clustering-and-schema.md +0 -84
- package/package/corpus/skills/cratis-chronicle-hosting/references/operations.md +0 -185
- package/package/corpus/skills/cratis-chronicle-hosting/references/production-checklist.md +0 -99
- package/package/corpus/skills/cratis-chronicle-hosting/references/sinks.md +0 -121
- package/package/corpus/skills/cratis-chronicle-hosting/references/storage-resolution.md +0 -85
- package/package/corpus/skills/cratis-chronicle-hosting/references/webhooks.md +0 -110
- package/package/corpus/skills/cratis-chronicle-hosting/verification.json +0 -22
- package/package/corpus/skills/cratis-chronicle-multi-tenancy/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-multi-tenancy/SKILL.md +0 -216
- package/package/corpus/skills/cratis-chronicle-multi-tenancy/references/remove-namespace.md +0 -38
- package/package/corpus/skills/cratis-chronicle-projection/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-projection/SKILL.md +0 -334
- package/package/corpus/skills/cratis-chronicle-projection/references/definition-changes.md +0 -86
- package/package/corpus/skills/cratis-chronicle-projection/references/dictionaries-set-once-ordering.md +0 -47
- package/package/corpus/skills/cratis-chronicle-projection/references/fluent-builder.md +0 -163
- package/package/corpus/skills/cratis-chronicle-projection/references/graph-projections.md +0 -184
- package/package/corpus/skills/cratis-chronicle-projection/references/model-bound-attributes.md +0 -159
- package/package/corpus/skills/cratis-chronicle-projection/references/variants.md +0 -196
- package/package/corpus/skills/cratis-chronicle-reactor/LICENSE +0 -13
- package/package/corpus/skills/cratis-chronicle-reactor/SKILL.md +0 -294
- package/package/corpus/skills/cratis-chronicle-reactor/references/cross-service-events.md +0 -20
- package/package/corpus/skills/cratis-chronicle-reactor/references/domain-failures.md +0 -19
- package/package/corpus/skills/cratis-chronicle-reactor/references/durable-side-effects.md +0 -123
- package/package/corpus/skills/cratis-chronicle-reactor/references/filtering.md +0 -34
- package/package/corpus/skills/cratis-chronicle-reactor/references/provenance.md +0 -29
- package/package/corpus/skills/cratis-chronicle-reactor/references/read-model-injection.md +0 -29
- package/package/corpus/skills/cratis-chronicle-reactor/references/return-event-metadata.md +0 -71
- package/package/corpus/skills/cratis-chronicle-reactor/references/slice-delivery-checklist.md +0 -131
- package/package/corpus/skills/cratis-chronicle-reactor/references/specifications.md +0 -182
- package/package/corpus/skills/cratis-chronicle-reactor/references/starting-and-replaying.md +0 -33
- package/package/corpus/skills/cratis-chronicle-read-model/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-read-model/SKILL.md +0 -297
- package/package/corpus/skills/cratis-chronicle-read-model/references/collection-observation.md +0 -49
- package/package/corpus/skills/cratis-chronicle-read-model/references/indexing.md +0 -44
- package/package/corpus/skills/cratis-chronicle-read-model/references/queries.md +0 -238
- package/package/corpus/skills/cratis-chronicle-read-model/references/sinks.md +0 -133
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/LICENSE +0 -9
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/SKILL.md +0 -288
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/references/provenance.md +0 -15
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/references/seeded-state.md +0 -35
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/references/view-lifecycle-checks.md +0 -82
- package/package/corpus/skills/cratis-chronicle-reducer/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-reducer/SKILL.md +0 -319
- package/package/corpus/skills/cratis-chronicle-reducer/references/filtering.md +0 -36
- package/package/corpus/skills/cratis-chronicle-reducer/references/instance-reducer-example.md +0 -20
- package/package/corpus/skills/cratis-chronicle-reducer/references/product-sources.md +0 -8
- package/package/corpus/skills/cratis-chronicle-reducer/references/replay-hooks-and-definition-changes.md +0 -42
- package/package/corpus/skills/cratis-chronicle-reducer/references/specification-example.md +0 -15
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/sources.md +0 -33
- package/package/corpus/skills/cratis-code-review/verification.json +0 -11
- package/package/corpus/skills/cratis-commits-and-pull-requests/verification.json +0 -11
- package/package/corpus/skills/cratis-components-common-controls/SKILL.md +0 -160
- package/package/corpus/skills/cratis-components-common-controls/verification.json +0 -15
- package/package/corpus/skills/cratis-components-data-surfaces/SKILL.md +0 -190
- package/package/corpus/skills/cratis-components-data-surfaces/references/query-table-updates.md +0 -51
- package/package/corpus/skills/cratis-components-data-surfaces/verification.json +0 -16
- package/package/corpus/skills/cratis-components-schema-editor/LICENSE +0 -2
- package/package/corpus/skills/cratis-components-schema-editor/SKILL.md +0 -252
- package/package/corpus/skills/cratis-components-schema-editor/references/tree-layout.md +0 -80
- package/package/corpus/skills/cratis-components-schema-editor/verification.json +0 -14
- package/package/corpus/skills/cratis-components-stepper-command-dialog/LICENSE +0 -2
- package/package/corpus/skills/cratis-components-stepper-command-dialog/SKILL.md +0 -237
- package/package/corpus/skills/cratis-components-styling/LICENSE +0 -8
- package/package/corpus/skills/cratis-components-styling/SKILL.md +0 -279
- package/package/corpus/skills/cratis-components-styling/references/renderer-adapters.md +0 -21
- package/package/corpus/skills/cratis-components-styling/verification.json +0 -13
- package/package/corpus/skills/cratis-components-toolbar/LICENSE +0 -2
- package/package/corpus/skills/cratis-components-toolbar/SKILL.md +0 -299
- package/package/corpus/skills/cratis-components-toolbar/verification.json +0 -12
- package/package/corpus/skills/cratis-content-length/verification.json +0 -19
- package/package/corpus/skills/cratis-developer-marketing/verification.json +0 -19
- package/package/corpus/skills/cratis-discoverability/verification.json +0 -37
- package/package/corpus/skills/cratis-documentation-writing/verification.json +0 -29
- package/package/corpus/skills/cratis-engineering-docs-authoring/verification.json +0 -12
- package/package/corpus/skills/cratis-engineering-inherited-work/verification.json +0 -16
- package/package/corpus/skills/cratis-engineering-issue-design-note/verification.json +0 -19
- package/package/corpus/skills/cratis-engineering-issue-hygiene/verification.json +0 -22
- package/package/corpus/skills/cratis-engineering-post-mortem/verification.json +0 -13
- package/package/corpus/skills/cratis-engineering-release-trains/verification.json +0 -20
- package/package/corpus/skills/cratis-engineering-review-rounds/verification.json +0 -19
- package/package/corpus/skills/cratis-event-model-diagram/references/provenance.md +0 -28
- package/package/corpus/skills/cratis-fundamentals-concept/LICENSE +0 -2
- package/package/corpus/skills/cratis-fundamentals-concept/SKILL.md +0 -285
- package/package/corpus/skills/cratis-fundamentals-concept/references/shop-generation.md +0 -166
- package/package/corpus/skills/cratis-fundamentals-concept/references/typescript-concepts.md +0 -97
- package/package/corpus/skills/cratis-fundamentals-concept/verification.json +0 -14
- package/package/corpus/skills/cratis-fundamentals-telemetry/verification.json +0 -15
- package/package/corpus/skills/cratis-fundamentals-type-discovery/verification.json +0 -14
- package/package/corpus/skills/cratis-llm-friendly-documentation/verification.json +0 -15
- package/package/corpus/skills/cratis-multi-service-architecture/SKILL.md +0 -210
- package/package/corpus/skills/cratis-multi-service-architecture/references/publish-and-consume.md +0 -229
- package/package/corpus/skills/cratis-observability/verification.json +0 -14
- package/package/corpus/skills/cratis-orchestration-lanes/verification.json +0 -15
- package/package/corpus/skills/cratis-orchestration-merge-gates/verification.json +0 -17
- package/package/corpus/skills/cratis-orleans-jobs/verification.json +0 -20
- package/package/corpus/skills/cratis-performance-review/verification.json +0 -12
- package/package/corpus/skills/cratis-release-notes/verification.json +0 -17
- package/package/corpus/skills/cratis-rtk/verification.json +0 -11
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/verification.json +0 -32
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/LICENSE +0 -38
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +0 -231
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/assets/pending-certificates.play +0 -10
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/assets/retry-sweep.play +0 -11
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/audit-format.md +0 -51
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +0 -189
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/cases-to-specify.md +0 -78
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/effects-and-idempotency.md +0 -119
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/integration-contracts.md +0 -113
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/integration-interview.md +0 -24
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/neighbouring-skills.md +0 -12
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/product-sources.md +0 -11
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/provenance.md +0 -47
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/public-events-and-direction.md +0 -234
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +0 -60
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/statemachines-and-workflows.md +0 -175
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/systems-and-abilities.md +0 -143
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +0 -212
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translate-example.md +0 -150
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translation-patterns.md +0 -111
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/worked-integration.md +0 -98
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/verification.json +0 -26
- package/package/corpus/skills/cratis-screenplay-availability/verification.json +0 -24
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/LICENSE +0 -2
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +0 -261
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/atomic-batches-and-source-mappings.md +0 -83
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/capture-map-and-example.md +0 -175
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +0 -333
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/invocation-identity.md +0 -94
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/reaction-forms.md +0 -82
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/record-capture-specifications.md +0 -65
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/refusals-and-redelivery.md +0 -173
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/specifying-triggers-and-clock.md +0 -32
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/trigger-declaration.md +0 -48
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/trigger-reads-example.md +0 -37
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/verification.json +0 -77
- package/package/corpus/skills/cratis-screenplay-command-surface/LICENSE +0 -2
- package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +0 -291
- package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +0 -245
- package/package/corpus/skills/cratis-screenplay-command-surface/references/concepts-and-types.md +0 -38
- package/package/corpus/skills/cratis-screenplay-command-surface/references/constraints-produces-concurrency.md +0 -142
- package/package/corpus/skills/cratis-screenplay-command-surface/references/context.md +0 -214
- package/package/corpus/skills/cratis-screenplay-command-surface/references/date-comparisons.md +0 -188
- package/package/corpus/skills/cratis-screenplay-command-surface/references/described-handlers.md +0 -232
- package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +0 -93
- package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +0 -329
- package/package/corpus/skills/cratis-screenplay-command-surface/references/inline-events.md +0 -90
- package/package/corpus/skills/cratis-screenplay-command-surface/references/operations.md +0 -82
- package/package/corpus/skills/cratis-screenplay-command-surface/references/policy-persona-seed.md +0 -208
- package/package/corpus/skills/cratis-screenplay-command-surface/references/protected-reads.md +0 -172
- package/package/corpus/skills/cratis-screenplay-command-surface/references/routes-and-external-operations.md +0 -21
- package/package/corpus/skills/cratis-screenplay-command-surface/references/shop-generation.md +0 -134
- package/package/corpus/skills/cratis-screenplay-command-surface/references/text-and-match-rules.md +0 -136
- package/package/corpus/skills/cratis-screenplay-command-surface/references/uuid-equality.md +0 -140
- package/package/corpus/skills/cratis-screenplay-command-surface/references/validate-rules.md +0 -140
- package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +0 -129
- package/package/corpus/skills/cratis-screenplay-delivery-planning/LICENSE +0 -9
- package/package/corpus/skills/cratis-screenplay-delivery-planning/SKILL.md +0 -123
- package/package/corpus/skills/cratis-screenplay-delivery-planning/references/parallel-delivery.md +0 -46
- package/package/corpus/skills/cratis-screenplay-delivery-planning/references/provenance.md +0 -29
- package/package/corpus/skills/cratis-screenplay-delivery-planning/references/slice-counting.md +0 -43
- package/package/corpus/skills/cratis-screenplay-delivery-planning/references/velocity-and-capacity.md +0 -48
- package/package/corpus/skills/cratis-screenplay-delivery-planning/verification.json +0 -24
- package/package/corpus/skills/cratis-screenplay-discovery/LICENSE +0 -40
- package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +0 -222
- package/package/corpus/skills/cratis-screenplay-discovery/references/divergent-sweep.md +0 -47
- package/package/corpus/skills/cratis-screenplay-discovery/references/document-intake.md +0 -123
- package/package/corpus/skills/cratis-screenplay-discovery/references/domain-analysis-template.md +0 -106
- package/package/corpus/skills/cratis-screenplay-discovery/references/event-naming.md +0 -115
- package/package/corpus/skills/cratis-screenplay-discovery/references/facilitation.md +0 -64
- package/package/corpus/skills/cratis-screenplay-discovery/references/human-workshop.md +0 -260
- package/package/corpus/skills/cratis-screenplay-discovery/references/interview-questions.md +0 -80
- package/package/corpus/skills/cratis-screenplay-discovery/references/neighbouring-skills.md +0 -14
- package/package/corpus/skills/cratis-screenplay-discovery/references/personas-and-causes.md +0 -205
- package/package/corpus/skills/cratis-screenplay-discovery/references/plotting-and-handoff.md +0 -210
- package/package/corpus/skills/cratis-screenplay-discovery/references/product-sources.md +0 -16
- package/package/corpus/skills/cratis-screenplay-discovery/references/provenance.md +0 -60
- package/package/corpus/skills/cratis-screenplay-discovery/references/storming-loop.md +0 -128
- package/package/corpus/skills/cratis-screenplay-discovery/references/worked-session.md +0 -87
- package/package/corpus/skills/cratis-screenplay-discovery/verification.json +0 -27
- package/package/corpus/skills/cratis-screenplay-event-modeling/LICENSE +0 -14
- package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +0 -228
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/evidence-format.md +0 -146
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/facilitation-stance.md +0 -12
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/file-layout.md +0 -117
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/invoicing-example.md +0 -49
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/modeling-reasoning.md +0 -13
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/naming-primitives.md +0 -28
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/neighbouring-skills.md +0 -16
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +0 -355
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +0 -111
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/provenance.md +0 -46
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/slice-type-rules.md +0 -16
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/understanding-pipeline.md +0 -58
- package/package/corpus/skills/cratis-screenplay-event-modeling/verification.json +0 -119
- package/package/corpus/skills/cratis-screenplay-extension-packages/SKILL.md +0 -62
- package/package/corpus/skills/cratis-screenplay-extension-packages/verification.json +0 -13
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/LICENSE +0 -41
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +0 -224
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/candidate-inventory.md +0 -117
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/chronicle-observations.md +0 -25
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/evidence-table-template.md +0 -173
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/expert-verification.md +0 -79
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md +0 -258
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generated-recovery.md +0 -186
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/intent-example.md +0 -192
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/interview-findings.md +0 -115
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/loss-report-template.md +0 -57
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/neighbouring-skills.md +0 -14
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/prologue-safety.md +0 -186
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/provenance.md +0 -51
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/re-entry-and-passes.md +0 -192
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/rule-modeling.md +0 -48
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/side-car-migration.md +0 -140
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/signal-to-intent.md +0 -113
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/ui-observation.md +0 -99
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/verified-sources.md +0 -20
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/verification.json +0 -77
- package/package/corpus/skills/cratis-screenplay-model-authoring/LICENSE +0 -2
- package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +0 -255
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/choosing-generation.md +0 -42
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/destination-intent-repair.md +0 -107
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/free-screens-proposals.md +0 -36
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +0 -384
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/layout.md +0 -30
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +0 -395
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +0 -877
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/model-notes.md +0 -300
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/property-links.md +0 -239
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/release-baseline.md +0 -144
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/repairs.md +0 -71
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/screen-authoring-workflow.md +0 -295
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/state-and-recovery.md +0 -53
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/storylines.md +0 -69
- package/package/corpus/skills/cratis-screenplay-model-authoring/verification.json +0 -295
- package/package/corpus/skills/cratis-screenplay-model-review/LICENSE +0 -44
- package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +0 -212
- package/package/corpus/skills/cratis-screenplay-model-review/references/anti-patterns.md +0 -89
- package/package/corpus/skills/cratis-screenplay-model-review/references/baseline-comparison.md +0 -34
- package/package/corpus/skills/cratis-screenplay-model-review/references/business-questions.md +0 -204
- package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +0 -216
- package/package/corpus/skills/cratis-screenplay-model-review/references/interview-batch.md +0 -14
- package/package/corpus/skills/cratis-screenplay-model-review/references/mode-compliance.md +0 -9
- package/package/corpus/skills/cratis-screenplay-model-review/references/model-inventory-report.md +0 -132
- package/package/corpus/skills/cratis-screenplay-model-review/references/neighbouring-skills.md +0 -12
- package/package/corpus/skills/cratis-screenplay-model-review/references/provenance.md +0 -52
- package/package/corpus/skills/cratis-screenplay-model-review/references/public-keys-and-routes.md +0 -34
- package/package/corpus/skills/cratis-screenplay-model-review/references/quick-self-check.md +0 -22
- package/package/corpus/skills/cratis-screenplay-model-review/references/report-template.md +0 -220
- package/package/corpus/skills/cratis-screenplay-model-review/references/review-questions.md +0 -70
- package/package/corpus/skills/cratis-screenplay-model-review/references/stressor-analysis.md +0 -86
- package/package/corpus/skills/cratis-screenplay-model-review/references/verified-sources.md +0 -15
- package/package/corpus/skills/cratis-screenplay-model-review/references/walkthrough.md +0 -137
- package/package/corpus/skills/cratis-screenplay-model-review/references/worked-example.md +0 -273
- package/package/corpus/skills/cratis-screenplay-model-review/verification.json +0 -34
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/LICENSE +0 -42
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +0 -203
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/code-reading-and-tokens.md +0 -55
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/completeness-self-check.md +0 -49
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/core-rules-digest.md +0 -143
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/handoff-template.md +0 -151
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/identity-and-edits.md +0 -88
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/independent-review.md +0 -10
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/intake.md +0 -21
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/neighbouring-skills.md +0 -10
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/opt-in.md +0 -35
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/per-turn-protocol.md +0 -59
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/phase-report-inventories.md +0 -25
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/phases.md +0 -207
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/principles.md +0 -53
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/product-sources.md +0 -9
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/project-process.md +0 -51
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/provenance.md +0 -111
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/reasoning-notes.md +0 -54
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/safety.md +0 -23
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/stop-or-assume.md +0 -118
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/verdicts-and-modes.md +0 -230
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/version-migration.md +0 -50
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +0 -59
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/worked-example.md +0 -93
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/scripts/model-first-self-test.mjs +0 -123
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/scripts/model-first-status.mjs +0 -204
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/verification.json +0 -34
- package/package/corpus/skills/cratis-screenplay-projections/LICENSE +0 -2
- package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +0 -321
- package/package/corpus/skills/cratis-screenplay-projections/references/dictionaries-and-ordering.md +0 -64
- package/package/corpus/skills/cratis-screenplay-projections/references/graphs.md +0 -415
- package/package/corpus/skills/cratis-screenplay-projections/references/joins.md +0 -42
- package/package/corpus/skills/cratis-screenplay-projections/references/mapping-sources.md +0 -33
- package/package/corpus/skills/cratis-screenplay-projections/references/outbound-every.md +0 -12
- package/package/corpus/skills/cratis-screenplay-projections/references/pdl-grammar.md +0 -375
- package/package/corpus/skills/cratis-screenplay-projections/references/reducer-identity.md +0 -92
- package/package/corpus/skills/cratis-screenplay-projections/references/reducers.md +0 -40
- package/package/corpus/skills/cratis-screenplay-projections/references/secret-concepts.md +0 -23
- package/package/corpus/skills/cratis-screenplay-projections/references/stage-admission.md +0 -18
- package/package/corpus/skills/cratis-screenplay-projections/references/variants.md +0 -41
- package/package/corpus/skills/cratis-screenplay-projections/verification.json +0 -49
- package/package/corpus/skills/cratis-screenplay-read-surface/LICENSE +0 -9
- package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +0 -325
- package/package/corpus/skills/cratis-screenplay-read-surface/references/equality-filters.md +0 -209
- package/package/corpus/skills/cratis-screenplay-read-surface/references/graph-queries.md +0 -22
- package/package/corpus/skills/cratis-screenplay-read-surface/references/guarded-actions.md +0 -86
- package/package/corpus/skills/cratis-screenplay-read-surface/references/named-keys.md +0 -252
- package/package/corpus/skills/cratis-screenplay-read-surface/references/passive.md +0 -78
- package/package/corpus/skills/cratis-screenplay-read-surface/references/performer-bodies.md +0 -56
- package/package/corpus/skills/cratis-screenplay-read-surface/references/provenance.md +0 -21
- package/package/corpus/skills/cratis-screenplay-read-surface/references/query-execution.md +0 -21
- package/package/corpus/skills/cratis-screenplay-read-surface/references/screen-levels.md +0 -51
- package/package/corpus/skills/cratis-screenplay-read-surface/references/screen-patterns.md +0 -143
- package/package/corpus/skills/cratis-screenplay-read-surface/references/sinks.md +0 -166
- package/package/corpus/skills/cratis-screenplay-read-surface/verification.json +0 -51
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/LICENSE +0 -14
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +0 -258
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/delivery-protocol.md +0 -123
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/drift-and-fallback-record.md +0 -108
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md +0 -130
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/hand-written-changes.md +0 -150
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/neighbouring-skills.md +0 -11
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/post-deploy-check.md +0 -57
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/product-sources.md +0 -23
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/provenance.md +0 -34
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +0 -94
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/worked-example.md +0 -135
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +0 -61
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/LICENSE +0 -14
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/SKILL.md +0 -207
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/behavior-catalog.md +0 -127
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/documentation-intake-and-screens.md +0 -110
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/evidence-format.md +0 -66
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/executable-intake.md +0 -184
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/fidelity-check.md +0 -159
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/ground-truth-benchmark.md +0 -93
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/intake-sources.md +0 -87
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/neighbouring-skills.md +0 -17
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/probing-and-naming.md +0 -145
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/process-drift.md +0 -56
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/provenance.md +0 -11
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/scoping.md +0 -85
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/synthesis-rules.md +0 -196
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/target-and-first-validation.md +0 -51
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/drift-scope-self-test.mjs +0 -88
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/drift-scope.mjs +0 -155
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/fixtures/library-drift/change.diff +0 -100
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/fixtures/library-drift/evidence-map.json +0 -20
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/fixtures/library-drift/expected.json +0 -54
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/score-fidelity-self-test.mjs +0 -76
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/score-fidelity.mjs +0 -182
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/verification.json +0 -36
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/LICENSE +0 -41
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +0 -223
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/berth-reservations.md +0 -580
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/chronicle-verification.md +0 -26
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/coverage-matrix.md +0 -126
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/interview-batch.md +0 -16
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-design.md +0 -270
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-example.md +0 -454
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/neighbouring-skills.md +0 -10
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/provenance.md +0 -57
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/public-event-coverage.md +0 -23
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/quality-checklist.md +0 -20
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/review-questions.md +0 -9
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +0 -302
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-examples.md +0 -232
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-workshop.md +0 -121
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +0 -109
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/version-skew.md +0 -25
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/view-and-story-specs.md +0 -172
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/verification.json +0 -23
- package/package/corpus/skills/cratis-screenplay-slice-design/LICENSE +0 -40
- package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +0 -214
- package/package/corpus/skills/cratis-screenplay-slice-design/references/command-inventory.md +0 -226
- package/package/corpus/skills/cratis-screenplay-slice-design/references/derived-condition-events.md +0 -68
- package/package/corpus/skills/cratis-screenplay-slice-design/references/field-lineage.md +0 -182
- package/package/corpus/skills/cratis-screenplay-slice-design/references/identity-edits.md +0 -14
- package/package/corpus/skills/cratis-screenplay-slice-design/references/model-reasoning.md +0 -95
- package/package/corpus/skills/cratis-screenplay-slice-design/references/neighbouring-skills.md +0 -10
- package/package/corpus/skills/cratis-screenplay-slice-design/references/product-sources.md +0 -9
- package/package/corpus/skills/cratis-screenplay-slice-design/references/provenance.md +0 -57
- package/package/corpus/skills/cratis-screenplay-slice-design/references/public-boundaries-and-keys.md +0 -18
- package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +0 -362
- package/package/corpus/skills/cratis-screenplay-slice-design/references/review-questions.md +0 -28
- package/package/corpus/skills/cratis-screenplay-slice-design/references/rule-layers.md +0 -67
- package/package/corpus/skills/cratis-screenplay-slice-design/references/screens-before-slices.md +0 -37
- package/package/corpus/skills/cratis-screenplay-slice-design/references/slicing.md +0 -329
- package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +0 -303
- package/package/corpus/skills/cratis-screenplay-slice-design/verification.json +0 -74
- package/package/corpus/skills/cratis-screenplay-specifications/LICENSE +0 -2
- package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +0 -317
- package/package/corpus/skills/cratis-screenplay-specifications/references/ability-answers.md +0 -12
- package/package/corpus/skills/cratis-screenplay-specifications/references/actions-beyond-commands.md +0 -42
- package/package/corpus/skills/cratis-screenplay-specifications/references/child-ordering.md +0 -127
- package/package/corpus/skills/cratis-screenplay-specifications/references/concept-rules.md +0 -79
- package/package/corpus/skills/cratis-screenplay-specifications/references/date-comparisons.md +0 -21
- package/package/corpus/skills/cratis-screenplay-specifications/references/event-tags.md +0 -54
- package/package/corpus/skills/cratis-screenplay-specifications/references/examples-and-routes.md +0 -246
- package/package/corpus/skills/cratis-screenplay-specifications/references/generated-fixtures.md +0 -115
- package/package/corpus/skills/cratis-screenplay-specifications/references/graph-steps.md +0 -183
- package/package/corpus/skills/cratis-screenplay-specifications/references/host-body-execution.md +0 -49
- package/package/corpus/skills/cratis-screenplay-specifications/references/outcome-comparison.md +0 -40
- package/package/corpus/skills/cratis-screenplay-specifications/references/persona-callers-and-cases.md +0 -119
- package/package/corpus/skills/cratis-screenplay-specifications/references/producerless-events.md +0 -63
- package/package/corpus/skills/cratis-screenplay-specifications/references/query-rejections.md +0 -48
- package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +0 -130
- package/package/corpus/skills/cratis-screenplay-specifications/references/source-notes.md +0 -24
- package/package/corpus/skills/cratis-screenplay-specifications/references/vocabulary.md +0 -86
- package/package/corpus/skills/cratis-screenplay-specifications/references/whitespace-rules.md +0 -125
- package/package/corpus/skills/cratis-screenplay-specifications/references/worked-example.md +0 -113
- package/package/corpus/skills/cratis-screenplay-specifications/verification.json +0 -111
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/product-sources.md +0 -12
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/provenance.md +0 -27
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +0 -30
- package/package/corpus/skills/cratis-screenplay-toolchain/LICENSE +0 -9
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +0 -249
- package/package/corpus/skills/cratis-screenplay-toolchain/references/agent-exposure.md +0 -90
- package/package/corpus/skills/cratis-screenplay-toolchain/references/automation-translate-example.md +0 -113
- package/package/corpus/skills/cratis-screenplay-toolchain/references/capability-manifest.md +0 -71
- package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet-example.md +0 -320
- package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet.md +0 -264
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostic-arguments.md +0 -78
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +0 -757
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-example.md +0 -111
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +0 -460
- package/package/corpus/skills/cratis-screenplay-toolchain/references/fast-path.md +0 -31
- package/package/corpus/skills/cratis-screenplay-toolchain/references/generated-responses-example.md +0 -62
- package/package/corpus/skills/cratis-screenplay-toolchain/references/generation-checks.md +0 -93
- package/package/corpus/skills/cratis-screenplay-toolchain/references/generation-strategies-example.md +0 -128
- package/package/corpus/skills/cratis-screenplay-toolchain/references/language-admission.md +0 -161
- package/package/corpus/skills/cratis-screenplay-toolchain/references/model-export-diff-rename.md +0 -75
- package/package/corpus/skills/cratis-screenplay-toolchain/references/neighbouring-skills.md +0 -15
- package/package/corpus/skills/cratis-screenplay-toolchain/references/observation-comparison.md +0 -83
- package/package/corpus/skills/cratis-screenplay-toolchain/references/pdl-example.md +0 -241
- package/package/corpus/skills/cratis-screenplay-toolchain/references/preferred-syntax.md +0 -77
- package/package/corpus/skills/cratis-screenplay-toolchain/references/production-routes-and-filters.md +0 -115
- package/package/corpus/skills/cratis-screenplay-toolchain/references/read-model-property-order.md +0 -26
- package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +0 -167
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +0 -30
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +0 -101691
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +0 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +0 -134
- package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +0 -75
- package/package/corpus/skills/cratis-screenplay-toolchain/references/unknown-preserving-reader.md +0 -57
- package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +0 -327
- package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +0 -142
- package/package/corpus/skills/cratis-screenplay-ui-composition/LICENSE +0 -9
- package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +0 -329
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/action-subjects.md +0 -138
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/application-shell.md +0 -579
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/change-alternatives.md +0 -58
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/deliverable-identity.md +0 -43
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/design-system-and-themes.md +0 -272
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/extension-components.md +0 -20
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/file-references.md +0 -42
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/flow-review.md +0 -56
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/free-screens.md +0 -237
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/guarded-interactions.md +0 -82
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/interaction-example.md +0 -54
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/layout-arrangement.md +0 -31
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/localized-strings.md +0 -15
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/provenance.md +0 -19
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/response-continuations.md +0 -110
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/scene-design.md +0 -138
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/scene-runtime-boundaries.md +0 -92
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +0 -364
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-visuals.md +0 -43
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/ui-profile-and-theme.md +0 -195
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/worked-flow.md +0 -74
- package/package/corpus/skills/cratis-screenplay-ui-composition/verification.json +0 -291
- package/package/corpus/skills/cratis-security-review/verification.json +0 -11
- package/package/corpus/skills/cratis-session-handoff/verification.json +0 -15
- package/package/corpus/skills/cratis-social-feed-post/verification.json +0 -29
- package/package/corpus/skills/cratis-specification-by-example/LICENSE +0 -2
- package/package/corpus/skills/cratis-specification-by-example/SKILL.md +0 -244
- package/package/corpus/skills/cratis-specification-by-example/verification.json +0 -14
- package/package/corpus/skills/cratis-specifications-csharp/LICENSE +0 -2
- package/package/corpus/skills/cratis-specifications-csharp/SKILL.md +0 -347
- package/package/corpus/skills/cratis-specifications-csharp/references/application-scenarios.md +0 -332
- package/package/corpus/skills/cratis-specifications-csharp/references/csharp-patterns.md +0 -178
- package/package/corpus/skills/cratis-specifications-csharp/references/integration-specs.md +0 -162
- package/package/corpus/skills/cratis-specifications-csharp/references/running-specs.md +0 -190
- package/package/corpus/skills/cratis-specifications-csharp/references/shared-lifecycle.md +0 -110
- package/package/corpus/skills/cratis-specifications-csharp/verification.json +0 -15
- package/package/corpus/skills/cratis-specifications-typescript/LICENSE +0 -2
- package/package/corpus/skills/cratis-specifications-typescript/SKILL.md +0 -215
- package/package/corpus/skills/cratis-specifications-typescript/references/typescript-patterns.md +0 -197
- package/package/corpus/skills/cratis-specifications-typescript/verification.json +0 -12
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/LICENSE +0 -2
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +0 -264
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +0 -370
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/behavior-walk.md +0 -78
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/case-tables-and-whole-numbers.md +0 -113
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/choosing-generation.md +0 -48
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/current-boundaries.md +0 -124
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/date-comparisons.md +0 -44
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/graphs.md +0 -52
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/neighbouring-skills.md +0 -14
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/publication-and-recovery.md +0 -34
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/render-example.md +0 -157
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/rendered-application.md +0 -229
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +0 -287
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/scene-runtime.md +0 -82
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +0 -73
- package/package/corpus/skills/cratis-technical-examples/verification.json +0 -22
- package/package/corpus/skills/cratis-ux-review/verification.json +0 -15
- package/package/corpus/skills/cratis-writing-voice-and-cadence/verification.json +0 -38
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cratis-screenplay-declare-slice
|
|
3
|
+
description: Use when a modeler needs to encode an agreed command, event or derived view in a Screenplay .play file. Not for discovering the business story (use cratis-modeling-discover-timeline).
|
|
4
|
+
compatibility: Requires the Screenplay CLI.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Declare the command, event and list in the model
|
|
8
|
+
|
|
9
|
+
Start with an [application workspace](../cratis-screenplay-onboard-workspace/SKILL.md) and an agreed command or query outcome. Choose the owning slice:
|
|
10
|
+
|
|
11
|
+
- **State change** (`StateChange`): a command decides which facts to record.
|
|
12
|
+
- **State view** (`StateView`): a query presents a read model derived from facts.
|
|
13
|
+
|
|
14
|
+
For system-initiated work, use [automation](../cratis-screenplay-model-automation/SKILL.md); for a crossing between vocabularies, use [translation](../cratis-screenplay-model-translation/SKILL.md).
|
|
15
|
+
|
|
16
|
+
Put `StateChange` and `StateView` slices under the intended `module` and `feature` declarations. Those declarations set the address, not the application name or file path. In `model/Authors/registration.play`, put the registration command and fact in one slice and the list in a separate view slice.
|
|
17
|
+
|
|
18
|
+
Check how the model is loaded before adding a file. Folder input includes every `.play` below it, including scratch models. A root **file** includes only itself and files reached by quoted imports. A quoted pattern is relative to the importing file; placing the import inside a module or feature assigns its contents to that container. An unquoted import names an external contract, not a file. A slice visible in a folder compile but absent from the actual root-file build may simply be unreachable.
|
|
19
|
+
|
|
20
|
+
1. Declare `concept AuthorId : Uuid`. Mark the command's `id` with `identifier`.
|
|
21
|
+
2. Map each command input needed by the event. Use `for` to address the event to its owner.
|
|
22
|
+
3. Give the read model a key. Default to the event source for a view of one history. Choose an explicit business key on each relevant `from` handler, using `from <Event> key <property>`, when the view uses a different key. Use a projection by default to map facts to displayed fields. Choose a reducer instead when the view needs a calculation the projection cannot declare.
|
|
23
|
+
4. Bind the list query to the collection. Run an example for a known ID and check the returned row.
|
|
24
|
+
|
|
25
|
+
## Example: register an author and list the name
|
|
26
|
+
|
|
27
|
+
```play
|
|
28
|
+
concept AuthorId : Uuid
|
|
29
|
+
|
|
30
|
+
module Library
|
|
31
|
+
feature Authors
|
|
32
|
+
slice StateChange RegisterAuthor
|
|
33
|
+
command RegisterAuthor
|
|
34
|
+
id AuthorId identifier
|
|
35
|
+
name String
|
|
36
|
+
produces AuthorRegistered
|
|
37
|
+
for id
|
|
38
|
+
name = name
|
|
39
|
+
|
|
40
|
+
event AuthorRegistered
|
|
41
|
+
name String
|
|
42
|
+
|
|
43
|
+
slice StateView ListAuthors
|
|
44
|
+
readmodel Author
|
|
45
|
+
id AuthorId key
|
|
46
|
+
name String
|
|
47
|
+
|
|
48
|
+
projection AuthorProjection => Author
|
|
49
|
+
from AuthorRegistered
|
|
50
|
+
id = $eventSourceId
|
|
51
|
+
name = name
|
|
52
|
+
|
|
53
|
+
query AllAuthors => observable Author[]
|
|
54
|
+
|
|
55
|
+
specification ListingAster
|
|
56
|
+
given AuthorRegistered
|
|
57
|
+
for "11111111-1111-4111-8111-111111111111"
|
|
58
|
+
name = "Aster"
|
|
59
|
+
then query AllAuthors exactly
|
|
60
|
+
result
|
|
61
|
+
id = "11111111-1111-4111-8111-111111111111"
|
|
62
|
+
name = "Aster"
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
From the Library directory run `screenplay model` to compile the folder. Expect `PLAY0533` for a command with no invocation yet; the [Add author screen](../cratis-screenplay-model-interaction/SKILL.md) supplies the registration action. Add the [registration and refusal examples](../cratis-screenplay-specify-outcome/SKILL.md), then run `screenplay test model --format json`.
|
|
66
|
+
|
|
67
|
+
## Optional follow-up: remove a selected author
|
|
68
|
+
|
|
69
|
+
Keep removal out of the registration walkthrough. If removal is an agreed outcome, add this sibling slice under `feature Authors` after binding the Authors screen:
|
|
70
|
+
|
|
71
|
+
```play
|
|
72
|
+
slice StateChange RemoveAuthor
|
|
73
|
+
command RemoveAuthor
|
|
74
|
+
id AuthorId identifier
|
|
75
|
+
produces AuthorRemoved
|
|
76
|
+
for id
|
|
77
|
+
|
|
78
|
+
event AuthorRemoved
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Under `projection AuthorProjection => Author`, add this clause at the same indentation as `from AuthorRegistered`:
|
|
82
|
+
|
|
83
|
+
```play
|
|
84
|
+
remove with AuthorRemoved
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Under `screen Authors`, add the action alongside `data` and `toolbar`. It sends the selected row's ID to the command, so `AuthorRemoved` addresses the same event source as `AuthorRegistered` and removes that row.
|
|
88
|
+
|
|
89
|
+
```play
|
|
90
|
+
action RemoveAuthor for item
|
|
91
|
+
label "Remove author"
|
|
92
|
+
with id from item.id
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## When it goes off the usual path
|
|
96
|
+
|
|
97
|
+
- **The source key differs from a payload ID:** use `$eventSourceId` if the row identifies that history. Use the payload ID only if it identifies the row by design. Don't duplicate the source ID in the payload just to display it.
|
|
98
|
+
|
|
99
|
+
For optional values write the type followed by `optional`. The `?` spelling diagnostic `PLAY0479` is informational, so a warnings-as-errors pass alone will not detect it. Do not bulk-rewrite `query Q => observable?`; there `observable` is the result type name, not a live-query marker.
|
|
100
|
+
|
|
101
|
+
Use `description` to record meaning. Put the reasoning behind a tradeoff in `documentation` on an eligible declaration such as the slice, command or read model, not on a query or individual reaction trigger. Neither text enforces a rule. A waiting view may consume a later slice's completion fact: board position describes the story, not runtime ownership or a ban on feedback.
|
|
102
|
+
|
|
103
|
+
If a decision reads the wrong instance or a list lookup is ambiguous, [separate read identity from event routing](references/read-identity.md) before adjusting the query. If a replay creates extra rows, resurrects a departed variant or loses a joined value, [trace the projection by occurrence](references/projection-replay.md).
|
|
104
|
+
|
|
105
|
+
## Related skills
|
|
106
|
+
|
|
107
|
+
- [Discover the timeline](../cratis-modeling-discover-timeline/SKILL.md) before encoding an unresolved ownership decision.
|
|
108
|
+
- [Specify the outcome](../cratis-screenplay-specify-outcome/SKILL.md) to check the destination and payload.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Trace the projection by occurrence
|
|
2
|
+
|
|
3
|
+
For each incoming fact, write down its stream address, payload, available metadata, the row the handler targets and which properties it writes. When the projection and target share a name, inspect the resolved read model within the containing feature before relying on an unqualified application-wide name. If a second same-named model is introduced, qualify the target explicitly rather than renaming a persisted view on a guess. The stream address belongs to the occurrence, not necessarily to the person who caused it. Use an example in which those values differ. Check the first occurrence against empty state and the next against existing state.
|
|
4
|
+
|
|
5
|
+
- **Routing:** an ordinary `from` without an explicit key routes by event source. A property key on a different handler does not carry over. Don't subscribe to the same event twice at one scope just to split assignments; keep the mappings together. A mapping whose source has no value can write null, so it does not preserve the prior target. If `AuthorRenamed` routes to an author but `BookAttributed` comes from a book, the latter needs a route to the author from its payload. Test removal against the same row. For a total spanning many histories, model a keyed projection; changing a query cannot move the accumulated state to another address.
|
|
6
|
+
- **Joining:** decide which event creates the root row. A join enriches existing matching instances; it does not create rows for unmatched events or collect every joined occurrence. At the root, `on` matches the joined event's source. A later root event setting that property can look up the latest joined occurrence. In a child scope it is the child's identity that must match the join key. An explicit joined-event automap overrides the enclosing setting. Check both arrival orders, including creation of a root after a matching joined event. Assert the fields owned by each side so a broad automatic mapping cannot silently replace an unrelated value.
|
|
7
|
+
- **Variants:** use `enters on` for the event that establishes membership. An entering event places that identity in its variant and removes it from siblings. Other handlers, including common updates, must not create a variant. Send the same update before entry, while active and after entry into a sibling; expect only the active instance to change. Do not fix a missing entry by letting every update recreate the row.
|
|
8
|
+
|
|
9
|
+
- **Shared mappings:** `every` runs for subscribed events (including child events by default); root `all` subscribes across event types. Send an unrelated fact and check whether the row should change. Neither block has one implicit payload type. Read chronology or source identity from the relevant occurrence context, not an invented payload field.
|
|
10
|
+
- **Partial updates:** `set once` fills a missing or null value, not every later revision. Child `sort by` orders on insertion; updating a child's sort field does not move it. Model removing one child separately from clearing a collection or deleting the root. If a reference evaluator cannot realize the required context or removal, test on the selected target and report the evaluator limit.
|
|
11
|
+
|
|
12
|
+
- **Disclosure:** trace each property back to its classification, including fields copied automatically, under child/nested scopes or from a reducer. Keep secret values out of stored and queryable views. Removing a column from one screen does not remove the query result or stored copy.
|
|
13
|
+
|
|
14
|
+
Use a reducer when computing the next state needs the prior state at the event-source address. An attachment still needs a provider; it does not make the query responsible for computing the state. If a projection produces events rather than rows, it is a producer: broadening its subscription can make the source type ambiguous. Check every consumer of the produced event before changing it.
|
|
15
|
+
|
|
16
|
+
If the question is about a path through relationships rather than the latest keyed document, start from the consumer's traversal. For example, “which authors can this librarian reach through a shared branch?” needs nodes with stable keys and directed edges with named endpoints. Project facts that add or remove the relevant nodes and edges; use `match` and `return` in the graph query to populate the ordinary result model. Test graph state separately from the returned rows. Do not apply document `children` or `join` syntax to a graph projection. Read models and graphs have separate default sinks. Declare a named sink at application scope only for intentional placement, use the correct kind, and verify the host has bound it. A sink name is not a connection string or proof of deployment.
|
|
17
|
+
|
|
18
|
+
A passing final snapshot alone can hide a spurious intermediate row. Assert the first incorrect transition and its key, then inspect the mapping that selected it before changing the query.
|
|
19
|
+
|
|
20
|
+
## Dynamic dictionary keys
|
|
21
|
+
|
|
22
|
+
For a dictionary on an application-code read model, put the dynamic key at the end of the target. For example, use `slot` on both events so the second fact removes the entry the first one wrote:
|
|
23
|
+
|
|
24
|
+
```play
|
|
25
|
+
from SlotAssigned key $eventSourceId
|
|
26
|
+
slots.$eventContent.slot = series
|
|
27
|
+
from SlotDropped key $eventSourceId
|
|
28
|
+
remove slots.$eventContent.slot
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
A missing entry is a no-op. Use `remove`, not `clear`, for dynamic keys. Event content, event context and `$causedBy.subject` can supply the key; prefer subject to mutable display names for identity. Screenplay has no dictionary type: a dynamic key on a modeled read-model property warns (`PLAY0962`), and the reference evaluator does not execute these lines (`PLAY0268`). Verify support in the target and prove update and removal there.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Which instance does this read select?
|
|
2
|
+
|
|
3
|
+
Start with two rows that would collide under the suspected key. For a monthly total, use two resources in the same month **and** the same resource in a different month. The answer should identify exactly one pair. Do not fix a collision by concatenating strings in the query.
|
|
4
|
+
|
|
5
|
+
1. Mark the identifying top-level read-model properties `key`. Explicit keys take precedence over inferred identity. Without them, single-instance query `by` names are considered first; an eligible collection query can fall back to conventional names ending in `Id`. A collection filter is not a reliable declaration of row identity. Make the intent explicit if adding a query might change inference.
|
|
6
|
+
2. Several scalar keys form **one** identity with named parts. For `ResourceMonth`, compare both `resourceId` and `period`, not argument order. For an optional single result, declare every part in the query's `by` block as `name Type`; for a command read, map each as `name = source`. A list may filter on fewer parts because it need not identify one row.
|
|
7
|
+
3. Supply every key part in `given readmodel` and `then readmodel`. Require all parts on expected collection rows. Otherwise a passing comparison may answer a different question from the one the owner asked.
|
|
8
|
+
4. Match each event to the same instance in the projection. The `key` on the model describes the lookup; it does not route incoming facts. For several separate key properties, use an untyped key block with every named part on each root `from` and `remove with`. A typed composite property is a different shape.
|
|
9
|
+
|
|
10
|
+
## Stored answer or decision-only state?
|
|
11
|
+
|
|
12
|
+
The default read model is active, even if a command is its only consumer today. If it exists solely to decide a command from replayed history, declare `passive` on its own line **inside** the read model. Do not return it from a query or bind it to a screen. If an operator needs to browse those totals, design an active view for that purpose. The passive marker describes realization; successful binding is not evidence of how a particular runtime stored or replayed state. Verify the actual command and, for active models, the intended lookup on the target.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cratis-screenplay-edit-workspace
|
|
3
|
+
description: Use when a maintainer needs to preview or apply a typed Screenplay edit, preserve declaration identity during a rename or recover an interrupted workspace write. Not for accepting changed behavior (use cratis-screenplay-accept-model).
|
|
4
|
+
compatibility: Requires the Screenplay CLI. Typed proposals and interrupted-write recovery use the Screenplay MCP server.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Review and apply a command input rename
|
|
8
|
+
|
|
9
|
+
For a new declaration with unambiguous ownership, [author the slice](../cratis-screenplay-declare-slice/SKILL.md) directly. For a command property rename, use the typed proposal below to keep the property's identity.
|
|
10
|
+
|
|
11
|
+
Edit the application's actual model root; rehearse on a copy only when requested. The example assumes the requested change is `RegisterAuthor.name` to `authorName`. The requesting user approves writes unless they name another owner.
|
|
12
|
+
|
|
13
|
+
**Without MCP:** Edit the owning `.play` declaration and its bound references in place. Run `screenplay model` and `screenplay test model --format json`, then review the diff. These are one-off edit checks, not proof of identity continuity. If a rename must preserve identity, do not substitute a text rename for a typed proposal; leave that operation pending until the typed tooling is available.
|
|
14
|
+
|
|
15
|
+
**With MCP:**
|
|
16
|
+
|
|
17
|
+
1. Connect the MCP client to the application's model root and call `open-workspace`. Save the returned revision and catalog revision. Call `read-ast` with `expectedRevision` for that workspace, `kind: "PropertySyntax"` and `name: "name"`. From `page.items` take the `handle` of the item whose `handle.path` contains `/commands/`, not the `AuthorRegistered` payload or `Author` read-model property. The AST `address` contains `kind` and `parts`; it is not a dotted string.
|
|
18
|
+
2. Call `propose-property` with this handle as `target`, `action: "rename"`, `expectedName: "name"`, `newName: "authorName"`, `validation: "Executable"`, `expectedRevision` and `expectedCatalogRevision`.
|
|
19
|
+
3. Call `read-proposal` with its `proposalId` and `view: "changes"`, then `view: "diagnostics"`. If `droppedCommentCount` is not zero, also read `view: "dropped-comments"`. Check both sides of `name = name`: the event member remains `name`, the command reference becomes `authorName`. Review each input assignment changed in the example; a string literal is not a property reference. Check `stateChange` for identity continuity as well as references and dropped comments. If unsure whether a replacement is intended, stop at the proposal.
|
|
20
|
+
4. Obtain approval for this change set at the reviewed workspace and catalog revisions. Call `apply` with its `proposalId`, `expectedRevision` and `expectedCatalogRevision`.
|
|
21
|
+
5. Call `open-workspace` again and run `screenplay model`.
|
|
22
|
+
|
|
23
|
+
For a **declaration** rename with a stable semantic identity, the standalone `screenplay rename` also supports an explicit dotted declaration address, new name and model root. It is a write, not a preview. Confirm the address, kind, references, stored event name and authority first. On success the event's stored name is pinned and `.screenplay/identities.json` is updated. Exit 0 means renamed, 1 refused, 2 could not run. This declaration operation is not a substitute for the property proposal above.
|
|
24
|
+
|
|
25
|
+
Compare the approved before and after folders with `screenplay diff before/model after/model --format json`. Exit 0 means a comparison ran, **not** that there were no breaking changes; 2 means it could not run. Check the reported matching mode: a move matched by persisted identity is different from removal plus addition matched by address. `screenplay export` returns 0 for an emitted artifact, 1 for a model or requested export that cannot be emitted and 2 for an invocation or input error. If identities disagree with the sources, preserve both, restore the reviewed names and redo the intended rename through identity-aware tooling; do not delete identity state to produce a clean export.
|
|
26
|
+
|
|
27
|
+
For typed editing, discover actual tool names and input shapes with `tools/list`. Use read/inspection for diagnosis, a proposal for preview, and `apply` only for the reviewed change. Prefer a targeted repair over rewriting a file with dropped comments. Keep presentation layout, story order and executable behavior in separate reviewed changes. A valid proposal may still change the wrong thing.
|
|
28
|
+
|
|
29
|
+
## When it goes off the usual path
|
|
30
|
+
|
|
31
|
+
- **Either revision changed:** reopen the workspace and review a fresh proposal. Don't transfer approval to it.
|
|
32
|
+
- **The connection dropped during apply:** call `workspace-state` before retrying. If it reports an interrupted operation, obtain approval and call `recover-workspace` with that `operationId` when rollback is safe.
|
|
33
|
+
|
|
34
|
+
## Notes and storylines
|
|
35
|
+
|
|
36
|
+
For review questions and ordered cross-slice narratives, use [model notes and storylines](references/model-notes.md). Keep these edits separate from behavior changes.
|
|
37
|
+
|
|
38
|
+
## Related skills
|
|
39
|
+
|
|
40
|
+
- [Declare the slice](../cratis-screenplay-declare-slice/SKILL.md) for the original model.
|
|
41
|
+
- [Accept the model](../cratis-screenplay-accept-model/SKILL.md) to review changed behavior.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Model notes and storylines
|
|
2
|
+
|
|
3
|
+
## Notes
|
|
4
|
+
|
|
5
|
+
Read the workspace and call `list-model-notes` on the `screenplay` MCP server. The source `revision`, `catalogRevision` and `notesRevision` are independent. Use the stable semantic ID read for the intended element, not an ID guessed from its name. For example, call `propose-model-notes` with the returned values substituted:
|
|
6
|
+
|
|
7
|
+
```json
|
|
8
|
+
{
|
|
9
|
+
"expectedRevision": "<source revision>",
|
|
10
|
+
"expectedCatalogRevision": "<catalog revision>",
|
|
11
|
+
"expectedNotesRevision": "<notes revision>",
|
|
12
|
+
"operations": [{"operation":"add","kind":"question","author":"Review team","text":"Can withdrawn invoices be reopened?","anchor":{"semanticId":"<element semantic ID>"}}]
|
|
13
|
+
}
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Inspect `read-proposal` with `view: "notes"` and verify the resolved anchor. If the server reports a substitution, do not apply it silently: fix the target or seek review of the new anchor. With permission call `apply` with the reviewed `proposalId`, `expectedRevision` and `expectedCatalogRevision`; reread and repropose on stale state. Use `reanchor` with the note `id` and a verified stable anchor when a note legitimately moves. Resolve a note only with cited evidence: use `resolve` with the note `id` and a `resolution` containing `by: "specification"`, the witness `semanticId`, explanatory `text` and `author`. Do not put secrets or personal data in note content, references, authors or resolutions.
|
|
17
|
+
|
|
18
|
+
At the anchored withdrawal action, the owner saw “Delete” and asked for “Withdraw.” Confirm whether only the label should change or withdrawn invoices should now be closed to edits. Record the intended outcome before proposing either; applying it needs separate permission.
|
|
19
|
+
|
|
20
|
+
Check `orphanedNotes` on source proposals and their review. A null value with unreadable notes is unknown, not proof of no orphans. Preserve or deliberately reanchor affected notes and verify with `list-model-notes` and `state: "orphaned"` after the source change.
|
|
21
|
+
|
|
22
|
+
## Storylines
|
|
23
|
+
|
|
24
|
+
Place the storyline at the top level of one model document. For the Library registration and list slices, the ordered steps can be:
|
|
25
|
+
|
|
26
|
+
```play
|
|
27
|
+
storyline RegisterAndSeeAuthor "Register and see an author"
|
|
28
|
+
command RegisterAuthor "The librarian submits the name"
|
|
29
|
+
event AuthorRegistered
|
|
30
|
+
query AllAuthors "The list shows the author"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Use element references, qualified if ambiguous. Storyline metadata presents order; it does not execute commands or establish a delivery dependency. Compile with `screenplay model --warnaserror` (substitute the real root) so missing or ambiguous steps are not overlooked.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cratis-screenplay-handoff-slice
|
|
3
|
+
description: Use when a modeler needs to hand an accepted Screenplay slice, scoped export and target obligations to an implementer. Not for approving the model (use cratis-screenplay-accept-model).
|
|
4
|
+
compatibility: Requires the Screenplay CLI.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Hand off Library author registration
|
|
8
|
+
|
|
9
|
+
1. Start in the application directory containing `model/Authors/registration.play`. Confirm [acceptance](../cratis-screenplay-accept-model/SKILL.md) covers this exact revision and identify the target Library application before exporting.
|
|
10
|
+
2. Export the full model and the registration-only excerpt, then copy the top-level `revision` field from each JSON file. Label the values **full model** (`library.json`) and **registration excerpt** (`registration.json`). If a file is unavailable, give its export command and field to read instead of guessing the value:
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
screenplay export model --output library.json
|
|
14
|
+
screenplay export model --scope Library.Authors.RegisterAuthor --output registration.json
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
3. For a slice-only handoff, give the reader `registration.json`, the accepted full-model revision, the excerpt revision and the accepted example addresses and outcomes. Check the excerpt for the definitions it references. An export keeps application-level declarations but does not bring in other slices; supply any needed definitions from separate scoped exports. Name cross-slice checks such as `Library.Authors.ListAuthors` separately from the registration contract. A renderer that takes `.play` source needs the accepted model folder and identity state, plus `screenplay.lock` and its restored contracts when extensions are used. An excerpt alone is not that input. For extensions, restore from the reviewed lock before rendering (see `cratis-screenplay-author-extension` in `cratis/screenplay`). For consumers that preserve unfamiliar semantic-model additions without executing them, use [unknown-preserving admission](references/unknown-preserving-reader.md).
|
|
18
|
+
4. Add a UI export (`screenplay export model --format ui --output screens.json`) for a screen consumer. Add the HTTP contract below for a client integrating over HTTP.
|
|
19
|
+
5. List the target checks for the implementer: Aster appears in the open list under the agreed ID; a blank name produces `Name is required` and no new row. Map each check to its accepted example. Leave execution pending.
|
|
20
|
+
|
|
21
|
+
Order implementation by [dependency waves](references/ordering.md). Where an upstream change crosses services, include the receiver's local acceptance witness, not just a producer trace.
|
|
22
|
+
|
|
23
|
+
## Hand off to an HTTP client
|
|
24
|
+
|
|
25
|
+
For a registration-only client, run `screenplay export model --scope Library.Authors.RegisterAuthor --format openapi --output api.json`. Omit `--scope` only when the client needs the full application contract. Under `paths`, locate the operations in scope. For each, include the HTTP method and path, `operationId`, and `x-screenplay-id` in the handoff.
|
|
26
|
+
|
|
27
|
+
With the default model conventions, the execution operation is `POST /api/library/authors/register-author` with ID `Library.Authors.RegisterAuthor.RegisterAuthor`. Validation appends `/validate` to that path and `.Validate` to that ID; both share the command's `x-screenplay-id`. A separate listing contract includes `GET /api/library/authors/list-authors/all-authors` with ID `Library.Authors.ListAuthors.AllAuthors` and its own artifact ID; it is not in the registration-only export. Copy the artifact IDs from the export. If it is unavailable, identify the fields to extract and leave their values pending.
|
|
28
|
+
|
|
29
|
+
Treat those IDs as model metadata. Arc's generated OpenAPI uses the host's endpoint names as `operationId` (for example, `ExecuteLibrary.Features.Authors.Registration.RegisterAuthor`), not the Screenplay operation IDs. Get `x-screenplay-id` from the Screenplay export, not Arc. Confirm the target host's method, path and operation ID against its own OpenAPI before writing client requests.
|
|
30
|
+
|
|
31
|
+
| Arc client intent | Request on the confirmed host route | Expected result |
|
|
32
|
+
|---|---|---|
|
|
33
|
+
| Validate `RegisterAuthor` | `POST <command-route>/validate` with the command JSON | Runs authorization and validation, not the handler; no registration is recorded, even for valid input. |
|
|
34
|
+
| Execute `RegisterAuthor` | `POST <command-route>` with the same JSON | Runs the handler when authorized and valid. Check the command result and the registration outcome. |
|
|
35
|
+
| Read one `AllAuthors` snapshot | `GET <query-route>?waitForFirstResult=true` without a stream header or upgrade | One JSON query result, not a subscription. Without `waitForFirstResult=true`, an observable query can answer 202 with `isReady: false` and no data. |
|
|
36
|
+
| Follow `AllAuthors` live | `GET <query-route>` with `Accept: text/event-stream` | Keep the connection open for later results; the first streamed result alone does not verify live delivery. |
|
|
37
|
+
|
|
38
|
+
The model's `x-screenplay-observable` marks a live query; the plain `GET` and stream negotiation above describe Arc's runtime behavior. For HTTP delivery, include this one-off target check: validating valid input adds no row; executing it puts the agreed ID in both the fresh snapshot and the open stream.
|
|
39
|
+
|
|
40
|
+
## When it goes off the usual path
|
|
41
|
+
|
|
42
|
+
- **The compiler accepts a feature that the renderer cannot deliver:** record the compiler and renderer versions and the selected target. Assign one owner and one target check per unrendered behavior. Don't weaken the accepted outcome or edit renderer-managed files to make the handoff look complete.
|
|
43
|
+
|
|
44
|
+
## Related skills
|
|
45
|
+
|
|
46
|
+
- [Declare the model slice](../cratis-screenplay-declare-slice/SKILL.md) for its qualified name.
|
|
47
|
+
- Render the accepted slice (`cratis-stage-render-slice` skill in `cratis/stage`) to preview generated changes and assign target gaps before publication.
|
|
48
|
+
- Deliver the slice (`cratis-platform-deliver-slice` skill in `cratis/application`) for the running application check.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Dependency waves
|
|
2
|
+
|
|
3
|
+
Tabulate **slice | owner | depends on** for the accepted scope. Include fact-to-view and other data dependencies, command invocations and calls across slices. Include external dependencies explicitly; flag any edge to an undeclared slice and resolve cycles with the owner before scheduling. Don't mock an unresolved producer to claim acceptance.
|
|
4
|
+
|
|
5
|
+
Place dependency-free slices in the first wave, then place each remaining slice in the earliest wave after all its prerequisites finish. Parallelize only with settled inputs, identities and contracts. For example, a query consuming registration and a reaction invoking another slice's command each need their own dependency edges.
|
|
6
|
+
|
|
7
|
+
Estimate from completed slices of comparable realization classes; keep generated, manual and external integration work separate rather than averaging them. Give a throughput range from observed completions (or report insufficient history). For each wave, sum work by owner and estimate duration from the most heavily loaded owner at their actual capacity, not total work divided by headcount. Record capacity and shared-owner assumptions alongside the range.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Read newer minor versions without executing unknowns
|
|
2
|
+
|
|
3
|
+
Default to strict reading. Use unknown-preserving admission only when an intermediary needs to retain unfamiliar data. Choose one semantic-model major with a shipped frozen baseline and an inclusive minor range. Both wire versions must be in that range and the language and semantic versions must form a matching pair. Classify by the original wire pair, not the validated known projection. Registered pairs admit no additions; an unregistered minor admits unknown members only above the highest registered minor of that major.
|
|
4
|
+
|
|
5
|
+
Check canonical bytes and the full revision before admitting any content. Keep the original bytes, wire pair, revision and owner-scoped unknown diagnostics alongside the validated known projection. Preserve unknowns as opaque data for byte-identical re-emission; do not infer semantics inside them, execute them or rebuild the document from just the projection. Keep ordinal member ordering in opaque objects, array order, and the distinction between missing and null.
|
|
6
|
+
|
|
7
|
+
Refuse the entire document for invalid versions or missing baseline, noncanonical bytes (including non-NFC text or duplicate members), revision mismatch, an unknown discriminator or a dangling known reference. Refuse when any bound is exceeded: 8,388,608 input bytes, container depth 64, 64 unknowns per owner, 1,024 per document, or 1,048,576 unknown value bytes. Unknown names, including inside opaque objects, must match `[a-z][A-Za-z0-9]*` and be at most 64 characters. Do not truncate to pass admission.
|
|
8
|
+
|
|
9
|
+
Neither strict reading nor preservation grants trust, execution or rendering authority. Check the intended target's separate admission and report any degradation or refusal.
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cratis-screenplay-model-automation
|
|
3
|
+
description: Use when a modeler needs a Screenplay Automation reaction to a local fact, schedule or host signal, or needs to model an entity lifecycle or durable workflow. Not for importing external observations (use cratis-screenplay-model-translation).
|
|
4
|
+
compatibility: Requires the Screenplay CLI.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# React to a local fact
|
|
8
|
+
|
|
9
|
+
1. For immediate follow-up, start with a reaction to one local fact. Name what triggers it, the system actor, the inputs it needs and the effect it requests.
|
|
10
|
+
2. Use `invokes` when a command must decide. Choose `produces` only when the reaction already knows which fact to record and which event source to address. Map the event source explicitly when it is the command's target.
|
|
11
|
+
3. For a command gated on a role, use `runs as system role "<Role>"` under the reaction with the role required by the command. Don't borrow a user's identity. Specify the addressed effect and handle only the intended refusal. Keep a capture in a separate [translation](../cratis-screenplay-model-translation/SKILL.md); consume its local `DirectoryAuthorSeen` fact here.
|
|
12
|
+
|
|
13
|
+
`reaction batches atomic` protects a batch of facts the reaction produces directly; it does not deduplicate redelivery or roll back an independently invoked command. For delayed work, let the command recheck current state before it acts.
|
|
14
|
+
|
|
15
|
+
Choose a schedule when the clock determines when to act: `every 15 minutes` for an interval or `at 08:00` for a daily UTC time. Choose an application trigger when the host raises a signal that isn't already a fact. Neither supplies an event source: use an explicit key such as `for "directory-welcomes"` under `produces`.
|
|
16
|
+
|
|
17
|
+
## Example: request one welcome per directory author
|
|
18
|
+
|
|
19
|
+
Use `AuthorId` from [Declare the slice](../cratis-screenplay-declare-slice/SKILL.md) and `DirectoryAuthorSeen` from the directory translation. Here the directory row ID is already the Library's `AuthorId`. The Library system requests a welcome, not delivery of the message. The command can record only one request per author; acknowledge just that constraint refusal on redelivery.
|
|
20
|
+
|
|
21
|
+
```play
|
|
22
|
+
module Library
|
|
23
|
+
feature Authors
|
|
24
|
+
slice StateChange RequestDirectoryWelcome
|
|
25
|
+
event DirectoryWelcomeRequested
|
|
26
|
+
name String
|
|
27
|
+
|
|
28
|
+
constraint OneDirectoryWelcome
|
|
29
|
+
unique event DirectoryWelcomeRequested
|
|
30
|
+
|
|
31
|
+
command RequestDirectoryWelcome
|
|
32
|
+
id AuthorId identifier
|
|
33
|
+
name String
|
|
34
|
+
produces DirectoryWelcomeRequested
|
|
35
|
+
for id
|
|
36
|
+
name = name
|
|
37
|
+
|
|
38
|
+
specification RecordingAstersWelcomeRequest
|
|
39
|
+
when RequestDirectoryWelcome
|
|
40
|
+
id = "11111111-1111-4111-8111-111111111111"
|
|
41
|
+
name = "Aster"
|
|
42
|
+
then DirectoryWelcomeRequested
|
|
43
|
+
for "11111111-1111-4111-8111-111111111111"
|
|
44
|
+
name = "Aster"
|
|
45
|
+
|
|
46
|
+
specification RefusingADuplicateWelcomeRequest
|
|
47
|
+
given DirectoryWelcomeRequested
|
|
48
|
+
for "11111111-1111-4111-8111-111111111111"
|
|
49
|
+
name = "Aster"
|
|
50
|
+
when RequestDirectoryWelcome
|
|
51
|
+
id = "11111111-1111-4111-8111-111111111111"
|
|
52
|
+
name = "Aster"
|
|
53
|
+
then error
|
|
54
|
+
|
|
55
|
+
slice Automation WelcomeDirectoryAuthor
|
|
56
|
+
reaction OnDirectoryAuthorSeen
|
|
57
|
+
runs as system
|
|
58
|
+
when DirectoryAuthorSeen
|
|
59
|
+
name
|
|
60
|
+
invokes RequestDirectoryWelcome
|
|
61
|
+
id = $eventSourceId
|
|
62
|
+
name = name
|
|
63
|
+
on refused by constraint OneDirectoryWelcome
|
|
64
|
+
acknowledge
|
|
65
|
+
|
|
66
|
+
specification RequestingAstersWelcome
|
|
67
|
+
when append DirectoryAuthorSeen
|
|
68
|
+
for "11111111-1111-4111-8111-111111111111"
|
|
69
|
+
name = "Aster"
|
|
70
|
+
then invokes RequestDirectoryWelcome
|
|
71
|
+
id = "11111111-1111-4111-8111-111111111111"
|
|
72
|
+
name = "Aster"
|
|
73
|
+
|
|
74
|
+
specification RedeliveringAfterWelcomeRequested
|
|
75
|
+
given DirectoryAuthorSeen
|
|
76
|
+
for "11111111-1111-4111-8111-111111111111"
|
|
77
|
+
name = "Aster"
|
|
78
|
+
given DirectoryWelcomeRequested
|
|
79
|
+
for "11111111-1111-4111-8111-111111111111"
|
|
80
|
+
name = "Aster"
|
|
81
|
+
when redelivered DirectoryAuthorSeen to OnDirectoryAuthorSeen
|
|
82
|
+
then no events
|
|
83
|
+
then invokes RequestDirectoryWelcome
|
|
84
|
+
id = "11111111-1111-4111-8111-111111111111"
|
|
85
|
+
name = "Aster"
|
|
86
|
+
|
|
87
|
+
slice Automation ScheduleWelcomeReview
|
|
88
|
+
event DirectoryWelcomeReviewDue
|
|
89
|
+
|
|
90
|
+
reaction ReviewPendingWelcomes
|
|
91
|
+
every 15 minutes
|
|
92
|
+
produces DirectoryWelcomeReviewDue
|
|
93
|
+
for "directory-welcomes"
|
|
94
|
+
|
|
95
|
+
specification CheckingPendingWelcomesOnTheQuarterHour
|
|
96
|
+
given clock "2026-10-05T08:00:00Z"
|
|
97
|
+
when clock "2026-10-05T08:15:00Z"
|
|
98
|
+
then DirectoryWelcomeReviewDue
|
|
99
|
+
for "directory-welcomes"
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Run `screenplay test model --format json` on the composed model. Require the command, invocation, redelivery and clock specifications to pass. `then invokes` compares only the invocations and the stated input values. `then no events` separately checks that redelivery records nothing. The command's own examples check the recorded fact and duplicate refusal. Implement the runtime reaction (`cratis-chronicle-react-to-fact` skill in `cratis/chronicle`) with a reactor after commit; verify target support and test any external delivery separately.
|
|
103
|
+
|
|
104
|
+
For work requested by a host rather than a calendar, [replace the schedule with a host trigger](references/host-trigger.md).
|
|
105
|
+
|
|
106
|
+
Read [reaction boundaries](references/reaction-boundaries.md) if a decision depends on current state, an invocation can refuse, or a batch spans several effects. For a provider call, [choose the retry contract](references/external-effects.md) before modeling the result.
|
|
107
|
+
|
|
108
|
+
If the decision is about [entity state or a durable process](references/statemachines-and-workflows.md), use a state machine or workflow instead of chaining reactions.
|
|
109
|
+
|
|
110
|
+
## When it goes off the usual path
|
|
111
|
+
|
|
112
|
+
- **The command lives in another slice:** assert the handoff with `then invokes` here, and assert the command's events in its own slice. A specification runs only its own slice's follow-up behavior.
|
|
113
|
+
- **A provider may have performed the effect before losing its reply:** retry only if the provider contract permits it. Reuse the original key for an idempotent call; reconcile an uncertain non-repeatable call instead. A unique request fact doesn't make an external effect exactly once.
|
package/package/corpus/skills/cratis-screenplay-model-automation/references/external-effects.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# What if the provider acted but the reply was lost?
|
|
2
|
+
|
|
3
|
+
Follow one welcome request across the boundary. Suppose the mail service accepted it, then the worker crashed before recording delivery. A constraint can prevent a second request fact without preventing a second email. Redelivering a fact successfully in a specification does not prove a real provider deduplicates deliveries.
|
|
4
|
+
|
|
5
|
+
Choose the ability's effect class from the provider's contract, not the desired retry policy:
|
|
6
|
+
|
|
7
|
+
| Class | After a timeout with unknown outcome |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| `safe` | Retry a read with no external effect. Do not classify “send” as safe because most calls succeed. |
|
|
10
|
+
| `idempotent` | Retry with **the same key**. Name the provider, the logical request the key identifies and how the worker recovers it after restart. A fresh attempt ID defeats the guarantee. |
|
|
11
|
+
| `once` (default) | Stop for reconciliation. Look up the original request with the provider before deciding whether another attempt is authorized. Do not convert “no reply” to “not sent”. |
|
|
12
|
+
|
|
13
|
+
Separate what came back from what happened. A returned value feeds a successful continuation. A declared domain outcome such as no pickup capacity is an answer, not a connection failure. A failed invocation follows its failure path. Assert the branch and the resulting fact separately. A scripted answer proves the model handles that answer, not that it contacted the system. Test the real delivery contract in an authorized integration environment, including interruption after acceptance and before local confirmation.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Review welcomes on a host signal
|
|
2
|
+
|
|
3
|
+
Declare `trigger DirectoryWelcomeReviewRequested` at the model root. Keep `DirectoryWelcomeReviewDue` in `ScheduleWelcomeReview` and replace its reaction and specification with:
|
|
4
|
+
|
|
5
|
+
```play
|
|
6
|
+
reaction ReviewWelcomesOnRequest
|
|
7
|
+
when DirectoryWelcomeReviewRequested
|
|
8
|
+
produces DirectoryWelcomeReviewDue
|
|
9
|
+
for "directory-welcomes"
|
|
10
|
+
|
|
11
|
+
specification ReviewingWelcomesOnRequest
|
|
12
|
+
when trigger DirectoryWelcomeReviewRequested
|
|
13
|
+
then DirectoryWelcomeReviewDue
|
|
14
|
+
for "directory-welcomes"
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Run `screenplay test model --format json` and check that `ReviewingWelcomesOnRequest` passed. The specification supplies the signal; the host must still raise it at runtime.
|
package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-boundaries.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Decide what one reaction can promise
|
|
2
|
+
|
|
3
|
+
For entity state or work that waits for a later fact or a person, use [state machines and workflows](statemachines-and-workflows.md).
|
|
4
|
+
|
|
5
|
+
Start with one occurrence. An event reaction sees a recorded fact; its command may still have to decide whether acting is allowed **now**. A reaction is not by itself a lifecycle: use a state machine to follow an entity's lifecycle facts, or model a workflow when the process itself owns waits, deadlines and human work. A repeated entry can repeat its effects.
|
|
6
|
+
|
|
7
|
+
**Whose authority?** Declare `runs as system` once directly on the reaction, not on an individual trigger. Its declared roles apply to the commands it invokes across triggers. It does not supply arbitrary user claims, change the original caller or turn a direct `produces` into an authorized command. Without the declaration the invocation has no caller in the reference evaluator. If two triggers need different privileges, separate their responsibilities rather than giving both the union of roles.
|
|
8
|
+
|
|
9
|
+
**Whose decision?** If creating a welcome depends on whether an author is still eligible, pass the addressed author to the command and let the command protect its own decision read. Declaring a trigger `reads` does not make direct production from a stale read safe. An invocation-only reaction cannot map a read alias as a portable trigger value. Hiding the read in an opaque body does not establish protection either. For an event trigger, `$eventSourceId` identifies the triggering stream, not the caller; use it only when that is the desired command target.
|
|
10
|
+
|
|
11
|
+
**Which effects commit together?** At the application root, `reaction batches atomic` groups the direct productions of one trigger occurrence. Each invoked command decides independently. A selected refusal branch that produces facts has its own batch. Do not promise to undo an earlier accepted command when a later invocation refuses. Name the business refusal (authorization, validation or the intended constraint) that a branch may handle. A concurrency conflict or an unavailable store is not a business denial: leave it visible for retry or investigation rather than acknowledging it.
|
|
12
|
+
|
|
13
|
+
For a work list, project an opening fact such as `DirectoryWelcomeRequested` to a pending item. An invocation asks for the work; remove the item only on the agreed completion or cancellation fact. If the provider refuses or delivery is uncertain, keep the item pending or visibly in need of reconciliation according to the owner's decision. A row in the work list is not evidence a worker ran. Conversely, if registration itself is the complete business fact and nobody owes another action, do not invent a worker to publish a duplicate fact.
|
|
14
|
+
|
|
15
|
+
Check a normal occurrence, the named refusal and redelivery of the original fact. On redelivery, compare new effects without appending the trigger again. A successful check of this boundary does not prove a downstream message was delivered.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Model entity state and durable work separately
|
|
2
|
+
|
|
3
|
+
Use a top-level state machine for the state of one entity; its `follows` read model's key is the subject identity. Use a top-level workflow when a process must carry on across several steps, including a time or human wait. The `for` read model's key identifies the subject; one run of that workflow can be active per subject.
|
|
4
|
+
|
|
5
|
+
These excerpts assume a keyed `Invoice` read model, `InvoiceRegistered`, `InvoiceSent` and `InvoicePaid` facts on the invoice stream, `NotifyPaid`, `WriteOff` and `OfferPlan` commands, and a `Controller` persona. Supply every required fixture property in the actual model.
|
|
6
|
+
|
|
7
|
+
```play
|
|
8
|
+
statemachine InvoiceLifecycle
|
|
9
|
+
follows Invoice
|
|
10
|
+
state Draft initial
|
|
11
|
+
on InvoiceSent -> Sent
|
|
12
|
+
state Sent final
|
|
13
|
+
|
|
14
|
+
specification SendingMovesToSent
|
|
15
|
+
given InvoiceRegistered
|
|
16
|
+
for "9c858901-8a57-4791-81fe-4c455b099bc9"
|
|
17
|
+
when append InvoiceSent
|
|
18
|
+
for "9c858901-8a57-4791-81fe-4c455b099bc9"
|
|
19
|
+
then is Sent
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
```play
|
|
23
|
+
workflow Collect
|
|
24
|
+
for Invoice
|
|
25
|
+
trigger Sent on InvoiceSent
|
|
26
|
+
-> Await
|
|
27
|
+
wait Await for InvoicePaid expires after 7 days
|
|
28
|
+
resumed -> Receipt
|
|
29
|
+
expired -> Review
|
|
30
|
+
approval Review by Controller expires after 1 day
|
|
31
|
+
approved -> Write
|
|
32
|
+
rejected -> Plan
|
|
33
|
+
expired -> Plan
|
|
34
|
+
action Receipt invokes NotifyPaid
|
|
35
|
+
action Write invokes WriteOff
|
|
36
|
+
action Plan invokes OfferPlan
|
|
37
|
+
|
|
38
|
+
specification TheRunWaits
|
|
39
|
+
given InvoiceRegistered
|
|
40
|
+
for "9c858901-8a57-4791-81fe-4c455b099bc9"
|
|
41
|
+
when append InvoiceSent
|
|
42
|
+
for "9c858901-8a57-4791-81fe-4c455b099bc9"
|
|
43
|
+
then waits at Await
|
|
44
|
+
|
|
45
|
+
specification DeadlineSendsToReview
|
|
46
|
+
given InvoiceRegistered
|
|
47
|
+
for "9c858901-8a57-4791-81fe-4c455b099bc9"
|
|
48
|
+
when append InvoiceSent
|
|
49
|
+
for "9c858901-8a57-4791-81fe-4c455b099bc9"
|
|
50
|
+
outcome Await expired
|
|
51
|
+
then waits at Review
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
The language binds state transitions, workflow node outlets and subject identity. The reference runner compares transitions, suspensions and command invocations; `outcome` supplies a simulated wait or approval result, not elapsed time or a real response. For the deployed target separately prove its admission, storage, deadlines, approval authorization and command effects. Stage runtime approval support does not imply the Stage-rendered application exposes an approval surface; report an unsupported construct as a gap.
|