@cratis/pi 8.2.1 → 8.3.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/package/corpus/harnesses/copilot/instructions/ai-distribution.instructions.md +7 -9
- package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +25 -55
- package/package/corpus/harnesses/copilot/instructions/browser.instructions.md +10 -7
- package/package/corpus/harnesses/copilot/instructions/code-health.instructions.md +8 -1
- package/package/corpus/harnesses/copilot/instructions/code-quality.csharp.instructions.md +3 -2
- package/package/corpus/harnesses/copilot/instructions/code-quality.instructions.md +5 -5
- package/package/corpus/harnesses/copilot/instructions/code-quality.typescript.instructions.md +4 -3
- package/package/corpus/harnesses/copilot/instructions/codescene.instructions.md +5 -4
- package/package/corpus/harnesses/copilot/instructions/components.instructions.md +6 -8
- package/package/corpus/harnesses/copilot/instructions/concepts.instructions.md +15 -2
- package/package/corpus/harnesses/copilot/instructions/cratis-folder-is-configuration.instructions.md +3 -5
- package/package/corpus/harnesses/copilot/instructions/criticality-tiers.instructions.md +7 -35
- package/package/corpus/harnesses/copilot/instructions/csharp.instructions.md +13 -6
- package/package/corpus/harnesses/copilot/instructions/dialogs.instructions.md +8 -3
- package/package/corpus/harnesses/copilot/instructions/discoverability.instructions.md +8 -2
- package/package/corpus/harnesses/copilot/instructions/documentation-structure-and-formatting.instructions.md +12 -6
- package/package/corpus/harnesses/copilot/instructions/documentation.instructions.md +12 -7
- package/package/corpus/harnesses/copilot/instructions/editing-cratis-docs.instructions.md +8 -6
- package/package/corpus/harnesses/copilot/instructions/efcore.instructions.md +13 -9
- package/package/corpus/harnesses/copilot/instructions/efcore.specs.instructions.md +9 -5
- package/package/corpus/harnesses/copilot/instructions/elixir.instructions.md +12 -8
- package/package/corpus/harnesses/copilot/instructions/exit-codes-and-wrappers.instructions.md +7 -4
- package/package/corpus/harnesses/copilot/instructions/framework-dotnet.instructions.md +12 -6
- package/package/corpus/harnesses/copilot/instructions/framework.instructions.md +11 -7
- package/package/corpus/harnesses/copilot/instructions/frontend-quality.instructions.md +7 -7
- package/package/corpus/harnesses/copilot/instructions/frontend-testing.instructions.md +5 -3
- package/package/corpus/harnesses/copilot/instructions/general.instructions.md +2 -2
- package/package/corpus/harnesses/copilot/instructions/github-actions.instructions.md +11 -6
- package/package/corpus/harnesses/copilot/instructions/glossary.instructions.md +13 -13
- package/package/corpus/harnesses/copilot/instructions/go-engineering.instructions.md +13 -39
- package/package/corpus/harnesses/copilot/instructions/go.instructions.md +18 -139
- package/package/corpus/harnesses/copilot/instructions/guards-and-fuses.instructions.md +14 -60
- package/package/corpus/harnesses/copilot/instructions/issue-assignment.instructions.md +6 -9
- package/package/corpus/harnesses/copilot/instructions/java.instructions.md +8 -6
- package/package/corpus/harnesses/copilot/instructions/kotlin.instructions.md +12 -7
- package/package/corpus/harnesses/copilot/instructions/local-verification-and-delivery.instructions.md +8 -5
- package/package/corpus/harnesses/copilot/instructions/local-work-artifacts.instructions.md +11 -64
- package/package/corpus/harnesses/copilot/instructions/new-repository-intake.instructions.md +7 -28
- package/package/corpus/harnesses/copilot/instructions/operational-safety.instructions.md +26 -41
- package/package/corpus/harnesses/copilot/instructions/orleans.instructions.md +22 -5
- package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +8 -11
- package/package/corpus/harnesses/copilot/instructions/published-contracts.instructions.md +6 -25
- package/package/corpus/harnesses/copilot/instructions/react.instructions.md +9 -2
- package/package/corpus/harnesses/copilot/instructions/reactors.instructions.md +17 -5
- package/package/corpus/harnesses/copilot/instructions/review-reports.instructions.md +12 -94
- package/package/corpus/harnesses/copilot/instructions/scripting.instructions.md +5 -5
- package/package/corpus/harnesses/copilot/instructions/specs.csharp.instructions.md +11 -8
- package/package/corpus/harnesses/copilot/instructions/specs.elixir.instructions.md +9 -4
- package/package/corpus/harnesses/copilot/instructions/specs.instructions.md +7 -4
- package/package/corpus/harnesses/copilot/instructions/specs.scenarios.csharp.instructions.md +11 -2
- package/package/corpus/harnesses/copilot/instructions/specs.typescript.instructions.md +8 -11
- package/package/corpus/harnesses/copilot/instructions/storybook.instructions.md +4 -7
- package/package/corpus/harnesses/copilot/instructions/typescript.instructions.md +8 -8
- package/package/corpus/harnesses/copilot/instructions/verification-discipline.instructions.md +6 -9
- package/package/corpus/harnesses/copilot/instructions/vertical-slices.instructions.md +29 -5
- package/package/corpus/harnesses/copilot/instructions/writing-correct-examples.instructions.md +12 -3
- package/package/corpus/harnesses/copilot/instructions/writing-cratis-docs.instructions.md +11 -3
- package/package/corpus/hooks/README.md +2 -0
- package/package/corpus/hooks/scripts/cratis-cleanup-worktrees.sh +36 -24
- package/package/corpus/hooks/scripts/cratis-guard-secrets.sh +66 -22
- package/package/corpus/hooks/scripts/cratis-guard-writes.sh +2 -1
- package/package/corpus/hooks/scripts/cratis-store-mutations.json +1 -1
- package/package/corpus/rules/ai-distribution.md +7 -9
- package/package/corpus/rules/authoring-skills.md +25 -55
- package/package/corpus/rules/browser.md +10 -7
- package/package/corpus/rules/code-health-policy.txt +3 -3
- package/package/corpus/rules/code-health.md +8 -1
- package/package/corpus/rules/code-quality.csharp.md +3 -2
- package/package/corpus/rules/code-quality.md +5 -5
- package/package/corpus/rules/code-quality.typescript.md +4 -3
- package/package/corpus/rules/codescene-reference.txt +34 -0
- package/package/corpus/rules/codescene.md +5 -4
- package/package/corpus/rules/components.md +6 -8
- package/package/corpus/rules/concepts.md +15 -2
- package/package/corpus/rules/cratis-folder-is-configuration.md +3 -5
- package/package/corpus/rules/criticality-tiers.md +7 -35
- package/package/corpus/rules/csharp.md +13 -6
- package/package/corpus/rules/dialogs.md +8 -3
- package/package/corpus/rules/discoverability.md +8 -2
- package/package/corpus/rules/documentation-structure-and-formatting.md +12 -6
- package/package/corpus/rules/documentation.md +12 -7
- package/package/corpus/rules/editing-cratis-docs.md +8 -6
- package/package/corpus/rules/efcore.md +13 -9
- package/package/corpus/rules/efcore.specs.md +9 -5
- package/package/corpus/rules/elixir.md +12 -8
- package/package/corpus/rules/exit-codes-and-wrappers.md +7 -4
- package/package/corpus/rules/framework-dotnet.md +12 -6
- package/package/corpus/rules/framework.md +11 -7
- package/package/corpus/rules/frontend-quality.md +7 -7
- package/package/corpus/rules/frontend-testing.md +5 -3
- package/package/corpus/rules/general.md +8 -10
- package/package/corpus/rules/github-actions.md +11 -6
- package/package/corpus/rules/glossary.md +13 -13
- package/package/corpus/rules/go-engineering.md +13 -39
- package/package/corpus/rules/go.md +18 -139
- package/package/corpus/rules/guards-and-fuses.md +14 -60
- package/package/corpus/rules/issue-assignment.md +6 -9
- package/package/corpus/rules/java.md +8 -6
- package/package/corpus/rules/kotlin.md +12 -7
- package/package/corpus/rules/local-verification-and-delivery.md +8 -5
- package/package/corpus/rules/local-work-artifacts.md +11 -64
- package/package/corpus/rules/new-repository-intake.md +7 -28
- package/package/corpus/rules/operational-safety.md +26 -41
- package/package/corpus/rules/orleans.md +22 -5
- package/package/corpus/rules/profiles.md +8 -11
- package/package/corpus/rules/published-contracts.md +6 -25
- package/package/corpus/rules/react.md +9 -2
- package/package/corpus/rules/reactors.md +17 -5
- package/package/corpus/rules/review-reports.md +12 -94
- package/package/corpus/rules/scripting.md +5 -5
- package/package/corpus/rules/specs.csharp.md +11 -8
- package/package/corpus/rules/specs.elixir.md +9 -4
- package/package/corpus/rules/specs.md +7 -4
- package/package/corpus/rules/specs.scenarios.csharp.md +11 -2
- package/package/corpus/rules/specs.typescript.md +8 -11
- package/package/corpus/rules/storybook.md +4 -7
- package/package/corpus/rules/typescript.md +8 -8
- package/package/corpus/rules/verification-discipline.md +6 -9
- package/package/corpus/rules/vertical-slices.md +29 -5
- package/package/corpus/rules/writing-correct-examples.md +12 -3
- package/package/corpus/rules/writing-cratis-docs.md +11 -3
- package/package/corpus/skills/cratis-ai-corpus-authoring/LICENSE +21 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/SKILL.md +140 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/references/checklist.md +46 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/references/evaluation.md +19 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/references/large-rewrites.md +25 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/references/skill-anatomy.md +75 -0
- package/package/corpus/skills/cratis-application-growth/SKILL.md +148 -63
- package/package/corpus/skills/cratis-application-growth/references/csharp.md +170 -0
- package/package/corpus/skills/cratis-application-growth/references/elixir.md +26 -0
- package/package/corpus/skills/cratis-application-growth/references/go.md +27 -0
- package/package/corpus/skills/cratis-application-growth/references/java.md +23 -0
- package/package/corpus/skills/cratis-application-growth/references/kotlin.md +31 -0
- package/package/corpus/skills/cratis-application-growth/references/move-and-untangle.md +7 -6
- package/package/corpus/skills/cratis-application-growth/references/rename-window.md +14 -14
- package/package/corpus/skills/cratis-application-growth/references/service-and-delivery.md +21 -0
- package/package/corpus/skills/cratis-application-growth/references/stages.md +1 -9
- package/package/corpus/skills/cratis-application-growth/references/typescript.md +38 -0
- package/package/corpus/skills/cratis-arc-authorize-request/SKILL.md +31 -23
- package/package/corpus/skills/cratis-arc-authorize-request/references/authproxy.md +92 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/csharp-query-security.md +61 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/csharp.md +92 -38
- package/package/corpus/skills/cratis-arc-authorize-request/references/elixir.md +74 -4
- package/package/corpus/skills/cratis-arc-authorize-request/references/go-authentication.md +93 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/go.md +80 -2
- package/package/corpus/skills/cratis-arc-authorize-request/references/java.md +79 -3
- package/package/corpus/skills/cratis-arc-authorize-request/references/kotlin.md +80 -17
- package/package/corpus/skills/cratis-arc-authorize-request/references/python.md +1 -1
- package/package/corpus/skills/cratis-arc-authorize-request/references/typescript.md +106 -6
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/SKILL.md +85 -42
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/typescript-rule-fixes.md +89 -0
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/typescript.md +99 -0
- package/package/corpus/skills/cratis-arc-connect-storage/SKILL.md +54 -14
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp-connection-resolution.md +66 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp-ef.md +78 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp-neo4j.md +30 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp.md +59 -66
- package/package/corpus/skills/cratis-arc-connect-storage/references/elixir.md +121 -3
- package/package/corpus/skills/cratis-arc-connect-storage/references/go.md +73 -3
- package/package/corpus/skills/cratis-arc-connect-storage/references/java.md +68 -3
- package/package/corpus/skills/cratis-arc-connect-storage/references/kotlin.md +74 -3
- package/package/corpus/skills/cratis-arc-connect-storage/references/python.md +2 -2
- package/package/corpus/skills/cratis-arc-connect-storage/references/typescript-drizzle.md +31 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/typescript.md +62 -4
- package/package/corpus/skills/cratis-arc-declare-command/SKILL.md +52 -28
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp-chronicle.md +190 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp-controller.md +44 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp-history.md +125 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp.md +281 -55
- package/package/corpus/skills/cratis-arc-declare-command/references/elixir.md +121 -8
- package/package/corpus/skills/cratis-arc-declare-command/references/go-aggregate.md +59 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/go-chronicle.md +51 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/go-wire.md +94 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/go.md +160 -25
- package/package/corpus/skills/cratis-arc-declare-command/references/java.md +140 -13
- package/package/corpus/skills/cratis-arc-declare-command/references/kotlin.md +189 -23
- package/package/corpus/skills/cratis-arc-declare-command/references/typescript-aggregates.md +73 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/typescript.md +209 -24
- package/package/corpus/skills/cratis-arc-declare-operation/SKILL.md +28 -25
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp-abilities.md +30 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp-recovery.md +50 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp.md +27 -55
- package/package/corpus/skills/cratis-arc-declare-operation/references/elixir.md +17 -1
- package/package/corpus/skills/cratis-arc-declare-operation/references/go.md +75 -5
- package/package/corpus/skills/cratis-arc-declare-operation/references/java.md +13 -2
- package/package/corpus/skills/cratis-arc-declare-operation/references/kotlin.md +11 -2
- package/package/corpus/skills/cratis-arc-declare-operation/references/python.md +2 -2
- package/package/corpus/skills/cratis-arc-declare-operation/references/typescript.md +84 -8
- package/package/corpus/skills/cratis-arc-diagnose-live-query/SKILL.md +42 -36
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/csharp.md +44 -51
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/elixir.md +50 -3
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/go.md +85 -2
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/java.md +70 -2
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/kotlin.md +60 -2
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/typescript.md +94 -5
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/SKILL.md +59 -81
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/csharp-diagnose-tool-call.md +44 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/csharp.md +309 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/go.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/java.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-query/SKILL.md +65 -15
- package/package/corpus/skills/cratis-arc-expose-query/references/csharp.md +379 -31
- package/package/corpus/skills/cratis-arc-expose-query/references/elixir.md +84 -4
- package/package/corpus/skills/cratis-arc-expose-query/references/go-live.md +55 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/go.md +204 -18
- package/package/corpus/skills/cratis-arc-expose-query/references/java.md +236 -7
- package/package/corpus/skills/cratis-arc-expose-query/references/kotlin.md +242 -3
- package/package/corpus/skills/cratis-arc-expose-query/references/typescript.md +360 -19
- package/package/corpus/skills/cratis-arc-generate-proxies/SKILL.md +84 -10
- package/package/corpus/skills/cratis-arc-generate-proxies/references/csharp.md +70 -29
- package/package/corpus/skills/cratis-arc-generate-proxies/references/elixir.md +54 -5
- package/package/corpus/skills/cratis-arc-generate-proxies/references/go-directives.md +74 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/go.md +50 -4
- package/package/corpus/skills/cratis-arc-generate-proxies/references/java-diagnostics.md +67 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/java-wire-types.md +115 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/java.md +86 -2
- package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin-diagnostics.md +67 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin-wire-types.md +108 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin.md +77 -4
- package/package/corpus/skills/cratis-arc-generate-proxies/references/typescript.md +64 -16
- package/package/corpus/skills/cratis-arc-generate-proxies/scripts/check-proxy.mjs +3 -3
- package/package/corpus/skills/cratis-arc-host-application/SKILL.md +67 -12
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-availability.md +130 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-callers.md +89 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-configuration.md +116 -27
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-http.md +86 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-identity.md +208 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp.md +154 -35
- package/package/corpus/skills/cratis-arc-host-application/references/elixir-access.md +64 -0
- package/package/corpus/skills/cratis-arc-host-application/references/elixir.md +53 -23
- package/package/corpus/skills/cratis-arc-host-application/references/go-embed.md +121 -0
- package/package/corpus/skills/cratis-arc-host-application/references/go-execution.md +86 -0
- package/package/corpus/skills/cratis-arc-host-application/references/go-options.md +41 -0
- package/package/corpus/skills/cratis-arc-host-application/references/go.md +43 -5
- package/package/corpus/skills/cratis-arc-host-application/references/java.md +203 -4
- package/package/corpus/skills/cratis-arc-host-application/references/kotlin.md +234 -4
- package/package/corpus/skills/cratis-arc-host-application/references/typescript-services.md +85 -0
- package/package/corpus/skills/cratis-arc-host-application/references/typescript.md +194 -13
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +79 -119
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/references/java.md +285 -0
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/references/kotlin.md +265 -0
- package/package/corpus/skills/cratis-arc-invoke-command/SKILL.md +52 -24
- package/package/corpus/skills/cratis-arc-invoke-command/references/csharp-extensions.md +26 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/csharp.md +55 -25
- package/package/corpus/skills/cratis-arc-invoke-command/references/elixir-liveview.md +112 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/elixir.md +72 -2
- package/package/corpus/skills/cratis-arc-invoke-command/references/go.md +51 -3
- package/package/corpus/skills/cratis-arc-invoke-command/references/java.md +74 -3
- package/package/corpus/skills/cratis-arc-invoke-command/references/kotlin.md +58 -18
- package/package/corpus/skills/cratis-arc-invoke-command/references/python.md +2 -2
- package/package/corpus/skills/cratis-arc-invoke-command/references/typescript.md +49 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/SKILL.md +31 -13
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/csharp.md +68 -29
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/elixir.md +84 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/go.md +73 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/java.md +70 -3
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/kotlin.md +65 -5
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/python.md +1 -1
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/typescript.md +56 -3
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/SKILL.md +125 -27
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/csharp.md +217 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/elixir.md +3 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/go.md +3 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/java.md +29 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/kotlin.md +29 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/typescript.md +132 -0
- package/package/corpus/skills/cratis-arc-page-query/SKILL.md +33 -13
- package/package/corpus/skills/cratis-arc-page-query/references/csharp.md +63 -33
- package/package/corpus/skills/cratis-arc-page-query/references/elixir.md +55 -4
- package/package/corpus/skills/cratis-arc-page-query/references/go.md +77 -4
- package/package/corpus/skills/cratis-arc-page-query/references/java.md +66 -4
- package/package/corpus/skills/cratis-arc-page-query/references/kotlin.md +65 -5
- package/package/corpus/skills/cratis-arc-page-query/references/typescript.md +81 -6
- package/package/corpus/skills/cratis-arc-react-bind-slice/SKILL.md +148 -48
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/react-screen-from-model.md +10 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-commands.md +190 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-host.md +160 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-identity.md +131 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-queries.md +157 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript.md +88 -0
- package/package/corpus/skills/cratis-arc-react-separate-view-model/SKILL.md +155 -66
- package/package/corpus/skills/cratis-arc-react-separate-view-model/references/typescript.md +628 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/SKILL.md +18 -5
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/csharp.md +64 -3
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/elixir.md +77 -11
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/go.md +61 -19
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/java.md +119 -7
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/kotlin.md +117 -7
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/typescript.md +124 -10
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/SKILL.md +129 -107
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/java.md +436 -0
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/kotlin.md +440 -0
- package/package/corpus/skills/cratis-arc-storage-typescript/SKILL.md +58 -90
- package/package/corpus/skills/cratis-arc-storage-typescript/references/typescript-drizzle.md +165 -0
- package/package/corpus/skills/cratis-arc-storage-typescript/references/typescript.md +226 -0
- package/package/corpus/skills/cratis-arc-tenancy-typescript/SKILL.md +86 -89
- package/package/corpus/skills/cratis-arc-tenancy-typescript/references/typescript.md +228 -0
- package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +179 -90
- package/package/corpus/skills/cratis-arc-testing-kotlin/references/java.md +95 -0
- package/package/corpus/skills/cratis-arc-testing-kotlin/references/kotlin.md +107 -0
- package/package/corpus/skills/cratis-arc-testing-typescript/SKILL.md +80 -107
- package/package/corpus/skills/cratis-arc-testing-typescript/references/typescript.md +272 -0
- package/package/corpus/skills/cratis-arc-validate-command/SKILL.md +56 -17
- package/package/corpus/skills/cratis-arc-validate-command/references/csharp-rules.md +38 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/csharp.md +84 -13
- package/package/corpus/skills/cratis-arc-validate-command/references/elixir.md +50 -12
- package/package/corpus/skills/cratis-arc-validate-command/references/go.md +119 -15
- package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +125 -93
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/java.md +272 -0
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/kotlin.md +238 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +133 -58
- package/package/corpus/skills/cratis-arc-validation-typescript/references/{models-and-queries.md → typescript-models-and-queries.md} +17 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/references/typescript-rules-and-checks.md +101 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/references/{server-decisions.md → typescript-server-decisions.md} +49 -13
- package/package/corpus/skills/cratis-arc-validation-typescript/references/typescript.md +196 -0
- package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +107 -7
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +21 -11
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/inspection.md +70 -10
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/project-tooling.md +4 -65
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/recovery-and-comparison.md +138 -16
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/setup-and-target.md +85 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/SKILL.md +54 -12
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-patterns.md +45 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-services.md +80 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-transport.md +26 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-workload.md +35 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp.md +57 -39
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir-patterns.md +32 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir-policies.md +47 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir.md +38 -3
- package/package/corpus/skills/cratis-chronicle-connect-application/references/go-patterns.md +30 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/go.md +95 -3
- package/package/corpus/skills/cratis-chronicle-connect-application/references/java.md +89 -2
- package/package/corpus/skills/cratis-chronicle-connect-application/references/kotlin-patterns.md +35 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/kotlin.md +108 -3
- package/package/corpus/skills/cratis-chronicle-connect-application/references/python.md +61 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/typescript-patterns.md +32 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/typescript.md +75 -6
- package/package/corpus/skills/cratis-chronicle-constrain-append/SKILL.md +42 -11
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/csharp.md +67 -25
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/elixir.md +90 -3
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/go.md +83 -3
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/java.md +99 -2
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/kotlin.md +76 -3
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/python.md +1 -1
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/typescript.md +84 -2
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/SKILL.md +167 -31
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/authentication.md +150 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/configuration.md +418 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/csharp.md +48 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/development-and-production.md +57 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/kernel-options.md +694 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/network-and-tls.md +161 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/production-checklist.md +66 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/storage.md +154 -2
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/troubleshooting.md +57 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/upgrade-and-recovery.md +124 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/webhooks.md +101 -3
- package/package/corpus/skills/cratis-chronicle-evolve-event/SKILL.md +59 -15
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/csharp.md +57 -41
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/elixir.md +69 -3
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/go.md +71 -2
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/java.md +50 -2
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/kotlin.md +58 -2
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/schema-annotation-cleanup.md +58 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/typescript.md +87 -2
- package/package/corpus/skills/cratis-chronicle-inspect-observer/SKILL.md +47 -13
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/csharp.md +107 -37
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/elixir.md +56 -5
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/go-jobs-and-alerts.md +77 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/go.md +106 -3
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/java.md +55 -3
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/kotlin.md +95 -3
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/typescript.md +89 -7
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +156 -12
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/blocked-tools.md +12 -20
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/deployment.md +114 -33
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +100 -47
- package/package/corpus/skills/cratis-chronicle-project-view/SKILL.md +182 -11
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-fluent.md +228 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-graphs.md +102 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-model-bound.md +232 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-reading.md +120 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp.md +105 -45
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir-graphs.md +49 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir-mappings.md +45 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir-reading.md +17 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir.md +23 -27
- package/package/corpus/skills/cratis-chronicle-project-view/references/go-graphs.md +22 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/go-mappings.md +50 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/go-reads.md +25 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/go.md +45 -5
- package/package/corpus/skills/cratis-chronicle-project-view/references/java-graphs.md +46 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/java-mappings.md +53 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/java.md +69 -5
- package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin-graphs.md +44 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin.md +71 -6
- package/package/corpus/skills/cratis-chronicle-project-view/references/python.md +1 -1
- package/package/corpus/skills/cratis-chronicle-project-view/references/typescript.md +279 -3
- package/package/corpus/skills/cratis-chronicle-protect-decision/SKILL.md +69 -10
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp-scopes.md +35 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp-standalone.md +93 -4
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp.md +79 -34
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/elixir.md +56 -11
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/go.md +61 -11
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/java.md +76 -3
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/kotlin.md +65 -17
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/typescript.md +77 -5
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/SKILL.md +27 -12
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/csharp.md +65 -47
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/elixir.md +68 -3
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/go.md +91 -2
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/java.md +75 -2
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/kotlin.md +64 -3
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/typescript.md +65 -3
- package/package/corpus/skills/cratis-chronicle-publish-contract/SKILL.md +69 -11
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp-integrations.md +89 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp.md +57 -52
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir-integrations.md +132 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir.md +86 -14
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/go-integrations.md +91 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/go.md +80 -2
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/java-integrations.md +121 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/java.md +64 -2
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/kotlin-integrations.md +112 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/kotlin.md +71 -2
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/python.md +2 -2
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/typescript-integrations.md +69 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/typescript.md +69 -2
- package/package/corpus/skills/cratis-chronicle-react-to-fact/SKILL.md +65 -12
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp-occurrences.md +3 -1
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp-outputs.md +39 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp-pages.md +43 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp.md +43 -43
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/elixir-recovery.md +23 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/elixir.md +79 -8
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/go.md +97 -3
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/java.md +123 -3
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/kotlin.md +113 -4
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/typescript.md +122 -8
- package/package/corpus/skills/cratis-chronicle-record-event/SKILL.md +83 -13
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp-coordination.md +86 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp-history.md +86 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp.md +53 -92
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir-context.md +74 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir-history.md +51 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir.md +48 -20
- package/package/corpus/skills/cratis-chronicle-record-event/references/go-payloads.md +80 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/go.md +78 -2
- package/package/corpus/skills/cratis-chronicle-record-event/references/java-history.md +63 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/java.md +107 -11
- package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin-history.md +88 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin.md +103 -21
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript-import.md +30 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript-provenance.md +40 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript.md +187 -3
- package/package/corpus/skills/cratis-chronicle-reduce-state/SKILL.md +55 -13
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/csharp.md +235 -24
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/elixir.md +82 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/go.md +94 -3
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/java.md +99 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/kotlin.md +89 -3
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/python.md +2 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/typescript.md +91 -2
- package/package/corpus/skills/cratis-chronicle-select-client/SKILL.md +17 -12
- package/package/corpus/skills/cratis-chronicle-select-client/references/csharp.md +63 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/elixir.md +52 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/go.md +64 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/java.md +54 -2
- package/package/corpus/skills/cratis-chronicle-select-client/references/kotlin.md +56 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/python.md +35 -18
- package/package/corpus/skills/cratis-chronicle-select-client/references/typescript.md +46 -4
- package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +60 -12
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/csharp.md +57 -0
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/hosting.md +80 -53
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/operations.md +44 -59
- package/package/corpus/skills/cratis-ci-pipeline-performance/SKILL.md +241 -203
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/affected-tests.md +134 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/build-once-and-shard.md +25 -10
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/caching.md +14 -1
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/flaky-and-hung-jobs.md +6 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/publish-pipelines.md +83 -6
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/required-checks-and-path-filters.md +68 -1
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/runner-sizing-and-images.md +33 -6
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/security-and-pinning.md +11 -4
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/shared-workflows.md +65 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/test-setup-cost.md +12 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/trim-and-aot-ratchets.md +32 -0
- package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +285 -139
- package/package/corpus/skills/cratis-cli-terminal-workbench/references/views-and-refresh.md +66 -0
- package/package/corpus/skills/cratis-code-review/SKILL.md +286 -165
- package/package/corpus/skills/cratis-code-review/references/csharp-diagnostics.md +76 -0
- package/package/corpus/skills/cratis-code-review/references/csharp.md +130 -0
- package/package/corpus/skills/cratis-code-review/references/elixir.md +30 -0
- package/package/corpus/skills/cratis-code-review/references/go.md +25 -0
- package/package/corpus/skills/cratis-code-review/references/java.md +38 -0
- package/package/corpus/skills/cratis-code-review/references/kotlin.md +37 -0
- package/package/corpus/skills/cratis-code-review/references/python.md +3 -0
- package/package/corpus/skills/cratis-code-review/references/typescript.md +189 -0
- package/package/corpus/skills/cratis-commits-and-pull-requests/SKILL.md +213 -13
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/commits.md +37 -11
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-description.md +98 -6
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-labels-and-release.md +77 -2
- package/package/corpus/skills/cratis-components-accessibility/SKILL.md +123 -16
- package/package/corpus/skills/cratis-components-accessibility/references/typescript.md +182 -0
- package/package/corpus/skills/cratis-components-build-canvas/SKILL.md +167 -31
- package/package/corpus/skills/cratis-components-build-canvas/references/conversation-kit.md +89 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript-chat.md +73 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript-pixi-items.md +46 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript-props.md +44 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript-shapes.md +159 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript.md +140 -0
- package/package/corpus/skills/cratis-components-choose-control/SKILL.md +113 -28
- package/package/corpus/skills/cratis-components-choose-control/references/breadcrumbs-and-labels.md +21 -0
- package/package/corpus/skills/cratis-components-choose-control/references/collections.md +27 -3
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-common.md +50 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-composition.md +174 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-display.md +12 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-dropdown.md +27 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-iconpicker.md +19 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-markdowneditor.md +16 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript.md +69 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/SKILL.md +210 -23
- package/package/corpus/skills/cratis-components-compose-toolbar/references/behavior.md +87 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/references/typescript-composition.md +202 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/references/typescript-toolbar.md +125 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/references/typescript.md +128 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/SKILL.md +138 -65
- package/package/corpus/skills/cratis-components-coordinate-feedback/references/dialog-props.md +30 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/references/typescript-dialogs.md +139 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/references/typescript-notifications.md +66 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/references/typescript.md +170 -0
- package/package/corpus/skills/cratis-components-display-list/SKILL.md +204 -38
- package/package/corpus/skills/cratis-components-display-list/references/parts-and-messages.md +22 -0
- package/package/corpus/skills/cratis-components-display-list/references/typescript-datatables.md +179 -0
- package/package/corpus/skills/cratis-components-display-list/references/typescript.md +204 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/SKILL.md +188 -75
- package/package/corpus/skills/cratis-components-edit-schema-data/references/editing-rules.md +27 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/schema-mapping.md +57 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-componentpicker.md +22 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-composition.md +246 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-configurationeditor.md +23 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-objectcontenteditor.md +12 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-objectnavigationalbar.md +7 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-schemaeditor.md +89 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript.md +141 -0
- package/package/corpus/skills/cratis-components-explore-data/SKILL.md +192 -48
- package/package/corpus/skills/cratis-components-explore-data/references/typescript-composition.md +87 -0
- package/package/corpus/skills/cratis-components-explore-data/references/typescript-filter.md +47 -0
- package/package/corpus/skills/cratis-components-explore-data/references/typescript-pivotviewer.md +27 -0
- package/package/corpus/skills/cratis-components-explore-data/references/typescript-timemachine.md +44 -0
- package/package/corpus/skills/cratis-components-explore-data/references/typescript.md +133 -0
- package/package/corpus/skills/cratis-components-host-chat/SKILL.md +189 -34
- package/package/corpus/skills/cratis-components-host-chat/references/presentation.md +60 -0
- package/package/corpus/skills/cratis-components-host-chat/references/typescript-composition.md +108 -0
- package/package/corpus/skills/cratis-components-host-chat/references/typescript-layouts.md +59 -0
- package/package/corpus/skills/cratis-components-host-chat/references/typescript.md +158 -0
- package/package/corpus/skills/cratis-components-submit-form/SKILL.md +127 -45
- package/package/corpus/skills/cratis-components-submit-form/references/typescript-commanddialog.md +138 -0
- package/package/corpus/skills/cratis-components-submit-form/references/typescript-commandform.md +96 -0
- package/package/corpus/skills/cratis-components-submit-form/references/typescript-fields.md +157 -0
- package/package/corpus/skills/cratis-components-submit-form/references/typescript.md +113 -0
- package/package/corpus/skills/cratis-components-theme-application/SKILL.md +137 -47
- package/package/corpus/skills/cratis-components-theme-application/references/palette.md +4 -5
- package/package/corpus/skills/cratis-components-theme-application/references/parts.md +73 -0
- package/package/corpus/skills/cratis-components-theme-application/references/renderer-adapters.md +34 -3
- package/package/corpus/skills/cratis-components-theme-application/references/tokens.md +17 -0
- package/package/corpus/skills/cratis-components-theme-application/references/typescript-adapter-authoring.md +198 -0
- package/package/corpus/skills/cratis-components-theme-application/references/typescript.md +243 -0
- package/package/corpus/skills/cratis-content-length/SKILL.md +221 -162
- package/package/corpus/skills/cratis-content-length/references/length-evidence.md +173 -6
- package/package/corpus/skills/cratis-developer-marketing/SKILL.md +259 -184
- package/package/corpus/skills/cratis-developer-marketing/references/measurement.md +32 -16
- package/package/corpus/skills/cratis-developer-marketing/references/playbook-evidence.md +115 -0
- package/package/corpus/skills/cratis-discoverability/SKILL.md +196 -85
- package/package/corpus/skills/cratis-discoverability/references/csharp.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/elixir.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/entities.md +41 -25
- package/package/corpus/skills/cratis-discoverability/references/go.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/java.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/kotlin.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/package-metadata.md +10 -5
- package/package/corpus/skills/cratis-discoverability/references/page-checklist.md +90 -49
- package/package/corpus/skills/cratis-discoverability/references/structured-data.md +35 -28
- package/package/corpus/skills/cratis-discoverability/references/typescript.md +6 -0
- package/package/corpus/skills/cratis-discoverability/scripts/verify-discoverability.mjs +24 -9
- package/package/corpus/skills/cratis-documentation-writing/SKILL.md +266 -172
- package/package/corpus/skills/cratis-documentation-writing/references/cratis-site.md +113 -100
- package/package/corpus/skills/cratis-documentation-writing/references/writing-guidance.md +4 -2
- package/package/corpus/skills/cratis-engineering-ci-gates/SKILL.md +220 -87
- package/package/corpus/skills/cratis-engineering-ci-gates/references/gate-operation.md +145 -9
- package/package/corpus/skills/cratis-engineering-consolidation-guard/SKILL.md +259 -54
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/ci-required-check.md +88 -38
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/verification-details.md +102 -24
- package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +118 -87
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-alternate-implementations.md +60 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-code-style.md +294 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/{domain-philosophy.md → csharp-domain-philosophy.md} +11 -10
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-exceptions-logging-and-di.md +328 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-monads.md +124 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp.md +54 -0
- package/package/corpus/skills/cratis-engineering-decision-record/SKILL.md +266 -97
- package/package/corpus/skills/cratis-engineering-decision-record/references/decision-pitfalls.md +21 -8
- package/package/corpus/skills/cratis-engineering-decision-record/references/direct.md +118 -0
- package/package/corpus/skills/cratis-engineering-decision-record/references/record-format.md +114 -102
- package/package/corpus/skills/cratis-engineering-docs-authoring/SKILL.md +301 -71
- package/package/corpus/skills/cratis-engineering-docs-authoring/references/site-format.md +294 -56
- package/package/corpus/skills/cratis-engineering-effect-boundaries/SKILL.md +161 -86
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/csharp.md +52 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/elixir.md +21 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +35 -6
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/go.md +17 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/java.md +14 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/kotlin.md +14 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/typescript.md +15 -0
- package/package/corpus/skills/cratis-engineering-inherited-work/SKILL.md +127 -27
- package/package/corpus/skills/cratis-engineering-inherited-work/references/continue-inherited-work.md +40 -13
- package/package/corpus/skills/cratis-engineering-inherited-work/references/pull-request-evidence.md +66 -0
- package/package/corpus/skills/cratis-engineering-issue-design-note/SKILL.md +254 -79
- package/package/corpus/skills/cratis-engineering-issue-design-note/references/design-note-format.md +97 -52
- package/package/corpus/skills/cratis-engineering-issue-hygiene/SKILL.md +159 -64
- package/package/corpus/skills/cratis-engineering-issue-hygiene/references/issue-disposition.md +119 -67
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/SKILL.md +249 -57
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/{dotnet-nuget.md → csharp.md} +11 -16
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dependency-map.md +40 -8
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/docker-images.md +5 -8
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/elixir.md +108 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/go.md +276 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/helper-runbook.md +28 -18
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/java.md +105 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/kotlin.md +179 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/train-mode.md +1 -1
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/{npm-yarn.md → typescript.md} +5 -3
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/worked-examples.md +116 -48
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/scripts/dependency-map.tsv +1 -1
- package/package/corpus/skills/cratis-engineering-post-mortem/SKILL.md +283 -81
- package/package/corpus/skills/cratis-engineering-post-mortem/references/proportionate-follow-up.md +5 -20
- package/package/corpus/skills/cratis-engineering-post-mortem/references/public-safe-wording.md +18 -23
- package/package/corpus/skills/cratis-engineering-post-mortem/references/review-template.md +86 -37
- package/package/corpus/skills/cratis-engineering-post-mortem/references/silent-backup-failure.md +92 -98
- package/package/corpus/skills/cratis-engineering-post-mortem/references/unintended-release-regression.md +79 -73
- package/package/corpus/skills/cratis-engineering-regression-cluster/SKILL.md +98 -56
- package/package/corpus/skills/cratis-engineering-regression-cluster/references/history-and-proof.md +30 -0
- package/package/corpus/skills/cratis-engineering-release-trains/SKILL.md +290 -62
- package/package/corpus/skills/cratis-engineering-release-trains/references/candidate-assembly.md +138 -107
- package/package/corpus/skills/cratis-engineering-release-trains/references/final-merge-gate.md +118 -0
- package/package/corpus/skills/cratis-engineering-review-rounds/SKILL.md +311 -68
- package/package/corpus/skills/cratis-engineering-review-rounds/references/review-ranges.md +99 -0
- package/package/corpus/skills/cratis-environments-and-secrets/SKILL.md +235 -95
- package/package/corpus/skills/cratis-environments-and-secrets/references/csharp.md +112 -0
- package/package/corpus/skills/cratis-environments-and-secrets/references/environment-file.md +28 -23
- package/package/corpus/skills/cratis-environments-and-secrets/references/transcript-safety.md +31 -0
- package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +174 -65
- package/package/corpus/skills/cratis-event-model-diagram/references/frame-patterns.md +73 -69
- package/package/corpus/skills/cratis-fundamentals-concept/SKILL.md +143 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/csharp-serialization.md +183 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/csharp.md +113 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/elixir.md +76 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/go-naming.md +36 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/go.md +276 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/java-json.md +121 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/java-primitives.md +156 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/java.md +155 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/kotlin-json.md +123 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/kotlin-primitives.md +161 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/kotlin.md +140 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/typescript-serialization.md +203 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/typescript.md +100 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/SKILL.md +113 -11
- package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp-specs.md +165 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp.md +223 -29
- package/package/corpus/skills/cratis-fundamentals-name-value/references/elixir.md +162 -4
- package/package/corpus/skills/cratis-fundamentals-name-value/references/go.md +227 -5
- package/package/corpus/skills/cratis-fundamentals-name-value/references/java.md +203 -6
- package/package/corpus/skills/cratis-fundamentals-name-value/references/kotlin.md +251 -5
- package/package/corpus/skills/cratis-fundamentals-name-value/references/typescript.md +160 -9
- package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +120 -62
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/csharp-otlp-export.md +56 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/csharp.md +224 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/elixir.md +10 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/go.md +33 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/java.md +9 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/kotlin.md +9 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +104 -26
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/csharp-diagnostics.md +75 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/csharp.md +182 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/elixir.md +30 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/go-dependency-injection.md +168 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/go.md +29 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/java.md +39 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/kotlin.md +31 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/typescript.md +32 -0
- package/package/corpus/skills/cratis-governed-release-methodology/SKILL.md +346 -273
- package/package/corpus/skills/cratis-governed-release-methodology/references/artifact-verification.md +58 -0
- package/package/corpus/skills/cratis-governed-release-methodology/references/lifecycle-phases.md +32 -25
- package/package/corpus/skills/cratis-governed-release-methodology/references/release-decisions.md +78 -0
- package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +331 -98
- package/package/corpus/skills/cratis-lens-browser-extension/references/csharp.md +13 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/go.md +8 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/java.md +8 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/kotlin.md +8 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/troubleshooting.md +111 -102
- package/package/corpus/skills/cratis-lens-browser-extension/references/typescript.md +10 -0
- package/package/corpus/skills/cratis-llm-friendly-documentation/SKILL.md +333 -102
- package/package/corpus/skills/cratis-modeling-design-event-model/SKILL.md +144 -15
- package/package/corpus/skills/cratis-modeling-design-event-model/references/command-inventory.md +43 -0
- package/package/corpus/skills/cratis-modeling-design-event-model/references/model-first.md +71 -3
- package/package/corpus/skills/cratis-modeling-design-event-model/references/review-one-slice.md +14 -13
- package/package/corpus/skills/cratis-modeling-discover-timeline/SKILL.md +265 -14
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/discovery-questions.md +10 -8
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/group-and-document-intake.md +5 -1
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/studio.md +136 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/SKILL.md +172 -9
- package/package/corpus/skills/cratis-modeling-review-event-model/references/csharp.md +40 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/elixir.md +32 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/event-log-hygiene.md +44 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/go.md +27 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/implementation-findings.md +20 -9
- package/package/corpus/skills/cratis-modeling-review-event-model/references/java.md +28 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/kotlin.md +28 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/model-findings.md +30 -10
- package/package/corpus/skills/cratis-modeling-review-event-model/references/resilience-review.md +1 -1
- package/package/corpus/skills/cratis-modeling-review-event-model/references/screenplay-evidence.md +159 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/typescript.md +27 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/SKILL.md +128 -16
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/compare-evidence.md +5 -5
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/csharp-source-adapter.md +221 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/csharp.md +11 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/draft-checks.md +23 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/elixir.md +13 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/go.md +10 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/java.md +5 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/recovery-inputs.md +67 -4
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/side-car-migration.md +11 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/SKILL.md +229 -90
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/csharp-aspire.md +204 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/csharp.md +31 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/docker-compose.md +82 -36
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/elixir.md +10 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/go.md +11 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/java.md +11 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/kotlin.md +11 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/typescript.md +15 -0
- package/package/corpus/skills/cratis-observability/SKILL.md +178 -10
- package/package/corpus/skills/cratis-observability/references/chronicle-kernel-export.md +153 -13
- package/package/corpus/skills/cratis-observability/references/csharp-arc-and-chronicle-signals.md +79 -0
- package/package/corpus/skills/cratis-observability/references/csharp-setup-options.md +104 -0
- package/package/corpus/skills/cratis-observability/references/csharp.md +172 -56
- package/package/corpus/skills/cratis-observability/references/elixir.md +243 -5
- package/package/corpus/skills/cratis-observability/references/go-arc-diagnostics.md +134 -0
- package/package/corpus/skills/cratis-observability/references/go.md +292 -0
- package/package/corpus/skills/cratis-observability/references/java.md +236 -0
- package/package/corpus/skills/cratis-observability/references/kotlin.md +251 -0
- package/package/corpus/skills/cratis-observability/references/troubleshooting.md +13 -17
- package/package/corpus/skills/cratis-observability/references/typescript-chronicle-client.md +116 -0
- package/package/corpus/skills/cratis-observability/references/typescript.md +159 -0
- package/package/corpus/skills/cratis-onboarding-runtime/SKILL.md +222 -85
- package/package/corpus/skills/cratis-onboarding-runtime/references/ante-onboarding-keys.md +153 -10
- package/package/corpus/skills/cratis-onboarding-runtime/references/csharp.md +61 -0
- package/package/corpus/skills/cratis-onboarding-runtime/references/default-offering.md +29 -33
- package/package/corpus/skills/cratis-onboarding-runtime/references/performance.md +75 -19
- package/package/corpus/skills/cratis-onboarding-runtime/references/sign-up-review.md +10 -6
- package/package/corpus/skills/cratis-orchestration-lanes/SKILL.md +174 -80
- package/package/corpus/skills/cratis-orchestration-lanes/references/inbox-and-handover.md +78 -49
- package/package/corpus/skills/cratis-orchestration-lanes/references/lane-brief.md +48 -16
- package/package/corpus/skills/cratis-orchestration-lanes/references/placeholders.md +11 -8
- package/package/corpus/skills/cratis-orchestration-lanes/references/work-records.md +16 -0
- package/package/corpus/skills/cratis-orchestration-merge-gates/SKILL.md +80 -90
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/merge-queue.md +153 -59
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/unattended-guards.md +10 -6
- package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +216 -32
- package/package/corpus/skills/cratis-orleans-jobs/references/csharp-lifecycle-and-placement.md +89 -0
- package/package/corpus/skills/cratis-orleans-jobs/references/csharp-state-machines.md +96 -0
- package/package/corpus/skills/cratis-orleans-jobs/references/csharp.md +301 -0
- package/package/corpus/skills/cratis-performance-review/SKILL.md +265 -45
- package/package/corpus/skills/cratis-performance-review/references/csharp.md +67 -0
- package/package/corpus/skills/cratis-performance-review/references/elixir.md +34 -0
- package/package/corpus/skills/cratis-performance-review/references/go.md +43 -0
- package/package/corpus/skills/cratis-performance-review/references/java.md +38 -0
- package/package/corpus/skills/cratis-performance-review/references/kotlin.md +37 -0
- package/package/corpus/skills/cratis-performance-review/references/observer-tuning.md +117 -0
- package/package/corpus/skills/cratis-performance-review/references/review-checklist.md +173 -77
- package/package/corpus/skills/cratis-performance-review/references/typescript.md +41 -0
- package/package/corpus/skills/cratis-platform-build-application/SKILL.md +243 -0
- package/package/corpus/skills/cratis-platform-build-application/references/cli-map.md +256 -0
- package/package/corpus/skills/cratis-platform-build-application/references/csharp-guided-tours.md +41 -0
- package/package/corpus/skills/cratis-platform-build-application/references/csharp.md +17 -0
- package/package/corpus/skills/cratis-platform-build-application/references/direct.md +258 -0
- package/package/corpus/skills/cratis-platform-build-application/references/elixir.md +27 -0
- package/package/corpus/skills/cratis-platform-build-application/references/go.md +13 -0
- package/package/corpus/skills/cratis-platform-build-application/references/java.md +13 -0
- package/package/corpus/skills/cratis-platform-build-application/references/kotlin.md +13 -0
- package/package/corpus/skills/cratis-platform-build-application/references/typescript-guided-tours.md +132 -0
- package/package/corpus/skills/cratis-platform-build-application/references/typescript.md +13 -0
- package/package/corpus/skills/cratis-platform-build-application/scripts/model-first-status.sh +100 -0
- package/package/corpus/skills/cratis-platform-configure-environment/SKILL.md +130 -31
- package/package/corpus/skills/cratis-platform-configure-environment/references/csharp.md +336 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/elixir.md +224 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/go.md +257 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/java.md +209 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/kotlin.md +240 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/typescript.md +280 -0
- package/package/corpus/skills/cratis-platform-contribute-change/SKILL.md +120 -8
- package/package/corpus/skills/cratis-platform-contribute-change/references/csharp-arc-mcp.md +65 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/csharp-cli-registration.md +86 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/csharp.md +21 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/elixir.md +12 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/go.md +14 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/java.md +9 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/kotlin.md +12 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/repositories.md +93 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/typescript.md +13 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/SKILL.md +235 -13
- package/package/corpus/skills/cratis-platform-deliver-slice/references/contract-reconciliation.md +73 -6
- package/package/corpus/skills/cratis-platform-deliver-slice/references/coordinate-slices.md +7 -4
- package/package/corpus/skills/cratis-platform-deliver-slice/references/csharp.md +251 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/elixir.md +266 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/go.md +242 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/java.md +310 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/kotlin.md +297 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/typescript.md +248 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/SKILL.md +173 -25
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/csharp.md +7 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/elixir.md +7 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/evidence.md +100 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/go.md +7 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/java.md +5 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/typescript.md +7 -0
- package/package/corpus/skills/cratis-platform-prepare-release-pr/SKILL.md +178 -13
- package/package/corpus/skills/cratis-platform-prepare-release-pr/references/product-release-checks.md +23 -0
- package/package/corpus/skills/cratis-platform-start-application/SKILL.md +239 -21
- package/package/corpus/skills/cratis-platform-start-application/references/csharp.md +223 -18
- package/package/corpus/skills/cratis-platform-start-application/references/elixir.md +11 -0
- package/package/corpus/skills/cratis-platform-start-application/references/go.md +11 -0
- package/package/corpus/skills/cratis-platform-start-application/references/java.md +224 -9
- package/package/corpus/skills/cratis-platform-start-application/references/kotlin.md +191 -9
- package/package/corpus/skills/cratis-platform-start-application/references/typescript.md +14 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/SKILL.md +211 -12
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/csharp.md +9 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/go.md +5 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/java.md +5 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/routes-and-failures.md +40 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-release-notes/SKILL.md +137 -57
- package/package/corpus/skills/cratis-release-notes/references/channel-guidance.md +59 -59
- package/package/corpus/skills/cratis-release-notes/references/publish-repair.md +55 -61
- package/package/corpus/skills/cratis-rtk/SKILL.md +188 -35
- package/package/corpus/skills/cratis-rtk/references/rtk-administration.md +137 -0
- package/package/corpus/skills/cratis-rtk/references/rtk-filters.md +68 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/SKILL.md +160 -18
- package/package/corpus/skills/cratis-screenplay-accept-model/references/coverage-obligations.md +2 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/csharp.md +122 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/diagnostic-decisions.md +10 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/read-the-evidence.md +50 -0
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/SKILL.md +265 -41
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/email-templates.md +47 -0
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/environment-keys.md +81 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/SKILL.md +182 -20
- package/package/corpus/skills/cratis-screenplay-author-extension/references/cli.md +58 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/consume.md +31 -8
- package/package/corpus/skills/cratis-screenplay-author-extension/references/csharp.md +66 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/elixir.md +8 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/frontend-components.md +12 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/go.md +95 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/java.md +15 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/kotlin.md +69 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/lock-and-trust.md +23 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/protocol.md +12 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/runtime-details.md +30 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/stage-candidate.md +70 -6
- package/package/corpus/skills/cratis-screenplay-author-extension/references/typescript.md +66 -0
- package/package/corpus/skills/cratis-screenplay-availability/SKILL.md +165 -20
- package/package/corpus/skills/cratis-screenplay-availability/references/complete-example.md +60 -4
- package/package/corpus/skills/cratis-screenplay-availability/references/csharp.md +88 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/elixir.md +45 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/go.md +5 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/java.md +5 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/review-checks.md +62 -13
- package/package/corpus/skills/cratis-screenplay-availability/references/runtime-ownership.md +72 -13
- package/package/corpus/skills/cratis-screenplay-availability/references/typescript.md +20 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/SKILL.md +232 -66
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/commands.md +256 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/concepts-and-generated-values.md +206 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/context-and-identity.md +105 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/events-and-constraints.md +123 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/language-map.md +129 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/policies-and-purposes.md +117 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/projection-replay.md +3 -12
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/projections.md +222 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/queries.md +122 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/reducers-graphs-sinks.md +105 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/structure-and-imports.md +142 -0
- package/package/corpus/skills/cratis-screenplay-edit-workspace/SKILL.md +164 -21
- package/package/corpus/skills/cratis-screenplay-edit-workspace/references/mcp-tools.md +138 -0
- package/package/corpus/skills/cratis-screenplay-edit-workspace/references/model-notes.md +63 -14
- package/package/corpus/skills/cratis-screenplay-handoff-slice/SKILL.md +120 -25
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/csharp.md +107 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/mcp.md +16 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/ordering.md +29 -3
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/recipient-contracts.md +50 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/SKILL.md +190 -101
- package/package/corpus/skills/cratis-screenplay-model-automation/references/external-effects.md +10 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-boundaries.md +12 -4
- package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-example.md +95 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/stage-subset.md +61 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/SKILL.md +171 -51
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp-host-api.md +177 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp.md +127 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/decision-inputs.md +10 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/go.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/java.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/kotlin.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/localized-strings.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/navigation-reachability.md +25 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/shell-and-data.md +187 -20
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/typescript.md +119 -6
- package/package/corpus/skills/cratis-screenplay-model-translation/SKILL.md +259 -89
- package/package/corpus/skills/cratis-screenplay-model-translation/references/boundary-diagnostics.md +32 -0
- package/package/corpus/skills/cratis-screenplay-model-translation/references/stage-realization.md +36 -0
- package/package/corpus/skills/cratis-screenplay-model-translation/references/translation-scenarios.md +114 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/SKILL.md +185 -20
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/cli.md +88 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/csharp.md +210 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/typescript.md +45 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/workspace-mcp.md +133 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/SKILL.md +161 -20
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/csharp.md +195 -7
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/elixir.md +21 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/go.md +17 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/ground-truth-benchmark.md +1 -1
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/java.md +9 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/kotlin.md +9 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/running-system.md +122 -6
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/SKILL.md +233 -62
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/boundary-scenarios.md +60 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/case-questions.md +30 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/coverage-worksheet.md +16 -8
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/csharp.md +41 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/graph-steps.md +37 -5
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/named-cases.md +23 -10
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/query-rejections.md +22 -19
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/scenarios.md +230 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +140 -14
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +5 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +7 -9
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +36 -24
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/destination-repairs.md +21 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +6 -9
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/multi-service-models.md +3 -6
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/read-model-keys.md +4 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-id-rules.md +32 -19
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +53 -16
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +1 -1
- package/package/corpus/skills/cratis-security-review/SKILL.md +137 -72
- package/package/corpus/skills/cratis-security-review/references/csharp.md +114 -0
- package/package/corpus/skills/cratis-security-review/references/elixir.md +21 -0
- package/package/corpus/skills/cratis-security-review/references/go.md +22 -0
- package/package/corpus/skills/cratis-security-review/references/java.md +20 -0
- package/package/corpus/skills/cratis-security-review/references/kotlin.md +20 -0
- package/package/corpus/skills/cratis-security-review/references/python.md +3 -0
- package/package/corpus/skills/cratis-security-review/references/review-checklist.md +98 -68
- package/package/corpus/skills/cratis-security-review/references/typescript.md +22 -0
- package/package/corpus/skills/cratis-session-handoff/SKILL.md +134 -90
- package/package/corpus/skills/cratis-session-handoff/references/handoff-template.md +35 -52
- package/package/corpus/skills/cratis-showrunner-herald/SKILL.md +170 -86
- package/package/corpus/skills/cratis-showrunner-herald/references/csharp-templates-and-images.md +115 -0
- package/package/corpus/skills/cratis-showrunner-herald/references/csharp.md +280 -0
- package/package/corpus/skills/cratis-social-feed-post/SKILL.md +252 -38
- package/package/corpus/skills/cratis-social-feed-post/references/engagement-evidence.md +104 -10
- package/package/corpus/skills/cratis-specifications-exercise-backend/SKILL.md +185 -27
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-command-results.md +103 -3
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-decision-reads.md +40 -11
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-events.md +136 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-graphs.md +45 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-integration.md +121 -75
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-query-scenario.md +33 -8
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-reactors.md +117 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-read-models.md +96 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-relational.md +16 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-slice.md +68 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp.md +142 -34
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/elixir.md +274 -32
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/go.md +176 -111
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/java.md +208 -5
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/kotlin.md +235 -7
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/typescript.md +223 -57
- package/package/corpus/skills/cratis-specifications-isolate-behavior/SKILL.md +159 -34
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp-running.md +180 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp.md +331 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-specifications-observe-ui/SKILL.md +92 -55
- package/package/corpus/skills/cratis-specifications-observe-ui/references/typescript-browser.md +44 -0
- package/package/corpus/skills/cratis-specifications-observe-ui/references/typescript-storybook.md +157 -0
- package/package/corpus/skills/cratis-specifications-observe-ui/references/typescript.md +8 -0
- package/package/corpus/skills/cratis-specifications-test-application-ui/SKILL.md +182 -9
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-rendering.md +172 -0
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript.md +400 -0
- package/package/corpus/skills/cratis-specifications-test-typescript-behavior/SKILL.md +139 -9
- package/package/corpus/skills/cratis-specifications-test-typescript-behavior/references/typescript.md +316 -0
- package/package/corpus/skills/cratis-stage-render-slice/SKILL.md +284 -14
- package/package/corpus/skills/cratis-stage-render-slice/references/csharp-configuration.md +202 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/csharp-planning.md +80 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/csharp.md +221 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/graph-rendering.md +53 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/java.md +25 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/review-render-plan.md +154 -12
- package/package/corpus/skills/cratis-stage-run-sandbox/SKILL.md +212 -12
- package/package/corpus/skills/cratis-stage-run-sandbox/references/journey-replay.md +47 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/references/published-mode.md +103 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-runtime.md +67 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-spec-runner.md +60 -6
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +243 -52
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/tools.md +239 -0
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/webhooks.md +74 -0
- package/package/corpus/skills/cratis-technical-examples/SKILL.md +233 -67
- package/package/corpus/skills/cratis-technical-examples/references/csharp.md +325 -0
- package/package/corpus/skills/cratis-technical-examples/references/elixir.md +114 -0
- package/package/corpus/skills/cratis-technical-examples/references/go.md +74 -0
- package/package/corpus/skills/cratis-technical-examples/references/java.md +194 -0
- package/package/corpus/skills/cratis-technical-examples/references/kotlin.md +205 -0
- package/package/corpus/skills/cratis-technical-examples/references/source-and-format.md +57 -40
- package/package/corpus/skills/cratis-technical-examples/references/typescript.md +427 -0
- package/package/corpus/skills/cratis-technical-examples/references/verification-scope.md +120 -35
- package/package/corpus/skills/cratis-ux-review/SKILL.md +136 -33
- package/package/corpus/skills/cratis-ux-review/references/checklist.md +10 -6
- package/package/corpus/skills/cratis-ux-review/references/report-template.md +10 -8
- package/package/corpus/skills/cratis-ux-review/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +275 -51
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/ai-tells.md +49 -35
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/pattern-evidence.md +151 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/voice-guidance.md +28 -16
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/SKILL.md +3 -1
- package/package/profile-catalog.json +34 -2
- package/package.json +1 -1
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/rule-fixes.md +0 -40
- package/package/corpus/skills/cratis-arc-declare-command/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/custom-exposure-and-audit.md +0 -23
- package/package/corpus/skills/cratis-arc-expose-query/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-generate-proxies/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-host-application/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-page-query/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/commands.md +0 -88
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/csharp.md +0 -9
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/identity.md +0 -7
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/kotlin.md +0 -9
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/manual-screen.md +0 -10
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/query-state.md +0 -29
- package/package/corpus/skills/cratis-arc-react-separate-view-model/references/react-routing-and-messaging.md +0 -45
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/read-model-naming.md +0 -11
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/storage-boundaries.md +0 -40
- package/package/corpus/skills/cratis-arc-storage-typescript/references/drizzle.md +0 -62
- package/package/corpus/skills/cratis-arc-tenancy-typescript/references/tenant-selection.md +0 -49
- package/package/corpus/skills/cratis-arc-testing-kotlin/references/jvm-scenario-variants.md +0 -25
- package/package/corpus/skills/cratis-arc-testing-typescript/references/hosts-and-runners.md +0 -51
- package/package/corpus/skills/cratis-arc-validate-command/references/java.md +0 -27
- package/package/corpus/skills/cratis-arc-validate-command/references/kotlin.md +0 -23
- package/package/corpus/skills/cratis-arc-validate-command/references/typescript.md +0 -23
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/feature-filters.md +0 -55
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/model-validation.md +0 -72
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/server-validators.md +0 -86
- package/package/corpus/skills/cratis-arc-validation-typescript/references/rules-and-checks.md +0 -46
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/bulk-repair.md +0 -7
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/deployed-readers.md +0 -50
- package/package/corpus/skills/cratis-chronicle-record-event/references/python.md +0 -3
- package/package/corpus/skills/cratis-components-accessibility/references/control-labels.md +0 -29
- package/package/corpus/skills/cratis-components-accessibility/references/focus-and-announcements.md +0 -8
- package/package/corpus/skills/cratis-components-build-canvas/references/pixi-items.md +0 -15
- package/package/corpus/skills/cratis-components-choose-control/references/inputs.md +0 -3
- package/package/corpus/skills/cratis-components-compose-toolbar/references/contributed-tools.md +0 -5
- package/package/corpus/skills/cratis-components-display-list/references/server-query.md +0 -21
- package/package/corpus/skills/cratis-components-edit-schema-data/references/controlled-editor.md +0 -9
- package/package/corpus/skills/cratis-components-submit-form/references/confirmation.md +0 -9
- package/package/corpus/skills/cratis-components-submit-form/references/wizard.md +0 -9
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/source-verification.md +0 -68
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/code-style.md +0 -202
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +0 -161
- package/package/corpus/skills/cratis-engineering-decision-record/references/decision-scope.md +0 -20
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/go-jvm-python-elixir.md +0 -83
- package/package/corpus/skills/cratis-engineering-review-rounds/references/round-handoffs.md +0 -109
- package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +0 -95
- package/package/corpus/skills/cratis-fundamentals-name-value/references/python.md +0 -3
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/otlp-export.md +0 -16
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/diagnostics.md +0 -14
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/aspire.md +0 -52
- package/package/corpus/skills/cratis-observability/references/arc-and-chronicle-signals.md +0 -54
- package/package/corpus/skills/cratis-observability/references/dotnet-setup-and-options.md +0 -68
- package/package/corpus/skills/cratis-orchestration-lanes/references/escalation.md +0 -22
- package/package/corpus/skills/cratis-orchestration-lanes/references/roles.md +0 -12
- package/package/corpus/skills/cratis-orchestration-lanes/references/roll-call.md +0 -12
- package/package/corpus/skills/cratis-orleans-jobs/references/activation-callbacks.md +0 -5
- package/package/corpus/skills/cratis-orleans-jobs/references/lifecycle-and-placement.md +0 -56
- package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +0 -66
- package/package/corpus/skills/cratis-orleans-jobs/references/step-planning.md +0 -27
- package/package/corpus/skills/cratis-orleans-jobs/references/storage-and-options.md +0 -35
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/onboarding-directives.md +0 -90
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/unknown-preserving-reader.md +0 -9
- package/package/corpus/skills/cratis-screenplay-model-automation/references/host-trigger.md +0 -17
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp-performers.md +0 -18
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/version-migration.md +0 -12
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/host-body-execution.md +0 -10
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/observable-result.md +0 -123
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/interview-batch.md +0 -20
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/neighbouring-skills.md +0 -11
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/review-questions.md +0 -13
- package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +0 -58
- package/package/corpus/skills/cratis-session-handoff/references/session-hygiene.md +0 -20
- package/package/corpus/skills/cratis-showrunner-herald/references/options.md +0 -35
- package/package/corpus/skills/cratis-showrunner-herald/references/templates-and-images.md +0 -76
- package/package/corpus/skills/cratis-social-feed-post/references/asset-and-formatting.md +0 -37
- package/package/corpus/skills/cratis-social-feed-post/references/editorial-checks.md +0 -40
- package/package/corpus/skills/cratis-social-feed-post/references/linkedin-media.md +0 -24
- package/package/corpus/skills/cratis-social-feed-post/references/other-channels.md +0 -23
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp-phase-timings.md +0 -13
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-command-results.md +0 -7
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/blocked-tools.md +0 -11
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/observational-tools.md +0 -7
- package/package/corpus/skills/cratis-technical-examples/references/csharp-package-checks.md +0 -8
- package/package/corpus/skills/cratis-technical-examples/references/typescript-package-checks.md +0 -8
- package/package/corpus/skills/cratis-ux-review/references/capture-contract.md +0 -24
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/author-and-batch.md +0 -23
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/documentation-evidence.md +0 -25
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/interpretation.md +0 -17
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/stock-constructions.md +0 -23
|
@@ -1,3 +1,76 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Protect a technician's contact number in Java
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Use `io.cratis:chronicle`. There is no compliance plugin to register: the client sends classification metadata when it registers event and read-model schemas. Names below are illustrative. Given a configured `io.cratis.chronicle.java.BlockingChronicleClient`, select the store **and namespace** before taking its services:
|
|
4
|
+
|
|
5
|
+
```java
|
|
6
|
+
var store = client.getEventStore("Repairs", namespace).unwrap();
|
|
7
|
+
var log = store.getEventLog();
|
|
8
|
+
var models = store.getReadModels();
|
|
9
|
+
var compliance = store.getCompliance();
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Classify both sides of the projection
|
|
13
|
+
|
|
14
|
+
```java
|
|
15
|
+
import io.cratis.chronicle.Subject;
|
|
16
|
+
import io.cratis.chronicle.compliance.Pii;
|
|
17
|
+
import io.cratis.chronicle.events.EventType;
|
|
18
|
+
import io.cratis.chronicle.readModels.ReadModel;
|
|
19
|
+
|
|
20
|
+
@EventType
|
|
21
|
+
record ContactAssigned(String technicianId,
|
|
22
|
+
@Pii(description = "Reach the assigned technician") String phone) {}
|
|
23
|
+
|
|
24
|
+
@ReadModel
|
|
25
|
+
record RepairContact(String id, @Subject String technicianId,
|
|
26
|
+
@Pii(description = "Reach the assigned technician") String phone) {}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Mark reducer outputs the same way. For a composite whose fields are *all* personal, use `@Pii record ContactDetails(String phone, String email) {}` as the property type; the type marker also works on a reusable personal concept. For a mixed nested object mark only its personal fields. `description` is optional (empty by default); never put personal values in it. Do not mark an event source ID type or use the phone as an ID.
|
|
30
|
+
|
|
31
|
+
For retained secrets **instead of** personal data, use `io.cratis.chronicle.confidentiality.Encrypted`, e.g. `@Encrypted(description = "Dispatch credential") String credential`. Subject scope is the default, but even that key is not erased by PII key deletion. Use `scope = EncryptionScope.Namespace` or `EncryptionScope.Global` only for deliberate namespace-wide or installation-wide key sharing (`EncryptionScope` is in the same package). Do not combine the two classifications, including via a field's type.
|
|
32
|
+
|
|
33
|
+
## Append and read
|
|
34
|
+
|
|
35
|
+
The bridges below are blocking static methods in `io.cratis.chronicle.java`. Here the repair ID routes the event but the technician owns the phone:
|
|
36
|
+
|
|
37
|
+
```java
|
|
38
|
+
var options = new AppendOptionsBuilder().subject(technicianId).build();
|
|
39
|
+
EventLogJavaBridge.append(log, repairId, new ContactAssigned(technicianId, phone), options);
|
|
40
|
+
var contact = ReadModelsJavaBridge.getInstanceByKey(models, RepairContact.class, repairId);
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
When source and subject coincide, pass `null` for options. Query only after authorization; a missing instance is `null`. Verify with a synthetic number that the event and destination are protected at rest and the managed query returns the number. Plaintext passing through is not evidence of encryption.
|
|
44
|
+
|
|
45
|
+
For a single-owner raw, cached or watched instance that still needs release, use the returned object. The typed helper uses a populated `@Subject` property, otherwise `id` (case-insensitive); without either it returns the instance unchanged. Collection release resolves each instance separately:
|
|
46
|
+
|
|
47
|
+
```java
|
|
48
|
+
var released = ReadModelsJavaBridge.release(models, rawContact);
|
|
49
|
+
var releasedContacts = ReadModelsJavaBridge.releaseMany(models, rawContacts);
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
If a typed object would lose ownership metadata, do not deserialize into it first. Use the original JSON with the matching classified schema and resolved subject. Preserve `__subject` and per-property `__subjects` for multi-person documents; never substitute the repair ID for every owner:
|
|
53
|
+
|
|
54
|
+
```java
|
|
55
|
+
String releasedJson = ComplianceServiceJavaBridge.release(compliance, technicianId, schemaJson, rawJson);
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Erase or redact
|
|
59
|
+
|
|
60
|
+
After scope and approval checks, `ComplianceServiceJavaBridge.deleteEncryptionKey(compliance, technicianId)` requests subject erasure. Re-query rather than inspecting a previously released object. Verify other subjects remain readable. Propagate failures; the call does not return a coverage report. It does not remove plaintext copies.
|
|
61
|
+
|
|
62
|
+
If the approved scope is event content rather than a person's key, choose **one** redaction instead:
|
|
63
|
+
|
|
64
|
+
```java
|
|
65
|
+
EventLogJavaBridge.redact(log, sequenceNumber, reason); // one event
|
|
66
|
+
EventLogJavaBridge.redactForEventSource(log, repairId, reason, List.of(ContactAssigned.class));
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
An empty type list selects **all** event types for that source. A source is not necessarily a subject. For new causation metadata, have the kernel operator set `events.causationPropertyRetention` to `Omit`; neither that setting nor erasure cleans existing causation values.
|
|
70
|
+
|
|
71
|
+
## Not supported in this SDK
|
|
72
|
+
|
|
73
|
+
- No custom classification-provider hook: express policy on fields or reusable types and verify the registered schemas.
|
|
74
|
+
- No event-field subject inference: `@Subject` is for model release; pass the append subject explicitly when it differs from the source ID.
|
|
75
|
+
- No erased-property paths on application event reads: never treat an empty string as proof of erasure; delegate path-aware inspection to a supporting service.
|
|
76
|
+
- No application operation to lift the erasure fence: leave it intact or delegate separately approved new-key provisioning to a supporting service. A new key cannot recover old ciphertext.
|
|
@@ -1,5 +1,66 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Protect personal data in Kotlin
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Use the application's connected Chronicle client and select the intended store and namespace with `client.getEventStore(storeName, namespace)`. Use the normal event and projection or reducer registration: the SDK generates schema metadata from annotations. Run append, query, release and erasure calls in a coroutine. Names below are illustrative.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Mark the event and its destination
|
|
6
|
+
|
|
7
|
+
```kotlin
|
|
8
|
+
import io.cratis.chronicle.Subject
|
|
9
|
+
import io.cratis.chronicle.compliance.Pii
|
|
10
|
+
import io.cratis.chronicle.events.EventType
|
|
11
|
+
import io.cratis.chronicle.readModels.ReadModel
|
|
12
|
+
import io.cratis.fundamentals.concepts.ConceptAs
|
|
13
|
+
|
|
14
|
+
@Pii(description = "Call the technician about an active repair")
|
|
15
|
+
data class CallbackNumber(val value: String) : ConceptAs<String> {
|
|
16
|
+
override fun value(): String = value
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@EventType
|
|
20
|
+
data class CallbackAssigned(val technicianId: String, val number: CallbackNumber)
|
|
21
|
+
|
|
22
|
+
@ReadModel
|
|
23
|
+
data class RepairContact(
|
|
24
|
+
val id: String,
|
|
25
|
+
@Subject val technicianId: String,
|
|
26
|
+
val number: CallbackNumber
|
|
27
|
+
)
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Reusing `CallbackNumber` classifies both occurrences. For a one-off field, use `@Pii(description = "Arrange site access") val siteContact: String` on each schema that stores it. Plain constructor parameters, properties and backing fields are supported; `description` defaults to an empty string. In a nested value object, mark just the sensitive property, or mark the class if all its leaves are personal. Do not mark an event source ID; use an opaque surrogate.
|
|
31
|
+
|
|
32
|
+
For retained secrets **instead of** PII, use `io.cratis.chronicle.confidentiality.Encrypted`, e.g. `@Encrypted(description = "Site entry credential") val accessCode: String`. Its separate confidentiality key defaults to subject scope. Only for deliberately shared keys, set `scope = EncryptionScope.Namespace` or `EncryptionScope.Global` (same package); global spans stores and namespaces. Neither protection belongs on a routing ID, and the two must not reach the same leaf. Registration enforces this: `PiiNotSupportedOnEventSourceId`, `EncryptedNotSupportedOnEventSourceId` and `PiiAndEncryptedCombinedNotSupported`.
|
|
33
|
+
|
|
34
|
+
## Append and read under the correct subject
|
|
35
|
+
|
|
36
|
+
```kotlin
|
|
37
|
+
store.eventLog.append(repairId, CallbackAssigned(technicianId, number),
|
|
38
|
+
io.cratis.chronicle.eventSequences.AppendOptions(subject = technicianId))
|
|
39
|
+
val contact = store.readModels.getInstanceByKey(RepairContact::class, repairId)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
The append defaults to `repairId` as subject; omit the option only if that ID identifies the person. For a cross-source batch set `subject` on each `EventForEventSourceId` that needs an override. `@Subject` here guides **client-side model release**, not event append. Populate both IDs in the projection or reducer. Authorize before the by-key query; it returns a released model or `null` if absent. Confirm independently that the persisted field is protected.
|
|
43
|
+
|
|
44
|
+
For an unreleased single-owner instance, use the returned value:
|
|
45
|
+
|
|
46
|
+
```kotlin
|
|
47
|
+
val released = store.readModels.release(storedContact)
|
|
48
|
+
val withKnownOwner = store.readModels.release(storedContact, subject = technicianId)
|
|
49
|
+
val contacts = store.readModels.releaseMany(storedContacts)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
An explicit subject wins; otherwise release uses the nonempty `@Subject` property, then `id` (case-insensitive), unwrapping concepts. Without a subject it returns the input unchanged. Batch release maps this resolution over the list in order. Do not assume a typed cache or watch result retained hidden ownership metadata. For multi-owner documents prefer the by-key query; if releasing raw JSON, keep `__subject` and `__subjects` intact and pass the real schema and document: `val releasedJson = store.compliance.release(subjectId, schemaJson, documentJson)`. The latter two arguments default to empty JSON objects, not schema or payload discovery. Never log released values.
|
|
53
|
+
|
|
54
|
+
## Erase or redact
|
|
55
|
+
|
|
56
|
+
After approval, `store.compliance.deleteEncryptionKey(technicianId)` erases the subject's PII key, not the repair event or confidentiality key. Check a fresh read and a control subject; do not treat an empty field as proof of erasure or ignore a failed call. Previously released objects and external copies do not change.
|
|
57
|
+
|
|
58
|
+
For irreversible removal of event content instead, use `store.eventLog.redact(sequenceNumber, reason)` with an `EventSequenceNumber` and `RedactionReason`. To target a source and type use `store.eventLog.redactForEventSource(repairId, reason, listOf(CallbackAssigned::class))`; omitting the type filter targets **all** types on that source. Neither operation erases the technician's key.
|
|
59
|
+
|
|
60
|
+
## Not supported in this SDK
|
|
61
|
+
|
|
62
|
+
- Custom compliance metadata providers: express the policy with `@Pii` and its description on supported types or properties.
|
|
63
|
+
- Declarative event-field subject inference: pass the owner on append; a model's `@Subject` cannot fix a write under the wrong key.
|
|
64
|
+
- Erased-property paths on application event reads: do not infer erasure from an empty value; delegate an erasure-aware read to a supporting service if required.
|
|
65
|
+
- Allowing a new encryption key after erasure: keep the fence in place or route a separately approved new lifecycle through a supporting administrative service.
|
|
66
|
+
- Per-client causation-property retention: configure `events.causationPropertyRetention` on the kernel (`Omit` for future writes); audit existing metadata separately.
|
package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/typescript.md
CHANGED
|
@@ -1,5 +1,67 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Protect a technician's contact details in Node
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Names are illustrative. Use the server SDK `@cratis/chronicle` and the runtime field types from `@cratis/fundamentals`. Load these classes before artifact discovery, or include the event in your `clientArtifactsProvider.eventTypes` and the destination in `readModels`. Obtain `store` with `await client.getEventStore(storeName, namespace)` for the intended tenant. Compliance needs no separate registration.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Declare both schemas and the subject
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import { eventType, fromEvent, pii, subject } from '@cratis/chronicle';
|
|
9
|
+
import { field } from '@cratis/fundamentals';
|
|
10
|
+
|
|
11
|
+
@eventType()
|
|
12
|
+
class DispatchContactRecorded {
|
|
13
|
+
@subject() @field(String) technicianId!: string;
|
|
14
|
+
@pii('Call the assigned technician') @field(String) phone!: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@fromEvent(DispatchContactRecorded)
|
|
18
|
+
class DispatchContact {
|
|
19
|
+
@subject() @field(String) technicianId!: string;
|
|
20
|
+
@pii('Call the assigned technician') @field(String) phone!: string;
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Apply the same destination annotations on a reducer output class. For a mixed nested object, mark the personal fields inside the nested class and use `@field(NestedClass)` at its use site. If the *whole type* is personal, decorate the class instead. For example:
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
import { ConceptAs } from '@cratis/fundamentals';
|
|
28
|
+
|
|
29
|
+
@pii('Call the assigned technician')
|
|
30
|
+
class ContactNumber extends ConceptAs<string> {
|
|
31
|
+
constructor(value: string) { super(value); }
|
|
32
|
+
}
|
|
33
|
+
// On both event and model, instead of the directly marked phone field:
|
|
34
|
+
// @field(ContactNumber) phone!: ContactNumber | string;
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Details default to the empty string; supply purpose, not data. Keep the event source ID opaque and unclassified. For a retained operational secret **instead** of PII, mark the property or class with `@encrypted()` from `@cratis/chronicle` (subject scope). Choose `@encrypted(EncryptionScope.Namespace, 'Device credential')` for a shared namespace key, or `EncryptionScope.Global` only for an installation-wide key. Do not stack the two policies: a field or type carrying both fails schema generation with `PIIAndEncryptedCombinedNotSupported`. Neither marker is allowed on an `eventSourceId` member (`PIINotSupportedOnEventSourceId`, `EncryptedNotSupportedOnEventSourceId`); the source ID is stored in clear.
|
|
38
|
+
|
|
39
|
+
```ts
|
|
40
|
+
const event = Object.assign(new DispatchContactRecorded(), { technicianId, phone });
|
|
41
|
+
const result = await store.eventLog.append(orderId, event);
|
|
42
|
+
if (!result.isSuccess) throw new Error('Contact was not recorded');
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
The order identifies the history; the populated `@subject()` property identifies the person. Without a subject the source ID is used. To supply the person from trusted context instead, pass `{ subject: technicianId }` as the third append argument; it wins over the decoration.
|
|
46
|
+
|
|
47
|
+
## Read after authorization
|
|
48
|
+
|
|
49
|
+
- **Managed query:** `await store.readModels.findInstanceById(DispatchContact, orderId)` returns a typed instance or `null`; a third argument can select a session. Reducer queries also perform SDK-side release when the registered schema has top-level compliance metadata. Verify actual storage and the authorized fresh read independently.
|
|
50
|
+
- **Typed single-owner instances:** `await store.readModels.release(DispatchContact, instance)` returns a released instance using the annotated subject property, falling back to `id`; missing both fails. For multiple such instances use `await store.readModels.releaseMany(DispatchContact, instances)` (parallel individual releases, not one transaction).
|
|
51
|
+
- **Raw stored document, especially a mixed-owner projection:** `await store.readModels.releaseDocument(DispatchContact, storedDocument)` returns a new plain object containing only schema-declared data. Keep `__subject` and `__subjects` on the input. Each top-level property override owns its entire subtree; absent an override, the stored default applies. Without either, the value is copied unchanged, **not** released under `id` or the decorated property. Do not convert to a typed instance first. Handle release failures without logging payloads; a successful response alone does not prove every field decrypted.
|
|
52
|
+
|
|
53
|
+
## Inspect policy while testing registration
|
|
54
|
+
|
|
55
|
+
Import the following helpers from `@cratis/chronicle`. For `const p = DispatchContact.prototype`, `hasPIIMetadata(p, 'phone')` tests the field marker and `getPIIMetadata(p, 'phone')` reads its metadata or `undefined`. `isPII(ContactNumber)` and `getTypePIIMetadata(ContactNumber)` inspect a type marker. `ComplianceMetadataResolver.hasMetadataFor(p, 'phone')`, `.getMetadataFor(p, 'phone')` and `.getMetadataForType(ContactNumber)` provide the presence test and metadata arrays for properties and types respectively. `hasSubjectMetadata(p, 'technicianId')` checks the property; `getSubjectPropertyName(DispatchContact)` finds the declared subject name. These inspect declarations, not ciphertext or effective storage protection.
|
|
56
|
+
|
|
57
|
+
## Erasure, restart and alternatives
|
|
58
|
+
|
|
59
|
+
- With approval, `await store.pii.deleteEncryptionKey(technicianId)` erases the subject's key; it does not remove the event. Verify with fresh reads of this and a control subject; do not treat an empty phone as proof of complete erasure.
|
|
60
|
+
- Only for a separately approved new lifecycle, `await store.pii.allowNewEncryptionKeyFor(technicianId)` lifts the fence for future provisioning. It cannot restore previously protected values.
|
|
61
|
+
- To redact event content rather than destroy a subject key, use `await store.eventLog.redact(result.sequenceNumber, reason)` or `await store.eventLog.redactForEventSource(orderId, reason, [DispatchContactRecorded])`. Omitting the type list targets the source without a type filter. Do not put personal values in the reason.
|
|
62
|
+
|
|
63
|
+
## Not supported in this SDK
|
|
64
|
+
|
|
65
|
+
- Custom compliance metadata providers: use the property/type decorators and verify the registered schema instead.
|
|
66
|
+
- Application event reads returning erased property paths: do not infer erasure from empty values. If path evidence is required, delegate the read to an owning service with a path-aware SDK.
|
|
67
|
+
- Per-append causation property retention policy: configure `events.causationPropertyRetention` on the kernel (`Omit` rather than `Retain` for future causation property values). Handle historical and downstream copies separately.
|
|
@@ -1,19 +1,77 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-chronicle-publish-contract
|
|
3
|
-
description: Use when publishing a
|
|
3
|
+
description: Use when publishing a public contract from one Chronicle event store to another and verifying receipt, or when the kernel must deliver events to an HTTP receiver (webhook), call a named external service, or capture external data as events. Not for reacting to a fact within its owning service (use cratis-chronicle-react-to-fact).
|
|
4
4
|
compatibility: A supported application client and access to the intended kernel.
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
#
|
|
7
|
+
# Publish a contract between event stores
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Visibility answers **what may leave** the producer; the outbox answers **what was published**. A subscription belongs to the destination store. It selects events from the source outbox and the kernel appends them to `inbox-{sourceEventStore}` in the matching destination namespace. The consumer observes those stored copies. Visibility alone does not publish, and registration does not prove delivery or handling.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
- Node server (`package.json`): [subscribe from the Node destination](references/typescript.md).
|
|
13
|
-
- Kotlin (`.kt`): [subscribe from the Kotlin destination](references/kotlin.md).
|
|
14
|
-
- Java (`.java`): [configure the Java subscription bridge](references/java.md).
|
|
15
|
-
- Go (`go.mod`): [filter the Go subscription](references/go.md).
|
|
16
|
-
- Elixir (`mix.exs`): [publish and subscribe in Elixir](references/elixir.md).
|
|
17
|
-
- Python has no released application client: [consume a supported public service from Python](references/python.md).
|
|
11
|
+
Read `references/<language>.md` for the project's SDK (`.csproj` → csharp, Node server `package.json` → typescript, `*.kt` → kotlin, `*.java` → java, `go.mod` → go, `mix.exs` → elixir); only the project's languages are installed.
|
|
18
12
|
|
|
19
|
-
|
|
13
|
+
## Default path
|
|
14
|
+
|
|
15
|
+
1. Use two disposable stores with a common namespace. Names here are illustrative: `dispatch` owns private inspection details; `tracking` needs only `ParcelCleared`. Agree on the public type ID, generation, parcel key and approved fields. Register the public contract with a producer that can declare its visibility. Register the same type ID and generation in `tracking` too: with persistent kernel storage, forwarding cannot append a type the destination has not registered. Verify both registrations before writing.
|
|
16
|
+
2. Keep the inspection in the event log. Publish only the cleared fact to the outbox and check the append result. Do not put private values in tags, keys or other forwarded metadata. If recording and publishing are separate appends, plan for a crash between them; they are not atomic.
|
|
17
|
+
3. In the destination select only the contract the consumer handles. Let shared origin and observer declarations provision the route when your SDK infers routes; otherwise register one stable, explicitly filtered subscription. Do not install both for the same feed. Observe `inbox-dispatch`, not the destination event log.
|
|
18
|
+
4. With a bounded wait, verify the expected parcel key and payload in that inbox and the absence of the private inspection. Verify the handler's effect independently. If delivery is missing, check the source outbox, matching namespace, stored definition, the type's registration in the destination and forwarding progress in that order. An inbox row with no effect points to consumer processing instead.
|
|
19
|
+
|
|
20
|
+
## Capability catalog
|
|
21
|
+
|
|
22
|
+
C#-only: derived publication, the output sequence override, keyed append-once, named tag and audience selection, and pinned generation delivery. From any other SDK, let a C# client own that producer or route definition and do not overwrite it.
|
|
23
|
+
|
|
24
|
+
- **Public or private registration:** Declare public eligibility for a deliberate external contract; keep internal types private. A contract origin can imply public visibility where supported. Unspecified visibility permits appends with a warning; it is not evidence of a public contract.
|
|
25
|
+
- **Sequence checks:** The outbox refuses private types; the event log refuses public ones. Other sequences do not enforce this boundary. A visibility failure rejects the whole append batch. Outbox browsing shows only currently public types, so a filtered view is not a security audit of raw contents.
|
|
26
|
+
- **Direct publication:** Append to the source outbox for one public fact per business occurrence, even when consecutive payloads match. With keyed append-once, retain a distinct publication key per occurrence and reuse it only for an identical retry; reconcile conflicts.
|
|
27
|
+
- **Derived publication:** Choose an event-target projection or reducer when only changes to accumulated state should publish. Its last publication for the key is its fold state; unchanged steps publish nothing, retrying a step does not duplicate it, and replay can append new history. Removal cannot retract a publication. Compliance-marked target schemas are refused.
|
|
28
|
+
- **Output sequence override:** Select a named sequence on the event target only for output other than cross-store publication. The sink defaults to the outbox and cannot target the event log. An observer's input sequence does not select its output.
|
|
29
|
+
- **Implicit forwarding:** Declare the external origin of shared types when observer discovery should own the filter. A contract assembly can supply a common origin; a type can override it. Participating observers contribute their consumed types to the source's combined filter. Keep inferred inputs from one source.
|
|
30
|
+
- **Observer source override:** When shared contracts lack origin, declare the external store on a supported observer instead. Do not also declare an explicit input sequence on that observer. A local origin alone does not select the local outbox.
|
|
31
|
+
- **Explicit subscription:** Supply a stable destination-scoped ID, source store and type selection when the feed needs independent lifecycle or no implicit route exists. Identical registration is safe at startup; a changed definition under the same ID updates the route.
|
|
32
|
+
- **Type selection:** Add the needed registered contracts or supported type IDs. An unconfigured builder can expand to the client's known types at registration, not a promise to follow every future source type.
|
|
33
|
+
- **Declarative registration:** Use a discoverable subscription definition where supported to keep the ID, source and type selection together; register it at startup instead of issuing a second imperative subscription.
|
|
34
|
+
- **Named tag selection:** Narrow the selected types to tagged publications: values for one name are alternatives; different names must all match. Untagged events fail the filter. Updating a filter neither removes inbox history nor backfills previously skipped rows.
|
|
35
|
+
- **Audience selection:** Use the audience shortcut for the named `audience` tag when one outbox serves several recipients.
|
|
36
|
+
- **Compatible generation delivery:** Forward the source generation if registered by the target, else migrate down to its highest compatible generation. A type the target has not registered skips generation selection, but with persistent storage its inbox append still needs the schema: it fails, and the forwarding partition retries, until the target registers the type. A registered type with no compatible generation or migration parks the partition.
|
|
37
|
+
- **Pinned generation delivery:** Choose a generation per selected type when the inbox schema must stay fixed across live delivery, catch-up and replay. Register it at both ends; ambiguous or conflicting pins fail registration. Fix missing schema or migration before recovery.
|
|
38
|
+
- **Inspect or remove:** List destination definitions to check identity, source and filters. Unsubscribe by ID to stop forwarding, not to erase the inbox or reset progress.
|
|
39
|
+
- **Namespace and history:** Matching namespace names are case-insensitive; forwarding does not create a missing source namespace. A fresh subscription reads retained history from the beginning; an existing checkpoint resumes even after a disconnect.
|
|
40
|
+
- **Metadata and protection:** Forwarding preserves event-source identity, stream route, tags and subject. A missing target subject key may be copied if permitted; an erased subject's blocked key is not restored. Handle downstream copies separately from namespace-wide key erasure.
|
|
41
|
+
- **Recovery:** Replay the inbox observer to reprocess existing rows. Replay the source forwarding observer only to deliver retained publications again: this can append additional inbox rows. Make downstream effects tolerate repeats.
|
|
42
|
+
- **Across separate kernels (federation):** an operator binds the logical source name to the producing kernel and the producer grants the stores, namespaces and event types that may be read. Application code does not change: the same origin declarations and subscriptions decide what arrives. Setup is in `cratis-chronicle-deploy-kernel`.
|
|
43
|
+
|
|
44
|
+
## Kernel-run integrations with systems outside Chronicle
|
|
45
|
+
|
|
46
|
+
Use these only when the other side is not a Chronicle store. They are edge cases next to the outbox and inbox above. The kernel, not the application, makes the calls, so the target must be reachable from the kernel and allowed by the kernel's destination policy (`cratis-chronicle-deploy-kernel`, webhooks reference). The application only registers the definition; a completed registration proves neither delivery nor that the definition changed. Read the stored definition back, then verify an actual delivery. What each SDK can register is in its integrations reference, linked from `references/<language>.md`.
|
|
47
|
+
|
|
48
|
+
| Integration | What it is | What to know |
|
|
49
|
+
|---|---|---|
|
|
50
|
+
| Webhook | The kernel posts selected event types to an HTTP receiver that cannot hold a Chronicle connection. | Outbound. A webhook is an observer with its own ID, defined for the whole event store. Name the event types explicitly (an SDK that fills in every type it knows when none is named fixes that list at registration) and choose authorization, optional signing, replayability and generation delivery. |
|
|
51
|
+
| External service | A named HTTP endpoint or database connection that the event store owns and the kernel itself calls, for example as a capture source. | Registration stores the connection only; nothing is called. The name is the identity, so keep it stable. |
|
|
52
|
+
| Capture | A kernel-run job that turns changes in external data into local events. | Inbound. SDK support differs most here: some SDKs can describe a capture but not save or start it. |
|
|
53
|
+
|
|
54
|
+
**Webhook delivery**
|
|
55
|
+
|
|
56
|
+
- At-least-once. One request carries a batch from a single partition (the event source ID) in sequence order. A 2xx response acknowledges the whole batch; any other outcome acknowledges none of it and the batch is sent again from its first event. There is no ordering between partitions.
|
|
57
|
+
- The receiver must be repeat-safe: key the effect on store, namespace, webhook ID, sequence and sequence number, not on the request. A timeout does not stop the receiver, so two executions can overlap.
|
|
58
|
+
- The status code selects the recovery: 5xx, 408, 429 and connection failures are retried with backoff; 429 or 503 with `Retry-After` defers the partition without spending a retry; 410 parks the partition until an operator acts; any other 4xx pauses the whole webhook as a configuration problem. A receiver that is warming up answers 503 with `Retry-After`, never 400 or 404.
|
|
59
|
+
- One observer ID is served either by a webhook or by connected clients, never both. Registration is refused while a client serves that ID in any namespace; some SDKs report the refusal only as a warning.
|
|
60
|
+
- Registration replaces the whole definition. Header values and credentials are never returned on read, so never register a definition that was read back.
|
|
61
|
+
- Signing is off by default. With signing on, the receiver verifies each request against the event store's public signing keys, on the raw body, and accepts every key the store currently lists so that a key rotation does not reject deliveries. Signing does not replace authorization.
|
|
62
|
+
- A webhook is replayable unless registered otherwise; a replay sends stored events again under the same sequence numbers.
|
|
63
|
+
- Events are released from personal-data protection before delivery: the receiver gets plaintext, and erasing a subject later does not reach what the receiver stored.
|
|
64
|
+
|
|
65
|
+
**External service**
|
|
66
|
+
|
|
67
|
+
- Endpoint types: HTTP (base URL, headers, and no, basic, bearer or OAuth client-credentials authorization) and database (Microsoft SQL Server or PostgreSQL: host, optional port, database, user, password, options).
|
|
68
|
+
- Credentials and header values are write-only and registration is a full replacement, as for webhooks.
|
|
69
|
+
- The kernel checks these destinations against its external-service policy, which is separate from the webhook policy: approving a webhook host does not approve a capture source or its token endpoint.
|
|
70
|
+
|
|
71
|
+
**Capture**
|
|
72
|
+
|
|
73
|
+
- Two sources run: polling an HTTP external service on an interval, and reading another store's public events from the inbox to produce this store's own private events.
|
|
74
|
+
- A capture names a key that identifies an item, and append rules that choose the event to append when an item is added, changed or removed, with the values to copy into it. Register the external service and the appended event types first.
|
|
75
|
+
- The kernel parses a textual capture declaration; SDK builders produce that declaration. Validate before starting: a declaration can be well formed and still not runnable. The engine does not run webhook or message-topic sources, value mapping, nested or child scopes, or expression conditions.
|
|
76
|
+
- Saving does not start a capture, and a capture with any validation message is not started. A started capture cannot be changed: saving over it is refused, so stop it, save, then start it again, on redeploy too.
|
|
77
|
+
- The two sources run differently. A public-events capture subscribes to the inbox in every namespace, including ones added later, and appends in the namespace the event arrived in. An HTTP capture runs one poller for the whole event store and appends to the default namespace only. Stopping ends the subscription or the poller. Deleting also removes its progress and the state it remembered; events it appended remain.
|
package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp-integrations.md
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# C#: webhooks and external services
|
|
2
|
+
|
|
3
|
+
These definitions tell the **kernel** to call out; nothing runs in your process. They are **store-wide**: every namespace of the store shares them. Register them from a ready `IEventStore`, after its event types are registered. Names are illustrative.
|
|
4
|
+
|
|
5
|
+
## Deliver events to an HTTP receiver (webhook)
|
|
6
|
+
|
|
7
|
+
Use a webhook when the consumer cannot hold a connection to Chronicle (a function, another vendor's system).
|
|
8
|
+
|
|
9
|
+
```csharp
|
|
10
|
+
using Cratis.Chronicle.Webhooks;
|
|
11
|
+
|
|
12
|
+
await eventStore.Webhooks.Register(
|
|
13
|
+
"billing-feed",
|
|
14
|
+
"https://billing.example.com/hooks/parcels",
|
|
15
|
+
webhook => webhook
|
|
16
|
+
.WithEventType<ParcelCleared>()
|
|
17
|
+
.WithBearerToken(token)
|
|
18
|
+
.WithSigning(WebhookSigningMode.Ed25519));
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
| Builder call | Default | Effect |
|
|
22
|
+
| --- | --- | --- |
|
|
23
|
+
| `WithEventType<T>()` (repeatable) | every event type this client knows when it registers | Deliver only these types; later-added types need a new `Register` |
|
|
24
|
+
| `OnEventSequence(id)` | the event log | Observe another sequence |
|
|
25
|
+
| `WithBearerToken(token)`, `WithBasicAuth(user, password)`, `WithOAuth(authority, clientId, clientSecret, scope)`, `WithManagedIdentity(scope, clientId)` | no authorization | How the kernel authenticates to the receiver; the last one called wins. `scope` on OAuth and `clientId` on managed identity are optional |
|
|
26
|
+
| `WithHeader(key, value)` | none | Extra request header; the same key replaces |
|
|
27
|
+
| `WithSigning(WebhookSigningMode.Ed25519)` | `None` (unsigned) | Sign every delivery; re-register with `None` to stop |
|
|
28
|
+
| `WithGenerationDelivery(EventGenerationDelivery.Pinned)` | `Compatibility` | Deliver exactly the registered generation of each type |
|
|
29
|
+
| `NotReplayable()` | replayable | Never resend history on replay |
|
|
30
|
+
| `NotActive()` | active | Store the definition without delivering |
|
|
31
|
+
|
|
32
|
+
- `Register` with an existing identifier **replaces** that webhook's configuration.
|
|
33
|
+
- When the kernel refuses a registration, `Register` **logs the reason and returns normally**; it does not throw. A completed call is not proof: confirm with `await eventStore.Webhooks.GetAll()`.
|
|
34
|
+
- `GetAll()` returns `WebhookDefinition` (`Identifier`, `EventTypes`, `Target`, `EventSequenceId`, `IsReplayable`, `IsActive`, `GenerationDelivery`, `Signing`). Secrets are never returned: `Target.Headers` holds names with empty values and `Target.HeaderValuesSet` says which have a value. Never re-register a read-back definition.
|
|
35
|
+
- The receiver must be reachable **from the kernel** and allowed by the kernel's destination policy.
|
|
36
|
+
- Delivery is at least once, ordered per event source, one batch per `POST`. Make the receiver idempotent on the event sequence number. Answer `2xx` only when the whole batch is handled; answer `503` with `Retry-After` when overloaded, because most `4xx` answers pause the whole webhook.
|
|
37
|
+
|
|
38
|
+
### Verify a signed delivery in the receiver
|
|
39
|
+
|
|
40
|
+
```csharp
|
|
41
|
+
using Cratis.Chronicle.Webhooks;
|
|
42
|
+
|
|
43
|
+
var verifier = new WebhookSignatureVerifier(await eventStore.Webhooks.GetSigningKeys());
|
|
44
|
+
|
|
45
|
+
app.MapPost("/hooks/parcels", async (HttpRequest request) =>
|
|
46
|
+
{
|
|
47
|
+
using var body = new MemoryStream();
|
|
48
|
+
await request.Body.CopyToAsync(body);
|
|
49
|
+
var result = verifier.Verify(
|
|
50
|
+
request.Headers[WebhookSigningHeaders.Id],
|
|
51
|
+
request.Headers[WebhookSigningHeaders.Timestamp],
|
|
52
|
+
request.Headers[WebhookSigningHeaders.Signature],
|
|
53
|
+
body.ToArray());
|
|
54
|
+
if (!result.IsValid) return Results.Unauthorized();
|
|
55
|
+
// Deserialize body and process the batch.
|
|
56
|
+
return Results.Ok();
|
|
57
|
+
});
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
- Verify the **raw bytes** before any JSON parsing; a re-serialized body fails.
|
|
61
|
+
- A receiver without a Chronicle connection builds the verifier from configured key strings instead: `new WebhookSignatureVerifier(["whpk_..."])`. Both constructors accept an optional tolerance (five minutes by default).
|
|
62
|
+
- `result.Failure` is `MissingHeader`, `InvalidTimestamp`, `TimestampOutsideTolerance`, `InvalidId`, `NoSupportedSignature` or `SignatureMismatch`; `result.KeyId` names the key that matched.
|
|
63
|
+
- Keys rotate. Each `WebhookSigningPublicKey` has `KeyId`, `Status` (`Active` or `Overlap`), `PublicKey`, `CreatedAt` and `OverlapEndsAt`; a verifier built from them stops trusting an overlap key when it ends. When verification fails for a delivery whose `WebhookSigningHeaders.KeyId` header is unknown, load the keys again and verify once more. Never skip verification.
|
|
64
|
+
- `GetSigningKeys()` throws `WebhookSigningKeysQueryFailed` when the kernel refuses the query.
|
|
65
|
+
- Signing does not replace authorization; use both. Record handled `webhook-id` values to reject a captured request sent again.
|
|
66
|
+
|
|
67
|
+
## Register an external service the kernel may call
|
|
68
|
+
|
|
69
|
+
An external service names an HTTP endpoint or database the kernel itself contacts, for example as the source of a capture.
|
|
70
|
+
|
|
71
|
+
```csharp
|
|
72
|
+
await eventStore.ExternalServices.Register("CarrierApi", service => service
|
|
73
|
+
.Http("https://carrier.example.com/api")
|
|
74
|
+
.WithBearerToken(token));
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
| Builder call | Use |
|
|
78
|
+
| --- | --- |
|
|
79
|
+
| `Http(url)` | HTTP endpoint; combine with `WithBearerToken`, `WithBasicAuth`, `WithOAuth(authority, clientId, clientSecret, scope)` and `WithHeader` |
|
|
80
|
+
| `PostgreSql(host, database, username, password, port)`, `MsSql(...)` | Database endpoint; omit `port` for the provider default |
|
|
81
|
+
| `WithOption(key, value)` | Extra provider setting for a database endpoint |
|
|
82
|
+
|
|
83
|
+
Only the last endpoint kind called is kept. Registration does not test connectivity, and a kernel refusal throws. Load every secret at runtime.
|
|
84
|
+
|
|
85
|
+
## Not supported in this SDK
|
|
86
|
+
|
|
87
|
+
- **Removing a webhook or an external service, or listing external services:** use the Workbench.
|
|
88
|
+
- **Rotating webhook signing keys:** an administrator operation on the kernel; afterwards call `GetSigningKeys()` again.
|
|
89
|
+
- **Captures (turning external data into events):** the capture attributes and builder types describe a capture but the client neither registers nor starts one. Do not build on them; author captures in the Workbench.
|
|
@@ -1,85 +1,90 @@
|
|
|
1
|
-
# Publish
|
|
1
|
+
# Publish a parcel clearance with C#
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Names are illustrative. Use `Cratis.Chronicle` in both services; in ASP.NET Core use the Chronicle ASP.NET Core integration (`builder.AddCratisChronicle(...)` before building, `app.UseCratisChronicle()` after). Configure the producer for `dispatch` and consumer for `tracking` on the same kernel, with a matching namespace. Use the scoped `IEventStore` of each host. Share the public record, not the producer's internal events. Examples use `Cratis.Chronicle`, `.Events`, `.EventSequences`, `.Reactors`, `.Projections`, `.Reducers`, `.Registrations`, `.Observation` and `.Sinks` under that namespace.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
using Cratis.Chronicle.Events;
|
|
5
|
+
## Declare and publish the contract
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
```csharp
|
|
8
|
+
// Shared contracts
|
|
9
|
+
[EventType("parcel-cleared"), EventStore("dispatch")]
|
|
10
|
+
public record ParcelCleared(string Lane);
|
|
9
11
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
// Dispatch service only
|
|
13
|
+
[EventType]
|
|
14
|
+
public record ParcelInspected(string Lane, string InternalNote);
|
|
12
15
|
```
|
|
13
16
|
|
|
14
|
-
|
|
17
|
+
Verify visibility and origin in the Workbench Event Types view. `[EventStore]` makes the shared type public in both stores. For a contracts-only assembly, `[assembly: EventStore("dispatch")]` supplies the default origin; a type declaration overrides it. Keep private records out of that assembly. Without origin or `[Public]`, .NET registers the type private. Use `[Public]` alone when visibility, not origin-based routing, is wanted. For plain types configure `options.ExplicitArtifacts.RegisterEventType<ParcelCleared>(e => e.WithId("parcel-cleared").ForEventStore("dispatch"))` before creating the store; `e.Public()` or `e.Private()` sets visibility explicitly. Do not contradict attribute declarations. Foreign ownership alone is not eligibility for an event-target publisher in the receiving store.
|
|
18
|
+
|
|
19
|
+
Record the inspection on `producer.EventLog`. Publish once per clearance, not once per distinct lane. Persist a unique publication ID per occurrence before attempting the append; reuse it and identical inputs on retry.
|
|
15
20
|
|
|
16
21
|
```csharp
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
22
|
+
var outbox = producer.GetEventSequence(EventSequenceId.Outbox);
|
|
23
|
+
var result = await outbox.AppendOnce(parcelId, new ParcelCleared(lane),
|
|
24
|
+
new IdempotencyKey($"clearance:{publicationId:N}"));
|
|
25
|
+
if (!result.IsSuccess || result.HasIdempotencyConflicts) return result;
|
|
26
|
+
```
|
|
20
27
|
|
|
21
|
-
|
|
28
|
+
A matching retry does not append again; reconcile a conflicting key. Without retry deduplication use `await outbox.Append(parcelId, new ParcelCleared(lane))` and check `IsSuccess`. An event-log append and an outbox append are not one transaction: arrange recovery between them. The outbox rejects private types; the event log rejects public types, including in batches (no partial write). Other sequences don't enforce visibility. Unspecified visibility permits appends with a warning. The outbox browser shows only currently public types, not every raw row.
|
|
22
29
|
|
|
23
|
-
|
|
24
|
-
|
|
30
|
+
## Receive and verify
|
|
31
|
+
|
|
32
|
+
Let the destination discover a reactor for the shared contract. Its handled type contributes to the source subscription's filter and selects `inbox-dispatch`; projections and reducers consuming such contracts can infer that input too. Keep all inferred inputs on an observer from one source. `ITracking` below represents the application's repeat-safe update.
|
|
25
33
|
|
|
26
|
-
|
|
34
|
+
```csharp
|
|
35
|
+
public class TrackClearance(ITracking tracking) : IReactor
|
|
27
36
|
{
|
|
28
|
-
public
|
|
29
|
-
.
|
|
37
|
+
public Task Cleared(ParcelCleared fact, EventContext context) =>
|
|
38
|
+
tracking.SetLane(context.EventSourceId, fact.Lane);
|
|
30
39
|
}
|
|
31
40
|
```
|
|
32
41
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
## Check the public handoff
|
|
36
|
-
|
|
37
|
-
Append a private `AuthorReviewed` for a test author with source ID `id` in disposable stores. In the directory service, use the scoped `IEventStore`:
|
|
42
|
+
When shared types lack origin, `[EventStore("dispatch")]` on the reactor or reducer chooses the external store. For a configured reactor source use `options.ExplicitArtifacts.RegisterReactor<TrackClearance>(ReactorRegistrationOptions.FromEventStore(sourceName))`. Never combine an observer source override with an explicit sequence. Local ownership does not select the local outbox: use `[EventSequence("outbox")]` on a reactor reading it.
|
|
38
43
|
|
|
39
44
|
```csharp
|
|
40
|
-
var inbox = consumer.GetEventSequence($"{EventSequenceId.InboxPrefix}
|
|
41
|
-
var
|
|
45
|
+
var inbox = consumer.GetEventSequence($"{EventSequenceId.InboxPrefix}dispatch");
|
|
46
|
+
var rows = await inbox.GetFromSequenceNumber(EventSequenceNumber.First, parcelId);
|
|
47
|
+
var received = rows.Any(row => row.Content is ParcelCleared cleared && cleared.Lane == lane);
|
|
42
48
|
```
|
|
43
49
|
|
|
44
|
-
Poll
|
|
50
|
+
Poll to a deadline for a fresh parcel in disposable stores; verify its inbox types contain no inspection and the tracking update happened. If empty, check the source outbox first, then namespace, subscription, the type's registration in `tracking` and forwarding progress. Namespace matching ignores case; the subscription does not create a missing source namespace. First delivery starts at retained history; reconnect resumes at the checkpoint. Forwarding preserves source identity, stream route, tags and subject; don't leak inspection details through metadata. Permitted missing subject keys can be copied; blocked keys aren't restored. Manage protection of downstream copies separately. Replay the destination observer to repeat handling; replaying the source forwarder can append more inbox rows.
|
|
45
51
|
|
|
46
|
-
##
|
|
52
|
+
## Publish only changes to state
|
|
47
53
|
|
|
48
|
-
|
|
54
|
+
Instead of the direct append, define **one** event-target projection or reducer in `dispatch`. Map just the approved lane. The previous publication for the key supplies fold state; unchanged state produces nothing, retries of a step do not duplicate it, and replay can append history. Removal cannot retract an event. Compliance-marked target schemas are refused.
|
|
49
55
|
|
|
50
56
|
```csharp
|
|
51
|
-
|
|
52
|
-
|
|
57
|
+
public class PublishLane : IProjectionFor<ParcelCleared>
|
|
58
|
+
{
|
|
59
|
+
public void Define(IProjectionBuilderFor<ParcelCleared> builder) => builder
|
|
60
|
+
.From<ParcelInspected>(from => from.Set(p => p.Lane).To(i => i.Lane));
|
|
61
|
+
}
|
|
53
62
|
```
|
|
54
63
|
|
|
55
|
-
|
|
64
|
+
For a code-based fold use `class FoldLane : IReducerFor<ParcelCleared>` with `public ParcelCleared On(ParcelInspected inspection, ParcelCleared? current) => new(inspection.Lane);`. Neither requires a sink declaration. Only for output other than cross-store publication, put `[PublishTo("clearance-feed")]` on the **target** or configure `e.PublishTo("clearance-feed")`. It does not grant public eligibility. The default output is the outbox; the event log is not an allowed override.
|
|
56
65
|
|
|
57
|
-
##
|
|
66
|
+
## Manage a filtered route explicitly
|
|
58
67
|
|
|
59
|
-
|
|
68
|
+
Use this **instead of** implicit forwarding when independent identity, tag filtering or fixed generations are required. Put `[EventSequence("inbox-dispatch")]` on the consuming reactor, not `[EventStore]`. On producer append, surround the write with `using var audience = EventTags.Audience("tracking");` and `using var region = EventTags.Scope("region", "north");` (keep retry metadata identical). Alternatively a `[property: Audience]` string contract property supplies its audience value. To pass the tags on the call rather than ambiently, use `outbox.AppendWithNamedTags(parcelId, fact, [new NamedTag("region", "north")])`, or `AppendOnceWithNamedTags` with the idempotency key before the tags.
|
|
60
69
|
|
|
61
70
|
```csharp
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
71
|
+
await consumer.Subscriptions.Subscribe("tracking-clearances", "dispatch", b => b
|
|
72
|
+
.WithEventType<ParcelCleared>()
|
|
73
|
+
.WithGenerationDelivery(EventGenerationDelivery.Pinned)
|
|
74
|
+
.ForAudience("tracking")
|
|
75
|
+
.WithNamedTag("region", "north").WithNamedTag("region", "west"));
|
|
76
|
+
var definitions = await consumer.Subscriptions.GetAll();
|
|
77
|
+
var route = definitions.Single(d => d.Id == "tracking-clearances");
|
|
78
|
+
```
|
|
68
79
|
|
|
69
|
-
|
|
80
|
+
Inspect `SourceEventStore`, `EventTypes`, `GenerationDelivery`, `EventTypePins` and `NamedTags`. Tags narrow type selection: either region matches, but the `audience` tag must also match. Omit tag calls to accept all selected events. Stable ID + same definition is safe at startup; changing it updates future forwarding, not previously skipped or delivered rows. On retirement `await consumer.Subscriptions.Unsubscribe("tracking-clearances");` stops delivery without deleting history or resetting progress.
|
|
70
81
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
if (!review.IsSuccess || review.HasIdempotencyConflicts) return review;
|
|
77
|
-
var outbox = producer.GetEventSequence(EventSequenceId.Outbox);
|
|
78
|
-
return await outbox.AppendOnce(id, new AuthorListed(publicName), new IdempotencyKey($"listing:{publicationId:N}"));
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
```
|
|
82
|
+
`WithEventType("parcel-cleared")` selects by ID; `WithEventType("parcel-cleared", 1)` declares its generation. No explicit types expands to known registered IDs when built, not future discoveries. Compatibility (default) delivers the source generation if `tracking` registers it or migrates down to the highest compatible target generation. A type `tracking` has not registered skips that selection, but with persistent storage its inbox append fails and the partition retries until the type is registered there; keeping the shared contract in the consumer's discovered assemblies registers it. Missing compatibility or migration for a registered type parks its partition. Pinned delivery uses the same generation for live, catch-up and replay: register it on both sides. The generic call declares its CLR type's generation; an ID alone must resolve uniquely. Empty, unresolved or conflicting pins fail registration; fix schemas/migrations before recovering parked delivery.
|
|
83
|
+
|
|
84
|
+
## Consumers that are not Chronicle stores
|
|
85
|
+
|
|
86
|
+
- [Webhooks and external services](csharp-integrations.md): deliver events to an HTTP receiver, verify signed deliveries, and name endpoints the kernel may call.
|
|
82
87
|
|
|
83
|
-
|
|
88
|
+
## Not supported in this SDK
|
|
84
89
|
|
|
85
|
-
|
|
90
|
+
- Discoverable standalone named subscription definitions: use the destination's startup `Subscribe` call, or implicit routing if observer discovery should own the feed. Do not register both.
|