@cratis/pi 7.194.3 → 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/publish-pipelines.md +2 -2
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/required-checks-and-path-filters.md +3 -3
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/runner-sizing-and-images.md +5 -5
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/security-and-pinning.md +2 -2
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/test-setup-cost.md +17 -15
- package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +1 -9
- package/package/corpus/skills/cratis-code-review/SKILL.md +43 -68
- package/package/corpus/skills/cratis-commits-and-pull-requests/SKILL.md +16 -37
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/commits.md +11 -2
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-description.md +9 -103
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-labels-and-release.md +4 -85
- package/package/corpus/skills/cratis-components-accessibility/SKILL.md +2 -6
- package/package/corpus/skills/cratis-components-build-canvas/SKILL.md +48 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/pixi-items.md +15 -0
- package/package/corpus/skills/cratis-components-choose-control/SKILL.md +45 -0
- package/package/corpus/skills/cratis-components-choose-control/references/collections.md +7 -0
- package/package/corpus/skills/cratis-components-choose-control/references/inputs.md +3 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/SKILL.md +43 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/SKILL.md +76 -0
- package/package/corpus/skills/cratis-components-display-list/SKILL.md +54 -0
- package/package/corpus/skills/cratis-components-display-list/references/server-query.md +21 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/SKILL.md +77 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/controlled-editor.md +9 -0
- package/package/corpus/skills/cratis-components-explore-data/SKILL.md +61 -0
- package/package/corpus/skills/cratis-components-host-chat/SKILL.md +51 -0
- package/package/corpus/skills/cratis-components-submit-form/SKILL.md +76 -0
- package/package/corpus/skills/cratis-components-submit-form/references/confirmation.md +9 -0
- package/package/corpus/skills/cratis-components-submit-form/references/wizard.md +9 -0
- package/package/corpus/skills/cratis-components-theme-application/SKILL.md +99 -0
- package/package/corpus/skills/cratis-components-theme-application/references/renderer-adapters.md +5 -0
- package/package/corpus/skills/cratis-content-length/references/length-evidence.md +1 -1
- package/package/corpus/skills/cratis-discoverability/SKILL.md +9 -10
- package/package/corpus/skills/cratis-documentation-writing/SKILL.md +9 -11
- package/package/corpus/skills/cratis-documentation-writing/references/cratis-site.md +5 -5
- package/package/corpus/skills/cratis-documentation-writing/references/reader-review.md +1 -1
- package/package/corpus/skills/cratis-documentation-writing/references/writing-guidance.md +4 -4
- package/package/corpus/skills/cratis-engineering-ci-gates/SKILL.md +29 -58
- package/package/corpus/skills/cratis-engineering-consolidation-guard/SKILL.md +3 -5
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/ci-required-check.md +2 -2
- package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +1 -1
- package/package/corpus/skills/cratis-engineering-decision-record/SKILL.md +9 -9
- package/package/corpus/skills/cratis-engineering-decision-record/references/record-format.md +1 -1
- package/package/corpus/skills/cratis-engineering-docs-authoring/SKILL.md +5 -5
- package/package/corpus/skills/cratis-engineering-docs-authoring/references/explaining-code.md +1 -1
- package/package/corpus/skills/cratis-engineering-docs-authoring/references/site-format.md +1 -1
- package/package/corpus/skills/cratis-engineering-effect-boundaries/SKILL.md +3 -3
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +8 -0
- package/package/corpus/skills/cratis-engineering-inherited-work/SKILL.md +3 -3
- package/package/corpus/skills/cratis-engineering-issue-design-note/SKILL.md +5 -7
- package/package/corpus/skills/cratis-engineering-issue-hygiene/SKILL.md +10 -14
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/SKILL.md +6 -7
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dotnet-nuget.md +9 -6
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/other-environments.md +4 -1
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/worked-examples.md +2 -2
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/scripts/cratis-local-packages.sh +13 -10
- package/package/corpus/skills/cratis-engineering-post-mortem/SKILL.md +6 -7
- package/package/corpus/skills/cratis-engineering-regression-cluster/SKILL.md +7 -13
- package/package/corpus/skills/cratis-engineering-release-trains/SKILL.md +23 -28
- package/package/corpus/skills/cratis-engineering-review-rounds/SKILL.md +15 -13
- package/package/corpus/skills/cratis-environments-and-secrets/SKILL.md +4 -9
- package/package/corpus/skills/cratis-event-model-diagram/LICENSE +1 -1
- package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +10 -27
- package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +3 -8
- package/package/corpus/skills/cratis-fundamentals-name-value/SKILL.md +20 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp.md +56 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/elixir.md +11 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/go.md +11 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/java.md +14 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/kotlin.md +3 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/python.md +3 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/typescript.md +21 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +12 -23
- package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +1 -1
- package/package/corpus/skills/cratis-governed-release-methodology/SKILL.md +10 -9
- package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +7 -20
- package/package/corpus/skills/cratis-llm-friendly-documentation/SKILL.md +3 -3
- package/package/corpus/skills/cratis-modeling-design-event-model/SKILL.md +33 -0
- package/package/corpus/skills/cratis-modeling-design-event-model/references/review-one-slice.md +38 -0
- package/package/corpus/skills/cratis-modeling-discover-timeline/SKILL.md +28 -0
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/discovery-questions.md +16 -0
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/group-and-document-intake.md +5 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/SKILL.md +21 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/implementation-findings.md +23 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/model-findings.md +27 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/resilience-review.md +5 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/SKILL.md +49 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/blackbox-intake.md +13 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/recovery-inputs.md +11 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/resuming-a-trace.md +9 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/side-car-migration.md +7 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/SKILL.md +10 -13
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/docker-compose.md +3 -4
- package/package/corpus/skills/cratis-observability/SKILL.md +10 -102
- package/package/corpus/skills/cratis-observability/references/arc-and-chronicle-signals.md +2 -2
- package/package/corpus/skills/cratis-observability/references/chronicle-kernel-export.md +5 -5
- package/package/corpus/skills/cratis-observability/references/csharp.md +97 -0
- package/package/corpus/skills/cratis-observability/references/dotnet-setup-and-options.md +2 -2
- package/package/corpus/skills/cratis-observability/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-observability/references/troubleshooting.md +5 -1
- package/package/corpus/skills/cratis-onboarding-runtime/SKILL.md +7 -7
- package/package/corpus/skills/cratis-orchestration-lanes/SKILL.md +18 -21
- package/package/corpus/skills/cratis-orchestration-lanes/references/inbox-and-handover.md +1 -2
- package/package/corpus/skills/cratis-orchestration-lanes/references/placeholders.md +1 -1
- package/package/corpus/skills/cratis-orchestration-merge-gates/SKILL.md +1 -2
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/unattended-guards.md +3 -5
- package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +1 -5
- package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +11 -11
- package/package/corpus/skills/cratis-performance-review/SKILL.md +20 -18
- package/package/corpus/skills/cratis-platform-configure-environment/SKILL.md +51 -0
- package/package/corpus/skills/cratis-platform-contribute-change/SKILL.md +16 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/SKILL.md +23 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/contract-reconciliation.md +9 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/coordinate-slices.md +7 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/SKILL.md +38 -0
- package/package/corpus/skills/cratis-platform-prepare-release-pr/SKILL.md +30 -0
- package/package/corpus/skills/cratis-platform-start-application/SKILL.md +38 -0
- package/package/corpus/skills/cratis-platform-start-application/references/csharp.md +37 -0
- package/package/corpus/skills/cratis-platform-start-application/references/java.md +16 -0
- package/package/corpus/skills/cratis-platform-start-application/references/kotlin.md +16 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/SKILL.md +23 -0
- package/package/corpus/skills/cratis-release-notes/SKILL.md +22 -17
- package/package/corpus/skills/cratis-rtk/SKILL.md +2 -3
- package/package/corpus/skills/cratis-screenplay-accept-model/SKILL.md +31 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/capability-consumption.md +18 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/coverage-obligations.md +15 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/diagnostic-decisions.md +25 -0
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/SKILL.md +6 -7
- package/package/corpus/skills/cratis-screenplay-author-extension/SKILL.md +29 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/consume.md +14 -0
- package/package/corpus/skills/cratis-screenplay-availability/SKILL.md +5 -12
- package/package/corpus/skills/cratis-screenplay-declare-slice/SKILL.md +108 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/projection-replay.md +31 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/read-identity.md +12 -0
- package/package/corpus/skills/cratis-screenplay-edit-workspace/SKILL.md +41 -0
- package/package/corpus/skills/cratis-screenplay-edit-workspace/references/model-notes.md +33 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/SKILL.md +48 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/ordering.md +7 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/unknown-preserving-reader.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/SKILL.md +113 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/external-effects.md +13 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/host-trigger.md +17 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-boundaries.md +15 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/statemachines-and-workflows.md +54 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/SKILL.md +94 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp-performers.md +18 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/decision-inputs.md +23 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/localized-strings.md +17 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/shell-and-data.md +16 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-translation/SKILL.md +123 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/SKILL.md +36 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/version-migration.md +12 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/SKILL.md +35 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/csharp.md +11 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/ground-truth-benchmark.md +6 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/running-system.md +7 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/SKILL.md +144 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/coverage-worksheet.md +15 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/graph-steps.md +40 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/host-body-execution.md +12 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/named-cases.md +16 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/observable-result.md +39 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/query-rejections.md +28 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +33 -92
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +8 -14
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +15 -19
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +36 -51
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +3 -4
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +12 -29
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/multi-service-models.md +5 -17
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/neighbouring-skills.md +7 -8
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/read-model-keys.md +6 -13
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-id-rules.md +2 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +6 -8
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +3 -22
- package/package/corpus/skills/cratis-security-review/SKILL.md +24 -22
- package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +2 -16
- package/package/corpus/skills/cratis-session-handoff/SKILL.md +15 -14
- package/package/corpus/skills/cratis-session-handoff/references/handoff-template.md +6 -8
- package/package/corpus/skills/cratis-showrunner-herald/SKILL.md +5 -6
- package/package/corpus/skills/cratis-social-feed-post/SKILL.md +2 -2
- package/package/corpus/skills/cratis-social-feed-post/references/engagement-evidence.md +1 -1
- package/package/corpus/skills/cratis-specifications-exercise-backend/SKILL.md +52 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-command-results.md +59 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-decision-reads.md +59 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-integration.md +114 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-query-scenario.md +20 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp.md +60 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/elixir.md +63 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/go.md +124 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/java.md +13 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/kotlin.md +14 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/typescript.md +84 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/SKILL.md +52 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp-phase-timings.md +13 -0
- package/package/corpus/skills/cratis-specifications-observe-ui/SKILL.md +59 -0
- package/package/corpus/skills/cratis-specifications-test-application-ui/SKILL.md +17 -0
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-command-results.md +7 -0
- package/package/corpus/skills/cratis-specifications-test-typescript-behavior/SKILL.md +19 -0
- package/package/corpus/skills/cratis-stage-render-slice/SKILL.md +28 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/review-render-plan.md +21 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/SKILL.md +21 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-spec-runner.md +15 -0
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +1 -9
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/blocked-tools.md +0 -1
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/observational-tools.md +0 -1
- package/package/corpus/skills/cratis-technical-examples/SKILL.md +17 -16
- package/package/corpus/skills/cratis-technical-examples/references/csharp-package-checks.md +8 -0
- package/package/corpus/skills/cratis-technical-examples/references/typescript-package-checks.md +8 -0
- package/package/corpus/skills/cratis-ux-review/SKILL.md +7 -4
- package/package/corpus/skills/cratis-ux-review/references/checklist.md +1 -1
- package/package/corpus/skills/cratis-ux-review/references/report-template.md +2 -2
- package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +8 -7
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/ai-tells.md +2 -2
- package/package/corpus/skills/dotnet-aot-compat/SKILL.md +1 -1
- package/package/corpus/skills/dotnet-trace-collect/SKILL.md +5 -5
- package/package/corpus/skills/dump-collect/SKILL.md +3 -3
- package/package/corpus/skills/eliminate-redundant-restores/SKILL.md +1 -1
- package/package/corpus/skills/exp-mock-usage-analysis/SKILL.md +1 -1
- package/package/corpus/skills/filter-syntax/SKILL.md +2 -2
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/SKILL.md +1 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/aspnetcore-dotnet10to11.md +0 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/core-libraries-dotnet10to11.md +0 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/cryptography-dotnet10to11.md +0 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/csharp-compiler-dotnet10to11.md +1 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/efcore-dotnet10to11.md +0 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/runtime-jit-dotnet10to11.md +0 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/sdk-msbuild-dotnet10to11.md +0 -1
- package/package/corpus/skills/msbuild/SKILL.md +3 -3
- package/package/corpus/skills/msbuild/references/build-perf-baseline.md +1 -1
- package/package/corpus/skills/msbuild/references/build-perf-diagnostics.md +1 -1
- package/package/corpus/skills/platform-detection/SKILL.md +1 -1
- package/package/corpus/skills/profiling/SKILL.md +2 -2
- package/package/corpus/skills/run-tests/SKILL.md +2 -2
- package/package/profile-catalog.json +1261 -160
- package/package.json +2 -8
- package/src/index.ts +2 -5
- package/package/corpus/agents/backend-developer.md +0 -141
- package/package/corpus/agents/browser-operator.md +0 -44
- package/package/corpus/agents/code-reviewer.md +0 -170
- package/package/corpus/agents/coordinator.md +0 -180
- package/package/corpus/agents/frontend-developer.md +0 -254
- package/package/corpus/agents/orchestrator.md +0 -216
- package/package/corpus/agents/performance-reviewer.md +0 -82
- package/package/corpus/agents/planner.md +0 -170
- package/package/corpus/agents/post-mortem.md +0 -78
- package/package/corpus/agents/repository-investigation-reviewer.md +0 -56
- package/package/corpus/agents/repository-investigator.md +0 -51
- package/package/corpus/agents/screenplay-modeler.md +0 -76
- package/package/corpus/agents/screenplay-renderer.md +0 -60
- package/package/corpus/agents/screenplay-reviewer.md +0 -64
- package/package/corpus/agents/security-reviewer.md +0 -94
- package/package/corpus/agents/slice-implementer.md +0 -116
- package/package/corpus/agents/spec-writer.md +0 -166
- package/package/corpus/harnesses/copilot/instructions/application-anatomy.instructions.md +0 -143
- package/package/corpus/harnesses/copilot/instructions/application-profile.instructions.md +0 -95
- package/package/corpus/harnesses/copilot/instructions/authentication-boundary.instructions.md +0 -84
- package/package/corpus/harnesses/copilot/instructions/capability-is-not-authority.instructions.md +0 -65
- package/package/corpus/harnesses/copilot/instructions/fast-feedback.instructions.md +0 -50
- package/package/corpus/harnesses/copilot/instructions/git-commits.instructions.md +0 -46
- package/package/corpus/harnesses/copilot/instructions/mongodb.instructions.md +0 -67
- package/package/corpus/harnesses/copilot/instructions/observability.instructions.md +0 -42
- package/package/corpus/harnesses/copilot/instructions/pull-requests.instructions.md +0 -38
- package/package/corpus/harnesses/copilot/instructions/rtk.instructions.md +0 -13
- package/package/corpus/harnesses/copilot/instructions/secrets.instructions.md +0 -56
- package/package/corpus/harnesses/copilot/instructions/web-fetching.instructions.md +0 -12
- package/package/corpus/harnesses/pi/agents/backend-developer.md +0 -136
- package/package/corpus/harnesses/pi/agents/coordinator.md +0 -176
- package/package/corpus/harnesses/pi/agents/frontend-developer.md +0 -249
- package/package/corpus/harnesses/pi/agents/orchestrator.md +0 -212
- package/package/corpus/harnesses/pi/agents/planner.md +0 -166
- package/package/corpus/harnesses/pi/agents/post-mortem.md +0 -75
- package/package/corpus/harnesses/pi/agents/repository-investigation-reviewer.md +0 -54
- package/package/corpus/harnesses/pi/agents/repository-investigator.md +0 -48
- package/package/corpus/harnesses/pi/agents/screenplay-modeler.md +0 -71
- package/package/corpus/harnesses/pi/agents/screenplay-renderer.md +0 -57
- package/package/corpus/harnesses/pi/agents/screenplay-reviewer.md +0 -61
- package/package/corpus/harnesses/pi/agents/spec-writer.md +0 -161
- package/package/corpus/harnesses/pi/extensions/subagent/agents.ts +0 -152
- package/package/corpus/harnesses/pi/extensions/subagent/delegation.ts +0 -40
- package/package/corpus/harnesses/pi/extensions/subagent/index.ts +0 -431
- package/package/corpus/harnesses/pi/extensions/subagent/modelTiers.ts +0 -123
- package/package/corpus/harnesses/pi/extensions/subagent/tool-names.ts +0 -77
- package/package/corpus/hooks/agent-stop.md +0 -46
- package/package/corpus/hooks/pre-commit.md +0 -47
- package/package/corpus/hooks/scripts/cratis-check-handoff.mjs +0 -307
- package/package/corpus/hooks/scripts/cratis-nuget-pins.txt +0 -18
- package/package/corpus/hooks/scripts/cratis-patterns.json +0 -116
- package/package/corpus/hooks/scripts/cratis-slice-scope-report.sh +0 -55
- package/package/corpus/hooks/scripts/type-references-allowlist.txt +0 -71
- package/package/corpus/hooks/scripts/validate-package-imports.sh +0 -166
- package/package/corpus/hooks/scripts/validate-package-subpaths.sh +0 -119
- package/package/corpus/hooks/scripts/validate-type-references.sh +0 -308
- package/package/corpus/product-sync.json +0 -945
- package/package/corpus/prompts/add-business-rule.prompt.md +0 -22
- package/package/corpus/prompts/add-concept.prompt.md +0 -17
- package/package/corpus/prompts/add-ef-migration.prompt.md +0 -24
- package/package/corpus/prompts/add-projection.prompt.md +0 -21
- package/package/corpus/prompts/add-reactor.prompt.md +0 -24
- package/package/corpus/prompts/add-reducer.prompt.md +0 -22
- package/package/corpus/prompts/audit-hooks.prompt.md +0 -15
- package/package/corpus/prompts/check-doc-drift.prompt.md +0 -21
- package/package/corpus/prompts/code-review.prompt.md +0 -10
- package/package/corpus/prompts/new-feature.prompt.md +0 -9
- package/package/corpus/prompts/new-vertical-slice.prompt.md +0 -29
- package/package/corpus/prompts/pre-publish-check.prompt.md +0 -26
- package/package/corpus/prompts/reverse-engineer.prompt.md +0 -50
- package/package/corpus/prompts/review-pr.prompt.md +0 -31
- package/package/corpus/prompts/review-skill.prompt.md +0 -14
- package/package/corpus/prompts/scaffold-feature.prompt.md +0 -16
- package/package/corpus/prompts/ship-changes.prompt.md +0 -98
- package/package/corpus/prompts/verify-ai-setup.prompt.md +0 -29
- package/package/corpus/prompts/write-documentation.prompt.md +0 -57
- package/package/corpus/prompts/write-specs.prompt.md +0 -28
- package/package/corpus/rules/application-anatomy.md +0 -142
- package/package/corpus/rules/application-profile.md +0 -94
- package/package/corpus/rules/authentication-boundary.md +0 -83
- package/package/corpus/rules/capability-is-not-authority.md +0 -64
- package/package/corpus/rules/fast-feedback.md +0 -49
- package/package/corpus/rules/git-commits.md +0 -45
- package/package/corpus/rules/mongodb.md +0 -66
- package/package/corpus/rules/observability.md +0 -41
- package/package/corpus/rules/pull-requests.md +0 -37
- package/package/corpus/rules/rtk.md +0 -12
- package/package/corpus/rules/secrets.md +0 -55
- package/package/corpus/rules/web-fetching.md +0 -11
- package/package/corpus/skills/cratis-application-growth/verification.json +0 -14
- package/package/corpus/skills/cratis-application-react-specifications/LICENSE +0 -2
- package/package/corpus/skills/cratis-application-react-specifications/SKILL.md +0 -206
- package/package/corpus/skills/cratis-application-slice-conformance/LICENSE +0 -14
- package/package/corpus/skills/cratis-application-slice-conformance/SKILL.md +0 -190
- package/package/corpus/skills/cratis-application-slice-conformance/references/build-prompts.md +0 -186
- package/package/corpus/skills/cratis-application-slice-conformance/references/checklists.md +0 -126
- package/package/corpus/skills/cratis-application-slice-conformance/references/contract-and-precedence.md +0 -47
- package/package/corpus/skills/cratis-application-slice-conformance/references/provenance.md +0 -43
- package/package/corpus/skills/cratis-application-slice-conformance/references/worked-example.md +0 -93
- package/package/corpus/skills/cratis-application-slice-conformance/verification.json +0 -46
- package/package/corpus/skills/cratis-application-slice-specifications/LICENSE +0 -13
- package/package/corpus/skills/cratis-application-slice-specifications/SKILL.md +0 -310
- package/package/corpus/skills/cratis-application-slice-specifications/references/command-result-assertions.md +0 -36
- package/package/corpus/skills/cratis-application-slice-specifications/references/provenance.md +0 -28
- package/package/corpus/skills/cratis-application-slice-specifications/references/query-and-decision-scenarios.md +0 -163
- package/package/corpus/skills/cratis-application-slice-specifications/references/reading-play-specifications.md +0 -30
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/SKILL.md +0 -302
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authentication.md +0 -208
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authorization.md +0 -429
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authproxy.md +0 -82
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/command-identity.md +0 -194
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/frontend.md +0 -136
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/identity-endpoints.md +0 -40
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/local-development.md +0 -95
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/observable-emission-guards.md +0 -127
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/product-sources.md +0 -37
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/tenancy.md +0 -113
- package/package/corpus/skills/cratis-arc-command/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-command/SKILL.md +0 -304
- package/package/corpus/skills/cratis-arc-command/references/causation-details.md +0 -26
- package/package/corpus/skills/cratis-arc-command/references/client-contract.md +0 -16
- package/package/corpus/skills/cratis-arc-command/references/command-result.md +0 -206
- package/package/corpus/skills/cratis-arc-command/references/decisions-and-routing.md +0 -217
- package/package/corpus/skills/cratis-arc-command/references/event-source-id-details.md +0 -13
- package/package/corpus/skills/cratis-arc-command/references/fresh-identifiers.md +0 -113
- package/package/corpus/skills/cratis-arc-command/references/generated-values.md +0 -149
- package/package/corpus/skills/cratis-arc-command/references/generation-boundaries.md +0 -8
- package/package/corpus/skills/cratis-arc-command/references/handler-shapes.md +0 -193
- package/package/corpus/skills/cratis-arc-command/references/product-sources.md +0 -16
- package/package/corpus/skills/cratis-arc-command/references/provide-example.md +0 -43
- package/package/corpus/skills/cratis-arc-command/references/proxy-generation.md +0 -188
- package/package/corpus/skills/cratis-arc-command/references/read-model-injection.md +0 -142
- package/package/corpus/skills/cratis-arc-command/references/return-shape-examples.md +0 -24
- package/package/corpus/skills/cratis-arc-command/references/shop-generation.md +0 -120
- package/package/corpus/skills/cratis-arc-command-execution/LICENSE +0 -8
- package/package/corpus/skills/cratis-arc-command-execution/SKILL.md +0 -246
- package/package/corpus/skills/cratis-arc-command-execution/references/command-refusals.md +0 -65
- package/package/corpus/skills/cratis-arc-command-execution/references/occurrence-commands.md +0 -79
- package/package/corpus/skills/cratis-arc-command-kotlin/SKILL.md +0 -336
- package/package/corpus/skills/cratis-arc-command-kotlin/references/artifacts.md +0 -16
- package/package/corpus/skills/cratis-arc-command-kotlin/references/authorization-override-example.md +0 -17
- package/package/corpus/skills/cratis-arc-command-kotlin/references/project-setup.md +0 -40
- package/package/corpus/skills/cratis-arc-command-kotlin/references/read-model-naming.md +0 -29
- package/package/corpus/skills/cratis-arc-command-operation/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-command-operation/SKILL.md +0 -282
- package/package/corpus/skills/cratis-arc-command-operation/references/execution-and-recovery.md +0 -241
- package/package/corpus/skills/cratis-arc-command-operation/references/testing.md +0 -261
- package/package/corpus/skills/cratis-arc-command-operation/verification.json +0 -19
- package/package/corpus/skills/cratis-arc-command-typescript/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-command-typescript/SKILL.md +0 -340
- package/package/corpus/skills/cratis-arc-command-typescript/references/chronicle-events.md +0 -175
- package/package/corpus/skills/cratis-arc-command-typescript/references/command-operations.md +0 -114
- package/package/corpus/skills/cratis-arc-command-typescript/references/command-pipeline.md +0 -137
- package/package/corpus/skills/cratis-arc-command-typescript/references/command-specifications.md +0 -63
- package/package/corpus/skills/cratis-arc-command-typescript/references/configuration.md +0 -83
- package/package/corpus/skills/cratis-arc-command-typescript/references/hosting-and-storage.md +0 -219
- package/package/corpus/skills/cratis-arc-command-typescript/references/identity-and-introspection.md +0 -88
- package/package/corpus/skills/cratis-arc-command-typescript/references/observability-and-host-scopes.md +0 -25
- package/package/corpus/skills/cratis-arc-command-typescript/references/parameter-binding.md +0 -26
- package/package/corpus/skills/cratis-arc-command-typescript/references/project-setup.md +0 -94
- package/package/corpus/skills/cratis-arc-command-typescript/references/proxy-generation.md +0 -69
- package/package/corpus/skills/cratis-arc-command-typescript/references/proxy-generator-options.md +0 -90
- package/package/corpus/skills/cratis-arc-command-typescript/references/slice-layout.md +0 -30
- package/package/corpus/skills/cratis-arc-command-typescript/verification.json +0 -22
- package/package/corpus/skills/cratis-arc-command-validation/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-command-validation/SKILL.md +0 -327
- package/package/corpus/skills/cratis-arc-command-validation/references/input-binding.md +0 -66
- package/package/corpus/skills/cratis-arc-command-validation/references/protected-validator-construction.md +0 -98
- package/package/corpus/skills/cratis-arc-command-validation/references/read-model-resolution.md +0 -52
- package/package/corpus/skills/cratis-arc-command-validation/references/validation-severity.md +0 -21
- package/package/corpus/skills/cratis-arc-configuration/SKILL.md +0 -89
- package/package/corpus/skills/cratis-arc-configuration/references/arc-options.md +0 -93
- package/package/corpus/skills/cratis-arc-configuration/references/data-and-protection-keys.md +0 -54
- package/package/corpus/skills/cratis-arc-configuration/references/frontend-and-routes.md +0 -53
- package/package/corpus/skills/cratis-arc-configuration/references/symptoms.md +0 -23
- package/package/corpus/skills/cratis-arc-ef-core-migration/LICENSE +0 -8
- package/package/corpus/skills/cratis-arc-ef-core-migration/SKILL.md +0 -264
- package/package/corpus/skills/cratis-arc-elixir/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-elixir/SKILL.md +0 -130
- package/package/corpus/skills/cratis-arc-elixir/references/availability.md +0 -79
- package/package/corpus/skills/cratis-arc-elixir/references/commands-and-queries.md +0 -84
- package/package/corpus/skills/cratis-arc-elixir/references/event-model.md +0 -79
- package/package/corpus/skills/cratis-arc-elixir/references/hosting-and-testing.md +0 -57
- package/package/corpus/skills/cratis-arc-elixir/references/mongodb.md +0 -79
- package/package/corpus/skills/cratis-arc-elixir/references/observable-queries-and-hubs.md +0 -54
- package/package/corpus/skills/cratis-arc-elixir/references/pitfalls.md +0 -36
- package/package/corpus/skills/cratis-arc-elixir/references/product-sources.md +0 -15
- package/package/corpus/skills/cratis-arc-elixir/references/proxies-and-vertical-slices.md +0 -113
- package/package/corpus/skills/cratis-arc-elixir/references/tenancy-and-identity.md +0 -55
- package/package/corpus/skills/cratis-arc-elixir/verification.json +0 -70
- package/package/corpus/skills/cratis-arc-go/SKILL.md +0 -147
- package/package/corpus/skills/cratis-arc-go/references/queries.md +0 -80
- package/package/corpus/skills/cratis-arc-hosting/SKILL.md +0 -103
- package/package/corpus/skills/cratis-arc-hosting/references/availability.md +0 -115
- package/package/corpus/skills/cratis-arc-hosting/references/connection-resolution.md +0 -61
- package/package/corpus/skills/cratis-arc-hosting/references/integrations-and-publish.md +0 -80
- package/package/corpus/skills/cratis-arc-mcp/SKILL.md +0 -261
- package/package/corpus/skills/cratis-arc-mcp/references/setup-and-profiles.md +0 -191
- package/package/corpus/skills/cratis-arc-mcp/references/troubleshooting.md +0 -86
- package/package/corpus/skills/cratis-arc-neo4j/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-neo4j/SKILL.md +0 -166
- package/package/corpus/skills/cratis-arc-neo4j/references/connection-resolution-and-single-mode.md +0 -51
- package/package/corpus/skills/cratis-arc-observable-query-http/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-observable-query-http/SKILL.md +0 -212
- package/package/corpus/skills/cratis-arc-observable-query-http/verification.json +0 -12
- package/package/corpus/skills/cratis-arc-query-kotlin/SKILL.md +0 -244
- package/package/corpus/skills/cratis-arc-query-paging/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-query-paging/SKILL.md +0 -241
- package/package/corpus/skills/cratis-arc-query-paging/references/live-query-processing.md +0 -71
- package/package/corpus/skills/cratis-arc-query-typescript/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-query-typescript/SKILL.md +0 -307
- package/package/corpus/skills/cratis-arc-query-typescript/references/product-sources.md +0 -10
- package/package/corpus/skills/cratis-arc-query-typescript/references/query-pipeline.md +0 -125
- package/package/corpus/skills/cratis-arc-query-typescript/references/scenario-example.md +0 -23
- package/package/corpus/skills/cratis-arc-query-typescript/references/storage-examples.md +0 -52
- package/package/corpus/skills/cratis-arc-query-typescript/references/storage-observation-and-compliance.md +0 -66
- package/package/corpus/skills/cratis-arc-query-typescript/verification.json +0 -18
- package/package/corpus/skills/cratis-arc-react-page/LICENSE +0 -13
- package/package/corpus/skills/cratis-arc-react-page/SKILL.md +0 -344
- package/package/corpus/skills/cratis-arc-react-page/references/availability.md +0 -75
- package/package/corpus/skills/cratis-arc-react-page/references/data-page.md +0 -248
- package/package/corpus/skills/cratis-arc-react-page/references/data-tables.md +0 -167
- package/package/corpus/skills/cratis-arc-react-page/references/dialogs.md +0 -326
- package/package/corpus/skills/cratis-arc-react-page/references/from-screenplay.md +0 -220
- package/package/corpus/skills/cratis-arc-react-page/references/mvvm.md +0 -161
- package/package/corpus/skills/cratis-arc-react-page/references/provenance.md +0 -28
- package/package/corpus/skills/cratis-arc-react-page/references/queries-and-commands.md +0 -227
- package/package/corpus/skills/cratis-arc-react-page/verification.json +0 -20
- package/package/corpus/skills/cratis-arc-validation-typescript/verification.json +0 -14
- package/package/corpus/skills/cratis-chronicle-client-dotnet/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-client-dotnet/SKILL.md +0 -314
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/additional-surfaces.md +0 -85
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/append-outcomes.md +0 -78
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/client-construction.md +0 -42
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/compatibility-check.md +0 -38
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/connection-options.md +0 -99
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/discovery.md +0 -163
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/hosting.md +0 -82
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/immediate-append-refusal.md +0 -40
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/lifecycle.md +0 -40
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/occurrences.md +0 -89
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/pinned-generation-delivery.md +0 -124
- package/package/corpus/skills/cratis-chronicle-client-elixir/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-client-elixir/SKILL.md +0 -338
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/append-api.md +0 -50
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/captures.md +0 -43
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/client-options.md +0 -49
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/compliance.md +0 -34
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/connections.md +0 -60
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/constraints.md +0 -63
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/decision-reads.md +0 -75
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/discovery-and-generations.md +0 -56
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/event-sources.md +0 -66
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/graphs.md +0 -123
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/idioms-and-inspection.md +0 -35
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/observability.md +0 -37
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/patterns.md +0 -22
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/pitfalls.md +0 -33
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/product-sources.md +0 -10
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/projections.md +0 -80
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/reactor-example.md +0 -33
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/read-models.md +0 -41
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/testing.md +0 -76
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/upgrading.md +0 -68
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/variants.md +0 -76
- package/package/corpus/skills/cratis-chronicle-client-elixir/verification.json +0 -36
- package/package/corpus/skills/cratis-chronicle-client-go/SKILL.md +0 -170
- package/package/corpus/skills/cratis-chronicle-client-go/references/projections.md +0 -73
- package/package/corpus/skills/cratis-chronicle-client-kotlin/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-client-kotlin/SKILL.md +0 -313
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/annotations-and-handlers.md +0 -37
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/append-concurrency.md +0 -9
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/connection-lifecycle.md +0 -32
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/connection-string.md +0 -26
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/discovery-and-registration.md +0 -54
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/event-sources.md +0 -67
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/event-type-annotations.md +0 -9
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/fundamentals-migration.md +0 -48
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/java-api.md +0 -33
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/options.md +0 -29
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/product-sources.md +0 -13
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/read-models-and-projections.md +0 -29
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/spring-boot.md +0 -67
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/variants.md +0 -79
- package/package/corpus/skills/cratis-chronicle-client-typescript/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-client-typescript/SKILL.md +0 -325
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/connection-options.md +0 -52
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/lifecycle.md +0 -38
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/project-setup.md +0 -36
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/read-models-and-projections.md +0 -66
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/testing.md +0 -126
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/variants.md +0 -62
- package/package/corpus/skills/cratis-chronicle-client-typescript/verification.json +0 -19
- package/package/corpus/skills/cratis-chronicle-compliance/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-compliance/SKILL.md +0 -308
- package/package/corpus/skills/cratis-chronicle-configuration/SKILL.md +0 -87
- package/package/corpus/skills/cratis-chronicle-configuration/references/client-options.md +0 -80
- package/package/corpus/skills/cratis-chronicle-configuration/references/development-inner-loop.md +0 -77
- package/package/corpus/skills/cratis-chronicle-configuration/references/environment-variables.md +0 -66
- package/package/corpus/skills/cratis-chronicle-configuration/references/kernel-options.md +0 -87
- package/package/corpus/skills/cratis-chronicle-configuration/references/symptoms.md +0 -53
- package/package/corpus/skills/cratis-chronicle-decision-reads/SKILL.md +0 -208
- package/package/corpus/skills/cratis-chronicle-decision-reads/references/admission-and-ownership.md +0 -79
- package/package/corpus/skills/cratis-chronicle-decision-reads/references/choosing-how-a-rule-holds.md +0 -384
- package/package/corpus/skills/cratis-chronicle-decision-reads/verification.json +0 -12
- package/package/corpus/skills/cratis-chronicle-event-constraints/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-event-constraints/SKILL.md +0 -313
- package/package/corpus/skills/cratis-chronicle-event-constraints/references/closing-streams.md +0 -73
- package/package/corpus/skills/cratis-chronicle-event-constraints/references/storage-uniqueness.md +0 -28
- package/package/corpus/skills/cratis-chronicle-event-modeling/LICENSE +0 -7
- package/package/corpus/skills/cratis-chronicle-event-modeling/SKILL.md +0 -259
- package/package/corpus/skills/cratis-chronicle-event-modeling/references/event-log-cleanup-rollout.md +0 -53
- package/package/corpus/skills/cratis-chronicle-event-modeling/references/event-log-hygiene.md +0 -92
- package/package/corpus/skills/cratis-chronicle-event-specifications/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-event-specifications/SKILL.md +0 -234
- package/package/corpus/skills/cratis-chronicle-event-type-migration/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-event-type-migration/SKILL.md +0 -325
- package/package/corpus/skills/cratis-chronicle-event-type-migration/references/explicit-migrations.md +0 -46
- package/package/corpus/skills/cratis-chronicle-event-type-migration/references/pinned-generations.md +0 -119
- package/package/corpus/skills/cratis-chronicle-hosting/SKILL.md +0 -170
- package/package/corpus/skills/cratis-chronicle-hosting/references/clustering-and-schema.md +0 -84
- package/package/corpus/skills/cratis-chronicle-hosting/references/operations.md +0 -185
- package/package/corpus/skills/cratis-chronicle-hosting/references/production-checklist.md +0 -99
- package/package/corpus/skills/cratis-chronicle-hosting/references/sinks.md +0 -121
- package/package/corpus/skills/cratis-chronicle-hosting/references/storage-resolution.md +0 -85
- package/package/corpus/skills/cratis-chronicle-hosting/references/webhooks.md +0 -110
- package/package/corpus/skills/cratis-chronicle-hosting/verification.json +0 -22
- package/package/corpus/skills/cratis-chronicle-multi-tenancy/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-multi-tenancy/SKILL.md +0 -216
- package/package/corpus/skills/cratis-chronicle-multi-tenancy/references/remove-namespace.md +0 -38
- package/package/corpus/skills/cratis-chronicle-projection/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-projection/SKILL.md +0 -334
- package/package/corpus/skills/cratis-chronicle-projection/references/definition-changes.md +0 -86
- package/package/corpus/skills/cratis-chronicle-projection/references/dictionaries-set-once-ordering.md +0 -47
- package/package/corpus/skills/cratis-chronicle-projection/references/fluent-builder.md +0 -163
- package/package/corpus/skills/cratis-chronicle-projection/references/graph-projections.md +0 -184
- package/package/corpus/skills/cratis-chronicle-projection/references/model-bound-attributes.md +0 -159
- package/package/corpus/skills/cratis-chronicle-projection/references/variants.md +0 -196
- package/package/corpus/skills/cratis-chronicle-reactor/LICENSE +0 -13
- package/package/corpus/skills/cratis-chronicle-reactor/SKILL.md +0 -294
- package/package/corpus/skills/cratis-chronicle-reactor/references/cross-service-events.md +0 -20
- package/package/corpus/skills/cratis-chronicle-reactor/references/domain-failures.md +0 -19
- package/package/corpus/skills/cratis-chronicle-reactor/references/durable-side-effects.md +0 -123
- package/package/corpus/skills/cratis-chronicle-reactor/references/filtering.md +0 -34
- package/package/corpus/skills/cratis-chronicle-reactor/references/provenance.md +0 -29
- package/package/corpus/skills/cratis-chronicle-reactor/references/read-model-injection.md +0 -29
- package/package/corpus/skills/cratis-chronicle-reactor/references/return-event-metadata.md +0 -71
- package/package/corpus/skills/cratis-chronicle-reactor/references/slice-delivery-checklist.md +0 -131
- package/package/corpus/skills/cratis-chronicle-reactor/references/specifications.md +0 -182
- package/package/corpus/skills/cratis-chronicle-reactor/references/starting-and-replaying.md +0 -33
- package/package/corpus/skills/cratis-chronicle-read-model/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-read-model/SKILL.md +0 -297
- package/package/corpus/skills/cratis-chronicle-read-model/references/collection-observation.md +0 -49
- package/package/corpus/skills/cratis-chronicle-read-model/references/indexing.md +0 -44
- package/package/corpus/skills/cratis-chronicle-read-model/references/queries.md +0 -238
- package/package/corpus/skills/cratis-chronicle-read-model/references/sinks.md +0 -133
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/LICENSE +0 -9
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/SKILL.md +0 -288
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/references/provenance.md +0 -15
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/references/seeded-state.md +0 -35
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/references/view-lifecycle-checks.md +0 -82
- package/package/corpus/skills/cratis-chronicle-reducer/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-reducer/SKILL.md +0 -319
- package/package/corpus/skills/cratis-chronicle-reducer/references/filtering.md +0 -36
- package/package/corpus/skills/cratis-chronicle-reducer/references/instance-reducer-example.md +0 -20
- package/package/corpus/skills/cratis-chronicle-reducer/references/product-sources.md +0 -8
- package/package/corpus/skills/cratis-chronicle-reducer/references/replay-hooks-and-definition-changes.md +0 -42
- package/package/corpus/skills/cratis-chronicle-reducer/references/specification-example.md +0 -15
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/sources.md +0 -33
- package/package/corpus/skills/cratis-code-review/verification.json +0 -11
- package/package/corpus/skills/cratis-commits-and-pull-requests/verification.json +0 -11
- package/package/corpus/skills/cratis-components-common-controls/SKILL.md +0 -160
- package/package/corpus/skills/cratis-components-common-controls/verification.json +0 -15
- package/package/corpus/skills/cratis-components-data-surfaces/SKILL.md +0 -190
- package/package/corpus/skills/cratis-components-data-surfaces/references/query-table-updates.md +0 -51
- package/package/corpus/skills/cratis-components-data-surfaces/verification.json +0 -16
- package/package/corpus/skills/cratis-components-schema-editor/LICENSE +0 -2
- package/package/corpus/skills/cratis-components-schema-editor/SKILL.md +0 -252
- package/package/corpus/skills/cratis-components-schema-editor/references/tree-layout.md +0 -80
- package/package/corpus/skills/cratis-components-schema-editor/verification.json +0 -14
- package/package/corpus/skills/cratis-components-stepper-command-dialog/LICENSE +0 -2
- package/package/corpus/skills/cratis-components-stepper-command-dialog/SKILL.md +0 -237
- package/package/corpus/skills/cratis-components-styling/LICENSE +0 -8
- package/package/corpus/skills/cratis-components-styling/SKILL.md +0 -279
- package/package/corpus/skills/cratis-components-styling/references/renderer-adapters.md +0 -21
- package/package/corpus/skills/cratis-components-styling/verification.json +0 -13
- package/package/corpus/skills/cratis-components-toolbar/LICENSE +0 -2
- package/package/corpus/skills/cratis-components-toolbar/SKILL.md +0 -299
- package/package/corpus/skills/cratis-components-toolbar/verification.json +0 -12
- package/package/corpus/skills/cratis-content-length/verification.json +0 -19
- package/package/corpus/skills/cratis-developer-marketing/verification.json +0 -19
- package/package/corpus/skills/cratis-discoverability/verification.json +0 -37
- package/package/corpus/skills/cratis-documentation-writing/verification.json +0 -29
- package/package/corpus/skills/cratis-engineering-docs-authoring/verification.json +0 -12
- package/package/corpus/skills/cratis-engineering-inherited-work/verification.json +0 -16
- package/package/corpus/skills/cratis-engineering-issue-design-note/verification.json +0 -19
- package/package/corpus/skills/cratis-engineering-issue-hygiene/verification.json +0 -22
- package/package/corpus/skills/cratis-engineering-post-mortem/verification.json +0 -13
- package/package/corpus/skills/cratis-engineering-release-trains/verification.json +0 -20
- package/package/corpus/skills/cratis-engineering-review-rounds/verification.json +0 -19
- package/package/corpus/skills/cratis-event-model-diagram/references/provenance.md +0 -28
- package/package/corpus/skills/cratis-fundamentals-concept/LICENSE +0 -2
- package/package/corpus/skills/cratis-fundamentals-concept/SKILL.md +0 -285
- package/package/corpus/skills/cratis-fundamentals-concept/references/shop-generation.md +0 -166
- package/package/corpus/skills/cratis-fundamentals-concept/references/typescript-concepts.md +0 -97
- package/package/corpus/skills/cratis-fundamentals-concept/verification.json +0 -14
- package/package/corpus/skills/cratis-fundamentals-telemetry/verification.json +0 -15
- package/package/corpus/skills/cratis-fundamentals-type-discovery/verification.json +0 -14
- package/package/corpus/skills/cratis-llm-friendly-documentation/verification.json +0 -15
- package/package/corpus/skills/cratis-multi-service-architecture/SKILL.md +0 -210
- package/package/corpus/skills/cratis-multi-service-architecture/references/publish-and-consume.md +0 -229
- package/package/corpus/skills/cratis-observability/verification.json +0 -14
- package/package/corpus/skills/cratis-orchestration-lanes/verification.json +0 -15
- package/package/corpus/skills/cratis-orchestration-merge-gates/verification.json +0 -17
- package/package/corpus/skills/cratis-orleans-jobs/verification.json +0 -20
- package/package/corpus/skills/cratis-performance-review/verification.json +0 -12
- package/package/corpus/skills/cratis-release-notes/verification.json +0 -17
- package/package/corpus/skills/cratis-rtk/verification.json +0 -11
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/verification.json +0 -32
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/LICENSE +0 -38
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +0 -231
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/assets/pending-certificates.play +0 -10
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/assets/retry-sweep.play +0 -11
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/audit-format.md +0 -51
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +0 -189
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/cases-to-specify.md +0 -78
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/effects-and-idempotency.md +0 -119
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/integration-contracts.md +0 -113
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/integration-interview.md +0 -24
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/neighbouring-skills.md +0 -12
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/product-sources.md +0 -11
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/provenance.md +0 -47
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/public-events-and-direction.md +0 -234
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +0 -60
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/statemachines-and-workflows.md +0 -175
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/systems-and-abilities.md +0 -143
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +0 -212
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translate-example.md +0 -150
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translation-patterns.md +0 -111
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/worked-integration.md +0 -98
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/verification.json +0 -26
- package/package/corpus/skills/cratis-screenplay-availability/verification.json +0 -24
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/LICENSE +0 -2
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +0 -261
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/atomic-batches-and-source-mappings.md +0 -83
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/capture-map-and-example.md +0 -175
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +0 -333
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/invocation-identity.md +0 -94
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/reaction-forms.md +0 -82
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/record-capture-specifications.md +0 -65
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/refusals-and-redelivery.md +0 -173
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/specifying-triggers-and-clock.md +0 -32
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/trigger-declaration.md +0 -48
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/trigger-reads-example.md +0 -37
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/verification.json +0 -77
- package/package/corpus/skills/cratis-screenplay-command-surface/LICENSE +0 -2
- package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +0 -291
- package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +0 -245
- package/package/corpus/skills/cratis-screenplay-command-surface/references/concepts-and-types.md +0 -38
- package/package/corpus/skills/cratis-screenplay-command-surface/references/constraints-produces-concurrency.md +0 -142
- package/package/corpus/skills/cratis-screenplay-command-surface/references/context.md +0 -214
- package/package/corpus/skills/cratis-screenplay-command-surface/references/date-comparisons.md +0 -188
- package/package/corpus/skills/cratis-screenplay-command-surface/references/described-handlers.md +0 -232
- package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +0 -93
- package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +0 -329
- package/package/corpus/skills/cratis-screenplay-command-surface/references/inline-events.md +0 -90
- package/package/corpus/skills/cratis-screenplay-command-surface/references/operations.md +0 -82
- package/package/corpus/skills/cratis-screenplay-command-surface/references/policy-persona-seed.md +0 -208
- package/package/corpus/skills/cratis-screenplay-command-surface/references/protected-reads.md +0 -172
- package/package/corpus/skills/cratis-screenplay-command-surface/references/routes-and-external-operations.md +0 -21
- package/package/corpus/skills/cratis-screenplay-command-surface/references/shop-generation.md +0 -134
- package/package/corpus/skills/cratis-screenplay-command-surface/references/text-and-match-rules.md +0 -136
- package/package/corpus/skills/cratis-screenplay-command-surface/references/uuid-equality.md +0 -140
- package/package/corpus/skills/cratis-screenplay-command-surface/references/validate-rules.md +0 -140
- package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +0 -129
- package/package/corpus/skills/cratis-screenplay-delivery-planning/LICENSE +0 -9
- package/package/corpus/skills/cratis-screenplay-delivery-planning/SKILL.md +0 -123
- package/package/corpus/skills/cratis-screenplay-delivery-planning/references/parallel-delivery.md +0 -46
- package/package/corpus/skills/cratis-screenplay-delivery-planning/references/provenance.md +0 -29
- package/package/corpus/skills/cratis-screenplay-delivery-planning/references/slice-counting.md +0 -43
- package/package/corpus/skills/cratis-screenplay-delivery-planning/references/velocity-and-capacity.md +0 -48
- package/package/corpus/skills/cratis-screenplay-delivery-planning/verification.json +0 -24
- package/package/corpus/skills/cratis-screenplay-discovery/LICENSE +0 -40
- package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +0 -222
- package/package/corpus/skills/cratis-screenplay-discovery/references/divergent-sweep.md +0 -47
- package/package/corpus/skills/cratis-screenplay-discovery/references/document-intake.md +0 -123
- package/package/corpus/skills/cratis-screenplay-discovery/references/domain-analysis-template.md +0 -106
- package/package/corpus/skills/cratis-screenplay-discovery/references/event-naming.md +0 -115
- package/package/corpus/skills/cratis-screenplay-discovery/references/facilitation.md +0 -64
- package/package/corpus/skills/cratis-screenplay-discovery/references/human-workshop.md +0 -260
- package/package/corpus/skills/cratis-screenplay-discovery/references/interview-questions.md +0 -80
- package/package/corpus/skills/cratis-screenplay-discovery/references/neighbouring-skills.md +0 -14
- package/package/corpus/skills/cratis-screenplay-discovery/references/personas-and-causes.md +0 -205
- package/package/corpus/skills/cratis-screenplay-discovery/references/plotting-and-handoff.md +0 -210
- package/package/corpus/skills/cratis-screenplay-discovery/references/product-sources.md +0 -16
- package/package/corpus/skills/cratis-screenplay-discovery/references/provenance.md +0 -60
- package/package/corpus/skills/cratis-screenplay-discovery/references/storming-loop.md +0 -128
- package/package/corpus/skills/cratis-screenplay-discovery/references/worked-session.md +0 -87
- package/package/corpus/skills/cratis-screenplay-discovery/verification.json +0 -27
- package/package/corpus/skills/cratis-screenplay-event-modeling/LICENSE +0 -14
- package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +0 -228
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/evidence-format.md +0 -146
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/facilitation-stance.md +0 -12
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/file-layout.md +0 -117
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/invoicing-example.md +0 -49
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/modeling-reasoning.md +0 -13
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/naming-primitives.md +0 -28
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/neighbouring-skills.md +0 -16
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +0 -355
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +0 -111
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/provenance.md +0 -46
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/slice-type-rules.md +0 -16
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/understanding-pipeline.md +0 -58
- package/package/corpus/skills/cratis-screenplay-event-modeling/verification.json +0 -119
- package/package/corpus/skills/cratis-screenplay-extension-packages/SKILL.md +0 -62
- package/package/corpus/skills/cratis-screenplay-extension-packages/verification.json +0 -13
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/LICENSE +0 -41
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +0 -224
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/candidate-inventory.md +0 -117
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/chronicle-observations.md +0 -25
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/evidence-table-template.md +0 -173
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/expert-verification.md +0 -79
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md +0 -258
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generated-recovery.md +0 -186
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/intent-example.md +0 -192
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/interview-findings.md +0 -115
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/loss-report-template.md +0 -57
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/neighbouring-skills.md +0 -14
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/prologue-safety.md +0 -186
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/provenance.md +0 -51
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/re-entry-and-passes.md +0 -192
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/rule-modeling.md +0 -48
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/side-car-migration.md +0 -140
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/signal-to-intent.md +0 -113
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/ui-observation.md +0 -99
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/verified-sources.md +0 -20
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/verification.json +0 -77
- package/package/corpus/skills/cratis-screenplay-model-authoring/LICENSE +0 -2
- package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +0 -255
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/choosing-generation.md +0 -42
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/destination-intent-repair.md +0 -107
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/free-screens-proposals.md +0 -36
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +0 -384
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/layout.md +0 -30
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +0 -395
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +0 -877
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/model-notes.md +0 -300
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/property-links.md +0 -239
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/release-baseline.md +0 -144
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/repairs.md +0 -71
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/screen-authoring-workflow.md +0 -295
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/state-and-recovery.md +0 -53
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/storylines.md +0 -69
- package/package/corpus/skills/cratis-screenplay-model-authoring/verification.json +0 -295
- package/package/corpus/skills/cratis-screenplay-model-review/LICENSE +0 -44
- package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +0 -212
- package/package/corpus/skills/cratis-screenplay-model-review/references/anti-patterns.md +0 -89
- package/package/corpus/skills/cratis-screenplay-model-review/references/baseline-comparison.md +0 -34
- package/package/corpus/skills/cratis-screenplay-model-review/references/business-questions.md +0 -204
- package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +0 -216
- package/package/corpus/skills/cratis-screenplay-model-review/references/interview-batch.md +0 -14
- package/package/corpus/skills/cratis-screenplay-model-review/references/mode-compliance.md +0 -9
- package/package/corpus/skills/cratis-screenplay-model-review/references/model-inventory-report.md +0 -132
- package/package/corpus/skills/cratis-screenplay-model-review/references/neighbouring-skills.md +0 -12
- package/package/corpus/skills/cratis-screenplay-model-review/references/provenance.md +0 -52
- package/package/corpus/skills/cratis-screenplay-model-review/references/public-keys-and-routes.md +0 -34
- package/package/corpus/skills/cratis-screenplay-model-review/references/quick-self-check.md +0 -22
- package/package/corpus/skills/cratis-screenplay-model-review/references/report-template.md +0 -220
- package/package/corpus/skills/cratis-screenplay-model-review/references/review-questions.md +0 -70
- package/package/corpus/skills/cratis-screenplay-model-review/references/stressor-analysis.md +0 -86
- package/package/corpus/skills/cratis-screenplay-model-review/references/verified-sources.md +0 -15
- package/package/corpus/skills/cratis-screenplay-model-review/references/walkthrough.md +0 -137
- package/package/corpus/skills/cratis-screenplay-model-review/references/worked-example.md +0 -273
- package/package/corpus/skills/cratis-screenplay-model-review/verification.json +0 -34
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/LICENSE +0 -42
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +0 -203
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/code-reading-and-tokens.md +0 -55
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/completeness-self-check.md +0 -49
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/core-rules-digest.md +0 -143
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/handoff-template.md +0 -151
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/identity-and-edits.md +0 -88
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/independent-review.md +0 -10
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/intake.md +0 -21
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/neighbouring-skills.md +0 -10
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/opt-in.md +0 -35
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/per-turn-protocol.md +0 -59
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/phase-report-inventories.md +0 -25
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/phases.md +0 -207
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/principles.md +0 -53
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/product-sources.md +0 -9
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/project-process.md +0 -51
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/provenance.md +0 -111
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/reasoning-notes.md +0 -54
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/safety.md +0 -23
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/stop-or-assume.md +0 -118
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/verdicts-and-modes.md +0 -230
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/version-migration.md +0 -50
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +0 -59
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/worked-example.md +0 -93
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/scripts/model-first-self-test.mjs +0 -123
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/scripts/model-first-status.mjs +0 -204
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/verification.json +0 -34
- package/package/corpus/skills/cratis-screenplay-projections/LICENSE +0 -2
- package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +0 -321
- package/package/corpus/skills/cratis-screenplay-projections/references/dictionaries-and-ordering.md +0 -64
- package/package/corpus/skills/cratis-screenplay-projections/references/graphs.md +0 -415
- package/package/corpus/skills/cratis-screenplay-projections/references/joins.md +0 -42
- package/package/corpus/skills/cratis-screenplay-projections/references/mapping-sources.md +0 -33
- package/package/corpus/skills/cratis-screenplay-projections/references/outbound-every.md +0 -12
- package/package/corpus/skills/cratis-screenplay-projections/references/pdl-grammar.md +0 -375
- package/package/corpus/skills/cratis-screenplay-projections/references/reducer-identity.md +0 -92
- package/package/corpus/skills/cratis-screenplay-projections/references/reducers.md +0 -40
- package/package/corpus/skills/cratis-screenplay-projections/references/secret-concepts.md +0 -23
- package/package/corpus/skills/cratis-screenplay-projections/references/stage-admission.md +0 -18
- package/package/corpus/skills/cratis-screenplay-projections/references/variants.md +0 -41
- package/package/corpus/skills/cratis-screenplay-projections/verification.json +0 -49
- package/package/corpus/skills/cratis-screenplay-read-surface/LICENSE +0 -9
- package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +0 -325
- package/package/corpus/skills/cratis-screenplay-read-surface/references/equality-filters.md +0 -209
- package/package/corpus/skills/cratis-screenplay-read-surface/references/graph-queries.md +0 -22
- package/package/corpus/skills/cratis-screenplay-read-surface/references/guarded-actions.md +0 -86
- package/package/corpus/skills/cratis-screenplay-read-surface/references/named-keys.md +0 -252
- package/package/corpus/skills/cratis-screenplay-read-surface/references/passive.md +0 -78
- package/package/corpus/skills/cratis-screenplay-read-surface/references/performer-bodies.md +0 -56
- package/package/corpus/skills/cratis-screenplay-read-surface/references/provenance.md +0 -21
- package/package/corpus/skills/cratis-screenplay-read-surface/references/query-execution.md +0 -21
- package/package/corpus/skills/cratis-screenplay-read-surface/references/screen-levels.md +0 -51
- package/package/corpus/skills/cratis-screenplay-read-surface/references/screen-patterns.md +0 -143
- package/package/corpus/skills/cratis-screenplay-read-surface/references/sinks.md +0 -166
- package/package/corpus/skills/cratis-screenplay-read-surface/verification.json +0 -51
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/LICENSE +0 -14
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +0 -258
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/delivery-protocol.md +0 -123
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/drift-and-fallback-record.md +0 -108
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md +0 -130
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/hand-written-changes.md +0 -150
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/neighbouring-skills.md +0 -11
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/post-deploy-check.md +0 -57
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/product-sources.md +0 -23
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/provenance.md +0 -34
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +0 -94
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/worked-example.md +0 -135
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +0 -61
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/LICENSE +0 -14
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/SKILL.md +0 -207
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/behavior-catalog.md +0 -127
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/documentation-intake-and-screens.md +0 -110
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/evidence-format.md +0 -66
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/executable-intake.md +0 -184
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/fidelity-check.md +0 -159
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/ground-truth-benchmark.md +0 -93
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/intake-sources.md +0 -87
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/neighbouring-skills.md +0 -17
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/probing-and-naming.md +0 -145
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/process-drift.md +0 -56
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/provenance.md +0 -11
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/scoping.md +0 -85
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/synthesis-rules.md +0 -196
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/target-and-first-validation.md +0 -51
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/drift-scope-self-test.mjs +0 -88
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/drift-scope.mjs +0 -155
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/fixtures/library-drift/change.diff +0 -100
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/fixtures/library-drift/evidence-map.json +0 -20
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/fixtures/library-drift/expected.json +0 -54
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/score-fidelity-self-test.mjs +0 -76
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/score-fidelity.mjs +0 -182
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/verification.json +0 -36
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/LICENSE +0 -41
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +0 -223
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/berth-reservations.md +0 -580
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/chronicle-verification.md +0 -26
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/coverage-matrix.md +0 -126
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/interview-batch.md +0 -16
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-design.md +0 -270
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-example.md +0 -454
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/neighbouring-skills.md +0 -10
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/provenance.md +0 -57
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/public-event-coverage.md +0 -23
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/quality-checklist.md +0 -20
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/review-questions.md +0 -9
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +0 -302
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-examples.md +0 -232
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-workshop.md +0 -121
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +0 -109
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/version-skew.md +0 -25
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/view-and-story-specs.md +0 -172
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/verification.json +0 -23
- package/package/corpus/skills/cratis-screenplay-slice-design/LICENSE +0 -40
- package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +0 -214
- package/package/corpus/skills/cratis-screenplay-slice-design/references/command-inventory.md +0 -226
- package/package/corpus/skills/cratis-screenplay-slice-design/references/derived-condition-events.md +0 -68
- package/package/corpus/skills/cratis-screenplay-slice-design/references/field-lineage.md +0 -182
- package/package/corpus/skills/cratis-screenplay-slice-design/references/identity-edits.md +0 -14
- package/package/corpus/skills/cratis-screenplay-slice-design/references/model-reasoning.md +0 -95
- package/package/corpus/skills/cratis-screenplay-slice-design/references/neighbouring-skills.md +0 -10
- package/package/corpus/skills/cratis-screenplay-slice-design/references/product-sources.md +0 -9
- package/package/corpus/skills/cratis-screenplay-slice-design/references/provenance.md +0 -57
- package/package/corpus/skills/cratis-screenplay-slice-design/references/public-boundaries-and-keys.md +0 -18
- package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +0 -362
- package/package/corpus/skills/cratis-screenplay-slice-design/references/review-questions.md +0 -28
- package/package/corpus/skills/cratis-screenplay-slice-design/references/rule-layers.md +0 -67
- package/package/corpus/skills/cratis-screenplay-slice-design/references/screens-before-slices.md +0 -37
- package/package/corpus/skills/cratis-screenplay-slice-design/references/slicing.md +0 -329
- package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +0 -303
- package/package/corpus/skills/cratis-screenplay-slice-design/verification.json +0 -74
- package/package/corpus/skills/cratis-screenplay-specifications/LICENSE +0 -2
- package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +0 -317
- package/package/corpus/skills/cratis-screenplay-specifications/references/ability-answers.md +0 -12
- package/package/corpus/skills/cratis-screenplay-specifications/references/actions-beyond-commands.md +0 -42
- package/package/corpus/skills/cratis-screenplay-specifications/references/child-ordering.md +0 -127
- package/package/corpus/skills/cratis-screenplay-specifications/references/concept-rules.md +0 -79
- package/package/corpus/skills/cratis-screenplay-specifications/references/date-comparisons.md +0 -21
- package/package/corpus/skills/cratis-screenplay-specifications/references/event-tags.md +0 -54
- package/package/corpus/skills/cratis-screenplay-specifications/references/examples-and-routes.md +0 -246
- package/package/corpus/skills/cratis-screenplay-specifications/references/generated-fixtures.md +0 -115
- package/package/corpus/skills/cratis-screenplay-specifications/references/graph-steps.md +0 -183
- package/package/corpus/skills/cratis-screenplay-specifications/references/host-body-execution.md +0 -49
- package/package/corpus/skills/cratis-screenplay-specifications/references/outcome-comparison.md +0 -40
- package/package/corpus/skills/cratis-screenplay-specifications/references/persona-callers-and-cases.md +0 -119
- package/package/corpus/skills/cratis-screenplay-specifications/references/producerless-events.md +0 -63
- package/package/corpus/skills/cratis-screenplay-specifications/references/query-rejections.md +0 -48
- package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +0 -130
- package/package/corpus/skills/cratis-screenplay-specifications/references/source-notes.md +0 -24
- package/package/corpus/skills/cratis-screenplay-specifications/references/vocabulary.md +0 -86
- package/package/corpus/skills/cratis-screenplay-specifications/references/whitespace-rules.md +0 -125
- package/package/corpus/skills/cratis-screenplay-specifications/references/worked-example.md +0 -113
- package/package/corpus/skills/cratis-screenplay-specifications/verification.json +0 -111
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/product-sources.md +0 -12
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/provenance.md +0 -27
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +0 -30
- package/package/corpus/skills/cratis-screenplay-toolchain/LICENSE +0 -9
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +0 -249
- package/package/corpus/skills/cratis-screenplay-toolchain/references/agent-exposure.md +0 -90
- package/package/corpus/skills/cratis-screenplay-toolchain/references/automation-translate-example.md +0 -113
- package/package/corpus/skills/cratis-screenplay-toolchain/references/capability-manifest.md +0 -71
- package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet-example.md +0 -320
- package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet.md +0 -264
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostic-arguments.md +0 -78
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +0 -757
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-example.md +0 -111
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +0 -460
- package/package/corpus/skills/cratis-screenplay-toolchain/references/fast-path.md +0 -31
- package/package/corpus/skills/cratis-screenplay-toolchain/references/generated-responses-example.md +0 -62
- package/package/corpus/skills/cratis-screenplay-toolchain/references/generation-checks.md +0 -93
- package/package/corpus/skills/cratis-screenplay-toolchain/references/generation-strategies-example.md +0 -128
- package/package/corpus/skills/cratis-screenplay-toolchain/references/language-admission.md +0 -161
- package/package/corpus/skills/cratis-screenplay-toolchain/references/model-export-diff-rename.md +0 -75
- package/package/corpus/skills/cratis-screenplay-toolchain/references/neighbouring-skills.md +0 -15
- package/package/corpus/skills/cratis-screenplay-toolchain/references/observation-comparison.md +0 -83
- package/package/corpus/skills/cratis-screenplay-toolchain/references/pdl-example.md +0 -241
- package/package/corpus/skills/cratis-screenplay-toolchain/references/preferred-syntax.md +0 -77
- package/package/corpus/skills/cratis-screenplay-toolchain/references/production-routes-and-filters.md +0 -115
- package/package/corpus/skills/cratis-screenplay-toolchain/references/read-model-property-order.md +0 -26
- package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +0 -167
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +0 -30
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +0 -101691
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +0 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +0 -134
- package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +0 -75
- package/package/corpus/skills/cratis-screenplay-toolchain/references/unknown-preserving-reader.md +0 -57
- package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +0 -327
- package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +0 -142
- package/package/corpus/skills/cratis-screenplay-ui-composition/LICENSE +0 -9
- package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +0 -329
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/action-subjects.md +0 -138
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/application-shell.md +0 -579
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/change-alternatives.md +0 -58
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/deliverable-identity.md +0 -43
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/design-system-and-themes.md +0 -272
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/extension-components.md +0 -20
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/file-references.md +0 -42
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/flow-review.md +0 -56
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/free-screens.md +0 -237
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/guarded-interactions.md +0 -82
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/interaction-example.md +0 -54
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/layout-arrangement.md +0 -31
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/localized-strings.md +0 -15
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/provenance.md +0 -19
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/response-continuations.md +0 -110
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/scene-design.md +0 -138
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/scene-runtime-boundaries.md +0 -92
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +0 -364
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-visuals.md +0 -43
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/ui-profile-and-theme.md +0 -195
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/worked-flow.md +0 -74
- package/package/corpus/skills/cratis-screenplay-ui-composition/verification.json +0 -291
- package/package/corpus/skills/cratis-security-review/verification.json +0 -11
- package/package/corpus/skills/cratis-session-handoff/verification.json +0 -15
- package/package/corpus/skills/cratis-social-feed-post/verification.json +0 -29
- package/package/corpus/skills/cratis-specification-by-example/LICENSE +0 -2
- package/package/corpus/skills/cratis-specification-by-example/SKILL.md +0 -244
- package/package/corpus/skills/cratis-specification-by-example/verification.json +0 -14
- package/package/corpus/skills/cratis-specifications-csharp/LICENSE +0 -2
- package/package/corpus/skills/cratis-specifications-csharp/SKILL.md +0 -347
- package/package/corpus/skills/cratis-specifications-csharp/references/application-scenarios.md +0 -332
- package/package/corpus/skills/cratis-specifications-csharp/references/csharp-patterns.md +0 -178
- package/package/corpus/skills/cratis-specifications-csharp/references/integration-specs.md +0 -162
- package/package/corpus/skills/cratis-specifications-csharp/references/running-specs.md +0 -190
- package/package/corpus/skills/cratis-specifications-csharp/references/shared-lifecycle.md +0 -110
- package/package/corpus/skills/cratis-specifications-csharp/verification.json +0 -15
- package/package/corpus/skills/cratis-specifications-typescript/LICENSE +0 -2
- package/package/corpus/skills/cratis-specifications-typescript/SKILL.md +0 -215
- package/package/corpus/skills/cratis-specifications-typescript/references/typescript-patterns.md +0 -197
- package/package/corpus/skills/cratis-specifications-typescript/verification.json +0 -12
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/LICENSE +0 -2
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +0 -264
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +0 -370
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/behavior-walk.md +0 -78
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/case-tables-and-whole-numbers.md +0 -113
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/choosing-generation.md +0 -48
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/current-boundaries.md +0 -124
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/date-comparisons.md +0 -44
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/graphs.md +0 -52
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/neighbouring-skills.md +0 -14
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/publication-and-recovery.md +0 -34
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/render-example.md +0 -157
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/rendered-application.md +0 -229
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +0 -287
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/scene-runtime.md +0 -82
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +0 -73
- package/package/corpus/skills/cratis-technical-examples/verification.json +0 -22
- package/package/corpus/skills/cratis-ux-review/verification.json +0 -15
- package/package/corpus/skills/cratis-writing-voice-and-cadence/verification.json +0 -38
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cratis-chronicle-react-to-fact
|
|
3
|
+
description: Use when handling an appended Chronicle fact with a reactor, including replay-safe effects and derived events. Not for deriving a read model without effects (use cratis-chronicle-project-view).
|
|
4
|
+
compatibility: A supported application client and an observed event type.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Deliver an effect without sending it twice
|
|
8
|
+
|
|
9
|
+
For a notification that must only begin after deployment, set the initial subscription position to the tail **and** exclude the notification from replay. Neither choice prevents retries after an interrupted acknowledgement. Give each distinct effect a stable key for the observed delivery, and have the receiver enforce it atomically with the effect. A local “sent” flag written after a successful external call leaves a crash window.
|
|
10
|
+
|
|
11
|
+
- `.csproj`: [implement a reactor and receipt](references/csharp.md) or [record durable work that is not a domain event](references/occurrences.md).
|
|
12
|
+
- Node `package.json`: [bind a method to the event](references/typescript.md).
|
|
13
|
+
- `.kt`: [register the annotated handler](references/kotlin.md).
|
|
14
|
+
- `.java`: [handle a single event or explicit batch](references/java.md).
|
|
15
|
+
- `go.mod`: [register the reactor factory](references/go.md).
|
|
16
|
+
- `mix.exs`: [handle the registered event module](references/elixir.md).
|
|
17
|
+
- Python has no released application client: [delegate subscription ownership](references/python.md).
|
|
18
|
+
|
|
19
|
+
Deliver the same event twice after simulating a lost acknowledgement. Expect one externally visible effect. Test replay separately from retry and initial catch-up. If the receiver cannot deduplicate, stop before enabling automatic redelivery of an irreversible effect. For a failing partition, inspect progress (`cratis-chronicle-inspect-observer` skill in `cratis/chronicle/client-dotnet`) before changing delivery policy.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Notify the author directory after registration
|
|
2
|
+
|
|
3
|
+
Implement the local automation with a reactor, an observer that acts on a committed fact rather than building a read model or importing outside data.
|
|
4
|
+
|
|
5
|
+
1. Reference `Cratis.Chronicle`. Put `RegistrationNotice` in the feature that sends directory notices. Import `AuthorRegistered` from [Record an event](../../cratis-chronicle-record-event/SKILL.md).
|
|
6
|
+
2. Implement `IReactor`. Take `AuthorRegistered` and `ReactorDelivery` in the public handler. In the host, register the actual adapter with `builder.Services.AddScoped<IAuthorDirectory, AuthorDirectory>();`, where `AuthorDirectory` implements `IAuthorDirectory`. With default discovery, a concrete `IReactor` in the backend assembly needs no separate reactor registration.
|
|
7
|
+
3. Pass `delivery.IdempotencyKeyFor("announce")` with the author's name. The directory must recognize repeated calls with that key. Return its `Task` without catching exceptions so Chronicle can record the failure and retry delivery.
|
|
8
|
+
|
|
9
|
+
```csharp
|
|
10
|
+
// Features/Authors/Directory/RegistrationNotice.cs
|
|
11
|
+
using Cratis.Chronicle.EventSequences;
|
|
12
|
+
using Cratis.Chronicle.Reactors;
|
|
13
|
+
using Library.Features.Authors.Registration;
|
|
14
|
+
|
|
15
|
+
namespace Library.Features.Authors.Directory;
|
|
16
|
+
|
|
17
|
+
public interface IAuthorDirectory
|
|
18
|
+
{
|
|
19
|
+
Task Announce(IdempotencyKey key, string name);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[Reactor("Library.Features.Authors.Directory.RegistrationNotice")]
|
|
23
|
+
[StartAtTail]
|
|
24
|
+
public class RegistrationNotice(IAuthorDirectory directory) : IReactor
|
|
25
|
+
{
|
|
26
|
+
[OnceOnly]
|
|
27
|
+
public Task Registered(AuthorRegistered @event, ReactorDelivery delivery) =>
|
|
28
|
+
directory.Announce(delivery.IdempotencyKeyFor("announce"), @event.Name);
|
|
29
|
+
}
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Retry a notice after a lost acknowledgement
|
|
33
|
+
|
|
34
|
+
One-off wiring check with a disposable receiver. If the application owns deduplication, commit a spec of that decision at the receiver; don't add a hosted spec of Chronicle retry. See the `cratis-specifications-exercise-backend` skill (in `cratis/application`).
|
|
35
|
+
|
|
36
|
+
With client and kernel 19.70.0 or later, seed pre-registration history and confirm the new reactor sends no notice for it. Append a new occurrence while stopped; restarting the same observer must resume its saved position and send that notice. Replaying with `[OnceOnly]` must not invoke the notice handler.
|
|
37
|
+
|
|
38
|
+
Have the directory save the first notice, then fail before acknowledging it. Deliver the same occurrence again; assert one notice with the expected name. Keep the effect name unchanged on retry so the receiver sees the same key. An author ID would collapse distinct occurrences.
|
|
39
|
+
|
|
40
|
+
If the same delivery also sends email, pass `delivery.IdempotencyKeyFor("email")` to the email adapter's `IdempotencyKey` parameter. Each receiver must deduplicate its own key atomically with its effect, so a retry can finish the email without repeating the announcement.
|
|
41
|
+
|
|
42
|
+
## When it goes off the usual path
|
|
43
|
+
|
|
44
|
+
- **Historical events must not resend the notice:** `[StartAtTail]` skips initial history only on first registration, while `[OnceOnly]` excludes replay, including observer rewind, redaction and revision. Neither suppresses ordinary redelivery or deduplicates external effects. A `[Replay]` handler can replace the ordinary handler during replay when historical events need different work.
|
|
45
|
+
|
|
46
|
+
- **The follow-up makes its own local business decision:** return a command invocation as shown below. For a leased occurrence rather than a reactor delivery, see "Execute a command once per occurrence effect" in `cratis-arc-invoke-command`.
|
|
47
|
+
- **An existing reactor moves or is renamed:** preserve its observer ID to keep its position. Keep the explicit `[Reactor]` ID shown in the example, even after moving or renaming the class.
|
|
48
|
+
|
|
49
|
+
## Related skills
|
|
50
|
+
|
|
51
|
+
- Inspect reactor progress (`cratis-chronicle-inspect-observer` skill in `cratis/chronicle/client-dotnet`) if a recorded registration never reaches the directory.
|
|
52
|
+
|
|
53
|
+
- Call a provider during a command (`cratis-arc-declare-operation` skill in `cratis/application/arc-chronicle`)
|
|
54
|
+
- [Publish a public event](../../cratis-chronicle-publish-contract/SKILL.md)
|
|
55
|
+
|
|
56
|
+
## Route returned work and isolate failures
|
|
57
|
+
|
|
58
|
+
When a returned fact belongs to a different history, return `EventForEventSourceId` deliberately; preserve the intended source type, stream and tags. For a related read-model parameter the event source ID is the usual key; use `ICanResolveReadModelKey` only when the relationship uses another key. A materialized dependency can lag. Prefer the triggering event, not a fresh global lookup. Apply delivery filters to append metadata, including replay and catch-up; keep mutable per-delivery state off the handler because different partitions can overlap.
|
|
59
|
+
|
|
60
|
+
For an explicit batch, receive `EventBatch` and handle each entry's own context. Report a failed partition with `batch.Fail(context, exception)` or defer the partition with `batch.Defer(context, retryAfter)` if supported. Do not represent an unperformed effect as success. A failed partition is operational, not a recorded domain failure. Give a visible failure transition to the existing workflow owner. Handle redelivery idempotently and correlate by attempt ID so an earlier failure cannot overturn the current attempt. Preserve the actor for consequential Arc commands; system execution needs an explicit identity and roles. For local command outcomes use the refusal handling below; for leased occurrence work use the executor in `cratis-arc-invoke-command`.
|
|
61
|
+
|
|
62
|
+
If the work is durable but not a domain fact, [record an occurrence](occurrences.md) with a stable ID. A lease can redeliver. Transactional `UseEffectReceipt` is not a receipt from an external service. Do not put personal information in a trigger payload or a secret in a stored receipt.
|
|
63
|
+
|
|
64
|
+
## Handle a refused follow-up command
|
|
65
|
+
|
|
66
|
+
With Arc 22.88.0 or later, return a `CommandInvocation` (`Cratis.Arc.Chronicle.Reactors`) to attach refusal handling to one command. For an application with a `UniqueDirectoryName` constraint, an `AuthorRegistered` handler can return:
|
|
67
|
+
|
|
68
|
+
```csharp
|
|
69
|
+
public CommandInvocation Registered(AuthorRegistered fact) =>
|
|
70
|
+
Invoke.Command(new ReserveDirectoryName(fact.Name))
|
|
71
|
+
.OnRefused(Refused.ByConstraint("UniqueDirectoryName"), r => new DirectoryNameRefused(r.Message))
|
|
72
|
+
.Acknowledge(Refused.ByAuthorization);
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Use the actual case-sensitive constraint name. Return a fact only for a modeled outcome, and acknowledge only when no fact is needed. Select with `ByValidation`, `ByConstraint(name)`, `ByAnyConstraint`, `ByAuthorization` or `Any`; `Any` matches validation and constraints, not authorization. The first matching branch wins. A handled refusal stops later commands in that delivery; earlier appends remain committed. Concurrency, temporary and framework failures are not refusals and still fail the delivery. In a reactor pipeline spec, return a successful invocation, a handled refusal and a third invocation; assert the earlier append remains and the third command never runs. Refusal analysis requires Arc 22.97.0 and Chronicle 19.63.0 or later.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Match the registered Elixir event
|
|
2
|
+
|
|
3
|
+
For a future-only notification, declare `use Cratis.Chronicle.Reactors.Reactor, start_at_tail: true, once_only: true`. Add `@handles OrderPlaced` before the handler and pattern-match `def handle(%OrderPlaced{} = event, context)`. The handler can pass `context.delivery_id` to the receiver; scope distinct effects separately. Return `:ok` only after the receiver accepts the operation. A GenServer restart must not discard the receiver's receipt.
|
|
4
|
+
|
|
5
|
+
To verify, deliver the same order twice and inspect the durable receiver, not the number of callback entries. `once_only` controls replay; it is not a guarantee that the callback executes once during normal delivery.
|
|
6
|
+
|
|
7
|
+
## Capture external changes
|
|
8
|
+
|
|
9
|
+
For an external snapshot use `Cratis.Chronicle.Captures.Capture` with a pinned `id:`; the default is derived from the full module name, so a rename can otherwise register another capture. Use one `api_source` or `events_source` with root-level `append` rules; do not rely on nested, map or child scopes executing. `key/1` selects the stable item property used to diff successive snapshots; for events use `key("$eventSourceId")`. Set `when:` to a changed property path, `:added` or `:removed` as appropriate; keep the target event's registered ID uppercase-initial with letters, digits and underscores so the declaration can name it.
|
|
10
|
+
|
|
11
|
+
Add the module to the client's `captures:` or discover it with `otp_app:`. The registrar skips an unchanged declaration, but saving a changed running capture stops it. Declare `start: true` if this client should start it after saving. Verify the expected emitted events (and no duplicate for an unchanged snapshot) after registration and reconnect.
|
|
12
|
+
|
|
13
|
+
## Query mined behavior
|
|
14
|
+
|
|
15
|
+
Call `Cratis.Chronicle.Patterns.get_patterns_at(scope, moment, opts)` for the intended grouping key and time. Day and time bucket are derived from the moment's own offset, not UTC. An empty result is valid: return no established pattern, not a prediction.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Register the Go factory and preserve delivery identity
|
|
2
|
+
|
|
3
|
+
Register the input and any returned event with `chronicle.RegisterEvent`. Register the reactor using `chronicle.RegisterReactor[*ConfirmOrders](registry, factory, reactors.WithID("confirm-orders"), reactors.OnceOnly("Reserve"))`. The factory returns the receiver with its gateway; the handler's event parameter selects its input, not the method name.
|
|
4
|
+
|
|
5
|
+
A method receiving `(ctx context.Context, event OrderPlaced, delivery reactors.Delivery)` can call the gateway with `delivery.ID()` and return `(OrderConfirmed, error)`. Return the error on failure rather than producing a success event. Add `reactors.StartAtTail()` at registration if a new observer must ignore existing orders. Keep the gateway's receipt across retries and do not redo an irreversible effect in a replay handler.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Register Java event and batch handlers
|
|
2
|
+
|
|
3
|
+
In an `@Reactor(id = "book-index")` class a per-event method can receive `(BookStored event, EventContext context)`. For a batch, declare the event types with repeatable `@Observes(BookAdded.class)` and `@Observes(BookRemoved.class)` annotations on the batch method. Iterate its `EventBatch`; use each entry's own event and context instead of attributing the page to the first source.
|
|
4
|
+
|
|
5
|
+
If one entry is throttled, `batch.defer(entry.getContext(), Duration.ofSeconds(1))` identifies the partition to retry. Do not acknowledge an external effect until its receiver has accepted the same stable receipt on every attempt. For future-only effects use `@StartAtTail` as well as replay exclusion with `@OnceOnly`; neither is retry deduplication.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Register the Kotlin notification
|
|
2
|
+
|
|
3
|
+
With the event registered, annotate the class `@Reactor(id = "order-notifications")` and add a typed method such as `fun orderPlaced(event: OrderPlaced, context: EventContext)`. For a live-only notification, choose `@StartAtTail` for the initial position and `@OnceOnly` for replay exclusion. Do not rotate the observer ID for routine deployments.
|
|
4
|
+
|
|
5
|
+
Scope the receiver's receipt to this observer, store, namespace, event sequence, source, `context.sequenceNumber` and effect. Sequence number alone collides across scopes. Test a retry after the receiver has accepted the notification: returning successfully must not send a second one. Cancellation or failure must not be reported as successful delivery.
|
|
6
|
+
|
|
7
|
+
For batched delivery, use `EventBatch` as the first parameter and repeat `@Observes` for each event type. Route failures and deferrals using the affected entry, not a batch-wide assumption. Per-event dispatch is based on the event parameter. Returning registered events as a list appends the event effects as one atomic batch; use `EventForEventSourceId` to route an effect explicitly. That atomicity never includes a remote gateway.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Run durable work without inventing a domain event
|
|
2
|
+
|
|
3
|
+
Use Chronicle 19.77.0 or later. The kernel must advertise `occurrences`, and `effect-receipts` for receipted work. Absent or unknown capability fails closed. Normal artifact discovery finds trigger types and handlers. Trigger payloads are plaintext; keep them and persisted responses free of personal data and secrets.
|
|
4
|
+
|
|
5
|
+
```csharp
|
|
6
|
+
using Cratis.Chronicle.Occurrences;
|
|
7
|
+
|
|
8
|
+
[Trigger("refresh-directory")]
|
|
9
|
+
public record RefreshDirectory(string BatchId);
|
|
10
|
+
|
|
11
|
+
public class RefreshDirectoryHandler(IDirectoryRefresher refresher) : IOccurrenceHandler<RefreshDirectory>
|
|
12
|
+
{
|
|
13
|
+
public Task Handle(RefreshDirectory trigger, OccurrenceContext context, CancellationToken cancellationToken) =>
|
|
14
|
+
refresher.Refresh(trigger.BatchId, context.EffectKey("refresh").Value, cancellationToken);
|
|
15
|
+
}
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Here `IDirectoryRefresher` is the application adapter; the receiver must deduplicate the effect key atomically with the external effect. A lease can redeliver. Call `eventStore.Occurrences.Record(trigger, idempotencyId)` in the intended namespace using an ID from the originating durable request. `Recorded` and `AlreadyRecorded` succeed. `OccurrenceIdConflict` means the same ID carried different content; `OccurrencePayloadInvalid` means registration or the payload contract refused it. Neither is a successful retry.
|
|
19
|
+
|
|
20
|
+
For Chronicle writes, use `context.EffectKey(name)` and look up `eventStore.Occurrences.GetEffectReceipt(key)` in the same namespace. If absent, enroll `unitOfWork.UseEffectReceipt(key, response)` before the owning commit and stage the write transactionally. [Refuse escaped appends](../../cratis-chronicle-protect-decision/references/standalone.md#keep-nested-appends-inside-the-transaction-or-receipt). After an unknown commit, use the stored receipt to settle the outcome; if lookup is unavailable fail retryably, not by assuming absence. A Chronicle receipt does not deduplicate an external service.
|
|
21
|
+
|
|
22
|
+
For built-in `Startup` / `Shutdown` handlers set `ChronicleOptions.ActivationId` to one stable logical deployment ID shared by its instances. Keep the defaults `ActivationScope.Application` and `LifecycleScope.Application`; `eventStore.Occurrences.EndActivation(id)` ends the logical activation, not an individual pod. Use `ActivationScope.PerProcess` only for process-local lifecycle work. Its shutdown is bounded and may not be recorded on a crash or kill.
|
|
23
|
+
|
|
24
|
+
Use `OccurrenceScenario<THandler>` with `Record`, `DeliverNext` and `DeliverWithoutCompleting` to simulate a lost worker after the effect. Deliver again after lease expiry and assert one durable effect and the original receipt.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# Keep the observer in a supported host
|
|
2
|
+
|
|
3
|
+
Python has no released application reactor. Have a supported service register the observer and call the Python worker with a stable, effect-specific delivery key. Let the worker store that key atomically with its effect and return its prior outcome on retry. Generated observer messages alone do not provide registration, checkpointing or redelivery.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Bind the Node handler explicitly
|
|
2
|
+
|
|
3
|
+
Decorate the class with `@reactor()` and the method with `@handles(OrderPlaced)`, with `OrderPlaced` registered. Without `@handles`, discovery lowercases only the first character of the event class name and leaves the rest unchanged (`URLChanged` → `uRLChanged`). TypeScript parameter annotations do not register a handler. To supply a receipt, accept `(event: OrderPlaced, context: EventContext, services: ReactorServices, delivery: ReactorDelivery)` and pass `delivery.id` plus a stable effect label to the receiver.
|
|
4
|
+
|
|
5
|
+
For new notifications only, put `@startAtTail()` on the class and `@onceOnly()` on the live effect method. If the reactor also needs to rebuild state, import `replay` from `@cratis/chronicle` and add a separate method inside the reactor class, where `rebuildState` is the application's state-only operation:
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
@replay(OrderPlaced)
|
|
9
|
+
async restoreOrder(event: OrderPlaced) {
|
|
10
|
+
await this.rebuildState(event);
|
|
11
|
+
}
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Do not call the live gateway from the replay handler. Force one failure after the gateway accepts the live request. The retry must present the same key, not generate a new one.
|
|
15
|
+
|
|
16
|
+
If the follow-up makes a local business decision, return an Arc command. See "Reactors that return commands (Chronicle)" in `cratis-arc-invoke-command` for delivery, replay and DI setup.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cratis-chronicle-record-event
|
|
3
|
+
description: Use when declaring a Chronicle event, appending it from a standalone writer or checking its accepted position. Not for returning a fact from an Arc command.
|
|
4
|
+
compatibility: A supported application client and access to the intended kernel.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Append a fact to its intended history
|
|
8
|
+
|
|
9
|
+
For returning a fact from an Arc command, use `cratis-arc-declare-command` (installed with `cratis/arc/core`) if available.
|
|
10
|
+
|
|
11
|
+
Choose the stable event type and generation, source key and target sequence before writing. The source identifies the history; a correlation ID identifies a workflow, not a business entity. Keep the payload a fact about the past.
|
|
12
|
+
|
|
13
|
+
- C# (`.csproj`): [declare and check the C# event](references/csharp.md), or [record only changes from repeated observations](references/csharp.md#observation-commands).
|
|
14
|
+
- Node server (`package.json`): [append a registered Node event](references/typescript.md).
|
|
15
|
+
- Kotlin (`.kt`): [append from a Kotlin coroutine](references/kotlin.md).
|
|
16
|
+
- Java (`.java`): [append through the Java facade](references/java.md).
|
|
17
|
+
- Go (`go.mod`): [register and append the Go value](references/go.md).
|
|
18
|
+
- Elixir (`mix.exs`): [inspect the detailed Elixir result](references/elixir.md).
|
|
19
|
+
- Python has no released application client: [submit an intent from Python](references/python.md).
|
|
20
|
+
|
|
21
|
+
In a disposable namespace verify the accepted type, source and content by reading its sequence. Acceptance does not prove downstream delivery. For a confirmed refusal report the structured reason; after a lost response reconcile the original attempt before resubmitting. A new source key or idempotency key is a different write.
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# Append an author registration
|
|
2
|
+
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- Read back the accepted registration
|
|
6
|
+
- Read when an existing author registered
|
|
7
|
+
- When it goes off the usual path
|
|
8
|
+
- Related skills
|
|
9
|
+
- Decide whether another append is safe
|
|
10
|
+
- Observation commands
|
|
11
|
+
|
|
12
|
+
Declare the fact in the registration feature. This is all the event declaration needs:
|
|
13
|
+
|
|
14
|
+
```csharp
|
|
15
|
+
using Cratis.Chronicle.Events;
|
|
16
|
+
|
|
17
|
+
namespace Library.Features.Authors.Registration;
|
|
18
|
+
|
|
19
|
+
[EventType] public record AuthorRegistered(string Name);
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
1. For a writer, import `AuthorId` and `AuthorName` from Name a domain value (`cratis-fundamentals-name-value` skill in `cratis/fundamentals`). Reference `Cratis.Chronicle` in the backend. Keep the registration code in `Features/Authors/Registration/`.
|
|
23
|
+
2. Mark the event `[EventType]`. The event-type ID is a plain string naming the schema, not the author. It defaults to the type name; if you rename the type later, retain its old ID with `[EventType("AuthorRegistered")]`.
|
|
24
|
+
3. Inside Arc, return the fact from the handler (`cratis-arc-declare-command` skill in `cratis/arc/csharp`). Choose a guarded `IEventLog` append when the writer is standalone. Use the caller's `AuthorId` as the event source ID and return the append result.
|
|
25
|
+
|
|
26
|
+
**Standalone writer only:**
|
|
27
|
+
|
|
28
|
+
```csharp
|
|
29
|
+
// Features/Authors/Registration/AuthorRegistry.cs
|
|
30
|
+
using Cratis.Chronicle.Events;
|
|
31
|
+
using Cratis.Chronicle.EventSequences;
|
|
32
|
+
using Cratis.Chronicle.EventSequences.Concurrency;
|
|
33
|
+
using Library.Features.Authors;
|
|
34
|
+
|
|
35
|
+
namespace Library.Features.Authors.Registration;
|
|
36
|
+
|
|
37
|
+
public class AuthorRegistry(IEventLog eventLog)
|
|
38
|
+
{
|
|
39
|
+
public Task<AppendResult> Register(AuthorId authorId, AuthorName name)
|
|
40
|
+
{
|
|
41
|
+
var unused = new ConcurrencyScopeBuilder()
|
|
42
|
+
.ExpectingNoMatchingEvent()
|
|
43
|
+
.WithEventSourceId(authorId)
|
|
44
|
+
.Build();
|
|
45
|
+
return eventLog.Append(authorId, new AuthorRegistered(name.Value), concurrencyScope: unused);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
The standalone writer is create-only: a freshly generated ID is not proof this history is unused. Its append condition checks for any prior event at that ID. If names must also be unique across authors, [add that constraint separately](../../cratis-chronicle-constrain-append/SKILL.md).
|
|
51
|
+
|
|
52
|
+
## Read back the accepted registration
|
|
53
|
+
|
|
54
|
+
One-off wiring check in a disposable namespace, not a committed spec of append or readback. For an uncovered command outcome, use the backend scenario (`cratis-specifications-exercise-backend` skill in `cratis/application`).
|
|
55
|
+
|
|
56
|
+
In a caller with the library's `IEventLog`, take the result from `var result = await new AuthorRegistry(eventLog).Register(authorId, new AuthorName("Aster"));`. Check `result.IsSuccess` before reporting success. On refusal inspect `result.ConstraintViolations`, `result.ConcurrencyViolation` and `result.Errors`. For an accepted registration, read only that author's registrations and match the returned position:
|
|
57
|
+
|
|
58
|
+
```csharp
|
|
59
|
+
var registrations = await eventLog.GetForEventSourceIdAndEventTypes(
|
|
60
|
+
authorId, [typeof(AuthorRegistered).GetEventType()]);
|
|
61
|
+
var stored = registrations.Single(e => e.Context.SequenceNumber == result.SequenceNumber);
|
|
62
|
+
var name = ((AuthorRegistered)stored.Content).Name;
|
|
63
|
+
var registeredAt = stored.Context.Occurred;
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Read when an existing author registered
|
|
67
|
+
|
|
68
|
+
For a read-only lookup by `authorId`, query `IEventLog` for that author and the `AuthorRegistered` event type. Do not call `Register` to obtain a sequence number. If the slice allows one registration per author ID, add this method to `AuthorRegistry`. It returns the stored occurrence time or no timestamp when the author has not registered:
|
|
69
|
+
|
|
70
|
+
```csharp
|
|
71
|
+
public async Task<DateTimeOffset?> GetRegistrationTime(AuthorId authorId)
|
|
72
|
+
{
|
|
73
|
+
var registrations = await eventLog.GetForEventSourceIdAndEventTypes(
|
|
74
|
+
authorId, [typeof(AuthorRegistered).GetEventType()]);
|
|
75
|
+
var stored = registrations.SingleOrDefault();
|
|
76
|
+
return stored?.Context.Occurred;
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Use the stored occurrence time, not the lookup time. If another writer permits multiple registrations per source, select the intended registration by sequence number instead of taking the single result.
|
|
81
|
+
|
|
82
|
+
## When it goes off the usual path
|
|
83
|
+
|
|
84
|
+
- **The create-only append was refused:** inspect `result.ConcurrencyViolation` and read `await eventLog.GetFromSequenceNumber(EventSequenceNumber.First, authorId)` before deciding whether to report an existing author or try again.
|
|
85
|
+
- **The original outcome needs correcting:** append a correcting fact for that event source and preserve the original. Don't edit it in the event log.
|
|
86
|
+
|
|
87
|
+
## Related skills
|
|
88
|
+
|
|
89
|
+
- [Evolve an event](../../cratis-chronicle-evolve-event/SKILL.md) before changing a stored payload's shape.
|
|
90
|
+
- [Protect personal data](../../cratis-chronicle-protect-personal-data/SKILL.md) before recording identifying member details.
|
|
91
|
+
|
|
92
|
+
- Return an event from an Arc command (`cratis-arc-declare-command` skill in `cratis/arc/csharp`)
|
|
93
|
+
- [Reserve an author's name](../../cratis-chronicle-constrain-append/SKILL.md)
|
|
94
|
+
|
|
95
|
+
## Decide whether another append is safe
|
|
96
|
+
|
|
97
|
+
Distinguish a confirmed refusal from `AppendOutcomeUnknown`: the latter may already have committed. If using keyed retry, preserve the key, route and prepared content. Never retry unkeyed because the key was refused. `ConstraintIndexUnavailable` wrote nothing; wait for repair and retry that attempt unchanged. `Prepare` and `VerifyContent` compare content at a known position, not whether a logical request executed exactly once. `Unavailable` is inconclusive. Named tags are metadata, not payload fields; authorize metadata reads even if they exclude content.
|
|
98
|
+
|
|
99
|
+
For a lost batch reply (client 19.92.0+, kernel 19.91.0+), retain the prepared route, metadata, ordered payloads and stable operation key. Reissue the same call only to reconcile the uncertain attempt:
|
|
100
|
+
|
|
101
|
+
```csharp
|
|
102
|
+
if (!log.SupportsIdempotentAppends) throw new NotSupportedException();
|
|
103
|
+
Task<AppendManyResult> Send() => log.AppendManyOnce(source, orderedEvents, operationKey);
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
`AppendManyOnce` derives each entry key with `IdempotencyKey.ForIndex(index)`; reordering or rebuilding changes the index-to-event binding. For a mixed-source batch, `EventForEventSourceId.IdempotencyKey` can be set per entry; any unkeyed entry has no duplicate protection. Inspect `AppendManyResult.Outcomes` in order. `Appended` and `AlreadyAppended` are accepted; `AlreadyAppendedAfterErasure` means do not recreate the event. `IdempotencyConflicts` are failures, not duplicate successes. `IdempotentAppendsNotSupported` refuses before sending, including for keyed appends staged in a unit of work or combined with effect receipts. Never fall back to an unkeyed retry.
|
|
107
|
+
|
|
108
|
+
To preserve distinct guards for one source (Chronicle 19.84.0+), pass ordered pairs instead of a dictionary:
|
|
109
|
+
|
|
110
|
+
```csharp
|
|
111
|
+
IEnumerable<KeyValuePair<EventSourceId, ConcurrencyScope>> guards =
|
|
112
|
+
new KeyValuePair<EventSourceId, ConcurrencyScope>[] { new(source, firstScope), new(source, secondScope) };
|
|
113
|
+
var result = await log.AppendMany(entries, correlationId: null, tags: null, concurrencyScopes: guards);
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Use the violation’s `ScopeIndex` and `Scope` to identify the failed predicate. If `IncompatibleConcurrencyScopesForEventSource` is thrown, do not drop a guard to make the write pass.
|
|
117
|
+
|
|
118
|
+
When returning HTTP success depends on commit, complete the owning unit before sending the response. A batch is not a general ambient transaction; middleware completion after the response cannot turn a failure into an HTTP refusal. An accepted append also does not prove observer completion. When the caller needs it, inspect `WaitForCompletion` for timeout, failed partitions and outstanding observers before reporting completion.
|
|
119
|
+
|
|
120
|
+
## Observation commands
|
|
121
|
+
|
|
122
|
+
In an Arc observation command’s `Handle`, compare each incoming fact independently with the stream’s current facts or a keyed `[Passive]` read. Return no events for an identical observation and only the facts that changed otherwise. A lagging materialized view can suppress a real change or cause a duplicate. If writers can race, use [a protected decision read](../../cratis-chronicle-protect-decision/SKILL.md) for the comparison. Specify both an identical observation that appends nothing and a one-field change that appends exactly one fact.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Inspect the detailed Elixir result
|
|
2
|
+
|
|
3
|
+
In the event module declare `use Cratis.Chronicle.Events.EventType, id: "author-registered"` and `defstruct [:name]`. Register the event in the intended store. For a standalone write, pass the client and namespace in `opts` and use `Cratis.Chronicle.EventSequences.EventLog.append_with_result(author_id, %AuthorRegistered{name: name}, opts)`. On `{:ok, result}` retain `result.sequence_number`. For `{:error, result}` inspect structured constraint or concurrency violations when present; a transport error is not a confirmed refusal.
|
|
4
|
+
|
|
5
|
+
When a standalone write really depends on observer progress, use `EventLog.append_and_wait_for_completion/3`. On `{:ok, completion}`, check `completion.success` separately from append acceptance. Do not repeat an append just because the wait failed.
|
|
6
|
+
|
|
7
|
+
Both helpers send directly and bypass any active unit of work. Inside `Cratis.Chronicle.decide/2`, use `EventLog.append/3` instead. Its `:ok` means the event was buffered, not committed. Return any append error from the decision callback and report success only from the outer `decide/2` result `{:ok, _}`.
|
|
8
|
+
|
|
9
|
+
[`variant_of` and `enters_on`](../../cratis-chronicle-project-view/references/elixir.md#variants) describe read-model membership; do not use a variant name as the source ID of the append.
|
|
10
|
+
|
|
11
|
+
## Append through a declared event source
|
|
12
|
+
|
|
13
|
+
With `cratis_chronicle` 3.10.0 and kernel 19.30.0 or later, declare and include this module in `event_sources: [AccountEventSource]`:
|
|
14
|
+
|
|
15
|
+
```elixir
|
|
16
|
+
defmodule AccountEventSource do
|
|
17
|
+
use Cratis.Chronicle.EventSources.EventSource, name: "Account"
|
|
18
|
+
stream "Transactions", concurrency: [:event_source_id, :event_stream_id]
|
|
19
|
+
end
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
In a multi-source batch, put the definition on each routed entry; batch defaults apply to entries without a source:
|
|
23
|
+
|
|
24
|
+
```elixir
|
|
25
|
+
alias Cratis.Chronicle.EventSequences.{EventForEventSourceId, EventLog}
|
|
26
|
+
|
|
27
|
+
EventLog.append_many_for_event_sources([
|
|
28
|
+
%EventForEventSourceId{event_source_id: account_id, event: deposited,
|
|
29
|
+
event_source: AccountEventSource, event_stream: "Transactions", event_stream_id: month}
|
|
30
|
+
], opts)
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
The named stream is validated. A contradictory explicit route refuses the whole operation, including a batch with otherwise valid entries. The declared dimensions narrow the tail that is read and checked unless you supply an explicit concurrency scope. Verify both routing and atomic refusal against the target kernel.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# Register and append the Go value
|
|
2
|
+
|
|
3
|
+
With `type AuthorRegistered struct { Name string }`, register the type before creating the client: `_, err := chronicle.RegisterEvent[AuthorRegistered](registry, events.WithID("author-registered"))`. Handle registration errors. After opening the scoped store call `result, err := store.EventLog().Append(ctx, authorID, AuthorRegistered{Name: name})`. Check `err` first, then `result.Err()`. Reconcile a transport loss before retry; refusal is not the same as an unknown commit.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Append through the Java facade
|
|
2
|
+
|
|
3
|
+
Declare a Java record `@EventType(id = "author-registered") public record AuthorRegistered(String name) {}` in its own file and register it. On the blocking store, `var result = store.getEventLog().append(authorId, new AuthorRegistered(name));`. Inspect the outcome before using `result.getSequenceNumberValue()` as a position. Do not call suspend APIs or invent a position when transport fails.
|
|
4
|
+
|
|
5
|
+
## Append through a declared event source
|
|
6
|
+
|
|
7
|
+
Use kernel 19.30.0 or later. Include the definition in artifact discovery:
|
|
8
|
+
|
|
9
|
+
```java
|
|
10
|
+
import io.cratis.chronicle.eventSources.ConcurrencyDimension;
|
|
11
|
+
import io.cratis.chronicle.eventSources.EventSource;
|
|
12
|
+
import io.cratis.chronicle.eventSources.EventStream;
|
|
13
|
+
|
|
14
|
+
@EventSource(name = "Account", description = "Bank account",
|
|
15
|
+
concurrency = {ConcurrencyDimension.EventSourceId, ConcurrencyDimension.EventStreamType},
|
|
16
|
+
streams = {@EventStream(name = "Transactions", description = "Account movements")})
|
|
17
|
+
class AccountEventSource {}
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Build options with `new AppendOptionsBuilder().throughEventSource(AccountEventSource.class, "Transactions").build()` (from `io.cratis.chronicle.java`) and pass them to `sequence.append(accountId, deposited, options)`. The named stream is validated. A contradictory explicit route fails the whole append, including a multi-entry batch. Unless an explicit concurrency scope is supplied, the declared dimensions narrow the tail that is read and checked. Verify that the event lands in the declared stream and a batch containing a contradictory route appends nothing.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Append from a Kotlin coroutine
|
|
2
|
+
|
|
3
|
+
Include the event type in registration. In a coroutine, append through the scoped store:
|
|
4
|
+
|
|
5
|
+
```kotlin
|
|
6
|
+
import io.cratis.chronicle.IEventStore
|
|
7
|
+
import io.cratis.chronicle.events.EventType
|
|
8
|
+
|
|
9
|
+
@EventType(id = "author-registered")
|
|
10
|
+
data class AuthorRegistered(val name: String)
|
|
11
|
+
|
|
12
|
+
suspend fun registerAuthor(store: IEventStore, authorId: String, name: String) =
|
|
13
|
+
store.eventLog.append(authorId, AuthorRegistered(name))
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Inspect the returned `result.isSuccess` before publishing success to the caller. The source ID passed to append, not a similarly named payload field, selects the history.
|
|
17
|
+
|
|
18
|
+
Without an explicit event ID the class simple name is used. Two packages can have the same simple name. Preserve the deployed ID when moving the class. A failed append can report constraint or concurrency violations: inspect which rule refused before deciding whether to reevaluate.
|
|
19
|
+
|
|
20
|
+
## Append through a declared event source
|
|
21
|
+
|
|
22
|
+
Use kernel 19.30.0 or later. Include the definition in artifact discovery:
|
|
23
|
+
|
|
24
|
+
```kotlin
|
|
25
|
+
import io.cratis.chronicle.eventSources.ConcurrencyDimension
|
|
26
|
+
import io.cratis.chronicle.eventSources.EventSource
|
|
27
|
+
import io.cratis.chronicle.eventSources.EventStream
|
|
28
|
+
import io.cratis.chronicle.eventSequences.appendThroughEventSource
|
|
29
|
+
|
|
30
|
+
@EventSource(
|
|
31
|
+
name = "Account", description = "Bank account",
|
|
32
|
+
concurrency = [ConcurrencyDimension.EventSourceId, ConcurrencyDimension.EventStreamType],
|
|
33
|
+
streams = [EventStream("Transactions", "Account movements")]
|
|
34
|
+
)
|
|
35
|
+
class AccountEventSource
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
In a suspend function call `eventLog.appendThroughEventSource(AccountEventSource::class, accountId, deposited, eventStream = "Transactions")`. The named stream is validated. A contradictory explicit route fails the whole append, including a multi-entry batch. Unless an explicit concurrency scope is supplied, the declared dimensions narrow the tail that is read and checked. Verify that the event lands in the declared stream and a batch containing a contradictory route appends nothing.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Append a registered Node event
|
|
2
|
+
|
|
3
|
+
For an author registration, use `@eventType("author-registered")` (from `@cratis/chronicle`) on the event class and `@field(String)` (from `@cratis/fundamentals`) on its name field. Load it during artifact discovery. Send `const result = await store.eventLog.append(authorId, new AuthorRegistered(name));` using the stable author ID. Check `result.isSuccess`; do not interpret a fulfilled promise as acceptance. Preserve the refusal details without logging the event body.
|
|
4
|
+
|
|
5
|
+
The implicit ID comes from `constructor.name`; minification and class renames can change it. Keep an explicit ID across builds. Do not mix conflicting concurrency scopes in one unit; surface the conflict rather than silently replacing one participant’s guard.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cratis-chronicle-reduce-state
|
|
3
|
+
description: Use when an event and previous state must be combined into a deterministic read model. Not for a side effect.
|
|
4
|
+
compatibility: A supported application client and access to the intended kernel.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Fold only what a projection cannot map
|
|
8
|
+
|
|
9
|
+
For a side effect after commit, use `cratis-chronicle-react-to-fact` (installed with `cratis/chronicle`) if available.
|
|
10
|
+
|
|
11
|
+
For a running balance, the first credit creates the balance and the next credit adds to it. Define both paths. The same ordered facts and instance key must always yield the same state. Do not read the clock, call a gateway, or consult mutable external state while folding.
|
|
12
|
+
|
|
13
|
+
- C# (`.csproj`): [fold state on the C# model](references/csharp.md).
|
|
14
|
+
- Node server (`package.json`): [bind the Node reducer class](references/typescript.md).
|
|
15
|
+
- Kotlin (`.kt`): [fold into a Kotlin copy](references/kotlin.md).
|
|
16
|
+
- Java (`.java`): [return the Java model from the handler](references/java.md).
|
|
17
|
+
- Go (`go.mod`): [register typed Go folds](references/go.md).
|
|
18
|
+
- Elixir (`mix.exs`): [return the next Elixir struct](references/elixir.md).
|
|
19
|
+
- Python has no released application client: [keep the fold in a supported service](references/python.md).
|
|
20
|
+
|
|
21
|
+
Exercise absent state, a subsequent update and any declared deletion separately. Replay the same inputs; compare the resulting fields and key. If replay changes the answer, fix the fold before replacing a stored view.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Calculate the average completed loan duration for a book
|
|
2
|
+
|
|
3
|
+
Start with a projection for field mappings and plain counters. Choose a static model reducer for a calculation that needs prior state and cannot be expressed with projection mappings. This example calculates the mean duration across completed loans. It describes recorded facts; it doesn't decide whether to accept another loan.
|
|
4
|
+
|
|
5
|
+
In the book's loan reporting feature, record the completed loan's duration on the return event and append it to the book's event source. Keep the fold on the read model:
|
|
6
|
+
|
|
7
|
+
```csharp
|
|
8
|
+
using Cratis.Chronicle.Events;
|
|
9
|
+
|
|
10
|
+
namespace Library.Features.Books.Reporting;
|
|
11
|
+
|
|
12
|
+
[EventType] public record BookReturned(int DaysOnLoan);
|
|
13
|
+
|
|
14
|
+
public record LoanDuration(int CompletedLoans, long TotalDays, decimal AverageDays)
|
|
15
|
+
{
|
|
16
|
+
public static LoanDuration Reduce(BookReturned returned, LoanDuration? current)
|
|
17
|
+
{
|
|
18
|
+
var count = (current?.CompletedLoans ?? 0) + 1;
|
|
19
|
+
var total = (current?.TotalDays ?? 0L) + returned.DaysOnLoan;
|
|
20
|
+
return new(count, total, (decimal)total / count);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Default discovery recognizes the public static `Reduce` method on the model. No separate reducer registration or `Id` property is needed. Read `await eventStore.ReadModels.GetInstanceById<LoanDuration>(isbn.Value)` for that book, where `isbn.Value` is its string event source ID. To make this result available to a screen, expose a query (`cratis-arc-expose-query` skill in `cratis/arc/csharp`).
|
|
26
|
+
|
|
27
|
+
## Check the calculation
|
|
28
|
+
|
|
29
|
+
For an uncovered calculation, commit one direct spec: start with no model, fold returns of two and five days for one book, and expect an average of `3.5m`. This catches integer division as well as a fold that discards the previous loan. Don't repeat it in a hosted spec.
|
|
30
|
+
|
|
31
|
+
## Avoid
|
|
32
|
+
|
|
33
|
+
- Don't mutate previous state or calculate duration from today's date. Replay must use the recorded inputs.
|
|
34
|
+
- Keep `Reduce` on the model by default. Use a separate `IReducerFor<LoanDuration>` only for an unavoidable injected dependency whose answer is repeatable on replay; record changing external input as a fact instead.
|
|
35
|
+
- If the model assembly cannot reference Chronicle, the host can nominate a plain instance reducer with `options.ExplicitArtifacts.RegisterReducer<PlainLoanDurationReducer>()`. Do not also supply a self `Reduce` for that model; one builder owns it.
|
|
36
|
+
|
|
37
|
+
## Related skills
|
|
38
|
+
|
|
39
|
+
- [Map events onto a read model](../../cratis-chronicle-project-view/SKILL.md)
|
|
40
|
+
- Test a decision directly with `cratis-specifications-isolate-behavior` (in the `cratis/specifications/dotnet` profile).
|
|
41
|
+
|
|
42
|
+
When converting an existing reducer, preserve its observer identity, selected events, keys and decision-fold admission. A filtered or dependency-bearing reducer is not an equivalent replacement for an admissible unfiltered fold. A label does not filter delivery: configure metadata filters explicitly and seed matching source/stream/tag metadata in the test. Different partitions can run concurrently. Keep replay lifecycle work outside `Reduce`. On the model, optionally declare public static non-generic hooks returning exactly `Task`: `BeginReplay()`, `EndReplay()`, `BeginReplayPartition(Partition)`, and `EndReplayPartition(Partition)`. Import `Partition` from `Cratis.Chronicle.Observation` and make it the first parameter of either partition hook. After it (or as the only parameters of global hooks), use class/interface service dependencies only, not the event, model or `EventContext`. Chronicle resolves them in the notification’s async DI scope and awaits the hook and scope disposal. Do not assume full replay issues partition notifications, failure issues an end notification, or delivery is exactly once. See “Definition change replay” in `cratis-chronicle-inspect-observer` before changing a reducer with interleaved history.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# Return the next Elixir struct
|
|
2
|
+
|
|
3
|
+
Use `Cratis.Chronicle.Reducers.Reducer, model: Balance` and declare `@handles CreditPosted`. In `reduce(%CreditPosted{} = event, previous, context)`, initialize a missing balance then return the new struct with `id: context.event_source_id` and the new total. Handle other event structs with separate clauses. Fetching current external balances in `reduce/3` makes replay nondeterministic.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Register typed Go folds
|
|
2
|
+
|
|
3
|
+
With the registered model, use `chronicle.RegisterReducerHandlers(registry, model, "account-balance", []reducers.Handler{reducers.On(fold)})`. Check the error. Have the fold return the updated `*Balance` and an error; initialize a nil prior state on creation. Returning `nil, nil` removes the instance, it does not mean “leave unchanged”. Test that case independently of an error and an ordinary update.
|
|
4
|
+
|
|
5
|
+
A class-like receiver can instead use `RegisterReducer`; do not confuse it with `RegisterReadModelReactor`, which observes a model change rather than folding event history.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# Return the Java model from the handler
|
|
2
|
+
|
|
3
|
+
In an `@Reducer` class use `public EmployeeState employeeHired(EmployeeHired event, EmployeeState state, EventContext context)`. Initialize missing state, copy fields that are not changing, and return a new model keyed by `context.getEventSourceId()`. Test another event for that employee and a first event for a different employee. Do not rely on C# static method discovery.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Fold into a Kotlin copy
|
|
2
|
+
|
|
3
|
+
In an `@Reducer` class implement a typed method such as `fun employeeHired(event: EmployeeHired, state: EmployeeState?, context: EventContext): EmployeeState`. Return `(state ?: EmployeeState()).copy(id = context.eventSourceId, title = event.title)` for a model with those defaults. An empty ID can collapse several employees into one sink entry. Do not discard previously folded fields on an update.
|
|
4
|
+
|
|
5
|
+
The reducer executes in the client, not in the kernel projection engine. Check that the correct worker is running and registered before diagnosing a stale reducer result as missing history.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# Keep the fold in a supported service
|
|
2
|
+
|
|
3
|
+
No released Python application reducer is available. Read the folded state from the owning service. If Python performs an analysis on an exported snapshot, label that output as analysis; it is not a registered, replayable Chronicle read model.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# Bind the Node reducer class
|
|
2
|
+
|
|
3
|
+
Use `@reducer("account-balance", undefined, Balance)` on the reducer class. Name the method `creditPosted` for `CreditPosted`, or bind it explicitly with `@handles(CreditPosted)`. It receives the event, current state and optional context. Return the next model: for example, use `(current?.total ?? 0) + event.amount`. Use the class decorator, not a `@reduces` method decorator; no such export is provided.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cratis-chronicle-select-client
|
|
3
|
+
description: Use when choosing a Chronicle dependency for an application or a protocol inspection tool. Not for choosing an HTTP command or query host.
|
|
4
|
+
compatibility: The chosen language toolchain and a versioned Chronicle release.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Choose the client that will run the workload
|
|
8
|
+
|
|
9
|
+
For choosing an HTTP command or query host, use `cratis-arc-select-backend-sdk` (installed with `cratis/arc`) if available.
|
|
10
|
+
|
|
11
|
+
For application work, choose the client for the process that will append or observe events, not the language of its caller. For example, when a React screen submits an order to a Node service, the service owns the Chronicle dependency; the screen calls the service. Start with that service's manifest:
|
|
12
|
+
|
|
13
|
+
- `.csproj`: [select the C# client](references/csharp.md).
|
|
14
|
+
- Node server `package.json`: [select the TypeScript client](references/typescript.md).
|
|
15
|
+
- `.kt`: [select the Kotlin application artifact](references/kotlin.md).
|
|
16
|
+
- `.java`: [select the Java-facing JVM client](references/java.md).
|
|
17
|
+
- `go.mod`: [distinguish standalone Go from an integrated host](references/go.md).
|
|
18
|
+
- `mix.exs`: [select the Elixir client for supervised application work](references/elixir.md).
|
|
19
|
+
- Python: there is no released application client. Call a service that owns the operation. For offline protocol tooling only, [build and check the matching contracts package](references/python.md).
|
|
20
|
+
|
|
21
|
+
Use generated contracts alone only when inspecting or encoding wire messages. A message round trip proves the wire type loads; it does not start an observer. Before committing to an application client, exercise the required operation against the intended kernel in a disposable namespace. If it fails, resolve the client/kernel mismatch or delegate to a supported host; do not force an unrelated contracts version.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Select the .NET application client
|
|
2
|
+
|
|
3
|
+
For a standalone .NET worker, reference `Cratis.Chronicle` from the worker project. For example, in a worker that uses Chronicle 20.0.0:
|
|
4
|
+
|
|
5
|
+
```xml
|
|
6
|
+
<PackageReference Include="Cratis.Chronicle" Version="20.0.0" />
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Restore and build the worker. Its dependency graph should include the application client, not just contracts. Then exercise the operation the worker needs against a disposable namespace on the intended kernel. A successful restore says nothing about whether that kernel accepts the operation.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Select the Elixir application dependency
|
|
2
|
+
|
|
3
|
+
For a Mix application that will supervise Chronicle work, add the application client to `deps`, for example:
|
|
4
|
+
|
|
5
|
+
```elixir
|
|
6
|
+
{:cratis_chronicle, "4.0.2"}
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Resolve dependencies. The client should appear in the application's dependency graph with its own `:cratis_chronicle_contracts` requirement (`~> 19.188` for this example). If only the contracts package is present, add the application dependency rather than starting generated message modules as workers. Verify that the supervised application performs its intended operation against a disposable namespace before deployment.
|