@cratis/pi 7.194.2 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +19 -339
- package/package/corpus/hooks/scripts/cratis-guard-secrets.sh +3 -3
- 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/flaky-and-hung-jobs.md +1 -0
- 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 +15 -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,111 @@
|
|
|
1
|
+
# C#: declare a model-bound Arc command
|
|
2
|
+
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- Read state to make a decision
|
|
6
|
+
- When the server allocates the ID
|
|
7
|
+
- What `Handle` may return
|
|
8
|
+
- Which event source the command targets
|
|
9
|
+
- `Provide`, generated values and context
|
|
10
|
+
- What the audit record keeps
|
|
11
|
+
|
|
12
|
+
Prerequisite: the `Cratis` package, or `Cratis.Arc` alone for a command that records no event.
|
|
13
|
+
|
|
14
|
+
Keep the ID in the request when the caller already owns it. Put this command in `Features/Authors/Registration/RegisterAuthor.cs`. Use the existing `AuthorId` from `Library.Features.Authors` and `AuthorRegistered` from the command's namespace. `Cratis` supplies the framework global usings. Without those global usings, import `Cratis.Arc.Commands.ModelBound` for `[Command]`.
|
|
15
|
+
|
|
16
|
+
```csharp
|
|
17
|
+
namespace Library.Features.Authors.Registration;
|
|
18
|
+
|
|
19
|
+
[Command]
|
|
20
|
+
public record RegisterAuthor(AuthorId Id, string Name)
|
|
21
|
+
{
|
|
22
|
+
public AuthorRegistered Handle() => new(Name);
|
|
23
|
+
}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Use the shared `AuthorId` record, which derives from `EventSourceId<Guid>`; don't redeclare it in the command. Arc selects the event source by property type, so the single `AuthorId` property identifies the author's history in any constructor position. In this event-sourced state change, `Handle()` decides which fact to record. Return the accepted name in the event; the Arc pipeline with Chronicle appends it once.
|
|
27
|
+
|
|
28
|
+
For a command that already uses an ordinary concept or primitive as its identity, mark that one positional member `[property: Key]` using `Cratis.Chronicle.Keys`. A property named `Id` alone does not select the event source. `EventSourceId` is a type, not an attribute.
|
|
29
|
+
|
|
30
|
+
**Two candidate IDs:** if `BookId` and `BorrowerId` both derive from `EventSourceId<Guid>`, don't let property order decide where `BookLent` lands. For book-owned history, use `Cratis.Chronicle.Events`:
|
|
31
|
+
|
|
32
|
+
```csharp
|
|
33
|
+
[Command]
|
|
34
|
+
public record LendBook(BookId BookId, BorrowerId BorrowerId) : ICanProvideEventSourceId
|
|
35
|
+
{
|
|
36
|
+
public EventSourceId GetEventSourceId() => BookId;
|
|
37
|
+
public BookLent Handle() => new(BorrowerId);
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
In the command scenario, use different IDs and assert the single append is to the book, not the borrower. This tests ownership, not the handler's field copy.
|
|
42
|
+
|
|
43
|
+
Before Arc 25.3.3, command-level `[EventSource<T>]` can fail before `Handle` when the host validates dependency injection scopes and the caller is unchanged. Upgrade to Arc 25.3.3 or later. If you can't upgrade, omit the attribute and wrap each event: `new EventForEventSourceId(id, fact) { EventSource = typeof(T), EventStream = "StreamName" }`. Use the stream name declared by `T`. This routes the append only; an injected per-stream read model still needs a matching command route.
|
|
44
|
+
|
|
45
|
+
## Read state to make a decision
|
|
46
|
+
|
|
47
|
+
Inject the read model into the validator constructor to refuse with a message, or into `Handle` to build the event. Under `On`, both reads guard the append. `[LookUpBy]` selects the read, not the append. For a book-owned `CreditAuthor` command, read the author by `AuthorId`:
|
|
48
|
+
|
|
49
|
+
```csharp
|
|
50
|
+
public AuthorCredited Handle([LookUpBy(nameof(CreditAuthor.AuthorId))] Author author) =>
|
|
51
|
+
new(AuthorId, author.Name);
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
`LookUpBy` is in `Cratis.Arc.Commands`. Finding the author does not authorize changes to the book. A per-stream model follows the command's route, not `LookUpBy`. For a caller-derived, related, computed, or optional key, protect the decision with the Chronicle guard. Don't bypass the guard with a raw MongoDB or `IReadModels` read in `Provide`.
|
|
55
|
+
|
|
56
|
+
## When the server allocates the ID
|
|
57
|
+
|
|
58
|
+
Choose this when the Library, not the caller, allocates the ID. In `Features/Authors/AuthorId.cs`, add `IGeneratable<AuthorId>` (from `Cratis.Concepts`) to the existing declaration: `public record AuthorId(Guid Value) : EventSourceId<Guid>(Value), IGeneratable<AuthorId>`. Keep its existing `New()` factory and replace the command with:
|
|
59
|
+
|
|
60
|
+
```csharp
|
|
61
|
+
namespace Library.Features.Authors.Registration;
|
|
62
|
+
|
|
63
|
+
[Command]
|
|
64
|
+
public record RegisterAuthor(string Name)
|
|
65
|
+
{
|
|
66
|
+
public (AuthorId, EventForEventSourceId) Handle([GeneratedValue("authorId")] AuthorId authorId) =>
|
|
67
|
+
(authorId, new EventForEventSourceId(authorId, new AuthorRegistered(Name)));
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Arc calls `AuthorId.New()` for the generated parameter. The wrapper addresses the event to that ID; the first tuple item returns it to the caller. If the caller does not need the ID, return only the wrapper. Check `IsSuccess` before using the response. In the backend spec, import `Cratis.Arc.Testing.Commands` and insert `scenario.PinGeneratedValue("authorId", id);` before execution. Supply the fixed `AuthorId id` used by the append assertion.
|
|
72
|
+
|
|
73
|
+
## What `Handle` may return
|
|
74
|
+
|
|
75
|
+
| Return | What Arc does |
|
|
76
|
+
| --- | --- |
|
|
77
|
+
| `void` or `Task` | No response; a task is awaited. |
|
|
78
|
+
| An event, or a collection of events | Appended once to the command's event source. Not sent to the caller. |
|
|
79
|
+
| `EventForEventSourceId` | Appended to the source the wrapper names, whatever the command's own target is. |
|
|
80
|
+
| `ICommandOperation` | Executed on the server; never the response. |
|
|
81
|
+
| Any other value | Becomes the response. |
|
|
82
|
+
| A tuple | Each non-null element is handled on its own; at most one unhandled element becomes the response. |
|
|
83
|
+
|
|
84
|
+
Two unhandled tuple elements produce an exception-bearing result, not a two-field response: return one record instead. Declare an operation in the return type so its handling is evident.
|
|
85
|
+
|
|
86
|
+
## Which event source the command targets
|
|
87
|
+
|
|
88
|
+
1. `ICanProvideEventSourceId` wins.
|
|
89
|
+
2. Otherwise the first public property that is an `EventSourceId`, derives from `EventSourceId<T>` or carries Chronicle's `[Key]`. A typed property is not preferred over a `[Key]` property, and several candidates never form a composite key: declare exactly one.
|
|
90
|
+
3. With no candidate Arc generates a new identity, which suits creation only.
|
|
91
|
+
|
|
92
|
+
`[Key]` from `System.ComponentModel.DataAnnotations` is not Chronicle's `[Key]` and selects nothing. A returned `EventSourceId` addresses the returned events and becomes the response, but it arrives after dependencies were loaded: it never reloads a read model or retargets an aggregate. A returned raw `Guid` is only a response.
|
|
93
|
+
|
|
94
|
+
### Stream routing and completion
|
|
95
|
+
|
|
96
|
+
Source identity, stream selection and concurrency are separate decisions. Use `[EventStreamId("{A}:{B}")]` for a stream ID from command properties `A` and `B`; use `ICanProvideEventStreamId` instead when code must compute it. Combining a valued attribute (even a template) and the provider throws `AmbiguousEventStreamId`.
|
|
97
|
+
|
|
98
|
+
For an application-defined `AuthorHistory` event source with an `Edition` stream, derive the route with `var route = routes.For<AuthorHistory>("Edition").WithStreamId("first");`, where `routes` is `IEventRoutes` from `Cratis.Arc.Chronicle.Streams`. Use `IStreamReads.Stream(authorId, route)` to guard that exact stream, or `StreamType(authorId, route)` to guard every stream of that type for that source. Only one exact stream scope is available per source ID. Return `route.Route(authorId, fact)` to create an `EventForEventSourceId` with explicit routing that overrides the command context.
|
|
99
|
+
|
|
100
|
+
With Arc 22.81.0 and kernel 19.39.0 or later, return `CompleteStream` (for example `route.Complete()`) to close a non-default stream. Arc commits events first and completes separately. A declared source key, source provider or returned source ID scopes completion to that source; without one, completion applies across sources. For two authors with stream `Edition/first`, let a close command declare the first author's ID and return `route.Complete()`; verify a later append there is refused and the second author's stream still accepts writes. If completion fails after commit, retry completion alone; do not append the events again.
|
|
101
|
+
|
|
102
|
+
## `Provide`, generated values and context
|
|
103
|
+
|
|
104
|
+
- `Provide()` runs after filters succeed and passes its result into `Handle()`. It prepares a dependency; it does not add a response value, and it must not replace a caller-keyed or protected read.
|
|
105
|
+
- A `[GeneratedValue]` identity is guarded: the whole event source has to be empty when returned events or the command's unit of work target it. The guard does not cover an immediate event-log append, an external store or an ID the client supplied. Keep returning events; use `[GeneratedValue(Freshness = GeneratedValueFreshness.Unguarded)]` only for a destination that is meant to exist already.
|
|
106
|
+
- Arc validates a generated value after successful `Provide()` and before capture, including warning-level failures. `GeneratedValueRejected` is a server-generation fault, not a caller field refusal. Do not log or return the rejected value, including through validation message templates. Capture names are stable and case-sensitive. Pin an invalid generated value in a scenario and assert an exceptional result with no capture for that name; separately send invalid input and assert a field validation result without inspecting or logging the rejected value.
|
|
107
|
+
- Take the time from `CommandContext.ReceivedAt` and the caller from the pipeline rather than `DateTimeOffset.UtcNow`, so a scenario can fix them.
|
|
108
|
+
|
|
109
|
+
## What the audit record keeps
|
|
110
|
+
|
|
111
|
+
Arc copies public command values into each event's causation, separately from the event itself. `[PII]` and `[NotAudited]` on a top-level command property keep the value out. Exclusion is not recursive: mark the containing property or the command when nested data is sensitive. Encrypting the event property does not remove the command value from causation. Never store a password or token as a reversible event value.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Return the command decision in Elixir
|
|
2
|
+
|
|
3
|
+
Use one module per command. Name the field that owns the history in the schema; for a UUID event source, use a Chronicle UUID concept with `event_source_id: true`.
|
|
4
|
+
|
|
5
|
+
```elixir
|
|
6
|
+
defmodule Library.Authors.RegisterAuthor do
|
|
7
|
+
use Cratis.Arc.Command
|
|
8
|
+
|
|
9
|
+
schema do
|
|
10
|
+
field :id, Library.Authors.AuthorId, key: true, required: true
|
|
11
|
+
field :name, :string, required: true
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def handle(%__MODULE__{name: name}, _ctx),
|
|
15
|
+
do: {:append, %Library.Authors.AuthorRegistered{name: name}}
|
|
16
|
+
end
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Validate before making decision reads. When state is required, load it in the provision step before `handle/2`, not again during the append. Return `{:ok, response}` for a response without an append. For an event, return `{:append, event}` and let Arc append it to the key's history.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Register the command in Go
|
|
2
|
+
|
|
3
|
+
Bind request fields to a struct and return `(result, error)` from the method. Register the method expression before building the host; there is no reflective command scan. For example, `Greet.Handle` returns a client reply, whereas `RegisterBook.Handle` requests an append through the Chronicle integration:
|
|
4
|
+
|
|
5
|
+
```go
|
|
6
|
+
package library
|
|
7
|
+
|
|
8
|
+
import (
|
|
9
|
+
"context"
|
|
10
|
+
|
|
11
|
+
arc "github.com/cratis/arc.go"
|
|
12
|
+
"github.com/cratis/arc.go/commands"
|
|
13
|
+
"github.com/cratis/arc.go/integrations/chronicle"
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
type Greet struct {
|
|
17
|
+
Name string `json:"name" validate:"required"`
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
func (c Greet) Handle(context.Context) (string, error) { return "Hello, " + c.Name, nil }
|
|
21
|
+
|
|
22
|
+
func RegisterGreet(builder *arc.Builder) error {
|
|
23
|
+
return commands.Register[Greet](builder, commands.Handle(Greet.Handle))
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
type BookID string
|
|
27
|
+
|
|
28
|
+
type RegisterBook struct {
|
|
29
|
+
BookID BookID `json:"bookId"`
|
|
30
|
+
Title string `json:"title" validate:"required"`
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
type BookRegistered struct {
|
|
34
|
+
Title string `json:"title"`
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
func (c RegisterBook) Handle(context.Context) (chronicle.EventBatch, error) {
|
|
38
|
+
return chronicle.Events(chronicle.EventForSource(
|
|
39
|
+
chronicle.EventSourceID(c.BookID), BookRegistered{Title: c.Title},
|
|
40
|
+
)), nil
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
func RegisterBookCommand(builder *arc.Builder) error {
|
|
44
|
+
return commands.Register[RegisterBook](builder, commands.Handle(RegisterBook.Handle),
|
|
45
|
+
commands.WithNoResponse[RegisterBook]())
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
For the append example, register `BookRegistered` in the Chronicle event catalog and install the integration on the builder before `Build`. For Go event registration, use the `cratis-chronicle-record-event` skill (in `cratis/chronicle/client-go`). The integration is a nested module: the root Arc version does not version it. Use a verified integration checkout or version as described in `cratis-arc-select-backend-sdk` (in `cratis/arc/go`); without the integration use the standalone reply example and don't claim an append.
|
|
50
|
+
|
|
51
|
+
A plain return is not a request to persist. Use `chronicle.Events` to group event values and `chronicle.EventForSource` to name an individual event's target explicitly. Verify that target in a pipeline spec. For preparation before a decision, use `commands.WithProvide(provide, handle)` to bind the preparation function and consume its typed result. Finish registration before `Build`; it seals composition.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Declare the handler and return its outcome in Java
|
|
2
|
+
|
|
3
|
+
Place a `@Command` record in the owning feature. The generated adapter binds its components from the payload and resolves service parameters for its public `handle` method. For a service-backed write:
|
|
4
|
+
|
|
5
|
+
```java
|
|
6
|
+
@Command
|
|
7
|
+
public record CreateTask(String title) {
|
|
8
|
+
public CompletionStage<TaskCreated> handle(TaskStore repository) {
|
|
9
|
+
var task = repository.create(title);
|
|
10
|
+
return CompletableFuture.completedFuture(new TaskCreated(task.id(), task.title()));
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Keep asynchronous work in the returned stage; the adapter waits for it. For a Chronicle-backed decision, **return** the event instead of writing it in the repository. Put `@CommandKey` on the record component that owns the history, or implement `CommandKeyProvider` with `public Object commandKey()` returning the selected key.
|
|
16
|
+
|
|
17
|
+
If the decision depends on a particular observed position, return `CompletionStage<EventsWithConcurrencyScopes>` and build the outcome with `EventsWithConcurrencyScopes.builder().event(id, event).expectedSequenceNumber(id, expected).build()`. Set `@CommandEventSourceType("Task")`, `@CommandEventStreamId("rename-stream")` or `@CommandEventSubject("task-owner")` on the record only when the event needs those metadata.
|
|
18
|
+
|
|
19
|
+
For an alternate event target construct `new EventForEventSourceId(otherId, event)` rather than changing the entire command key. Keep a provision step in a public `provide` method when state is needed before handling; consume the prepared value without reading it again.
|
|
20
|
+
|
|
21
|
+
Use `CommandProvidedValues.of(first, second)` when `provide` returns multiple values. Each assignable handler parameter consumes its match once. With Chronicle installed a `Pair<AuthorId, AuthorRegistered>` can carry the response ID and event together: `return new Pair<>(id, new AuthorRegistered(name));`. The caller receives the ID; verify the event separately.
|
|
22
|
+
|
|
23
|
+
## Return a collection of events
|
|
24
|
+
|
|
25
|
+
Return `List.of(new TaskRenamed(previousTitle, title), new TaskRenamed(previousCopyTitle, title))` to target the record's `@CommandKey` for both events, or wrap an event with `new EventForEventSourceId(copyId, event)` to target a different history. A mixed plain/routed list must contain only events; a non-event member makes it invalid, with no partial append.
|
|
26
|
+
|
|
27
|
+
With the Chronicle transaction installed, awaited nested commands stage events under the outer command. Only outer success commits them; refusal or failure in either command discards the staged batch. A `constraintViolation` names a business constraint; a `concurrencyViolation` means the expected history position was stale.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Declare the handler and return its outcome in Kotlin
|
|
2
|
+
|
|
3
|
+
Declare `@Command` on a data class; KSP generates the adapter. Put `@CommandKey` on the property that addresses the history. Resolve dependencies as handler parameters rather than deserializing a repository from the request. For a state-dependent decision, provide the state once and consume the supplied value in `handle`; don't query a second time after deciding which version to protect.
|
|
4
|
+
|
|
5
|
+
```kotlin
|
|
6
|
+
import io.cratis.arc.artifacts.Command
|
|
7
|
+
import io.cratis.arc.artifacts.CommandKey
|
|
8
|
+
import io.cratis.arc.chronicle.EventsWithConcurrencyScopes
|
|
9
|
+
import io.cratis.chronicle.eventSequences.EventForEventSourceId
|
|
10
|
+
import io.cratis.chronicle.events.EventType
|
|
11
|
+
|
|
12
|
+
data class TaskView(val title: String)
|
|
13
|
+
|
|
14
|
+
interface TaskViews {
|
|
15
|
+
fun get(id: String): TaskView
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@EventType(id = "task-renamed")
|
|
19
|
+
data class TaskRenamed(val previousTitle: String, val title: String)
|
|
20
|
+
|
|
21
|
+
@Command
|
|
22
|
+
data class RenameTask(@CommandKey val id: String, val title: String, val expected: Long) {
|
|
23
|
+
fun provide(views: TaskViews): TaskView = views.get(id)
|
|
24
|
+
|
|
25
|
+
fun handle(current: TaskView): EventsWithConcurrencyScopes =
|
|
26
|
+
EventsWithConcurrencyScopes.builder()
|
|
27
|
+
.event(EventForEventSourceId(id, TaskRenamed(current.title, title)))
|
|
28
|
+
.expectedSequenceNumber(id, expected)
|
|
29
|
+
.build()
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Register the `TaskViews` implementation with the host and `TaskRenamed` with Chronicle. Return this outcome to the Chronicle integration; do not append separately. `@CommandEventSourceType` names the source type, `@CommandEventStreamId` names the stream and `@CommandEventSubject` sets the subject. Test a stale sequence: no rename should be appended.
|
|
34
|
+
|
|
35
|
+
Declare a single key: a constructor key plus a body key is rejected at compile time (`ARCKSP0106`), not combined. Use `commandProvidedValuesOf` to pass prepared values to the handler. An `EventForEventSourceId` routes an individual returned event to a different history. Keep the event and caller response distinct when the handler returns both; a response is not another event to append.
|
|
36
|
+
|
|
37
|
+
Use a `Pair` for two outputs together, `ArcOneOf` for alternative outcomes. Diagnose KSP findings before changing HTTP routing: `ARCKSP0100` warns about a missing command annotation, `0101` rejects an unsupported declaration, `0106` rejects ambiguous keys and `0110` rejects invalid event metadata.
|
|
38
|
+
|
|
39
|
+
## Return a collection of events
|
|
40
|
+
|
|
41
|
+
Return `listOf(TaskRenamed(previousTitle, title), TaskRenamed(previousCopyTitle, title))` to target the command's `@CommandKey` for both events, or wrap an event with `EventForEventSourceId(copyId, event)` to target a different history. A mixed plain/routed list must contain only events; a non-event member makes it invalid, with no partial append.
|
|
42
|
+
|
|
43
|
+
With the Chronicle transaction installed, awaited nested commands stage events under the outer command. Only outer success commits them; refusal or failure in either command discards the staged batch. A `constraintViolation` names a business constraint; a `concurrencyViolation` means the expected history position was stale. For a pipeline spec, see `cratis-arc-invoke-command`.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Bind the Node command handler
|
|
2
|
+
|
|
3
|
+
Export a `@command()` class from the feature. Describe input properties with `@field` and keep injected services on the handler signature. `TaskId`, `TaskTitle` and the `Tasks` service are your application's types:
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { command } from '@cratis/arc.core';
|
|
7
|
+
import { field } from '@cratis/fundamentals';
|
|
8
|
+
|
|
9
|
+
@command()
|
|
10
|
+
export class RegisterTask {
|
|
11
|
+
@field(TaskId) id!: TaskId;
|
|
12
|
+
@field(TaskTitle) title!: TaskTitle;
|
|
13
|
+
|
|
14
|
+
handle(tasks: Tasks): TaskId {
|
|
15
|
+
tasks.register(this.id, this.title);
|
|
16
|
+
return this.id;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Register the service and load current generated metadata, or supply explicit binding descriptors. TypeScript erases parameter types. Build the host to detect unbound dependencies; explicit descriptors take precedence over generated inference. For an event-producing handler return the fact to the configured Chronicle integration and check that the owning ID's history contains it once.
|
|
22
|
+
|
|
23
|
+
## Explicit `@inject` markers
|
|
24
|
+
|
|
25
|
+
Use one explicit token or marker per injected parameter on `handle()` or `provide()`, in signature order. For typed provision, `@inject(Tasks, abortSignal(), commandContext(), provided(Foo))` binds the prepared `Foo` at the fourth parameter of `handle()`. Use `commandReadModel(Type)` for a read model, `mongoCollection(Type)` for MongoDB or `drizzleDatabase()` for Drizzle. If using the positional provision convention instead of `provided(Type)`, Arc supplies the first handler argument separately.
|
|
26
|
+
|
|
27
|
+
Do not rely on reflection for default or rest parameters: it stops counting at the first one. Prefer fixed named parameters over those signatures; generated bindings do not accept rest parameters. If generated metadata and explicit tokens do not cover the handler signature, `await builder.build()` can fail with `Unbound handle parameters on <Type>.handle`. Run the build at startup to exercise this check.
|
|
28
|
+
|
|
29
|
+
When observers must see an append before the reply, `completionTimeoutMs` bounds the wait for every observer. A timeout can follow a committed append: do not repeat a non-idempotent command to fix a slow observer. Compensation has its own cooperative `commandCompensationTimeoutMs`; it does not revert a committed event. Use `eventSourceIdResponse` when the response is the history ID rather than the event itself.
|
|
30
|
+
|
|
31
|
+
## Prepare inputs on the command instance
|
|
32
|
+
|
|
33
|
+
An optional `provide()` runs on the same command instance after authorization and validation, before `handle()`. A plain return value is the first `handle()` argument, before injected services. For several prepared values, return `tuple(a, b)` and bind each handler parameter explicitly: `@inject(provided(A), commandContext(), provided(B))` supplies the two prepared instances by runtime type and the context between them. Use service tokens for injected services. On a command, use `@inject` only on `provide()` or `handle()`; the preparation method itself cannot consume a `provided(...)` token.
|
|
34
|
+
|
|
35
|
+
Return `rejected(validation(...))` from `provide()` when the prepared record is missing: the caller receives 400 and `handle()` is not called. Prove both outcomes in the spec. For severity and rejection details, read “Reject from `provide()` or `handle()`” in `cratis-arc-validation-typescript` (in `cratis/arc/server-typescript`). If it is not installed, use the rejection pattern above and the TypeScript reference in `cratis-arc-validate-command` for field rules.
|
|
36
|
+
|
|
37
|
+
## Route and protect returned events
|
|
38
|
+
|
|
39
|
+
Return `eventForEventSourceId({ eventSourceId: otherId, event })` when an event belongs to a nondefault history. For a decision involving two histories, keep the exact server-observed `bigint` positions with the decision reads and return one scoped batch; do not sample the tails after `handle()`.
|
|
40
|
+
|
|
41
|
+
```ts
|
|
42
|
+
import { eventForEventSourceId, eventsWithConcurrencyScopes } from '@cratis/arc.chronicle';
|
|
43
|
+
|
|
44
|
+
// From handle(), after deciding from the two observed histories:
|
|
45
|
+
return eventsWithConcurrencyScopes([
|
|
46
|
+
eventForEventSourceId({ eventSourceId: originalId, event: originalEvent }),
|
|
47
|
+
eventForEventSourceId({ eventSourceId: otherId, event: otherEvent }),
|
|
48
|
+
], {
|
|
49
|
+
[originalId]: { eventSourceId: true, sequenceNumber: observedOriginalPosition },
|
|
50
|
+
[otherId]: { eventSourceId: true, sequenceNumber: observedOtherPosition },
|
|
51
|
+
});
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Use the `cratis-chronicle-protect-decision` skill (in `cratis/chronicle`) for the design. With `ChronicleKernelScenario`, advance a guarded history after observation and assert that the stale-position refusal appends nothing from the batch to either history.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cratis-arc-declare-operation
|
|
3
|
+
description: Use when a developer needs an Arc command to call an external provider before it commits, with a way to undo that call if the command fails. Not for work after commit.
|
|
4
|
+
compatibility: Requires an Arc backend whose SDK supports command operations.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Run provider work before a command commits
|
|
8
|
+
|
|
9
|
+
Choose a command operation when provider work must run before the command (`cratis-arc-declare-command` skill in `cratis/arc`) commits. The handler returns an immutable description of the work; Arc runs it and can run its compensation if the command fails without committing. Give both the same caller-supplied identifier, so a repeated attempt does not act twice and compensation can find its own work, including when the provider accepted the call but its acknowledgement was lost.
|
|
10
|
+
|
|
11
|
+
Use one operation per provider action. Work that cannot be undone, such as sending mail, belongs in a reactor on the committed fact (`cratis-chronicle-react-to-fact` skill in `cratis/chronicle`), deduplicated by the same identifier.
|
|
12
|
+
|
|
13
|
+
## Read the reference for the host
|
|
14
|
+
|
|
15
|
+
For a command in a `*.csproj`, read [C#](references/csharp.md); for a Node server package, read [TypeScript](references/typescript.md); for a `go.mod` server, read [Go](references/go.md).
|
|
16
|
+
|
|
17
|
+
Kotlin, Java and Elixir have no verified returned-operation runner. If delivery after commit is acceptable, record a durable fact and process it idempotently. If the contract requires compensation before commit, put the command in a supported host. [Python](references/python.md) callers should invoke that service over HTTP, not simulate rollback locally.
|
|
18
|
+
|
|
19
|
+
## Expected outcome
|
|
20
|
+
|
|
21
|
+
In a pipeline scenario, make the provider call fail after it may have been accepted. The compensation receives the same identifier and the result still reports the original failure.
|
|
22
|
+
|
|
23
|
+
## Stop when
|
|
24
|
+
|
|
25
|
+
- **Commit is unknown or mixed:** reconcile the event and provider state before reversing anything. A failed response is not proof that nothing committed.
|
|
26
|
+
- **A committed outcome is wrong:** use a corrective fact (`cratis-chronicle-evolve-event` skill in `cratis/chronicle`) instead of compensating.
|
|
27
|
+
|
|
28
|
+
## Avoid
|
|
29
|
+
|
|
30
|
+
- Do not generate the identifier or call the provider in the handler.
|
|
31
|
+
- Do not track success with a mutable flag or undo in a catch block. Let Arc decide recovery from the commit outcome.
|
|
32
|
+
|
|
33
|
+
## Related skills
|
|
34
|
+
|
|
35
|
+
- Declare a command (`cratis-arc-declare-command` skill in `cratis/arc`)
|
|
36
|
+
- React after commit (`cratis-chronicle-react-to-fact` skill in `cratis/chronicle`)
|
|
37
|
+
|
|
38
|
+
For Elixir callers, read the [service boundary](references/elixir.md).
|
|
39
|
+
|
|
40
|
+
For Java callers, read the [service boundary](references/java.md).
|
|
41
|
+
|
|
42
|
+
For Kotlin callers, read the [service boundary](references/kotlin.md).
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# C#: return a command operation with compensation
|
|
2
|
+
|
|
3
|
+
Prerequisite: `Cratis.Arc`; add the Chronicle integration only when the command also records an event.
|
|
4
|
+
|
|
5
|
+
In `Features/Books/Reservations/`, put `ReservationId` in `ReservationId.cs` and `BookId` in `BookId.cs`. Both files use `namespace Library.Features.Books.Reservations;` and the `Cratis` global usings:
|
|
6
|
+
|
|
7
|
+
```csharp
|
|
8
|
+
public record ReservationId(Guid Value) : ConceptAs<Guid>(Value);
|
|
9
|
+
public record BookId(Guid Value) : ConceptAs<Guid>(Value);
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Place the provider interface, command and operation in `Features/Books/Reservations/ReserveBook.cs`:
|
|
13
|
+
|
|
14
|
+
```csharp
|
|
15
|
+
namespace Library.Features.Books.Reservations;
|
|
16
|
+
|
|
17
|
+
public interface IBookReservations
|
|
18
|
+
{
|
|
19
|
+
Task Reserve(ReservationId id, BookId book, CancellationToken cancellationToken);
|
|
20
|
+
Task Cancel(ReservationId id, CancellationToken cancellationToken);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[Command]
|
|
24
|
+
public record ReserveBook(ReservationId Id, BookId Book)
|
|
25
|
+
{
|
|
26
|
+
public ReserveBookOperation Handle() => new(Id, Book);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public record ReserveBookOperation(ReservationId Id, BookId Book) : ICommandOperation
|
|
30
|
+
{
|
|
31
|
+
public Task Execute(IBookReservations reservations, CancellationToken cancellationToken) =>
|
|
32
|
+
reservations.Reserve(Id, Book, cancellationToken);
|
|
33
|
+
|
|
34
|
+
public Task Compensate(IBookReservations reservations, CancellationToken cancellationToken) =>
|
|
35
|
+
reservations.Cancel(Id, cancellationToken);
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Implement `IBookReservations` in `Features/Books/Reservations/BookReservations.cs` as `BookReservations` and register it before `Build()` in `Program.cs`: `builder.Services.AddScoped<IBookReservations, BookReservations>();`. The caller chooses one `ReservationId` per booking attempt. For the same owner, tenant, book and ID, a repeated `Reserve` must not create a second booking. Reject reuse for a different request. `Cancel` removes only this attempt's pending reservation; it succeeds without removing anything if that reservation is absent or already confirmed. This also covers a lost provider acknowledgement: Arc can compensate an attempted `Execute` even when it threw before returning.
|
|
40
|
+
|
|
41
|
+
Use one operation for one provider action. Choose an ordered batch when several actions must run in order: if the command holds `Id, Book` and `SecondId, SecondBook`, use `public CommandOperations Handle() => [new ReserveBookOperation(Id, Book), new ReserveBookOperation(SecondId, SecondBook)];`. A plain array does not declare an operation batch. Import `Cratis.Arc.Commands` for `ICommandOperation` and `CommandOperations` if needed.
|
|
42
|
+
|
|
43
|
+
When a successful booking also needs a durable fact, mark `ReserveBook`'s `Id` parameter with `[Key]` (`Cratis.Chronicle.Keys`) so the reservation ID identifies the event source. Return a tuple containing the `BookReserved` event and the `ReserveBookOperation`. Arc enrolls the event, runs the reservation, then completes the event transaction. Send the confirmation from a reactor on the committed fact, using the booking ID to deduplicate delivery. Do not send mail in `Execute`: canceling a reservation cannot unsend a message.
|
|
44
|
+
|
|
45
|
+
## Verify recovery through the pipeline
|
|
46
|
+
|
|
47
|
+
In the test, use `await using var scenario = new CommandScenario<ReserveBook>();` from `Cratis.Arc.Testing.Commands`. Register a test double `reservations` with `scenario.Services.AddSingleton<IBookReservations>(reservations);` (`Microsoft.Extensions.DependencyInjection`). Configure `Reserve` to fail after the provider may have accepted it, then run `var result = await scenario.Execute(new ReserveBook(id, book));`. Assert that `Cancel` receives the same reservation ID and the result still reports the original failure. For a batch, fail a later `Execute` and verify reverse-order recovery with the failed attempt first. Make one compensator fail and verify that Arc keeps the original failure and attempts the earlier compensators while the recovery budget remains.
|
|
48
|
+
|
|
49
|
+
## When the commit outcome is unclear
|
|
50
|
+
|
|
51
|
+
- **Commit is unknown or mixed:** reconcile the event and provider state before reversing anything. A failed response is not proof that nothing committed.
|
|
52
|
+
- **A committed outcome is wrong:** use a corrective fact instead of calling `Compensate`.
|
|
53
|
+
|
|
54
|
+
## Avoid
|
|
55
|
+
|
|
56
|
+
- Do not generate the reservation ID or call the provider in `Handle`.
|
|
57
|
+
- Do not put the provider in the operation constructor; declare it on the methods.
|
|
58
|
+
- Do not return response data from `Execute`; use `void`, `Task` or `ValueTask`.
|
|
59
|
+
- Do not track success with a mutable flag or undo in a catch block. Let Arc decide recovery from the commit outcome.
|
|
60
|
+
|
|
61
|
+
## How Arc runs and recovers operations
|
|
62
|
+
|
|
63
|
+
Arc checks every declared operation and the dependencies of both `Execute` and `Compensate` before any of them runs. It then handles the response and returned events, runs the operations one at a time in declaration order and completes the transaction. A failure during the dependency check has started nothing and compensates nothing.
|
|
64
|
+
|
|
65
|
+
When the command fails, the observed commit outcome decides recovery:
|
|
66
|
+
|
|
67
|
+
| `CommandCommitDisposition` | Recovery |
|
|
68
|
+
| --- | --- |
|
|
69
|
+
| `NoCommit`, `NotCommitted` | Compensate the started operations in reverse order, including the one that threw. |
|
|
70
|
+
| `Committed` | No automatic reversal. |
|
|
71
|
+
| `Unknown`, `Mixed` | No automatic reversal; reconcile first. |
|
|
72
|
+
|
|
73
|
+
Compensation has its own budget, `CommandOperationOptions.CompensationTimeout`, 30 seconds by default. An expired budget, a missing compensator and a failed compensator are each reported separately and never replace the original failure. Read them from `Recovery` and `OperationOutcomes` on the server-side result; neither is in the HTTP response.
|
|
74
|
+
|
|
75
|
+
Nothing is journaled: a process crash loses the recovery. Don't start a nested batch from inside an operation, and don't assume a MongoDB or EF Core write made elsewhere is coordinated with the Chronicle append.
|
|
76
|
+
|
|
77
|
+
## Custom commit participants
|
|
78
|
+
|
|
79
|
+
Implement `ICommandOperationExecutionScope` for a scope that participates in this boundary. Keep `IsCommitParticipant` stable: it identifies the deferred committer, not whether a particular commit succeeded. Arc supports at most one such participant. `Begin` must not commit and must leave resources safe to clean up if initialization fails partway through. Arc reads `GetCommitDisposition` before operations start and after completion. Report `NotCommitted` (or `NoCommit` when there is no commit) while work is deferred; `Committed`, `Unknown` or `Mixed` describes actual early or uncertain commitment and can prevent operations from starting. After completion, including a failed `Complete`, report provider facts: unknown is not uncommitted, and a later scope failure cannot undo a known commit. Verify with the real provider that operations start while commit is deferred and that pre-commit failure and post-commit failure yield the right storage and recovery outcomes.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Enroll a reservation in a Go command
|
|
2
|
+
|
|
3
|
+
With `github.com/cratis/arc.go/commands`, make `reserveSeat` an operation with a `CommandOperation()` marker. Its `Execute(ctx, service)` reserves by reservation ID; `Compensate(ctx, service, failure)` cancels only that reservation. Both return an error. Return the declaration rather than calling either method:
|
|
4
|
+
|
|
5
|
+
```go
|
|
6
|
+
func (c bookSeat) Handle(context.Context) (commands.Outcome[string], error) {
|
|
7
|
+
return commands.Respond(c.ReservationID, reserveSeat(c)), nil
|
|
8
|
+
}
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Register `commands.RegisterOperation[reserveSeat, seatReservations]` with the registry and a scoped service resolver. Include `commands.WithOperations[bookSeat]()` when registering the handler, checking both registration errors before building. Calling the handler directly should reserve nothing; executing through the pipeline should reserve once. Test a failed attempt with a known noncommit and verify cancellation by ID. When the commit is uncertain, reconcile instead of retrying cancellation.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Return provider work from a Node command
|
|
2
|
+
|
|
3
|
+
In the server package using `@cratis/arc.core`, extend `CommandOperation`. Here `seats` is an application-owned provider accepting an ID and a cancellation signal:
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
class ReserveSeat extends CommandOperation {
|
|
7
|
+
constructor(readonly id: string) { super(); }
|
|
8
|
+
execute(signal: AbortSignal) { return seats.reserve(this.id, signal); }
|
|
9
|
+
compensate(_failure: unknown, signal: AbortSignal) {
|
|
10
|
+
return seats.cancelOwned(this.id, signal);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Return `tuple(input.id, new ReserveSeat(input.id))` from the command handler. Constructing the tuple must not contact the provider. Exercise the server pipeline with a provider that accepts the reservation then fails: when nothing committed, cancellation should receive the same ID. An unknown commit needs reconciliation, not unconditional compensation. Keep the declaration on the server; a proxy call cannot enroll browser work in the pipeline.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cratis-arc-diagnose-live-query
|
|
3
|
+
description: Use when a live Arc query shows its first result but a later change never reaches the client. Not for declaring the query.
|
|
4
|
+
compatibility: Requires a running Arc backend, its database and credentials for the affected caller.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Find the missing live update
|
|
8
|
+
|
|
9
|
+
Trace one write on one open subscription to the query (`cratis-arc-expose-query` skill in `cratis/arc`), as the same authenticated caller, tenant and database throughout. Work from storage outward and stop at the first stage that fails:
|
|
10
|
+
|
|
11
|
+
1. **The write succeeded.** Require a successful command (`cratis-arc-declare-command` skill in `cratis/arc`) result before looking for an update.
|
|
12
|
+
2. **The row is stored** where the reader looks. If not, check the projection (`cratis-chronicle-project-view` skill in `cratis/chronicle`) and the storage connection (`cratis-arc-connect-storage` skill in `cratis/arc`), not delivery.
|
|
13
|
+
3. **The server source emits.** The query returns the provider's observable, not a materialized list, and the store can notify changes.
|
|
14
|
+
4. **The transport delivers.** A direct stream carries the changed row.
|
|
15
|
+
5. **The client receives it.** Only then inspect the frontend.
|
|
16
|
+
|
|
17
|
+
Three states look alike and are not: an empty first result, a first result that is not ready yet, and a subscription that was never opened. A one-shot request that succeeds does not prove that a sustained subscription delivers later writes, and repeating snapshots is not a subscription. Transports, routes and statuses differ between hosts; take them from the reference.
|
|
18
|
+
|
|
19
|
+
## Read the reference for the host
|
|
20
|
+
|
|
21
|
+
The artifact being changed selects the one reference to read: `*.csproj` → [C#](references/csharp.md); a Node server `package.json` → [TypeScript](references/typescript.md); `*.kt` → [Kotlin](references/kotlin.md); `*.java` → [Java](references/java.md); `go.mod` → [Go](references/go.md); `mix.exs` → [Elixir](references/elixir.md). Another language's reference is not a template. [Python](references/python.md) has no released Arc SDK: call the owning service over HTTP.
|
|
22
|
+
|
|
23
|
+
## Expected outcome
|
|
24
|
+
|
|
25
|
+
The stage that drops the change is identified by a write whose known ID appears in the store and then does or does not appear in a later result on the same subscription. `node scripts/check-frames.mjs < capture.sse`, run from the skill directory, counts ready results in a saved event stream; two results alone do not prove delivery of that ID.
|
|
26
|
+
|
|
27
|
+
## Stop when
|
|
28
|
+
|
|
29
|
+
Updates stop after an identity change: reconnect after switching accounts (see the `cratis-arc-react-bind-slice` skill in `cratis/arc/react`), then check whether the emission guard (`cratis-arc-authorize-request` skill in `cratis/arc/identity`) denies the new caller.
|
|
30
|
+
|
|
31
|
+
## Avoid
|
|
32
|
+
|
|
33
|
+
- Do not reconnect between the write and the inspection; a new subscription starts with a fresh snapshot.
|
|
34
|
+
- Do not require a delta on the first result. It is a snapshot; later changes need a stable item identity, or only additions and removals are reported.
|
|
35
|
+
- Do not use a health endpoint to check that a row exists; it describes connections.
|
|
36
|
+
|
|
37
|
+
## Related skills
|
|
38
|
+
|
|
39
|
+
- Connect the Mongo reader (`cratis-arc-connect-storage` skill in `cratis/arc`)
|
|
40
|
+
- Generate proxies (`cratis-arc-generate-proxies` skill in `cratis/arc/csharp`)
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# C#: trace a missing live update on an ASP.NET Core Arc host
|
|
2
|
+
|
|
3
|
+
Prerequisite: `curl`, `mongosh` and Node.js on the machine, and credentials for the same caller the browser uses. The steps trace one `RegisterAuthor` on one `AllAuthors` subscription.
|
|
4
|
+
|
|
5
|
+
1. From the skill directory, open the direct query at the host's listening address, with the same credentials used for the query in the browser. The example assumes HTTPS port 5001, prefix `/api`, one namespace segment skipped and authentication already configured for curl. Substitute the running host's origin if different:
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
curl -sN --max-time 60 -H 'Accept: text/event-stream' https://localhost:5001/api/features/authors/listing/all-authors | tee capture.sse
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
2. Wait for the first ready, successful `data:` result. In another terminal, register Aster once using the same curl credentials and tenant. Keep the printed ID:
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
id=$(node -p "require('node:crypto').randomUUID()")
|
|
15
|
+
printf 'Author ID: %s\n' "$id"
|
|
16
|
+
curl -sS -X POST https://localhost:5001/api/features/authors/registration \
|
|
17
|
+
-H 'Content-Type: application/json' \
|
|
18
|
+
-d "{\"id\":\"$id\",\"name\":\"Aster\"}"
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Require `"isSuccess": true` in the response before looking for a query update. The route assumes `IncludeCommandNameInRoute: false`, the setting used for proxy generation.
|
|
22
|
+
|
|
23
|
+
With the MongoDB settings from the Library example, the default tenant uses `library` and the camel-case pluralized `Author` collection is `authors`. Run `mongosh 'mongodb://localhost:27017/library' --quiet --eval 'db.authors.find({name:"Aster"}, {_id:1,name:1}).toArray()'` and compare the returned `_id` with the command ID. For a named tenant using Arc's default database resolver, substitute `library+<tenantId>` in the database path. If the matching document is missing, check the projection before debugging delivery.
|
|
24
|
+
3. In the same stream, match the printed ID in a later successful result. `node scripts/check-frames.mjs < capture.sse`, run from the skill directory, can count ready results in a saved stream, but two results do not prove delivery of that ID. If the row exists but the stream does not deliver it, check that the query returns `collection.Observe()` (or `collection.Observe(author => author.Name == name)` for a name filter), not a materialized list. Subscribe to the server observable before repeating the write with a fresh test ID and check whether it emits the updated row. To isolate Mongo, open a watch on the query's collection in the reader's tenant database before writing. For a query filtered by name, a probe is `db.authors.watch([{$match: {'fullDocument.name': 'Aster'}}], {fullDocument: 'updateLookup'}).next()`. Use the query's stored field names and BSON values; use `db.authors.watch().next()` for an unfiltered query. Correlate the emission with the test ID. If the watch does not emit, check replica set or sharded-cluster support; if only the watch emits, check the query's observation and predicate.
|
|
25
|
+
4. If curl gets the update, inspect the browser's network connection to `/.cratis/queries/ws` or `/.cratis/queries/sse`. For WebSockets, enable `app.UseWebSockets()` before `app.UseCratis()` in `Program.cs`. Check for the same ID in the delivered data before changing the React component.
|
|
26
|
+
|
|
27
|
+
## When updates stop after an identity change
|
|
28
|
+
|
|
29
|
+
- **Updates stop after an identity change:** reconnect the frontend subscription after credentials change. If delivery still stops, check whether an emission guard denies the new caller.
|
|
30
|
+
|
|
31
|
+
## Avoid in C#
|
|
32
|
+
|
|
33
|
+
- Do not use `waitForFirstResult=true` to test delivery of subsequent updates; it is a one-shot request.
|
|
34
|
+
- Do not use `/.cratis/queries/health` to check that the author document exists; it describes connections.
|
|
35
|
+
- Do not require a delta on the first result. It is a snapshot; later delta deliveries need a stable `Id`.
|
|
36
|
+
- Do not reconnect between registration and inspection; a new subscription starts with a fresh snapshot.
|
|
37
|
+
|
|
38
|
+
## Read the HTTP status of a one-shot request
|
|
39
|
+
|
|
40
|
+
Use the status table below for `ISubject<T>` snapshots. A plain GET against an `IAsyncEnumerable<T>` query instead collects allowed values until enumeration completes; the first-result timeout does not bound it. Inspect live emissions over WebSocket instead.
|
|
41
|
+
|
|
42
|
+
For a bounded wait on the first allowed value, set `waitForFirstResultTimeout` to a positive number of seconds. It defaults to 30 if omitted or invalid:
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
curl --include 'https://localhost:5001/api/features/authors/listing/all-authors?waitForFirstResult=true&waitForFirstResultTimeout=10'
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Each poll or repeated wait starts the query pipeline again, including authorization and `Count()` for a paged `IQueryable` query. Long polling is not a sustained subscription.
|
|
49
|
+
|
|
50
|
+
| Status | Meaning |
|
|
51
|
+
| --- | --- |
|
|
52
|
+
| 202 | No current value was readable, or a guard suppressed it. With MongoDB `Observe()` a GET without `waitForFirstResult=true` always answers 202. |
|
|
53
|
+
| 408 | `waitForFirstResult=true` waited (30 seconds by default) without an allowed result. |
|
|
54
|
+
| 500 | The source failed or completed before an allowed result. |
|
|
55
|
+
| 403 | A guard denied the value. |
|
|
56
|
+
|
|
57
|
+
Prefer SSE. If a buffering proxy prevents streaming, use repeated `GET ...?waitForFirstResult=true&waitForFirstResultTimeout=<seconds>` as a long-poll fallback. Cancel the in-flight request and stop polling when the caller leaves. Each request reruns authorization and the count for a paged query; pace the loop because the first result may be a snapshot returned immediately, not a change notification.
|
|
58
|
+
|
|
59
|
+
## Direct stream or hub
|
|
60
|
+
|
|
61
|
+
The direct SSE request above subscribes to one query. The browser normally uses the multiplexed hub, where opening `/.cratis/queries/sse` subscribes to nothing: each query is added with a POST to `/.cratis/queries/sse/subscribe` and removed with `/.cratis/queries/sse/unsubscribe`. A direct stream that works therefore does not prove the hub subscription was made. The hub sends keep-alive pings; a stream that ends silently while idle points at a proxy timeout, whereas a terminal unsuccessful result is the server's answer.
|
|
62
|
+
|
|
63
|
+
## Date-sensitive observable queries
|
|
64
|
+
|
|
65
|
+
With Arc 22.138.0 or later (`Cratis.Arc.Calendar`), inject `IApplicationCalendar` for calendar reads at a supplied instant. For live results, create a `ClockBoundaryContext` with `await boundaries.Begin(tenant, operationZone, token)` on `IClockBoundaries` for the subscription. Observe candidates without a date predicate tied to the clock; otherwise tomorrow's matches may never enter the source. For a “due today” list:
|
|
66
|
+
|
|
67
|
+
```csharp
|
|
68
|
+
return candidates.ReevaluateAtBoundaries(context, (items, reading) =>
|
|
69
|
+
new ClockEvaluation<DueItem[]>(
|
|
70
|
+
items.Where(item => item.DueDate == reading.Today).ToArray(),
|
|
71
|
+
LocalDateChanges.NextLocalDateChange(reading.Zone, reading.Instant)));
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Use a zone-aware deadline, strictly after `reading.Instant` (or null for no further boundary); adding 24 hours is not a local date change across DST. In a spec, advance the registered `FakeTimeProvider` across local midnight and assert that the subscription emits the new list without a database write.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Distinguish opening from later delivery
|
|
2
|
+
|
|
3
|
+
Check the transport first: WebSocket carries subscription messages on the socket; SSE opens a stream then uses control POSTs. Authenticate those POSTs and verify the selected tenant on the subscribe request; an open SSE connection alone has not enrolled a query. Track `connectionId`, `queryId` and `revision` so a delayed subscribe cannot undo a later unsubscribe. Do not assume a `.cratis-identity` cookie or cross-node replay memory.
|
|
4
|
+
|
|
5
|
+
After the first result, write a matching record under the same tenant. Check the `@observe` watch list or notification topic, then the rerun and its returned value. Node-local topics do not propagate across replicas. Recheck with the writer and subscriber on different nodes before relying on local notifications.
|