@cratis/pi 8.2.2 → 8.4.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 +8 -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 +27 -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/scripts/cratis-cleanup-worktrees.sh +36 -24
- package/package/corpus/hooks/scripts/cratis-guard-secrets.sh +66 -22
- 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 +8 -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 +27 -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 +96 -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 +282 -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 +381 -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 +94 -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 +188 -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 +60 -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 +59 -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 +112 -43
- 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 +66 -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
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
# Bind a TypeScript host to its Chronicle environment
|
|
2
|
+
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- Prerequisites
|
|
6
|
+
- Configuration keys
|
|
7
|
+
- Register the client
|
|
8
|
+
- Event store name
|
|
9
|
+
- Namespace resolution
|
|
10
|
+
- Refuse to start on a missing binding
|
|
11
|
+
- Prove the binding
|
|
12
|
+
- Diagnostics
|
|
13
|
+
- Log a connection string safely
|
|
14
|
+
- Not supported in this SDK
|
|
15
|
+
|
|
16
|
+
Names such as `warehouse`, `contoso`, `chronicle.prod.internal`, `fixture-probe`, `FixtureSeeded` and `operator` are illustrative.
|
|
17
|
+
|
|
18
|
+
## Prerequisites
|
|
19
|
+
|
|
20
|
+
- **Plain SDK host:** `@cratis/chronicle`. It binds no configuration. The host reads its own environment variables and passes the values to `ChronicleOptions` and `getEventStore`.
|
|
21
|
+
- **Arc host:** `@cratis/arc.core` and `@cratis/arc.chronicle`. Arc reads `Cratis:Chronicle` from configuration and creates or adopts the client. Import `@cratis/arc.chronicle` once to add `withChronicle(...)` to the builder. The package also exports the function `withChronicle(builder, options)`, which does the same.
|
|
22
|
+
|
|
23
|
+
## Configuration keys
|
|
24
|
+
|
|
25
|
+
Arc host. `ArcApplication.createBuilder()` loads these unless you pass `configuration: false`:
|
|
26
|
+
|
|
27
|
+
| Key | Environment variable | Selects |
|
|
28
|
+
| --- | --- | --- |
|
|
29
|
+
| `Cratis:Chronicle:connectionString` | `Cratis__Chronicle__ConnectionString` | The kernel |
|
|
30
|
+
| `Cratis:Chronicle:eventStore` | `Cratis__Chronicle__EventStore` | The event store |
|
|
31
|
+
| `Cratis:Arc:tenancy:*` | `Cratis__Arc__Tenancy__*` | Where the tenant, and so the namespace, comes from (see Namespace resolution) |
|
|
32
|
+
|
|
33
|
+
- **Precedence, highest first:** options passed to `withChronicle` in code, then `Cratis__…` environment variables, then `appsettings.{environment}.json`, then `appsettings.json`. A `connectionString` or `client` passed in code replaces the configured connection string.
|
|
34
|
+
- **Environment name:** `DOTNET_ENVIRONMENT`, else `ASPNETCORE_ENVIRONMENT`, else `NODE_ENV`. An inherited `DOTNET_ENVIRONMENT` selects a different variant file than `NODE_ENV` suggests.
|
|
35
|
+
- **Files** are read from the working directory, and a missing file is skipped without a message. Pass `configuration: { file }` to `createBuilder` when the host starts from another directory.
|
|
36
|
+
- Keys are case-insensitive. Environment variables use `__` as the separator. Only these two Chronicle keys are bound.
|
|
37
|
+
- An empty value stops start-up with `Invalid Cratis configuration: …`. That message names the key, never the value. An unknown key under `Cratis:Chronicle` is reported as `Unknown Cratis configuration key`.
|
|
38
|
+
|
|
39
|
+
Plain SDK host. Read the same two variable names so deployment manifests stay the same across SDKs, and pass the values in code:
|
|
40
|
+
|
|
41
|
+
```typescript
|
|
42
|
+
const connection = process.env.Cratis__Chronicle__ConnectionString;
|
|
43
|
+
const eventStore = process.env.Cratis__Chronicle__EventStore?.trim();
|
|
44
|
+
if (!eventStore) throw new Error('The Chronicle event store name is missing.');
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Register the client
|
|
48
|
+
|
|
49
|
+
Plain SDK host (`requireChronicleBinding` is in Refuse to start on a missing binding):
|
|
50
|
+
|
|
51
|
+
```typescript
|
|
52
|
+
import { ChronicleClient, ChronicleOptions } from '@cratis/chronicle';
|
|
53
|
+
|
|
54
|
+
const client = new ChronicleClient(ChronicleOptions.fromConnectionString(requireChronicleBinding(connection)));
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Run the bounded startup check in Prove the binding before accepting traffic. Call `client.dispose()` at shutdown.
|
|
58
|
+
|
|
59
|
+
- **Options:** `ChronicleOptions` has no public constructor. Use `fromConnectionString(value, options?)`, which takes a string or a parsed `ChronicleConnectionString`. For local work, use `ChronicleOptions.development(options?)`.
|
|
60
|
+
- **Development values:** `ChronicleConnectionString.Development` is `localhost:35000` with the development client (`ChronicleConnectionString.DEVELOPMENT_CLIENT` and `DEVELOPMENT_CLIENT_SECRET`). `ChronicleConnectionString.Default` is `chronicle://localhost:35000`.
|
|
61
|
+
- **No credentials still means credentials.** A value without credentials, `Default` included, authenticates with the development client. Only `?auth=none` turns authentication off, for a local kernel that runs without it.
|
|
62
|
+
- **TLS:** the client skips server-certificate validation unless the value sets `skipTlsValidation=false`. That default is what accepts the development kernel's self-signed certificate. The client warns once when it skips validation for a host that is not loopback. TLS and authentication options belong to `cratis-chronicle-connect-application`.
|
|
63
|
+
- **The parser never rejects an unknown shape.** A value without a `chronicle://` or `chronicle+srv://` scheme silently becomes `localhost:35000` with development credentials. That includes `prod.example.com:35000`, `https://…`, a misspelt scheme and a value with leading whitespace. Trim the value and check the scheme yourself.
|
|
64
|
+
- **An unreachable kernel never fails a call.** `getEventStore` and `getEventStores` retry with backoff until the kernel answers or the client is disposed. Terminal failures end the wait, such as an incompatible kernel, or `RejectedChronicleCredentials` after three credential rejections in a row. Bound any start-up wait with your own timeout.
|
|
65
|
+
|
|
66
|
+
Arc host with one tenant and a pinned kernel (`requireChronicleBinding` is in Refuse to start on a missing binding):
|
|
67
|
+
|
|
68
|
+
```typescript
|
|
69
|
+
import { ArcApplication, TenantResolverType } from '@cratis/arc.core';
|
|
70
|
+
import '@cratis/arc.chronicle';
|
|
71
|
+
|
|
72
|
+
const builder = ArcApplication.createBuilder({
|
|
73
|
+
tenancy: { resolverType: TenantResolverType.Fixed, fixedTenantId: 'contoso' }
|
|
74
|
+
});
|
|
75
|
+
const configured = builder.configuration.Cratis?.Chronicle;
|
|
76
|
+
const eventStore = configured?.eventStore?.trim();
|
|
77
|
+
if (!eventStore) throw new Error('The Chronicle event store name is missing.');
|
|
78
|
+
const connectionString = requireChronicleBinding(configured?.connectionString).toString();
|
|
79
|
+
builder.withChronicle({ eventStore, connectionString });
|
|
80
|
+
const app = await builder.build();
|
|
81
|
+
await app.run();
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
This pins requests to `contoso` regardless of tenant headers. Do not supply a conflicting `tenancy.sources` setting. This validates configuration before registration; check the fixture before declaring the host ready.
|
|
85
|
+
|
|
86
|
+
- `withChronicle` needs `eventStore` and exactly one of `connectionString` or `client`. Otherwise it throws `Chronicle requires eventStore and exactly one of connectionString or client`. An Arc host has no development fallback, so a missing binding stops start-up.
|
|
87
|
+
- **With `connectionString`**, Arc creates the client through `ChronicleOptions.fromConnectionString` and disposes it with the application. Registration checks only that the value is present. The scheme gotcha above applies, so validate the value before `withChronicle`.
|
|
88
|
+
- **With `client`**, you own an `IChronicleClient`. Arc never disposes it, and the host can call `client.getEventStore(name, namespace)` for work outside a request.
|
|
89
|
+
|
|
90
|
+
## Event store name
|
|
91
|
+
|
|
92
|
+
- **Always explicit.** The plain SDK takes the name on every `getEventStore` call. Arc requires `eventStore`. No name is derived. `programIdentifier` (default `Unknown`) is causation metadata only and never names a store.
|
|
93
|
+
- **`getEventStore` creates the store** on the kernel when it is missing, and registers the client's discovered artifacts in it. A misspelt name gives a new, empty store that looks healthy. Check the name against `client.getEventStores()` before the first `getEventStore` in a check.
|
|
94
|
+
|
|
95
|
+
## Namespace resolution
|
|
96
|
+
|
|
97
|
+
Plain SDK host:
|
|
98
|
+
|
|
99
|
+
| Strategy | How |
|
|
100
|
+
| --- | --- |
|
|
101
|
+
| Fixed `Default` | Pass no namespace and set no resolver. `EventStoreNamespaceName.default` is the constant. |
|
|
102
|
+
| Fixed other name | Pass the namespace to every `getEventStore`, or set `namespaceResolver: () => 'contoso'`. |
|
|
103
|
+
| Explicit per call | `client.getEventStore('warehouse', 'contoso')` bypasses the resolver. Use it for jobs, seeding and per-tenant checks. |
|
|
104
|
+
| Header, subdomain or claim | Not built in. Use a custom `namespaceResolver` that reads the tenant your middleware stored in `AsyncLocalStorage`. |
|
|
105
|
+
| Custom | `namespaceResolver` in the options you pass to `fromConnectionString`. |
|
|
106
|
+
|
|
107
|
+
```typescript
|
|
108
|
+
import { AsyncLocalStorage } from 'node:async_hooks';
|
|
109
|
+
import { ChronicleClient, ChronicleOptions } from '@cratis/chronicle';
|
|
110
|
+
|
|
111
|
+
const currentTenant = new AsyncLocalStorage<string>();
|
|
112
|
+
|
|
113
|
+
export const runForTenant = <T>(tenantId: string, work: () => Promise<T>) => currentTenant.run(tenantId, work);
|
|
114
|
+
|
|
115
|
+
export const client = new ChronicleClient(ChronicleOptions.fromConnectionString(requireChronicleBinding(connection), {
|
|
116
|
+
namespaceResolver: () => {
|
|
117
|
+
const tenant = currentTenant.getStore();
|
|
118
|
+
if (!tenant) throw new Error('No tenant for this work.');
|
|
119
|
+
return tenant;
|
|
120
|
+
}
|
|
121
|
+
}));
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
- Call `runForTenant` from your authentication middleware with the authenticated user's tenant claim. Take the tenant from a header only when a trusted proxy owns that header.
|
|
125
|
+
- The resolver runs on every `getEventStore` call without a namespace, in the caller's async context and before the client's store cache. It returns a string or an `EventStoreNamespaceName`, or a promise of either.
|
|
126
|
+
- **A missing tenant is an error here, not `Default`.** A thrown error, a rejected promise or an empty or whitespace-only result rejects `getEventStore`. An empty result rejects with `TypeError: namespaceResolver must return a non-empty namespace name.`. Throw when the tenant is missing, as above, unless the shared `Default` namespace is really meant.
|
|
127
|
+
- Keep the tenant in `AsyncLocalStorage`, never in a module-level variable. Concurrent calls resolve different namespaces.
|
|
128
|
+
|
|
129
|
+
Arc host:
|
|
130
|
+
|
|
131
|
+
- **Arc picks the namespace.** It passes the request's tenant on every Chronicle read and append, as `getEventStore(eventStore, tenantId ?? 'Default')`. A client's `namespaceResolver` is never called under Arc.
|
|
132
|
+
- **Without tenancy configured, any caller picks the namespace.** Arc still reads `x-cratis-tenant-id` from every request and uses the raw value as the namespace. To keep a single-tenant host in `Default`, pass `tenancy: { resolve: () => undefined }` to `createBuilder`.
|
|
133
|
+
- **Configured tenancy.** Set `Cratis:Arc:tenancy` or pass `tenancy` to `createBuilder` (details in `cratis-arc-isolate-tenant`). The table shows missing-signal behavior when tenancy is not required:
|
|
134
|
+
|
|
135
|
+
| `resolverType` | Namespace from | Signal missing |
|
|
136
|
+
| --- | --- | --- |
|
|
137
|
+
| `header` (default) | The `httpHeader` header, `x-cratis-tenant-id` unless renamed | `Default` |
|
|
138
|
+
| `query` | The `queryParameter` query parameter, `tenantId` unless renamed | `Default` |
|
|
139
|
+
| `claim` | The `claimType` claim of an authenticated principal, `tenant_id` unless renamed | `Default` |
|
|
140
|
+
| `subdomain` | The request host without `.{baseDomain}`, when exactly one label remains. `baseDomain` is required. | Falls back to the header, then `Default` |
|
|
141
|
+
| `fixed` or `development` | `fixedTenantId`, `development` unless set | Never missing |
|
|
142
|
+
|
|
143
|
+
- **Several sources:** `sources: [...]` (code only, not with `resolverType`) tries the sources in order, and the first non-empty one wins. Use `sources: [TenantResolverType.Subdomain]` to drop the header fallback that `subdomain` adds.
|
|
144
|
+
- **Enforcing a tenant:** for tenant-only traffic, set `required: true` to reject a missing tenant with 400 and enforce membership. `membershipClaim` rejects, with 403, a tenant that the authenticated caller's claim does not list. `resolve: (request, principal) => …` bypasses the built-in sources and checks; a custom resolver must enforce required tenancy and authorization itself. Use subdomains only behind validated host routing; review the header fallback as well.
|
|
145
|
+
- **Tenant format:** Arc lowercases a resolved tenant. It rejects with 400 any value that is not a single DNS-style label (`a-z`, `0-9`, `-`, at most 63 characters), so a comma-separated header list fails the request. Namespaces under Arc tenancy are therefore lowercase, so seed and check fixtures under the lowercase name. `fixedTenantId` must already be such a label, so it cannot be `Default`. Leave the tenant unresolved to get `Default`.
|
|
146
|
+
- **Explicit namespace:** an Arc-owned client offers no explicit-namespace call. Background work that acts for a known tenant registers a caller-owned `client` and calls `client.getEventStore(eventStore, tenant)`.
|
|
147
|
+
|
|
148
|
+
## Refuse to start on a missing binding
|
|
149
|
+
|
|
150
|
+
```typescript
|
|
151
|
+
import { ChronicleConnectionString } from '@cratis/chronicle';
|
|
152
|
+
|
|
153
|
+
const allowed = { host: 'chronicle.prod.internal', port: 35000 };
|
|
154
|
+
|
|
155
|
+
export function requireChronicleBinding(raw: string | undefined): ChronicleConnectionString {
|
|
156
|
+
const value = raw?.trim();
|
|
157
|
+
if (!value) throw new Error('The Chronicle connection string is missing.');
|
|
158
|
+
if (!/^chronicle:\/\//i.test(value)) throw new Error('The Chronicle connection string must be a single chronicle:// address.');
|
|
159
|
+
let parsed: ChronicleConnectionString;
|
|
160
|
+
try {
|
|
161
|
+
parsed = new ChronicleConnectionString(value);
|
|
162
|
+
} catch {
|
|
163
|
+
throw new Error('The Chronicle connection string cannot be parsed.');
|
|
164
|
+
}
|
|
165
|
+
if (parsed.serverAddresses.length !== 1) throw new Error('The Chronicle connection string must name exactly one server.');
|
|
166
|
+
const { host, port } = parsed.serverAddress;
|
|
167
|
+
if (host.toLowerCase() !== allowed.host || port !== allowed.port) throw new Error('The Chronicle connection string names an unexpected server.');
|
|
168
|
+
if (parsed.noAuthentication || (!parsed.apiKey && (!parsed.username || parsed.username === ChronicleConnectionString.DEVELOPMENT_CLIENT)))
|
|
169
|
+
throw new Error('The Chronicle connection string uses development credentials or none.');
|
|
170
|
+
return parsed;
|
|
171
|
+
}
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
- **Where to call it.** A plain host wraps the variable, as in Register the client. An Arc host calls `requireChronicleBinding(builder.configuration.Cratis?.Chronicle?.connectionString)` before `withChronicle`. `builder.configuration` holds the merged file and environment values. If code passes the connection string, check that value instead.
|
|
175
|
+
- **Expected outcome.** Start-up stops with one of the fixed messages, and no connection is attempted, when the value is:
|
|
176
|
+
- missing or blank, or not `chronicle://` (which also covers SRV values)
|
|
177
|
+
- unparsable, or listing several servers
|
|
178
|
+
- pointing at another server
|
|
179
|
+
- carrying development credentials or none
|
|
180
|
+
- **Never put the value or the parser's error in the message.** A parser error can quote the server address, and the value itself carries credentials.
|
|
181
|
+
- **What the parser exposes:** `serverAddress` (the first `{ host, port }`, default port `35000`), `serverAddresses` (every listed address), `isSrv` (a `chronicle+srv://` value resolved through DNS, single host only), `scheme`, `username`, `apiKey` and `noAuthentication`. The host keeps its original case, so compare it case-insensitively.
|
|
182
|
+
- **Several servers are allowed.** Drop the single-server and host checks, keep the scheme (allow `chronicle+srv://` when you use SRV) and credential checks, and rely on the fixture read.
|
|
183
|
+
|
|
184
|
+
## Prove the binding
|
|
185
|
+
|
|
186
|
+
`FixtureSeeded` stands for the event type that this environment's seed appended for `fixture-probe`:
|
|
187
|
+
|
|
188
|
+
```typescript
|
|
189
|
+
import { eventType, type IEventStore } from '@cratis/chronicle';
|
|
190
|
+
|
|
191
|
+
@eventType()
|
|
192
|
+
export class FixtureSeeded {}
|
|
193
|
+
|
|
194
|
+
export async function probeBinding(store: IEventStore) {
|
|
195
|
+
const seeded = await store.eventLog.getForEventSourceIdAndEventTypes('fixture-probe', [FixtureSeeded]);
|
|
196
|
+
return { eventStore: store.name.value, namespace: store.namespace.value, fixtureSeeded: seeded.length > 0 };
|
|
197
|
+
}
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
- **Plain host.** Run this against the client and configured `eventStore` from Register the client. Use independently expected coordinates. Leave the last argument out to exercise the configured resolver; pass it only if the application itself opens this namespace explicitly.
|
|
201
|
+
|
|
202
|
+
```typescript
|
|
203
|
+
import { setTimeout as delay } from 'node:timers/promises';
|
|
204
|
+
|
|
205
|
+
async function requireBinding(expectedStore: string, expectedNamespace: string, explicitNamespace?: string) {
|
|
206
|
+
const timer = new AbortController();
|
|
207
|
+
const timedOut = delay(15_000, undefined, { signal: timer.signal }).then(() => {
|
|
208
|
+
throw new Error('The Chronicle binding check timed out.');
|
|
209
|
+
});
|
|
210
|
+
const verify = async () => {
|
|
211
|
+
if (eventStore !== expectedStore) throw new Error('The Chronicle store setting is unexpected.');
|
|
212
|
+
const stores = await client.getEventStores();
|
|
213
|
+
if (!stores.some(name => name.value === expectedStore)) throw new Error('The expected event store does not exist.');
|
|
214
|
+
const store = await client.getEventStore(eventStore, explicitNamespace);
|
|
215
|
+
if (store.name.value !== expectedStore || store.namespace.value !== expectedNamespace)
|
|
216
|
+
throw new Error('Chronicle resolved an unexpected store or namespace.');
|
|
217
|
+
if (!(await probeBinding(store)).fixtureSeeded) throw new Error('The Chronicle fixture event is missing.');
|
|
218
|
+
};
|
|
219
|
+
try {
|
|
220
|
+
await Promise.race([verify(), timedOut]);
|
|
221
|
+
} catch (error) {
|
|
222
|
+
client.dispose();
|
|
223
|
+
throw error;
|
|
224
|
+
} finally {
|
|
225
|
+
timer.abort();
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
await requireBinding('warehouse', 'Default');
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
The deadline covers discovery, opening the store and the fixture read. Failure disposes this startup client, ending retrying connections; it does not undo server work. If the namespace must already exist, check it from a known-safe handle or operator inspection before probing it.
|
|
233
|
+
- **Custom resolver (plain host).** Run the same check under the authorized tenant context, for example `await runForTenant('contoso', () => requireBinding('warehouse', 'contoso'))`.
|
|
234
|
+
- **Arc host.** Expose the probe as an operator-only query. `ChronicleReadModels.getStore()` returns the store for the caller's resolved tenant. Call the query with a deadline for each intended authenticated tenant, using its real selection signal where required. Compare both returned names and require `fixtureSeeded`; a rejected request or shared fallback is not a tenant pass.
|
|
235
|
+
|
|
236
|
+
```typescript
|
|
237
|
+
import { query, readModel, roles, service } from '@cratis/arc.core';
|
|
238
|
+
import { ChronicleReadModels } from '@cratis/arc.chronicle';
|
|
239
|
+
|
|
240
|
+
@readModel()
|
|
241
|
+
@roles('operator')
|
|
242
|
+
export class BindingCheck {
|
|
243
|
+
@query(service(ChronicleReadModels))
|
|
244
|
+
static async current(models: ChronicleReadModels) {
|
|
245
|
+
return probeBinding(await models.getStore());
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
- **Cheaper presence check.** `store.eventLog.hasEventsFor('fixture-probe')` costs less, but it accepts any event.
|
|
251
|
+
- **Spotting misspelt tenants.** `store.getNamespaces()` lists the namespaces in the store. A namespace that should not exist points to a misspelt tenant.
|
|
252
|
+
- **Report** the three results with the expected names. Never report the connection string.
|
|
253
|
+
|
|
254
|
+
## Diagnostics
|
|
255
|
+
|
|
256
|
+
- **Routing logs.** Pass `logger: { log: entry => … }` in the options to receive the client's entries (`category`, `level`, `message`, `attributes`). Without it, entries go to the OpenTelemetry diagnostic logger.
|
|
257
|
+
- **What the client logs.** Info `Connected to Chronicle kernel` after each connect. Debug `Ensuring event store exists in kernel`, with the store name, the first time each store and namespace pair is obtained. Error `Failed getting event store`, with the store and namespace. A warning when TLS validation is skipped for a host that is not loopback.
|
|
258
|
+
- **Tracing.** The `getEventStore` trace span and the event-store retrieval metric carry the event store and namespace. Use them to see which namespace live traffic resolves to.
|
|
259
|
+
- The client's log entries do not include the connection string.
|
|
260
|
+
|
|
261
|
+
## Log a connection string safely
|
|
262
|
+
|
|
263
|
+
`toString()` returns the whole value, including user, password, `apiKey` and `certificatePassword`. So does `ChronicleOptions.connectionString`. Never log either. Render only the scheme and the addresses:
|
|
264
|
+
|
|
265
|
+
```typescript
|
|
266
|
+
const where = `${parsed.scheme}://${parsed.serverAddresses.map(({ host, port }) => `${host}:${port}`).join(',')}`;
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
## Not supported in this SDK
|
|
270
|
+
|
|
271
|
+
- **Configuration binding in the plain SDK.** Read `Cratis__Chronicle__ConnectionString` and `Cratis__Chronicle__EventStore` yourself, or host the application in Arc.
|
|
272
|
+
- **Named connection fallback.** Have the orchestrator set `Cratis__Chronicle__ConnectionString`, or read its injected variable in code. An inherited `Cratis__Chronicle__ConnectionString`, or a `connectionString` or `client` passed in code, wins over configuration.
|
|
273
|
+
- **Derived event store name.** Always pass the name.
|
|
274
|
+
- **A configuration key for the namespace in the plain SDK.** Use a constant `namespaceResolver` or an explicit namespace. In Arc, `Cratis:Arc:tenancy:resolverType` `fixed` with `fixedTenantId` pins one lowercase tenant.
|
|
275
|
+
- **Header, subdomain and claim resolvers in the plain SDK.** Use a custom `namespaceResolver` over `AsyncLocalStorage`, or Arc tenancy.
|
|
276
|
+
- **Ambiguous header rejection in the plain SDK.** There is no header resolver. Arc with tenancy configured rejects any non-label header value, comma-separated lists included.
|
|
277
|
+
- **Development-fallback warning and header-trust warning.** Use `requireChronicleBinding`, and configure Arc tenancy instead of the raw header.
|
|
278
|
+
- **Event store start-up log at info level.** Log `store.name.value` and `store.namespace.value` yourself after the start-up check.
|
|
279
|
+
- **Built-in health check, readiness wait or per-handle non-provisioning mode.** Use a bounded application probe for readiness; inspect existing names before opening an uncertain handle.
|
|
280
|
+
- **Credential-safe rendering.** Render the scheme and addresses as shown above.
|
|
@@ -1,16 +1,128 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-platform-contribute-change
|
|
3
|
-
description: Use when
|
|
3
|
+
description: Use when changing a shipped Cratis platform, SDK, compiler, renderer, CLI or MCP contract and the work needs owner routing, compatibility checks and consumer proof. Also for moving the pinned versions of Cratis products a platform repository consumes, such as the Stage, Screenplay and Scene set in Studio. Not for building an application feature (use cratis-platform-deliver-slice), preparing a release PR (use cratis-platform-prepare-release-pr) or choosing and monitoring CI gates (use cratis-engineering-ci-gates).
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Change the contract where the platform owns it
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
## Contents
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
- What a platform change is
|
|
11
|
+
- Choose this skill or another
|
|
12
|
+
- Default path
|
|
13
|
+
- Orientation sources
|
|
14
|
+
- Contract surfaces
|
|
15
|
+
- Checks
|
|
16
|
+
- Documentation and capability claims
|
|
17
|
+
- Cross-repository impact
|
|
18
|
+
- Report and hand off
|
|
15
19
|
|
|
16
|
-
|
|
20
|
+
## What a platform change is
|
|
21
|
+
|
|
22
|
+
A Cratis platform repository builds what other code consumes: packages, the Chronicle kernel and its clients, Arc's pipelines and generators, the Screenplay compiler and tools, Stage, the `cratis` CLI, MCP servers and the SDKs that bring Chronicle and Arc to other languages. Everything a consumer can observe is a contract: public types and members, attributes and annotations, options and defaults, wire and persisted shapes, generated output, diagnostic codes, CLI commands and options, MCP tools, the specification vocabulary, the Screenplay language and documented examples. Consumers are applications, the other platform repositories, other-language SDKs that mirror a reference implementation, and clients generated from a contract.
|
|
23
|
+
|
|
24
|
+
Platform source is laid out by what it builds (kernel and clients, one folder per component, one module per package), never by application feature slices. Keep the structure of the area you edit.
|
|
25
|
+
|
|
26
|
+
A change is done when the owner of the contract is changed, every consumer still works or the break is declared, a check crosses the boundary consumers use, and the documentation shows the new behavior.
|
|
27
|
+
|
|
28
|
+
## Choose this skill or another
|
|
29
|
+
|
|
30
|
+
| Situation | Use |
|
|
31
|
+
| --- | --- |
|
|
32
|
+
| Changing what a platform repository ships | this skill |
|
|
33
|
+
| Building a feature in an application that consumes the platform | `cratis-platform-deliver-slice` |
|
|
34
|
+
| An application needs a fix that belongs in a platform repository | open an issue in that repository instead of a silent workaround (`cratis-engineering-issue-hygiene`) |
|
|
35
|
+
| Writing the release-note body, choosing the release label or explaining a pending batch | `cratis-platform-prepare-release-pr` |
|
|
36
|
+
| Picking local checks that match CI, or waiting for the run of a pushed head | `cratis-engineering-ci-gates` |
|
|
37
|
+
| Proving an unreleased platform change in a downstream repository | `cratis-engineering-local-cross-repo-verification` |
|
|
38
|
+
| Recording a significant contract, scope or architectural decision | `cratis-engineering-decision-record` |
|
|
39
|
+
| Writing the documentation page, or a snippet or sample that must compile | `cratis-engineering-docs-authoring`, `cratis-technical-examples` |
|
|
40
|
+
| Changing a convention shared across a profile | the owning shared rule or skill in the Cratis AI corpus (`cratis-ai-corpus-authoring`), never a managed copy inside a product repository |
|
|
41
|
+
|
|
42
|
+
## Default path
|
|
43
|
+
|
|
44
|
+
Names in examples are illustrative. The running example is the promise "a caller can tell a command refused by validation from one refused by authorization".
|
|
45
|
+
|
|
46
|
+
1. **Orient.** Read the repository's project index, every concern it lists, its commands concern and any decision record covering the area (see Orientation sources). Locate the package, endpoint or executable the caller actually uses. From a nearby public member, command or CLI operation, follow inward to the implementation and outward to its documentation page and its caller-facing spec.
|
|
47
|
+
2. **State the promise.** Before editing, write the input, today's result and the expected result. This sentence is what the check proves and what the release note describes.
|
|
48
|
+
3. **Find the consumers and classify the change.** List everyone who reads the surface: callers in the repository, generated clients, other-language SDKs, downstream platform repositories, stored data and running clusters. Classify each affected surface as additive, behavior change or breaking (see Contract surfaces). A source-compatible change can still break a wire reader or a stored document. Record a decision first when the change is significant or hard to reverse.
|
|
49
|
+
4. **Change the owner.** Edit the implementation that owns the contract. Follow the surrounding package's naming, layout, targets and dependency direction; a core package never depends on a product built on it. If the surface is generated, change the generator or its source, regenerate with the repository's command and commit the regenerated files the repository tracks. Keep alternate implementations (in-memory, another store, another adapter) semantically equal to the primary one, and make an unimplemented member fail loudly instead of returning an empty success.
|
|
50
|
+
5. **Prove it at the boundary.** Run the cheapest check that crosses the boundary consumers use (see Checks). For the example, execute the command under the refusing policy and assert the public refusal reason, not a log line and not merely that it failed. Extend an existing spec where one fits; new public API gets at least one spec through its public entry point. For an internal refactor, run the nearby unchanged behavior spec instead of adding a spec per moved member.
|
|
51
|
+
6. **Update documentation and claims.** In the same change, update the caller's guide or reference beside its peers, showing the changed input and the observable result. Follow the product's navigation for a new page. If an old result or syntax stops working, write the migration and declare the break.
|
|
52
|
+
7. **Carry the impact across repositories.** Open an issue in every repository that must adapt and link it from the pull request. When a downstream repository must prove the change before it ships, verify against locally built packages.
|
|
53
|
+
8. **Report and hand off** (see Report and hand off).
|
|
54
|
+
|
|
55
|
+
## Orientation sources
|
|
56
|
+
|
|
57
|
+
- **Project index** (`.cratis/ai/rules/project.md`) - lists the repository's project-owned concerns; read every listed concern before editing, because they override conflicting shared guidance.
|
|
58
|
+
- **Path-scoped concerns** - some concerns apply only to a path (for example only the kernel); obey them whenever you touch that path.
|
|
59
|
+
- **Commands concern** - the repository's build and test entry points; use them rather than guessing a solution-wide command.
|
|
60
|
+
- **Repository context document** - some repositories keep their canonical project context in the `Documentation` folder and point to it from the project index; read it when the index says so.
|
|
61
|
+
- **Contributor guide** (the `contributing` folder under `Documentation`, where present) - preflight, integration tests, client ownership and issue labels.
|
|
62
|
+
- **Decision records** (the `decisions` folder, where present) - consult before changing anything they cover; a new significant decision gets its own record.
|
|
63
|
+
- **Managed corpus files** - files listed in `.cratis/ai.manifest.json` are installed and refreshed by `cratis ai install` and `cratis ai update`; never hand-edit them, change the shared guidance in the corpus instead. Project rules outside the manifest belong to the repository.
|
|
64
|
+
- **No project index** - fall back to the README, the `Documentation` folder and the steps of the CI build workflow.
|
|
65
|
+
- **Work records** - plans, research, status and handovers stay in the git-ignored `.ai-work` folder; durable follow-ups become issues and durable decisions become decision records.
|
|
66
|
+
- **Repository map** - read the [platform repository map](references/repositories.md) to find the contract owner and its entry checks, including the separate product MCP servers, the model-first toolchain and CLI registration.
|
|
67
|
+
|
|
68
|
+
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.
|
|
69
|
+
|
|
70
|
+
Python has no application SDK: call the owning service through its published HTTP API instead.
|
|
71
|
+
|
|
72
|
+
## Contract surfaces
|
|
73
|
+
|
|
74
|
+
Each line says what the surface is, what breaks it and what the platform requires. Unless a line or the repository's release policy says otherwise, a breaking change is released only under `major`, and the pull request says what consumers do instead. The Go SDKs are pre-stable: a break there ships under `minor` with migration notes.
|
|
75
|
+
|
|
76
|
+
- **Public types, members, component properties, attributes and options** - removal, rename, a narrowed input, a changed result or a changed default breaks callers; additions with a safe default do not.
|
|
77
|
+
- **Public-API baseline files** - where a repository keeps a checked-in dump of its public binary interface, regenerate it in the same change; the build rejects drift. A passing baseline check proves shape, not behavior.
|
|
78
|
+
- **Generated output** (proxies, gRPC contracts, proto and descriptor sets, generated client contract packages, checked-in sample output) - consumers use it verbatim, so change the generator or its source, never the output; generation must be deterministic. Keep the header that marks a file as generated: a linter or formatter that rewrites it erases that marker.
|
|
79
|
+
- **Chronicle client wire contract** - for derived services, change the kernel's command or read-model artifact, build kernel Core, then rebuild Contracts to generate proto files and the descriptor set; inspect both diffs. The Observer service is the exception: change its handwritten contract and matching service implementation, then regenerate from Contracts. Do not patch generated output. Keep wire compatibility within the major release line.
|
|
80
|
+
- **Chronicle persisted storage formats and job contracts** - stay compatible in every minor and patch. Stored state that must move to a new shape is migrated by a kernel startup patch, which runs once, in version order, before the kernel's services start.
|
|
81
|
+
- **Chronicle kernel grain contracts** - nodes of two releases call each other during a rolling upgrade, so a grain method is identified by its interface, name and parameter types, not by whether callers still compile. A rolling-compatible change only grows: add a method beside the old one, let the old one forward to it, raise the interface's version, never move or rename a grain interface or grain class, and let grain state and payload types only gain properties and enum members. A change that breaks cross-release calls ships in a minor only as a declared stop-start deploy (an exact release-note sentence, a waiver entry and the regenerated grain contract manifest and payload snapshot).
|
|
82
|
+
- **Arc HTTP contract** - Arc on .NET is the reference implementation and its HTTP contract page is the language-neutral wire contract for every Arc SDK; client-visible behavior must keep working with Arc's own frontend client. Parity means the same observable behavior in idiomatic form, never ported mechanics; documented deliberate safety differences stay as they are.
|
|
83
|
+
- **Diagnostic codes** (analyzers, generators, compilers) - permanent: never reuse or renumber one. Where a repository tracks analyzer releases, list a new id in its unshipped release-tracking file; where the product documents its diagnostics, add the page.
|
|
84
|
+
- **Specification vocabulary** (Specifications) - a change alters what a passing spec means in every Cratis repository; treat it conservatively and keep naming identical across the test-framework flavors.
|
|
85
|
+
- **Screenplay language** - a syntax, diagnostic or semantics change follows the toolchain from compiler and semantic execution through transport, MCP, CLI, editors, documentation and samples; see Model-first tools in the map.
|
|
86
|
+
- **Stage renderer and publisher** - prove semantic admission and deterministic artifact plans separately from destination compatibility and managed writes; use both checks for any change to emitted or removed artifacts.
|
|
87
|
+
- **CLI registration, help, completion and descriptor** - commands, options and machine-readable effects are public contracts; update the declaration and prove `cratis llm-context` as well as the actual invocation.
|
|
88
|
+
- **Shipped MCP tools** - change names, schemas, descriptions, visibility, admission and execution where the serving product owns them; Studio, Direct and Chronicle.Mcp own separate catalogs. Test discovery and direct invocation, including denied calls.
|
|
89
|
+
- **Arc MCP hosting** (C# only) - change operation exposure, endpoint admission or tool policy in Arc when the behavior is shared infrastructure, not in an individual product catalog; see Arc MCP in your language reference.
|
|
90
|
+
- **Documented examples** - a public example is a promise that the shown call works; keep it compiling against the current source.
|
|
91
|
+
|
|
92
|
+
## Checks
|
|
93
|
+
|
|
94
|
+
The default is the repository's own entry point from its commands concern, narrowed to the affected project or module.
|
|
95
|
+
|
|
96
|
+
- **Narrowest covering spec** - default to plain framework specs around the public behavior, not application scenarios. Use a scenario when changing the scenario engine or the runtime behavior the harness exists to exercise. Widen only when the change crosses into another package.
|
|
97
|
+
- **Repository-wide build with analyzers** - when warnings are errors and analyzers apply, build the way CI does; Chronicle's preflight does this for the whole solution but compiles specs without running them.
|
|
98
|
+
- **Solutions that cannot be tested as a whole** - run each spec project the way CI does (Specifications is one).
|
|
99
|
+
- **Several adapters, stores or hosts** - prove each one you touch over its real boundary; a core-only check does not establish adapter compatibility.
|
|
100
|
+
- **Generated or packaged surface** - verify a representative consumer at that boundary (a generated client, a contract test, a sample), not only the implementation project; a whole sample application's UI suite tests a different boundary than the package you changed.
|
|
101
|
+
- **Cross-language parity** - claim parity per area only with a passing executable check behind it; an unverified area is reported as unverified.
|
|
102
|
+
- **Integration on request** - where unit specs cannot prove the change (Chronicle's kernel core and storage), run the relevant integration namespace locally, then request CI integration with the repository's label; Chronicle's hot-core gate stays red until that run passes for the current head commit.
|
|
103
|
+
- **Removed specs** - delete a spec only together with its subject; Chronicle fails a pull request that removes a spec folder while the specified type remains unless it carries the `specs-removal-intended` label.
|
|
104
|
+
- **Generators and analyzers** - apply the authoring cost checks in the Analyzer cost section of `cratis-ci-pipeline-performance`.
|
|
105
|
+
- **Documentation** - run the repository's documentation gate and its snippet validation whenever documentation, snippets or the source they compile against changed.
|
|
106
|
+
- **Gates you did not run** - name every gate you could not run locally (for example Chronicle's wire, gRPC and grain compatibility workflows or Screenplay's corpus impact gate) in the report.
|
|
107
|
+
|
|
108
|
+
## Documentation and capability claims
|
|
109
|
+
|
|
110
|
+
- **Same change** - documentation for a caller-visible change ships in the same pull request, in the owning repository's `Documentation` folder and its navigation.
|
|
111
|
+
- **Shared multi-language pages** - Chronicle and Arc keep the shared explanation in one page and pull each language's code from snippets owned by that SDK's repository and compiled against it; Chronicle's shared pages contain no direct client-language code at all. Tab placement and snippet mechanics are in `cratis-engineering-docs-authoring` and `cratis-technical-examples`.
|
|
112
|
+
- **Absence claims** - never write "this SDK does not support X" in shared prose; keep that SDK's tab with an explicit unsupported snippet. Describing a different shape for the same capability is fine.
|
|
113
|
+
- **Capability and parity references** - change a row only when executable evidence changed, keep the stated boundary of every partial row, and name the evidence in a pull request comment, never in the description.
|
|
114
|
+
- **Unreleased capability** - do not document a package, API or capability as available until it is implemented and verified.
|
|
115
|
+
- **Public framework examples** - use explicitly synthetic names, identities and reserved URLs; Components forbids any material derived from a consuming product.
|
|
116
|
+
|
|
117
|
+
## Cross-repository impact
|
|
118
|
+
|
|
119
|
+
- **Sibling repositories are read-only** - never edit another repository to make your change pass; open an issue there.
|
|
120
|
+
- **Adapting repositories** - each gets an issue created with the change and linked from the pull request; for a Screenplay language change the AI corpus issue comes first and the pull request carries exactly one `ai-corpus:` label backed by that link or a stated reason.
|
|
121
|
+
- **Kernel contract changes** - the other-language clients receive the change through their regenerated contract packages; each SDK that must expose or adapt to it gets an issue in its repository.
|
|
122
|
+
- **Downstream proof** - when a consumer must prove the change before release, use `cratis-engineering-local-cross-repo-verification`.
|
|
123
|
+
- **Consumed version sets** - when a repository pins several Cratis products that must move together, follow its entry under Consuming platform releases in [the repository map](references/repositories.md) and move them as one set.
|
|
124
|
+
- **Reaching consumers** - a labeled merge to `main` is the normal release path. Follow `cratis-platform-prepare-release-pr` for manual dispatch and release-window exceptions; before publication, use the local cross-repository verification path for downstream proof.
|
|
125
|
+
|
|
126
|
+
## Report and hand off
|
|
127
|
+
|
|
128
|
+
Hand `cratis-platform-prepare-release-pr` the promise and caller impact, the compatibility decision for each affected surface, the migration for any break, every check run with its exact command and result, every check not run (including gates that run only in CI) and the issues opened in other repositories. Reviewer material - gates run and what was not verified - goes in a pull request comment, never in the description.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Contribute to Arc MCP hosting
|
|
2
|
+
|
|
3
|
+
## Default path
|
|
4
|
+
|
|
5
|
+
Exercise the Arc MCP spec host with a deliberately exposed operation. `WithMcp` installs stateless HTTP serving in an Arc host configured with `WithCapabilities`, a port assigned to the `capabilities` group and a verified-caller installation. Assigning a port does not bind a listener: bind the capability listener and restrict it to trusted ingress. `UseCratisArc` activates the Arc pipeline; `MapArcMcp` maps tools and protected-resource metadata.
|
|
6
|
+
|
|
7
|
+
For example, expose a shipment-status query with a read scope. Use an accepted credential to prove that it is listed and callable. Repeat without its scope: it must not be listed and a direct call is denied. Also prove that the operation's own authorization still governs an otherwise admitted call. If it is reachable on the default listener or without a verified caller, fix routing or admission before changing the catalog.
|
|
8
|
+
|
|
9
|
+
## Exposure and extension points
|
|
10
|
+
|
|
11
|
+
| Surface | What it does and when to use it |
|
|
12
|
+
| --- | --- |
|
|
13
|
+
| `WithMcp` | Adds the MCP package to Arc's builder; pass a configuration callback only to declare tools, options or extensions in code. |
|
|
14
|
+
| `MapArcMcp` | Maps the MCP and metadata endpoints; `MapCratisArcMcp` is a deprecated spelling of this endpoint mapping. |
|
|
15
|
+
| `ExposeOverMcp(name)` and `Description` | Opt in a command class or query method with a stable explicit snake-case name and required nonblank description. |
|
|
16
|
+
| `Expose<TCommand>(name, description)` | Registers a write tool from host code when the command does not own its MCP declaration. |
|
|
17
|
+
| `ExposeQuery<TReadModel>(method, name, description)` | Registers a read tool from host code; select the query with `nameof`. The fully qualified string overload is deprecated. |
|
|
18
|
+
| `Description` on a command property or query parameter | Supplies the argument description for the generated input schema. |
|
|
19
|
+
| `RequiresScope` | Adds required scopes to the read or write scope; repeat to require all extras. Write scope does not imply read scope. |
|
|
20
|
+
| `RequiresApproval` | Makes a command ineligible for MCP; keep the approved flow on its owning interface. |
|
|
21
|
+
| `Configure` | Sets `McpOptions` on the host. |
|
|
22
|
+
| `AddToolSource<TSource>` | Registers an `IMcpToolSource`: use `Describe` for curated descriptors and `Invoke` to handle calls that are not plain Arc commands or queries. |
|
|
23
|
+
| `AddToolAuthorizer<TAuthorizer>` | Registers a scoped `IMcpToolAuthorizer`; `IsAllowed` narrows access through `McpToolAuthorization.Operation` (`List` or `Call`) and never grants missing scopes. |
|
|
24
|
+
| `McpToolCatalog.Tools`, `IsEmpty`, `TryGet` | Inspect the validated catalog, not per-caller visibility; runtime listing still evaluates access. |
|
|
25
|
+
|
|
26
|
+
## Options
|
|
27
|
+
|
|
28
|
+
| `McpOptions` member | What it does and when to set it |
|
|
29
|
+
| --- | --- |
|
|
30
|
+
| `Path` | Overrides the MCP path; must start with `/`. |
|
|
31
|
+
| `Profile` | Limits accepted credentials: use `PatOnly` for PATs, `OAuthOnly` for OAuth grants or `Combined` when both are verified. A browser-session credential is not accepted. |
|
|
32
|
+
| `ApplicationName` | Supplies the scope prefix and PAT challenge realm when configuring an application. |
|
|
33
|
+
| `ReadScope` | Overrides the derived application read scope required by query tools. |
|
|
34
|
+
| `WriteScope` | Overrides the derived application write scope required by command tools. |
|
|
35
|
+
| `WriteScopes` | Adds valid write scopes for curated tools; no blanks, duplicates or read-scope entries. |
|
|
36
|
+
| `ScopesSupported` | Sets advertised scopes for metadata when the normal read and write scope list is insufficient. It does not grant scopes. |
|
|
37
|
+
| `PublicOrigin` | Configures the trusted public origin, never inferred from the request host; required with OAuth. |
|
|
38
|
+
| `Resource` | Sets the canonical resource URI for OAuth; it must equal the public origin plus the configured path. |
|
|
39
|
+
| `AuthorizationServers` | Sets the trusted issuer URLs advertised by OAuth metadata; OAuth requires at least one. |
|
|
40
|
+
| `AllowedOrigins` | Adds explicitly trusted browser origins beyond the public origin. Requests without `Origin` are allowed through this check. |
|
|
41
|
+
| `MaxRequestBodySize` | Changes the positive byte limit enforced before reading the request as an MCP call. |
|
|
42
|
+
| `ExclusiveTools` | Keep the catalog-only default. Disabling it also serves directly registered MCP server tools, which need their own authorization; overlapping names fail startup. |
|
|
43
|
+
|
|
44
|
+
Use `ArcOptions.EndpointGroups.Assign` to select the capabilities port. Keep the normal port-wide capability gate unless a host intentionally needs `CapabilitiesOptions.GatedEndpoints` to select particular routes; MCP is gated in either case, and protected-resource metadata is exempt. Configure `WithPersonalAccessTokens` or `WithVerifiedCallers` for the credential kinds served. Token issuance belongs to the host's authority, not the MCP endpoint. For PAT installation:
|
|
45
|
+
|
|
46
|
+
- `PatOptions.ResourceKey` selects the product resource (`direct`, `studio` or `stage-<app>`).
|
|
47
|
+
- `AllowedScopes` selects the exact token scopes; include the scopes needed by the MCP tools. Wildcards and administrative or approval scopes are unsupported.
|
|
48
|
+
- `MaximumLifetime` lets the host lower the issuance and verification ceiling below ninety days.
|
|
49
|
+
- `ReservedLegacyPrefixes` refuses additional retired ASCII credential namespaces; include the trailing underscore.
|
|
50
|
+
|
|
51
|
+
## Admission and results
|
|
52
|
+
|
|
53
|
+
- A request on the normal listener is not served. On the capability listener, an untrusted origin is denied, an absent or unaccepted credential gets a 401 challenge, an admitted non-POST request gets 405, an oversized body gets 413 and invalid JSON, duplicate members or a batch request get 400. The metadata GET advertises OAuth configuration for OAuth profiles and returns 404 under PAT-only hosting.
|
|
54
|
+
- Every request needs its own verified credential and current policy. `Mcp-Session-Id` cannot restore authority; the stateless transport neither issues nor accepts one. A tool uses the admitted caller, not a bearer token to forward downstream.
|
|
55
|
+
- `tools/list` filters the catalog by each tool's scopes, list authorizers and operation availability. `tools/call` checks scopes (403 `insufficient_scope`) and authorizers (403 `forbidden`) before dispatch. Denying visibility does not authorize or deny execution by itself. Every authorizer must allow the checked operation; an exception fails closed. The dispatcher checks again, then the normal Arc operation still applies its own authorization and validation.
|
|
56
|
+
- Command/query tools return matching JSON as text and structured content, with `outcome` and command `response` or query `data` and `paging`. A failed operation sets the tool error flag; this differs from HTTP admission refusal. Query arguments are scalar or collection arrays; paging needs `page_size`, with optional `page`. Streaming query results are not available here; use the query's streaming interface instead.
|
|
57
|
+
- `McpRefusals.Unauthorized`, `Forbidden` and `InsufficientScope` let host middleware write the same refusals, not verify credentials. Use `stepUp` only for verified OAuth callers supporting it. Do not leak tool exceptions, credentials or tenant data in diagnostics.
|
|
58
|
+
|
|
59
|
+
## Curated tools and server-owned content
|
|
60
|
+
|
|
61
|
+
- `McpToolDescriptor.Custom` declares name, description, required scopes, `Read` or `Write` access and optional input schema and annotations. Use `Title` for display and `OutputSchema` for an object result schema; declared output schemas require structured content on success. Keep `ReadOnly`, `Destructive`, `Idempotent` and `OpenWorld` annotations truthful, not as authorization controls.
|
|
62
|
+
- `AlternativeScopes` accepts any complete alternative set or the complete primary `RequiredScopes` set. Every set is nonempty; every declared set for a write tool must contain a configured write scope. Test both allowed and denied scope sets against list and call.
|
|
63
|
+
- `McpToolInvocation` provides the tool, verified `Caller`, arguments, request services and cancellation token. Use optional `Request` only for protocol features such as progress; never derive authority from it. Stateless serving does not support server-to-client requests such as sampling or elicitation.
|
|
64
|
+
- `McpToolResult.Success` and `Error` return text. With `StructuredContent`, make text a serialized copy of the object. Arc checks that the content is an object but does not validate it against the declared schema; test schema conformance yourself. `ResourceLinks` adds links after the text: a `McpResourceLink` needs an absolute `Uri` and `Name`, with optional `Title`, `Description` and `MimeType`.
|
|
65
|
+
- Prefer catalog tools. When hosting directly registered server tools outside it, implement tool-level authorization yourself; endpoint admission alone does not enforce catalog scope and authorizer rules on those tools. Prompts and resources are not catalog-filtered either, so enforce their access separately or leave them unregistered.
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# Register and describe a cratis CLI command
|
|
2
|
+
|
|
3
|
+
Change the command class and its settings, not generated registration or completion scripts. A generated command, its shell completions and the machine-readable descriptor have distinct audiences; verify each affected audience independently.
|
|
4
|
+
|
|
5
|
+
## Registration and completion
|
|
6
|
+
|
|
7
|
+
| Declaration | What it does and when to use it |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| `CliBranch(name, description)` | Gives a branch its command path segment and help text; nested branch types define nested groups. |
|
|
10
|
+
| `CliCommand(name, description)` | Gives a command its callable name and short help text; apply again only for separate registrations on the same class. |
|
|
11
|
+
| `Branch` | Selects the branch type for a grouped command; omit for a root command. |
|
|
12
|
+
| `IsBranchDefault` | Runs on the branch path, without a named leaf; set the registration name to the branch name so the descriptor describes that same path. |
|
|
13
|
+
| `IsDefault` | Keeps the named leaf callable and also runs it when the branch is invoked without a leaf. |
|
|
14
|
+
| `IsHidden` | Hides a registration from help, without removing the command or opting it out of the descriptor. |
|
|
15
|
+
| `ExcludeFromLlm` | Omits the registration from `llm-context`, separately from help visibility. |
|
|
16
|
+
| `DynamicCompletion` | Supplies the `_complete` context key for live candidates for the first positional argument. |
|
|
17
|
+
| `DynamicOptionCompletion(context)` | Supplies the `_complete` context key for the value of the settings property marked with `CommandOption`. |
|
|
18
|
+
| `CliExample(args)` | Adds a usage example to help; repeat for multiple examples. |
|
|
19
|
+
| `CliExample.CommandName` | Limits an example to the named registration when a class has more than one. |
|
|
20
|
+
|
|
21
|
+
## Command body
|
|
22
|
+
|
|
23
|
+
For a local CLI command, derive the settings from `GlobalSettings` to inherit the global options. This read-only example uses a root registration; add `Branch = typeof(...)` for a grouped command.
|
|
24
|
+
|
|
25
|
+
```csharp
|
|
26
|
+
using System.ComponentModel;
|
|
27
|
+
using System.Threading;
|
|
28
|
+
using System.Threading.Tasks;
|
|
29
|
+
using Cratis.Cli.Registration;
|
|
30
|
+
using Spectre.Console.Cli;
|
|
31
|
+
|
|
32
|
+
namespace Cratis.Cli.Commands;
|
|
33
|
+
|
|
34
|
+
public class EchoSettings : GlobalSettings
|
|
35
|
+
{
|
|
36
|
+
[CommandArgument(0, "<TEXT>")]
|
|
37
|
+
[Description("Text to display")]
|
|
38
|
+
public string Text { get; set; } = string.Empty;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[CommandEffect(CommandEffect.ReadOnly)]
|
|
42
|
+
[CliCommand("echo", "Display a message")]
|
|
43
|
+
[CliExample("echo", "hello")]
|
|
44
|
+
[LlmDescription("Displays the supplied message without changing state.")]
|
|
45
|
+
[LlmOption("<TEXT>", "string", "Message to display (positional)")]
|
|
46
|
+
public class EchoCommand : AsyncCommand<EchoSettings>
|
|
47
|
+
{
|
|
48
|
+
public override Task<int> ExecuteAsync(CommandContext context, EchoSettings settings, CancellationToken cancellationToken)
|
|
49
|
+
{
|
|
50
|
+
var format = settings.ResolveOutputFormat();
|
|
51
|
+
OutputFormatter.WriteMessage(format, settings.Text);
|
|
52
|
+
return Task.FromResult(ExitCodes.Success);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
For a local configuration change, declare `CommandEffect.Local` and return `CliConfiguration.Update((config, save) => { ... }, cancellationToken)` from `ExecuteAsync`. Validate against `config` inside the callback. On failure, use `OutputFormatter.WriteError(format, message, errorCode: ExitCodes.ValidationErrorCode)` and return `ExitCodes.ValidationError` without saving (`NotFoundCode` and `NotFound` for a missing resource). On success, mutate `config`, call `save()`, report success and return `ExitCodes.Success`. Put command specs in `Cli.Specs` under `for_<CommandClass>`.
|
|
58
|
+
|
|
59
|
+
**Common mistakes**
|
|
60
|
+
|
|
61
|
+
- `LlmOption` describes an argument but does not parse it; declare `CommandArgument` or `CommandOption` on the settings property.
|
|
62
|
+
- Direct console output bypasses format and quiet handling. Use the resolved format for failures as well as success.
|
|
63
|
+
- A machine-readable error code is a string, not the integer exit status. Return the matching status explicitly.
|
|
64
|
+
|
|
65
|
+
## Effects and confirmation
|
|
66
|
+
|
|
67
|
+
- `CommandEffect(effect)` is required on every command class. Missing effects fail the build. Declare the strongest possible effect, even if only some invocations produce it.
|
|
68
|
+
- `ReadOnly` reads without changing state; a read-only command that prompts for confirmation fails the build.
|
|
69
|
+
- `Local` changes local state rather than server state.
|
|
70
|
+
- `Mutating` changes server or store state without removing or resetting existing state.
|
|
71
|
+
- `Destructive` removes or resets server or store state; this includes rebuilding an observer's existing state by replay.
|
|
72
|
+
- When a command requires confirmation, use the command's confirmation hook or helper rather than a descriptor override. Verify refusal without `--yes` in a non-interactive call and that confirmation precedes the effect. The generator derives `requiresConfirmation` from the convention; effect alone does not determine it.
|
|
73
|
+
|
|
74
|
+
## Descriptor controls
|
|
75
|
+
|
|
76
|
+
| Declaration or output | What it does and when to use it |
|
|
77
|
+
| --- | --- |
|
|
78
|
+
| `LlmDescription(description)` | Replaces the short help description only in `llm-context`; use for a richer purpose, result and selection condition. |
|
|
79
|
+
| `LlmOption(name, type, description)` | Describes a named option or flag for agents; use an angle-bracket name for a positional argument and keep argument order. This does not register a parser option. |
|
|
80
|
+
| `LlmOption.CommandName` | Limits an option descriptor to one registration on a multi-command class. |
|
|
81
|
+
| `LlmOutputAdvice(recommendedFormat, reason)` | Records per-command format guidance when the consumer should choose a particular output; it does not change actual output. |
|
|
82
|
+
| `LlmOutputAdvice.CommandName` | Limits format advice to one registration on a multi-command class. |
|
|
83
|
+
| `cratis llm-context` | Emits JSON describing the tool, its identity and description, global options, command hierarchy, connection settings and precedence, tips and output-format guidance; the hierarchy includes inherited options, effects, confirmation, positional arguments and named options. |
|
|
84
|
+
| `cratis llm-context --schema` | Emits the descriptor's JSON Schema instead; use to verify the document shape. |
|
|
85
|
+
|
|
86
|
+
For a read-only branch command that lists shipments, choose `IsDefault` if both the named leaf and bare branch are valid. Verify both dispatch paths, that help shows the named leaf and that the descriptor still advertises its read-only effect without confirmation. A descriptor match alone cannot prove either dispatch.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Contribute to the .NET platform
|
|
2
|
+
|
|
3
|
+
## Consumer proof
|
|
4
|
+
|
|
5
|
+
Start with the smallest spec project that references the package or host where the public behavior lives. Use plain framework specs; follow `cratis-specifications-isolate-behavior` for setup and assertions. Use a scenario when the engine or the hosted runtime behavior the scenario exercises is itself the contract under test.
|
|
6
|
+
|
|
7
|
+
For example, if Arc wrongly classifies a rejected Chronicle append, add a focused case in Arc's `Chronicle.Specs`. Assert that `ValidationResultReason.ConcurrencyViolation` distinguishes a retryable conflict from an ordinary validation failure, rather than matching prose. If the command-scenario engine is the contract that changed, exercise the scenario there instead. Neither a result conversion spec nor an in-memory scenario proves a live integration by itself.
|
|
8
|
+
|
|
9
|
+
When changing event-producing handlers, prove validation refusal without an append and success with the expected event. Return `Result<TEvent, ValidationResult>` for a handler-level refusal, or reject earlier in validation or `Provide()`. The non-event command contract and optional `ICommandOperation` are separate.
|
|
10
|
+
|
|
11
|
+
## Documentation gates
|
|
12
|
+
|
|
13
|
+
For Chronicle or Arc shared pages, validate the client snippets with `validate-client-snippets.py` in the owning Documentation folder using Python. Run the product's `verify-markdown.sh` for documentation changes; see the repository map for other .NET products.
|
|
14
|
+
|
|
15
|
+
## CLI registration
|
|
16
|
+
|
|
17
|
+
Read [CLI registration](csharp-cli-registration.md) when adding or changing a `cratis` command: its settings, body, output, exit codes, saved configuration, help, completion or `llm-context`.
|
|
18
|
+
|
|
19
|
+
## Arc MCP
|
|
20
|
+
|
|
21
|
+
Read [Arc MCP hosting and admission](csharp-arc-mcp.md) when changing exposure, transport, admission, discovery or invocation in Arc. For wiring an application's operation rather than changing the framework, use `cratis-arc-expose-mcp-operation`.
|