@cratis/pi 8.2.1 → 8.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/corpus/harnesses/copilot/instructions/ai-distribution.instructions.md +7 -9
- package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +25 -55
- package/package/corpus/harnesses/copilot/instructions/browser.instructions.md +10 -7
- package/package/corpus/harnesses/copilot/instructions/code-health.instructions.md +8 -1
- package/package/corpus/harnesses/copilot/instructions/code-quality.csharp.instructions.md +3 -2
- package/package/corpus/harnesses/copilot/instructions/code-quality.instructions.md +5 -5
- package/package/corpus/harnesses/copilot/instructions/code-quality.typescript.instructions.md +4 -3
- package/package/corpus/harnesses/copilot/instructions/codescene.instructions.md +5 -4
- package/package/corpus/harnesses/copilot/instructions/components.instructions.md +6 -8
- package/package/corpus/harnesses/copilot/instructions/concepts.instructions.md +15 -2
- package/package/corpus/harnesses/copilot/instructions/cratis-folder-is-configuration.instructions.md +3 -5
- package/package/corpus/harnesses/copilot/instructions/criticality-tiers.instructions.md +7 -35
- package/package/corpus/harnesses/copilot/instructions/csharp.instructions.md +13 -6
- package/package/corpus/harnesses/copilot/instructions/dialogs.instructions.md +8 -3
- package/package/corpus/harnesses/copilot/instructions/discoverability.instructions.md +8 -2
- package/package/corpus/harnesses/copilot/instructions/documentation-structure-and-formatting.instructions.md +12 -6
- package/package/corpus/harnesses/copilot/instructions/documentation.instructions.md +12 -7
- package/package/corpus/harnesses/copilot/instructions/editing-cratis-docs.instructions.md +8 -6
- package/package/corpus/harnesses/copilot/instructions/efcore.instructions.md +13 -9
- package/package/corpus/harnesses/copilot/instructions/efcore.specs.instructions.md +9 -5
- package/package/corpus/harnesses/copilot/instructions/elixir.instructions.md +12 -8
- package/package/corpus/harnesses/copilot/instructions/exit-codes-and-wrappers.instructions.md +7 -4
- package/package/corpus/harnesses/copilot/instructions/framework-dotnet.instructions.md +12 -6
- package/package/corpus/harnesses/copilot/instructions/framework.instructions.md +11 -7
- package/package/corpus/harnesses/copilot/instructions/frontend-quality.instructions.md +7 -7
- package/package/corpus/harnesses/copilot/instructions/frontend-testing.instructions.md +5 -3
- package/package/corpus/harnesses/copilot/instructions/general.instructions.md +2 -2
- package/package/corpus/harnesses/copilot/instructions/github-actions.instructions.md +11 -6
- package/package/corpus/harnesses/copilot/instructions/glossary.instructions.md +13 -13
- package/package/corpus/harnesses/copilot/instructions/go-engineering.instructions.md +13 -39
- package/package/corpus/harnesses/copilot/instructions/go.instructions.md +18 -139
- package/package/corpus/harnesses/copilot/instructions/guards-and-fuses.instructions.md +14 -60
- package/package/corpus/harnesses/copilot/instructions/issue-assignment.instructions.md +6 -9
- package/package/corpus/harnesses/copilot/instructions/java.instructions.md +8 -6
- package/package/corpus/harnesses/copilot/instructions/kotlin.instructions.md +12 -7
- package/package/corpus/harnesses/copilot/instructions/local-verification-and-delivery.instructions.md +8 -5
- package/package/corpus/harnesses/copilot/instructions/local-work-artifacts.instructions.md +11 -64
- package/package/corpus/harnesses/copilot/instructions/new-repository-intake.instructions.md +7 -28
- package/package/corpus/harnesses/copilot/instructions/operational-safety.instructions.md +26 -41
- package/package/corpus/harnesses/copilot/instructions/orleans.instructions.md +22 -5
- package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +8 -11
- package/package/corpus/harnesses/copilot/instructions/published-contracts.instructions.md +6 -25
- package/package/corpus/harnesses/copilot/instructions/react.instructions.md +9 -2
- package/package/corpus/harnesses/copilot/instructions/reactors.instructions.md +17 -5
- package/package/corpus/harnesses/copilot/instructions/review-reports.instructions.md +12 -94
- package/package/corpus/harnesses/copilot/instructions/scripting.instructions.md +5 -5
- package/package/corpus/harnesses/copilot/instructions/specs.csharp.instructions.md +11 -8
- package/package/corpus/harnesses/copilot/instructions/specs.elixir.instructions.md +9 -4
- package/package/corpus/harnesses/copilot/instructions/specs.instructions.md +7 -4
- package/package/corpus/harnesses/copilot/instructions/specs.scenarios.csharp.instructions.md +11 -2
- package/package/corpus/harnesses/copilot/instructions/specs.typescript.instructions.md +8 -11
- package/package/corpus/harnesses/copilot/instructions/storybook.instructions.md +4 -7
- package/package/corpus/harnesses/copilot/instructions/typescript.instructions.md +8 -8
- package/package/corpus/harnesses/copilot/instructions/verification-discipline.instructions.md +6 -9
- package/package/corpus/harnesses/copilot/instructions/vertical-slices.instructions.md +29 -5
- package/package/corpus/harnesses/copilot/instructions/writing-correct-examples.instructions.md +12 -3
- package/package/corpus/harnesses/copilot/instructions/writing-cratis-docs.instructions.md +11 -3
- package/package/corpus/hooks/README.md +2 -0
- package/package/corpus/hooks/scripts/cratis-cleanup-worktrees.sh +36 -24
- package/package/corpus/hooks/scripts/cratis-guard-secrets.sh +66 -22
- package/package/corpus/hooks/scripts/cratis-guard-writes.sh +2 -1
- package/package/corpus/hooks/scripts/cratis-store-mutations.json +1 -1
- package/package/corpus/rules/ai-distribution.md +7 -9
- package/package/corpus/rules/authoring-skills.md +25 -55
- package/package/corpus/rules/browser.md +10 -7
- package/package/corpus/rules/code-health-policy.txt +3 -3
- package/package/corpus/rules/code-health.md +8 -1
- package/package/corpus/rules/code-quality.csharp.md +3 -2
- package/package/corpus/rules/code-quality.md +5 -5
- package/package/corpus/rules/code-quality.typescript.md +4 -3
- package/package/corpus/rules/codescene-reference.txt +34 -0
- package/package/corpus/rules/codescene.md +5 -4
- package/package/corpus/rules/components.md +6 -8
- package/package/corpus/rules/concepts.md +15 -2
- package/package/corpus/rules/cratis-folder-is-configuration.md +3 -5
- package/package/corpus/rules/criticality-tiers.md +7 -35
- package/package/corpus/rules/csharp.md +13 -6
- package/package/corpus/rules/dialogs.md +8 -3
- package/package/corpus/rules/discoverability.md +8 -2
- package/package/corpus/rules/documentation-structure-and-formatting.md +12 -6
- package/package/corpus/rules/documentation.md +12 -7
- package/package/corpus/rules/editing-cratis-docs.md +8 -6
- package/package/corpus/rules/efcore.md +13 -9
- package/package/corpus/rules/efcore.specs.md +9 -5
- package/package/corpus/rules/elixir.md +12 -8
- package/package/corpus/rules/exit-codes-and-wrappers.md +7 -4
- package/package/corpus/rules/framework-dotnet.md +12 -6
- package/package/corpus/rules/framework.md +11 -7
- package/package/corpus/rules/frontend-quality.md +7 -7
- package/package/corpus/rules/frontend-testing.md +5 -3
- package/package/corpus/rules/general.md +8 -10
- package/package/corpus/rules/github-actions.md +11 -6
- package/package/corpus/rules/glossary.md +13 -13
- package/package/corpus/rules/go-engineering.md +13 -39
- package/package/corpus/rules/go.md +18 -139
- package/package/corpus/rules/guards-and-fuses.md +14 -60
- package/package/corpus/rules/issue-assignment.md +6 -9
- package/package/corpus/rules/java.md +8 -6
- package/package/corpus/rules/kotlin.md +12 -7
- package/package/corpus/rules/local-verification-and-delivery.md +8 -5
- package/package/corpus/rules/local-work-artifacts.md +11 -64
- package/package/corpus/rules/new-repository-intake.md +7 -28
- package/package/corpus/rules/operational-safety.md +26 -41
- package/package/corpus/rules/orleans.md +22 -5
- package/package/corpus/rules/profiles.md +8 -11
- package/package/corpus/rules/published-contracts.md +6 -25
- package/package/corpus/rules/react.md +9 -2
- package/package/corpus/rules/reactors.md +17 -5
- package/package/corpus/rules/review-reports.md +12 -94
- package/package/corpus/rules/scripting.md +5 -5
- package/package/corpus/rules/specs.csharp.md +11 -8
- package/package/corpus/rules/specs.elixir.md +9 -4
- package/package/corpus/rules/specs.md +7 -4
- package/package/corpus/rules/specs.scenarios.csharp.md +11 -2
- package/package/corpus/rules/specs.typescript.md +8 -11
- package/package/corpus/rules/storybook.md +4 -7
- package/package/corpus/rules/typescript.md +8 -8
- package/package/corpus/rules/verification-discipline.md +6 -9
- package/package/corpus/rules/vertical-slices.md +29 -5
- package/package/corpus/rules/writing-correct-examples.md +12 -3
- package/package/corpus/rules/writing-cratis-docs.md +11 -3
- package/package/corpus/skills/cratis-ai-corpus-authoring/LICENSE +21 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/SKILL.md +140 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/references/checklist.md +46 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/references/evaluation.md +19 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/references/large-rewrites.md +25 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/references/skill-anatomy.md +75 -0
- package/package/corpus/skills/cratis-application-growth/SKILL.md +148 -63
- package/package/corpus/skills/cratis-application-growth/references/csharp.md +170 -0
- package/package/corpus/skills/cratis-application-growth/references/elixir.md +26 -0
- package/package/corpus/skills/cratis-application-growth/references/go.md +27 -0
- package/package/corpus/skills/cratis-application-growth/references/java.md +23 -0
- package/package/corpus/skills/cratis-application-growth/references/kotlin.md +31 -0
- package/package/corpus/skills/cratis-application-growth/references/move-and-untangle.md +7 -6
- package/package/corpus/skills/cratis-application-growth/references/rename-window.md +14 -14
- package/package/corpus/skills/cratis-application-growth/references/service-and-delivery.md +21 -0
- package/package/corpus/skills/cratis-application-growth/references/stages.md +1 -9
- package/package/corpus/skills/cratis-application-growth/references/typescript.md +38 -0
- package/package/corpus/skills/cratis-arc-authorize-request/SKILL.md +31 -23
- package/package/corpus/skills/cratis-arc-authorize-request/references/authproxy.md +92 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/csharp-query-security.md +61 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/csharp.md +92 -38
- package/package/corpus/skills/cratis-arc-authorize-request/references/elixir.md +74 -4
- package/package/corpus/skills/cratis-arc-authorize-request/references/go-authentication.md +93 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/go.md +80 -2
- package/package/corpus/skills/cratis-arc-authorize-request/references/java.md +79 -3
- package/package/corpus/skills/cratis-arc-authorize-request/references/kotlin.md +80 -17
- package/package/corpus/skills/cratis-arc-authorize-request/references/python.md +1 -1
- package/package/corpus/skills/cratis-arc-authorize-request/references/typescript.md +106 -6
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/SKILL.md +85 -42
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/typescript-rule-fixes.md +89 -0
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/typescript.md +99 -0
- package/package/corpus/skills/cratis-arc-connect-storage/SKILL.md +54 -14
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp-connection-resolution.md +66 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp-ef.md +78 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp-neo4j.md +30 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp.md +59 -66
- package/package/corpus/skills/cratis-arc-connect-storage/references/elixir.md +121 -3
- package/package/corpus/skills/cratis-arc-connect-storage/references/go.md +73 -3
- package/package/corpus/skills/cratis-arc-connect-storage/references/java.md +68 -3
- package/package/corpus/skills/cratis-arc-connect-storage/references/kotlin.md +74 -3
- package/package/corpus/skills/cratis-arc-connect-storage/references/python.md +2 -2
- package/package/corpus/skills/cratis-arc-connect-storage/references/typescript-drizzle.md +31 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/typescript.md +62 -4
- package/package/corpus/skills/cratis-arc-declare-command/SKILL.md +52 -28
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp-chronicle.md +190 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp-controller.md +44 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp-history.md +125 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp.md +281 -55
- package/package/corpus/skills/cratis-arc-declare-command/references/elixir.md +121 -8
- package/package/corpus/skills/cratis-arc-declare-command/references/go-aggregate.md +59 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/go-chronicle.md +51 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/go-wire.md +94 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/go.md +160 -25
- package/package/corpus/skills/cratis-arc-declare-command/references/java.md +140 -13
- package/package/corpus/skills/cratis-arc-declare-command/references/kotlin.md +189 -23
- package/package/corpus/skills/cratis-arc-declare-command/references/typescript-aggregates.md +73 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/typescript.md +209 -24
- package/package/corpus/skills/cratis-arc-declare-operation/SKILL.md +28 -25
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp-abilities.md +30 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp-recovery.md +50 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp.md +27 -55
- package/package/corpus/skills/cratis-arc-declare-operation/references/elixir.md +17 -1
- package/package/corpus/skills/cratis-arc-declare-operation/references/go.md +75 -5
- package/package/corpus/skills/cratis-arc-declare-operation/references/java.md +13 -2
- package/package/corpus/skills/cratis-arc-declare-operation/references/kotlin.md +11 -2
- package/package/corpus/skills/cratis-arc-declare-operation/references/python.md +2 -2
- package/package/corpus/skills/cratis-arc-declare-operation/references/typescript.md +84 -8
- package/package/corpus/skills/cratis-arc-diagnose-live-query/SKILL.md +42 -36
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/csharp.md +44 -51
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/elixir.md +50 -3
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/go.md +85 -2
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/java.md +70 -2
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/kotlin.md +60 -2
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/typescript.md +94 -5
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/SKILL.md +59 -81
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/csharp-diagnose-tool-call.md +44 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/csharp.md +309 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/go.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/java.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-query/SKILL.md +65 -15
- package/package/corpus/skills/cratis-arc-expose-query/references/csharp.md +379 -31
- package/package/corpus/skills/cratis-arc-expose-query/references/elixir.md +84 -4
- package/package/corpus/skills/cratis-arc-expose-query/references/go-live.md +55 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/go.md +204 -18
- package/package/corpus/skills/cratis-arc-expose-query/references/java.md +236 -7
- package/package/corpus/skills/cratis-arc-expose-query/references/kotlin.md +242 -3
- package/package/corpus/skills/cratis-arc-expose-query/references/typescript.md +360 -19
- package/package/corpus/skills/cratis-arc-generate-proxies/SKILL.md +84 -10
- package/package/corpus/skills/cratis-arc-generate-proxies/references/csharp.md +70 -29
- package/package/corpus/skills/cratis-arc-generate-proxies/references/elixir.md +54 -5
- package/package/corpus/skills/cratis-arc-generate-proxies/references/go-directives.md +74 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/go.md +50 -4
- package/package/corpus/skills/cratis-arc-generate-proxies/references/java-diagnostics.md +67 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/java-wire-types.md +115 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/java.md +86 -2
- package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin-diagnostics.md +67 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin-wire-types.md +108 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin.md +77 -4
- package/package/corpus/skills/cratis-arc-generate-proxies/references/typescript.md +64 -16
- package/package/corpus/skills/cratis-arc-generate-proxies/scripts/check-proxy.mjs +3 -3
- package/package/corpus/skills/cratis-arc-host-application/SKILL.md +67 -12
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-availability.md +130 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-callers.md +89 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-configuration.md +116 -27
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-http.md +86 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-identity.md +208 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp.md +154 -35
- package/package/corpus/skills/cratis-arc-host-application/references/elixir-access.md +64 -0
- package/package/corpus/skills/cratis-arc-host-application/references/elixir.md +53 -23
- package/package/corpus/skills/cratis-arc-host-application/references/go-embed.md +121 -0
- package/package/corpus/skills/cratis-arc-host-application/references/go-execution.md +86 -0
- package/package/corpus/skills/cratis-arc-host-application/references/go-options.md +41 -0
- package/package/corpus/skills/cratis-arc-host-application/references/go.md +43 -5
- package/package/corpus/skills/cratis-arc-host-application/references/java.md +203 -4
- package/package/corpus/skills/cratis-arc-host-application/references/kotlin.md +234 -4
- package/package/corpus/skills/cratis-arc-host-application/references/typescript-services.md +85 -0
- package/package/corpus/skills/cratis-arc-host-application/references/typescript.md +194 -13
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +79 -119
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/references/java.md +285 -0
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/references/kotlin.md +265 -0
- package/package/corpus/skills/cratis-arc-invoke-command/SKILL.md +52 -24
- package/package/corpus/skills/cratis-arc-invoke-command/references/csharp-extensions.md +26 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/csharp.md +55 -25
- package/package/corpus/skills/cratis-arc-invoke-command/references/elixir-liveview.md +112 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/elixir.md +72 -2
- package/package/corpus/skills/cratis-arc-invoke-command/references/go.md +51 -3
- package/package/corpus/skills/cratis-arc-invoke-command/references/java.md +74 -3
- package/package/corpus/skills/cratis-arc-invoke-command/references/kotlin.md +58 -18
- package/package/corpus/skills/cratis-arc-invoke-command/references/python.md +2 -2
- package/package/corpus/skills/cratis-arc-invoke-command/references/typescript.md +49 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/SKILL.md +31 -13
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/csharp.md +68 -29
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/elixir.md +84 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/go.md +73 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/java.md +70 -3
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/kotlin.md +65 -5
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/python.md +1 -1
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/typescript.md +56 -3
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/SKILL.md +125 -27
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/csharp.md +217 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/elixir.md +3 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/go.md +3 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/java.md +29 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/kotlin.md +29 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/typescript.md +132 -0
- package/package/corpus/skills/cratis-arc-page-query/SKILL.md +33 -13
- package/package/corpus/skills/cratis-arc-page-query/references/csharp.md +63 -33
- package/package/corpus/skills/cratis-arc-page-query/references/elixir.md +55 -4
- package/package/corpus/skills/cratis-arc-page-query/references/go.md +77 -4
- package/package/corpus/skills/cratis-arc-page-query/references/java.md +66 -4
- package/package/corpus/skills/cratis-arc-page-query/references/kotlin.md +65 -5
- package/package/corpus/skills/cratis-arc-page-query/references/typescript.md +81 -6
- package/package/corpus/skills/cratis-arc-react-bind-slice/SKILL.md +148 -48
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/react-screen-from-model.md +10 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-commands.md +190 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-host.md +160 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-identity.md +131 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-queries.md +157 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript.md +88 -0
- package/package/corpus/skills/cratis-arc-react-separate-view-model/SKILL.md +155 -66
- package/package/corpus/skills/cratis-arc-react-separate-view-model/references/typescript.md +628 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/SKILL.md +18 -5
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/csharp.md +64 -3
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/elixir.md +77 -11
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/go.md +61 -19
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/java.md +119 -7
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/kotlin.md +117 -7
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/typescript.md +124 -10
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/SKILL.md +129 -107
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/java.md +436 -0
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/kotlin.md +440 -0
- package/package/corpus/skills/cratis-arc-storage-typescript/SKILL.md +58 -90
- package/package/corpus/skills/cratis-arc-storage-typescript/references/typescript-drizzle.md +165 -0
- package/package/corpus/skills/cratis-arc-storage-typescript/references/typescript.md +226 -0
- package/package/corpus/skills/cratis-arc-tenancy-typescript/SKILL.md +86 -89
- package/package/corpus/skills/cratis-arc-tenancy-typescript/references/typescript.md +228 -0
- package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +179 -90
- package/package/corpus/skills/cratis-arc-testing-kotlin/references/java.md +95 -0
- package/package/corpus/skills/cratis-arc-testing-kotlin/references/kotlin.md +107 -0
- package/package/corpus/skills/cratis-arc-testing-typescript/SKILL.md +80 -107
- package/package/corpus/skills/cratis-arc-testing-typescript/references/typescript.md +272 -0
- package/package/corpus/skills/cratis-arc-validate-command/SKILL.md +56 -17
- package/package/corpus/skills/cratis-arc-validate-command/references/csharp-rules.md +38 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/csharp.md +84 -13
- package/package/corpus/skills/cratis-arc-validate-command/references/elixir.md +50 -12
- package/package/corpus/skills/cratis-arc-validate-command/references/go.md +119 -15
- package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +125 -93
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/java.md +272 -0
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/kotlin.md +238 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +133 -58
- package/package/corpus/skills/cratis-arc-validation-typescript/references/{models-and-queries.md → typescript-models-and-queries.md} +17 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/references/typescript-rules-and-checks.md +101 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/references/{server-decisions.md → typescript-server-decisions.md} +49 -13
- package/package/corpus/skills/cratis-arc-validation-typescript/references/typescript.md +196 -0
- package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +107 -7
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +21 -11
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/inspection.md +70 -10
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/project-tooling.md +4 -65
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/recovery-and-comparison.md +138 -16
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/setup-and-target.md +85 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/SKILL.md +54 -12
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-patterns.md +45 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-services.md +80 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-transport.md +26 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-workload.md +35 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp.md +57 -39
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir-patterns.md +32 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir-policies.md +47 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir.md +38 -3
- package/package/corpus/skills/cratis-chronicle-connect-application/references/go-patterns.md +30 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/go.md +95 -3
- package/package/corpus/skills/cratis-chronicle-connect-application/references/java.md +89 -2
- package/package/corpus/skills/cratis-chronicle-connect-application/references/kotlin-patterns.md +35 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/kotlin.md +108 -3
- package/package/corpus/skills/cratis-chronicle-connect-application/references/python.md +61 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/typescript-patterns.md +32 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/typescript.md +75 -6
- package/package/corpus/skills/cratis-chronicle-constrain-append/SKILL.md +42 -11
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/csharp.md +67 -25
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/elixir.md +90 -3
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/go.md +83 -3
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/java.md +99 -2
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/kotlin.md +76 -3
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/python.md +1 -1
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/typescript.md +84 -2
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/SKILL.md +167 -31
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/authentication.md +150 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/configuration.md +418 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/csharp.md +48 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/development-and-production.md +57 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/kernel-options.md +694 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/network-and-tls.md +161 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/production-checklist.md +66 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/storage.md +154 -2
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/troubleshooting.md +57 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/upgrade-and-recovery.md +124 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/webhooks.md +101 -3
- package/package/corpus/skills/cratis-chronicle-evolve-event/SKILL.md +59 -15
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/csharp.md +57 -41
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/elixir.md +69 -3
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/go.md +71 -2
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/java.md +50 -2
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/kotlin.md +58 -2
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/schema-annotation-cleanup.md +58 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/typescript.md +87 -2
- package/package/corpus/skills/cratis-chronicle-inspect-observer/SKILL.md +47 -13
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/csharp.md +107 -37
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/elixir.md +56 -5
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/go-jobs-and-alerts.md +77 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/go.md +106 -3
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/java.md +55 -3
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/kotlin.md +95 -3
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/typescript.md +89 -7
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +156 -12
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/blocked-tools.md +12 -20
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/deployment.md +114 -33
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +100 -47
- package/package/corpus/skills/cratis-chronicle-project-view/SKILL.md +182 -11
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-fluent.md +228 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-graphs.md +102 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-model-bound.md +232 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-reading.md +120 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp.md +105 -45
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir-graphs.md +49 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir-mappings.md +45 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir-reading.md +17 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir.md +23 -27
- package/package/corpus/skills/cratis-chronicle-project-view/references/go-graphs.md +22 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/go-mappings.md +50 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/go-reads.md +25 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/go.md +45 -5
- package/package/corpus/skills/cratis-chronicle-project-view/references/java-graphs.md +46 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/java-mappings.md +53 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/java.md +69 -5
- package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin-graphs.md +44 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin.md +71 -6
- package/package/corpus/skills/cratis-chronicle-project-view/references/python.md +1 -1
- package/package/corpus/skills/cratis-chronicle-project-view/references/typescript.md +279 -3
- package/package/corpus/skills/cratis-chronicle-protect-decision/SKILL.md +69 -10
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp-scopes.md +35 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp-standalone.md +93 -4
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp.md +79 -34
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/elixir.md +56 -11
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/go.md +61 -11
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/java.md +76 -3
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/kotlin.md +65 -17
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/typescript.md +77 -5
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/SKILL.md +27 -12
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/csharp.md +65 -47
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/elixir.md +68 -3
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/go.md +91 -2
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/java.md +75 -2
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/kotlin.md +64 -3
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/typescript.md +65 -3
- package/package/corpus/skills/cratis-chronicle-publish-contract/SKILL.md +69 -11
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp-integrations.md +89 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp.md +57 -52
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir-integrations.md +132 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir.md +86 -14
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/go-integrations.md +91 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/go.md +80 -2
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/java-integrations.md +121 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/java.md +64 -2
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/kotlin-integrations.md +112 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/kotlin.md +71 -2
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/python.md +2 -2
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/typescript-integrations.md +69 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/typescript.md +69 -2
- package/package/corpus/skills/cratis-chronicle-react-to-fact/SKILL.md +65 -12
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp-occurrences.md +3 -1
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp-outputs.md +39 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp-pages.md +43 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp.md +43 -43
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/elixir-recovery.md +23 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/elixir.md +79 -8
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/go.md +97 -3
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/java.md +123 -3
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/kotlin.md +113 -4
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/typescript.md +122 -8
- package/package/corpus/skills/cratis-chronicle-record-event/SKILL.md +83 -13
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp-coordination.md +86 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp-history.md +86 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp.md +53 -92
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir-context.md +74 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir-history.md +51 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir.md +48 -20
- package/package/corpus/skills/cratis-chronicle-record-event/references/go-payloads.md +80 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/go.md +78 -2
- package/package/corpus/skills/cratis-chronicle-record-event/references/java-history.md +63 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/java.md +107 -11
- package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin-history.md +88 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin.md +103 -21
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript-import.md +30 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript-provenance.md +40 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript.md +187 -3
- package/package/corpus/skills/cratis-chronicle-reduce-state/SKILL.md +55 -13
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/csharp.md +235 -24
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/elixir.md +82 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/go.md +94 -3
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/java.md +99 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/kotlin.md +89 -3
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/python.md +2 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/typescript.md +91 -2
- package/package/corpus/skills/cratis-chronicle-select-client/SKILL.md +17 -12
- package/package/corpus/skills/cratis-chronicle-select-client/references/csharp.md +63 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/elixir.md +52 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/go.md +64 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/java.md +54 -2
- package/package/corpus/skills/cratis-chronicle-select-client/references/kotlin.md +56 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/python.md +35 -18
- package/package/corpus/skills/cratis-chronicle-select-client/references/typescript.md +46 -4
- package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +60 -12
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/csharp.md +57 -0
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/hosting.md +80 -53
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/operations.md +44 -59
- package/package/corpus/skills/cratis-ci-pipeline-performance/SKILL.md +241 -203
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/affected-tests.md +134 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/build-once-and-shard.md +25 -10
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/caching.md +14 -1
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/flaky-and-hung-jobs.md +6 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/publish-pipelines.md +83 -6
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/required-checks-and-path-filters.md +68 -1
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/runner-sizing-and-images.md +33 -6
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/security-and-pinning.md +11 -4
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/shared-workflows.md +65 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/test-setup-cost.md +12 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/trim-and-aot-ratchets.md +32 -0
- package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +285 -139
- package/package/corpus/skills/cratis-cli-terminal-workbench/references/views-and-refresh.md +66 -0
- package/package/corpus/skills/cratis-code-review/SKILL.md +286 -165
- package/package/corpus/skills/cratis-code-review/references/csharp-diagnostics.md +76 -0
- package/package/corpus/skills/cratis-code-review/references/csharp.md +130 -0
- package/package/corpus/skills/cratis-code-review/references/elixir.md +30 -0
- package/package/corpus/skills/cratis-code-review/references/go.md +25 -0
- package/package/corpus/skills/cratis-code-review/references/java.md +38 -0
- package/package/corpus/skills/cratis-code-review/references/kotlin.md +37 -0
- package/package/corpus/skills/cratis-code-review/references/python.md +3 -0
- package/package/corpus/skills/cratis-code-review/references/typescript.md +189 -0
- package/package/corpus/skills/cratis-commits-and-pull-requests/SKILL.md +213 -13
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/commits.md +37 -11
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-description.md +98 -6
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-labels-and-release.md +77 -2
- package/package/corpus/skills/cratis-components-accessibility/SKILL.md +123 -16
- package/package/corpus/skills/cratis-components-accessibility/references/typescript.md +182 -0
- package/package/corpus/skills/cratis-components-build-canvas/SKILL.md +167 -31
- package/package/corpus/skills/cratis-components-build-canvas/references/conversation-kit.md +89 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript-chat.md +73 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript-pixi-items.md +46 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript-props.md +44 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript-shapes.md +159 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript.md +140 -0
- package/package/corpus/skills/cratis-components-choose-control/SKILL.md +113 -28
- package/package/corpus/skills/cratis-components-choose-control/references/breadcrumbs-and-labels.md +21 -0
- package/package/corpus/skills/cratis-components-choose-control/references/collections.md +27 -3
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-common.md +50 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-composition.md +174 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-display.md +12 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-dropdown.md +27 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-iconpicker.md +19 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-markdowneditor.md +16 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript.md +69 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/SKILL.md +210 -23
- package/package/corpus/skills/cratis-components-compose-toolbar/references/behavior.md +87 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/references/typescript-composition.md +202 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/references/typescript-toolbar.md +125 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/references/typescript.md +128 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/SKILL.md +138 -65
- package/package/corpus/skills/cratis-components-coordinate-feedback/references/dialog-props.md +30 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/references/typescript-dialogs.md +139 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/references/typescript-notifications.md +66 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/references/typescript.md +170 -0
- package/package/corpus/skills/cratis-components-display-list/SKILL.md +204 -38
- package/package/corpus/skills/cratis-components-display-list/references/parts-and-messages.md +22 -0
- package/package/corpus/skills/cratis-components-display-list/references/typescript-datatables.md +179 -0
- package/package/corpus/skills/cratis-components-display-list/references/typescript.md +204 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/SKILL.md +188 -75
- package/package/corpus/skills/cratis-components-edit-schema-data/references/editing-rules.md +27 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/schema-mapping.md +57 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-componentpicker.md +22 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-composition.md +246 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-configurationeditor.md +23 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-objectcontenteditor.md +12 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-objectnavigationalbar.md +7 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-schemaeditor.md +89 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript.md +141 -0
- package/package/corpus/skills/cratis-components-explore-data/SKILL.md +192 -48
- package/package/corpus/skills/cratis-components-explore-data/references/typescript-composition.md +87 -0
- package/package/corpus/skills/cratis-components-explore-data/references/typescript-filter.md +47 -0
- package/package/corpus/skills/cratis-components-explore-data/references/typescript-pivotviewer.md +27 -0
- package/package/corpus/skills/cratis-components-explore-data/references/typescript-timemachine.md +44 -0
- package/package/corpus/skills/cratis-components-explore-data/references/typescript.md +133 -0
- package/package/corpus/skills/cratis-components-host-chat/SKILL.md +189 -34
- package/package/corpus/skills/cratis-components-host-chat/references/presentation.md +60 -0
- package/package/corpus/skills/cratis-components-host-chat/references/typescript-composition.md +108 -0
- package/package/corpus/skills/cratis-components-host-chat/references/typescript-layouts.md +59 -0
- package/package/corpus/skills/cratis-components-host-chat/references/typescript.md +158 -0
- package/package/corpus/skills/cratis-components-submit-form/SKILL.md +127 -45
- package/package/corpus/skills/cratis-components-submit-form/references/typescript-commanddialog.md +138 -0
- package/package/corpus/skills/cratis-components-submit-form/references/typescript-commandform.md +96 -0
- package/package/corpus/skills/cratis-components-submit-form/references/typescript-fields.md +157 -0
- package/package/corpus/skills/cratis-components-submit-form/references/typescript.md +113 -0
- package/package/corpus/skills/cratis-components-theme-application/SKILL.md +137 -47
- package/package/corpus/skills/cratis-components-theme-application/references/palette.md +4 -5
- package/package/corpus/skills/cratis-components-theme-application/references/parts.md +73 -0
- package/package/corpus/skills/cratis-components-theme-application/references/renderer-adapters.md +34 -3
- package/package/corpus/skills/cratis-components-theme-application/references/tokens.md +17 -0
- package/package/corpus/skills/cratis-components-theme-application/references/typescript-adapter-authoring.md +198 -0
- package/package/corpus/skills/cratis-components-theme-application/references/typescript.md +243 -0
- package/package/corpus/skills/cratis-content-length/SKILL.md +221 -162
- package/package/corpus/skills/cratis-content-length/references/length-evidence.md +173 -6
- package/package/corpus/skills/cratis-developer-marketing/SKILL.md +259 -184
- package/package/corpus/skills/cratis-developer-marketing/references/measurement.md +32 -16
- package/package/corpus/skills/cratis-developer-marketing/references/playbook-evidence.md +115 -0
- package/package/corpus/skills/cratis-discoverability/SKILL.md +196 -85
- package/package/corpus/skills/cratis-discoverability/references/csharp.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/elixir.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/entities.md +41 -25
- package/package/corpus/skills/cratis-discoverability/references/go.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/java.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/kotlin.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/package-metadata.md +10 -5
- package/package/corpus/skills/cratis-discoverability/references/page-checklist.md +90 -49
- package/package/corpus/skills/cratis-discoverability/references/structured-data.md +35 -28
- package/package/corpus/skills/cratis-discoverability/references/typescript.md +6 -0
- package/package/corpus/skills/cratis-discoverability/scripts/verify-discoverability.mjs +24 -9
- package/package/corpus/skills/cratis-documentation-writing/SKILL.md +266 -172
- package/package/corpus/skills/cratis-documentation-writing/references/cratis-site.md +113 -100
- package/package/corpus/skills/cratis-documentation-writing/references/writing-guidance.md +4 -2
- package/package/corpus/skills/cratis-engineering-ci-gates/SKILL.md +220 -87
- package/package/corpus/skills/cratis-engineering-ci-gates/references/gate-operation.md +145 -9
- package/package/corpus/skills/cratis-engineering-consolidation-guard/SKILL.md +259 -54
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/ci-required-check.md +88 -38
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/verification-details.md +102 -24
- package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +118 -87
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-alternate-implementations.md +60 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-code-style.md +294 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/{domain-philosophy.md → csharp-domain-philosophy.md} +11 -10
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-exceptions-logging-and-di.md +328 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-monads.md +124 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp.md +54 -0
- package/package/corpus/skills/cratis-engineering-decision-record/SKILL.md +266 -97
- package/package/corpus/skills/cratis-engineering-decision-record/references/decision-pitfalls.md +21 -8
- package/package/corpus/skills/cratis-engineering-decision-record/references/direct.md +118 -0
- package/package/corpus/skills/cratis-engineering-decision-record/references/record-format.md +114 -102
- package/package/corpus/skills/cratis-engineering-docs-authoring/SKILL.md +301 -71
- package/package/corpus/skills/cratis-engineering-docs-authoring/references/site-format.md +294 -56
- package/package/corpus/skills/cratis-engineering-effect-boundaries/SKILL.md +161 -86
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/csharp.md +52 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/elixir.md +21 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +35 -6
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/go.md +17 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/java.md +14 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/kotlin.md +14 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/typescript.md +15 -0
- package/package/corpus/skills/cratis-engineering-inherited-work/SKILL.md +127 -27
- package/package/corpus/skills/cratis-engineering-inherited-work/references/continue-inherited-work.md +40 -13
- package/package/corpus/skills/cratis-engineering-inherited-work/references/pull-request-evidence.md +66 -0
- package/package/corpus/skills/cratis-engineering-issue-design-note/SKILL.md +254 -79
- package/package/corpus/skills/cratis-engineering-issue-design-note/references/design-note-format.md +97 -52
- package/package/corpus/skills/cratis-engineering-issue-hygiene/SKILL.md +159 -64
- package/package/corpus/skills/cratis-engineering-issue-hygiene/references/issue-disposition.md +119 -67
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/SKILL.md +249 -57
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/{dotnet-nuget.md → csharp.md} +11 -16
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dependency-map.md +40 -8
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/docker-images.md +5 -8
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/elixir.md +108 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/go.md +276 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/helper-runbook.md +28 -18
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/java.md +105 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/kotlin.md +179 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/train-mode.md +1 -1
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/{npm-yarn.md → typescript.md} +5 -3
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/worked-examples.md +116 -48
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/scripts/dependency-map.tsv +1 -1
- package/package/corpus/skills/cratis-engineering-post-mortem/SKILL.md +283 -81
- package/package/corpus/skills/cratis-engineering-post-mortem/references/proportionate-follow-up.md +5 -20
- package/package/corpus/skills/cratis-engineering-post-mortem/references/public-safe-wording.md +18 -23
- package/package/corpus/skills/cratis-engineering-post-mortem/references/review-template.md +86 -37
- package/package/corpus/skills/cratis-engineering-post-mortem/references/silent-backup-failure.md +92 -98
- package/package/corpus/skills/cratis-engineering-post-mortem/references/unintended-release-regression.md +79 -73
- package/package/corpus/skills/cratis-engineering-regression-cluster/SKILL.md +98 -56
- package/package/corpus/skills/cratis-engineering-regression-cluster/references/history-and-proof.md +30 -0
- package/package/corpus/skills/cratis-engineering-release-trains/SKILL.md +290 -62
- package/package/corpus/skills/cratis-engineering-release-trains/references/candidate-assembly.md +138 -107
- package/package/corpus/skills/cratis-engineering-release-trains/references/final-merge-gate.md +118 -0
- package/package/corpus/skills/cratis-engineering-review-rounds/SKILL.md +311 -68
- package/package/corpus/skills/cratis-engineering-review-rounds/references/review-ranges.md +99 -0
- package/package/corpus/skills/cratis-environments-and-secrets/SKILL.md +235 -95
- package/package/corpus/skills/cratis-environments-and-secrets/references/csharp.md +112 -0
- package/package/corpus/skills/cratis-environments-and-secrets/references/environment-file.md +28 -23
- package/package/corpus/skills/cratis-environments-and-secrets/references/transcript-safety.md +31 -0
- package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +174 -65
- package/package/corpus/skills/cratis-event-model-diagram/references/frame-patterns.md +73 -69
- package/package/corpus/skills/cratis-fundamentals-concept/SKILL.md +143 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/csharp-serialization.md +183 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/csharp.md +113 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/elixir.md +76 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/go-naming.md +36 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/go.md +276 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/java-json.md +121 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/java-primitives.md +156 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/java.md +155 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/kotlin-json.md +123 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/kotlin-primitives.md +161 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/kotlin.md +140 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/typescript-serialization.md +203 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/typescript.md +100 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/SKILL.md +113 -11
- package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp-specs.md +165 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp.md +223 -29
- package/package/corpus/skills/cratis-fundamentals-name-value/references/elixir.md +162 -4
- package/package/corpus/skills/cratis-fundamentals-name-value/references/go.md +227 -5
- package/package/corpus/skills/cratis-fundamentals-name-value/references/java.md +203 -6
- package/package/corpus/skills/cratis-fundamentals-name-value/references/kotlin.md +251 -5
- package/package/corpus/skills/cratis-fundamentals-name-value/references/typescript.md +160 -9
- package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +120 -62
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/csharp-otlp-export.md +56 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/csharp.md +224 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/elixir.md +10 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/go.md +33 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/java.md +9 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/kotlin.md +9 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +104 -26
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/csharp-diagnostics.md +75 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/csharp.md +182 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/elixir.md +30 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/go-dependency-injection.md +168 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/go.md +29 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/java.md +39 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/kotlin.md +31 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/typescript.md +32 -0
- package/package/corpus/skills/cratis-governed-release-methodology/SKILL.md +346 -273
- package/package/corpus/skills/cratis-governed-release-methodology/references/artifact-verification.md +58 -0
- package/package/corpus/skills/cratis-governed-release-methodology/references/lifecycle-phases.md +32 -25
- package/package/corpus/skills/cratis-governed-release-methodology/references/release-decisions.md +78 -0
- package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +331 -98
- package/package/corpus/skills/cratis-lens-browser-extension/references/csharp.md +13 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/go.md +8 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/java.md +8 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/kotlin.md +8 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/troubleshooting.md +111 -102
- package/package/corpus/skills/cratis-lens-browser-extension/references/typescript.md +10 -0
- package/package/corpus/skills/cratis-llm-friendly-documentation/SKILL.md +333 -102
- package/package/corpus/skills/cratis-modeling-design-event-model/SKILL.md +144 -15
- package/package/corpus/skills/cratis-modeling-design-event-model/references/command-inventory.md +43 -0
- package/package/corpus/skills/cratis-modeling-design-event-model/references/model-first.md +71 -3
- package/package/corpus/skills/cratis-modeling-design-event-model/references/review-one-slice.md +14 -13
- package/package/corpus/skills/cratis-modeling-discover-timeline/SKILL.md +265 -14
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/discovery-questions.md +10 -8
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/group-and-document-intake.md +5 -1
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/studio.md +136 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/SKILL.md +172 -9
- package/package/corpus/skills/cratis-modeling-review-event-model/references/csharp.md +40 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/elixir.md +32 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/event-log-hygiene.md +44 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/go.md +27 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/implementation-findings.md +20 -9
- package/package/corpus/skills/cratis-modeling-review-event-model/references/java.md +28 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/kotlin.md +28 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/model-findings.md +30 -10
- package/package/corpus/skills/cratis-modeling-review-event-model/references/resilience-review.md +1 -1
- package/package/corpus/skills/cratis-modeling-review-event-model/references/screenplay-evidence.md +159 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/typescript.md +27 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/SKILL.md +128 -16
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/compare-evidence.md +5 -5
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/csharp-source-adapter.md +221 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/csharp.md +11 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/draft-checks.md +23 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/elixir.md +13 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/go.md +10 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/java.md +5 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/recovery-inputs.md +67 -4
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/side-car-migration.md +11 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/SKILL.md +229 -90
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/csharp-aspire.md +204 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/csharp.md +31 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/docker-compose.md +82 -36
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/elixir.md +10 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/go.md +11 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/java.md +11 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/kotlin.md +11 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/typescript.md +15 -0
- package/package/corpus/skills/cratis-observability/SKILL.md +178 -10
- package/package/corpus/skills/cratis-observability/references/chronicle-kernel-export.md +153 -13
- package/package/corpus/skills/cratis-observability/references/csharp-arc-and-chronicle-signals.md +79 -0
- package/package/corpus/skills/cratis-observability/references/csharp-setup-options.md +104 -0
- package/package/corpus/skills/cratis-observability/references/csharp.md +172 -56
- package/package/corpus/skills/cratis-observability/references/elixir.md +243 -5
- package/package/corpus/skills/cratis-observability/references/go-arc-diagnostics.md +134 -0
- package/package/corpus/skills/cratis-observability/references/go.md +292 -0
- package/package/corpus/skills/cratis-observability/references/java.md +236 -0
- package/package/corpus/skills/cratis-observability/references/kotlin.md +251 -0
- package/package/corpus/skills/cratis-observability/references/troubleshooting.md +13 -17
- package/package/corpus/skills/cratis-observability/references/typescript-chronicle-client.md +116 -0
- package/package/corpus/skills/cratis-observability/references/typescript.md +159 -0
- package/package/corpus/skills/cratis-onboarding-runtime/SKILL.md +222 -85
- package/package/corpus/skills/cratis-onboarding-runtime/references/ante-onboarding-keys.md +153 -10
- package/package/corpus/skills/cratis-onboarding-runtime/references/csharp.md +61 -0
- package/package/corpus/skills/cratis-onboarding-runtime/references/default-offering.md +29 -33
- package/package/corpus/skills/cratis-onboarding-runtime/references/performance.md +75 -19
- package/package/corpus/skills/cratis-onboarding-runtime/references/sign-up-review.md +10 -6
- package/package/corpus/skills/cratis-orchestration-lanes/SKILL.md +174 -80
- package/package/corpus/skills/cratis-orchestration-lanes/references/inbox-and-handover.md +78 -49
- package/package/corpus/skills/cratis-orchestration-lanes/references/lane-brief.md +48 -16
- package/package/corpus/skills/cratis-orchestration-lanes/references/placeholders.md +11 -8
- package/package/corpus/skills/cratis-orchestration-lanes/references/work-records.md +16 -0
- package/package/corpus/skills/cratis-orchestration-merge-gates/SKILL.md +80 -90
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/merge-queue.md +153 -59
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/unattended-guards.md +10 -6
- package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +216 -32
- package/package/corpus/skills/cratis-orleans-jobs/references/csharp-lifecycle-and-placement.md +89 -0
- package/package/corpus/skills/cratis-orleans-jobs/references/csharp-state-machines.md +96 -0
- package/package/corpus/skills/cratis-orleans-jobs/references/csharp.md +301 -0
- package/package/corpus/skills/cratis-performance-review/SKILL.md +265 -45
- package/package/corpus/skills/cratis-performance-review/references/csharp.md +67 -0
- package/package/corpus/skills/cratis-performance-review/references/elixir.md +34 -0
- package/package/corpus/skills/cratis-performance-review/references/go.md +43 -0
- package/package/corpus/skills/cratis-performance-review/references/java.md +38 -0
- package/package/corpus/skills/cratis-performance-review/references/kotlin.md +37 -0
- package/package/corpus/skills/cratis-performance-review/references/observer-tuning.md +117 -0
- package/package/corpus/skills/cratis-performance-review/references/review-checklist.md +173 -77
- package/package/corpus/skills/cratis-performance-review/references/typescript.md +41 -0
- package/package/corpus/skills/cratis-platform-build-application/SKILL.md +243 -0
- package/package/corpus/skills/cratis-platform-build-application/references/cli-map.md +256 -0
- package/package/corpus/skills/cratis-platform-build-application/references/csharp-guided-tours.md +41 -0
- package/package/corpus/skills/cratis-platform-build-application/references/csharp.md +17 -0
- package/package/corpus/skills/cratis-platform-build-application/references/direct.md +258 -0
- package/package/corpus/skills/cratis-platform-build-application/references/elixir.md +27 -0
- package/package/corpus/skills/cratis-platform-build-application/references/go.md +13 -0
- package/package/corpus/skills/cratis-platform-build-application/references/java.md +13 -0
- package/package/corpus/skills/cratis-platform-build-application/references/kotlin.md +13 -0
- package/package/corpus/skills/cratis-platform-build-application/references/typescript-guided-tours.md +132 -0
- package/package/corpus/skills/cratis-platform-build-application/references/typescript.md +13 -0
- package/package/corpus/skills/cratis-platform-build-application/scripts/model-first-status.sh +100 -0
- package/package/corpus/skills/cratis-platform-configure-environment/SKILL.md +130 -31
- package/package/corpus/skills/cratis-platform-configure-environment/references/csharp.md +336 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/elixir.md +224 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/go.md +257 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/java.md +209 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/kotlin.md +240 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/typescript.md +280 -0
- package/package/corpus/skills/cratis-platform-contribute-change/SKILL.md +120 -8
- package/package/corpus/skills/cratis-platform-contribute-change/references/csharp-arc-mcp.md +65 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/csharp-cli-registration.md +86 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/csharp.md +21 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/elixir.md +12 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/go.md +14 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/java.md +9 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/kotlin.md +12 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/repositories.md +93 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/typescript.md +13 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/SKILL.md +235 -13
- package/package/corpus/skills/cratis-platform-deliver-slice/references/contract-reconciliation.md +73 -6
- package/package/corpus/skills/cratis-platform-deliver-slice/references/coordinate-slices.md +7 -4
- package/package/corpus/skills/cratis-platform-deliver-slice/references/csharp.md +251 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/elixir.md +266 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/go.md +242 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/java.md +310 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/kotlin.md +297 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/typescript.md +248 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/SKILL.md +173 -25
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/csharp.md +7 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/elixir.md +7 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/evidence.md +100 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/go.md +7 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/java.md +5 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/typescript.md +7 -0
- package/package/corpus/skills/cratis-platform-prepare-release-pr/SKILL.md +178 -13
- package/package/corpus/skills/cratis-platform-prepare-release-pr/references/product-release-checks.md +23 -0
- package/package/corpus/skills/cratis-platform-start-application/SKILL.md +239 -21
- package/package/corpus/skills/cratis-platform-start-application/references/csharp.md +223 -18
- package/package/corpus/skills/cratis-platform-start-application/references/elixir.md +11 -0
- package/package/corpus/skills/cratis-platform-start-application/references/go.md +11 -0
- package/package/corpus/skills/cratis-platform-start-application/references/java.md +224 -9
- package/package/corpus/skills/cratis-platform-start-application/references/kotlin.md +191 -9
- package/package/corpus/skills/cratis-platform-start-application/references/typescript.md +14 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/SKILL.md +211 -12
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/csharp.md +9 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/go.md +5 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/java.md +5 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/routes-and-failures.md +40 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-release-notes/SKILL.md +137 -57
- package/package/corpus/skills/cratis-release-notes/references/channel-guidance.md +59 -59
- package/package/corpus/skills/cratis-release-notes/references/publish-repair.md +55 -61
- package/package/corpus/skills/cratis-rtk/SKILL.md +188 -35
- package/package/corpus/skills/cratis-rtk/references/rtk-administration.md +137 -0
- package/package/corpus/skills/cratis-rtk/references/rtk-filters.md +68 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/SKILL.md +160 -18
- package/package/corpus/skills/cratis-screenplay-accept-model/references/coverage-obligations.md +2 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/csharp.md +122 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/diagnostic-decisions.md +10 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/read-the-evidence.md +50 -0
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/SKILL.md +265 -41
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/email-templates.md +47 -0
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/environment-keys.md +81 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/SKILL.md +182 -20
- package/package/corpus/skills/cratis-screenplay-author-extension/references/cli.md +58 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/consume.md +31 -8
- package/package/corpus/skills/cratis-screenplay-author-extension/references/csharp.md +66 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/elixir.md +8 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/frontend-components.md +12 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/go.md +95 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/java.md +15 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/kotlin.md +69 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/lock-and-trust.md +23 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/protocol.md +12 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/runtime-details.md +30 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/stage-candidate.md +70 -6
- package/package/corpus/skills/cratis-screenplay-author-extension/references/typescript.md +66 -0
- package/package/corpus/skills/cratis-screenplay-availability/SKILL.md +165 -20
- package/package/corpus/skills/cratis-screenplay-availability/references/complete-example.md +60 -4
- package/package/corpus/skills/cratis-screenplay-availability/references/csharp.md +88 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/elixir.md +45 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/go.md +5 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/java.md +5 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/review-checks.md +62 -13
- package/package/corpus/skills/cratis-screenplay-availability/references/runtime-ownership.md +72 -13
- package/package/corpus/skills/cratis-screenplay-availability/references/typescript.md +20 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/SKILL.md +232 -66
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/commands.md +256 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/concepts-and-generated-values.md +206 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/context-and-identity.md +105 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/events-and-constraints.md +123 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/language-map.md +129 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/policies-and-purposes.md +117 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/projection-replay.md +3 -12
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/projections.md +222 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/queries.md +122 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/reducers-graphs-sinks.md +105 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/structure-and-imports.md +142 -0
- package/package/corpus/skills/cratis-screenplay-edit-workspace/SKILL.md +164 -21
- package/package/corpus/skills/cratis-screenplay-edit-workspace/references/mcp-tools.md +138 -0
- package/package/corpus/skills/cratis-screenplay-edit-workspace/references/model-notes.md +63 -14
- package/package/corpus/skills/cratis-screenplay-handoff-slice/SKILL.md +120 -25
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/csharp.md +107 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/mcp.md +16 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/ordering.md +29 -3
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/recipient-contracts.md +50 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/SKILL.md +190 -101
- package/package/corpus/skills/cratis-screenplay-model-automation/references/external-effects.md +10 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-boundaries.md +12 -4
- package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-example.md +95 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/stage-subset.md +61 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/SKILL.md +171 -51
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp-host-api.md +177 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp.md +127 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/decision-inputs.md +10 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/go.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/java.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/kotlin.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/localized-strings.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/navigation-reachability.md +25 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/shell-and-data.md +187 -20
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/typescript.md +119 -6
- package/package/corpus/skills/cratis-screenplay-model-translation/SKILL.md +259 -89
- package/package/corpus/skills/cratis-screenplay-model-translation/references/boundary-diagnostics.md +32 -0
- package/package/corpus/skills/cratis-screenplay-model-translation/references/stage-realization.md +36 -0
- package/package/corpus/skills/cratis-screenplay-model-translation/references/translation-scenarios.md +114 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/SKILL.md +185 -20
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/cli.md +88 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/csharp.md +210 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/typescript.md +45 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/workspace-mcp.md +133 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/SKILL.md +161 -20
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/csharp.md +195 -7
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/elixir.md +21 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/go.md +17 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/ground-truth-benchmark.md +1 -1
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/java.md +9 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/kotlin.md +9 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/running-system.md +122 -6
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/SKILL.md +233 -62
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/boundary-scenarios.md +60 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/case-questions.md +30 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/coverage-worksheet.md +16 -8
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/csharp.md +41 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/graph-steps.md +37 -5
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/named-cases.md +23 -10
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/query-rejections.md +22 -19
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/scenarios.md +230 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +140 -14
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +5 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +7 -9
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +36 -24
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/destination-repairs.md +21 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +6 -9
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/multi-service-models.md +3 -6
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/read-model-keys.md +4 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-id-rules.md +32 -19
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +53 -16
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +1 -1
- package/package/corpus/skills/cratis-security-review/SKILL.md +137 -72
- package/package/corpus/skills/cratis-security-review/references/csharp.md +114 -0
- package/package/corpus/skills/cratis-security-review/references/elixir.md +21 -0
- package/package/corpus/skills/cratis-security-review/references/go.md +22 -0
- package/package/corpus/skills/cratis-security-review/references/java.md +20 -0
- package/package/corpus/skills/cratis-security-review/references/kotlin.md +20 -0
- package/package/corpus/skills/cratis-security-review/references/python.md +3 -0
- package/package/corpus/skills/cratis-security-review/references/review-checklist.md +98 -68
- package/package/corpus/skills/cratis-security-review/references/typescript.md +22 -0
- package/package/corpus/skills/cratis-session-handoff/SKILL.md +134 -90
- package/package/corpus/skills/cratis-session-handoff/references/handoff-template.md +35 -52
- package/package/corpus/skills/cratis-showrunner-herald/SKILL.md +170 -86
- package/package/corpus/skills/cratis-showrunner-herald/references/csharp-templates-and-images.md +115 -0
- package/package/corpus/skills/cratis-showrunner-herald/references/csharp.md +280 -0
- package/package/corpus/skills/cratis-social-feed-post/SKILL.md +252 -38
- package/package/corpus/skills/cratis-social-feed-post/references/engagement-evidence.md +104 -10
- package/package/corpus/skills/cratis-specifications-exercise-backend/SKILL.md +185 -27
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-command-results.md +103 -3
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-decision-reads.md +40 -11
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-events.md +136 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-graphs.md +45 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-integration.md +121 -75
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-query-scenario.md +33 -8
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-reactors.md +117 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-read-models.md +96 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-relational.md +16 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-slice.md +68 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp.md +142 -34
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/elixir.md +274 -32
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/go.md +176 -111
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/java.md +208 -5
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/kotlin.md +235 -7
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/typescript.md +223 -57
- package/package/corpus/skills/cratis-specifications-isolate-behavior/SKILL.md +159 -34
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp-running.md +180 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp.md +331 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-specifications-observe-ui/SKILL.md +92 -55
- package/package/corpus/skills/cratis-specifications-observe-ui/references/typescript-browser.md +44 -0
- package/package/corpus/skills/cratis-specifications-observe-ui/references/typescript-storybook.md +157 -0
- package/package/corpus/skills/cratis-specifications-observe-ui/references/typescript.md +8 -0
- package/package/corpus/skills/cratis-specifications-test-application-ui/SKILL.md +182 -9
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-rendering.md +172 -0
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript.md +400 -0
- package/package/corpus/skills/cratis-specifications-test-typescript-behavior/SKILL.md +139 -9
- package/package/corpus/skills/cratis-specifications-test-typescript-behavior/references/typescript.md +316 -0
- package/package/corpus/skills/cratis-stage-render-slice/SKILL.md +284 -14
- package/package/corpus/skills/cratis-stage-render-slice/references/csharp-configuration.md +202 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/csharp-planning.md +80 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/csharp.md +221 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/graph-rendering.md +53 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/java.md +25 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/review-render-plan.md +154 -12
- package/package/corpus/skills/cratis-stage-run-sandbox/SKILL.md +212 -12
- package/package/corpus/skills/cratis-stage-run-sandbox/references/journey-replay.md +47 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/references/published-mode.md +103 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-runtime.md +67 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-spec-runner.md +60 -6
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +243 -52
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/tools.md +239 -0
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/webhooks.md +74 -0
- package/package/corpus/skills/cratis-technical-examples/SKILL.md +233 -67
- package/package/corpus/skills/cratis-technical-examples/references/csharp.md +325 -0
- package/package/corpus/skills/cratis-technical-examples/references/elixir.md +114 -0
- package/package/corpus/skills/cratis-technical-examples/references/go.md +74 -0
- package/package/corpus/skills/cratis-technical-examples/references/java.md +194 -0
- package/package/corpus/skills/cratis-technical-examples/references/kotlin.md +205 -0
- package/package/corpus/skills/cratis-technical-examples/references/source-and-format.md +57 -40
- package/package/corpus/skills/cratis-technical-examples/references/typescript.md +427 -0
- package/package/corpus/skills/cratis-technical-examples/references/verification-scope.md +120 -35
- package/package/corpus/skills/cratis-ux-review/SKILL.md +136 -33
- package/package/corpus/skills/cratis-ux-review/references/checklist.md +10 -6
- package/package/corpus/skills/cratis-ux-review/references/report-template.md +10 -8
- package/package/corpus/skills/cratis-ux-review/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +275 -51
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/ai-tells.md +49 -35
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/pattern-evidence.md +151 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/voice-guidance.md +28 -16
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/SKILL.md +3 -1
- package/package/profile-catalog.json +34 -2
- package/package.json +1 -1
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/rule-fixes.md +0 -40
- package/package/corpus/skills/cratis-arc-declare-command/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/custom-exposure-and-audit.md +0 -23
- package/package/corpus/skills/cratis-arc-expose-query/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-generate-proxies/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-host-application/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-page-query/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/commands.md +0 -88
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/csharp.md +0 -9
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/identity.md +0 -7
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/kotlin.md +0 -9
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/manual-screen.md +0 -10
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/query-state.md +0 -29
- package/package/corpus/skills/cratis-arc-react-separate-view-model/references/react-routing-and-messaging.md +0 -45
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/read-model-naming.md +0 -11
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/storage-boundaries.md +0 -40
- package/package/corpus/skills/cratis-arc-storage-typescript/references/drizzle.md +0 -62
- package/package/corpus/skills/cratis-arc-tenancy-typescript/references/tenant-selection.md +0 -49
- package/package/corpus/skills/cratis-arc-testing-kotlin/references/jvm-scenario-variants.md +0 -25
- package/package/corpus/skills/cratis-arc-testing-typescript/references/hosts-and-runners.md +0 -51
- package/package/corpus/skills/cratis-arc-validate-command/references/java.md +0 -27
- package/package/corpus/skills/cratis-arc-validate-command/references/kotlin.md +0 -23
- package/package/corpus/skills/cratis-arc-validate-command/references/typescript.md +0 -23
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/feature-filters.md +0 -55
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/model-validation.md +0 -72
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/server-validators.md +0 -86
- package/package/corpus/skills/cratis-arc-validation-typescript/references/rules-and-checks.md +0 -46
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/bulk-repair.md +0 -7
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/deployed-readers.md +0 -50
- package/package/corpus/skills/cratis-chronicle-record-event/references/python.md +0 -3
- package/package/corpus/skills/cratis-components-accessibility/references/control-labels.md +0 -29
- package/package/corpus/skills/cratis-components-accessibility/references/focus-and-announcements.md +0 -8
- package/package/corpus/skills/cratis-components-build-canvas/references/pixi-items.md +0 -15
- package/package/corpus/skills/cratis-components-choose-control/references/inputs.md +0 -3
- package/package/corpus/skills/cratis-components-compose-toolbar/references/contributed-tools.md +0 -5
- package/package/corpus/skills/cratis-components-display-list/references/server-query.md +0 -21
- package/package/corpus/skills/cratis-components-edit-schema-data/references/controlled-editor.md +0 -9
- package/package/corpus/skills/cratis-components-submit-form/references/confirmation.md +0 -9
- package/package/corpus/skills/cratis-components-submit-form/references/wizard.md +0 -9
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/source-verification.md +0 -68
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/code-style.md +0 -202
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +0 -161
- package/package/corpus/skills/cratis-engineering-decision-record/references/decision-scope.md +0 -20
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/go-jvm-python-elixir.md +0 -83
- package/package/corpus/skills/cratis-engineering-review-rounds/references/round-handoffs.md +0 -109
- package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +0 -95
- package/package/corpus/skills/cratis-fundamentals-name-value/references/python.md +0 -3
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/otlp-export.md +0 -16
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/diagnostics.md +0 -14
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/aspire.md +0 -52
- package/package/corpus/skills/cratis-observability/references/arc-and-chronicle-signals.md +0 -54
- package/package/corpus/skills/cratis-observability/references/dotnet-setup-and-options.md +0 -68
- package/package/corpus/skills/cratis-orchestration-lanes/references/escalation.md +0 -22
- package/package/corpus/skills/cratis-orchestration-lanes/references/roles.md +0 -12
- package/package/corpus/skills/cratis-orchestration-lanes/references/roll-call.md +0 -12
- package/package/corpus/skills/cratis-orleans-jobs/references/activation-callbacks.md +0 -5
- package/package/corpus/skills/cratis-orleans-jobs/references/lifecycle-and-placement.md +0 -56
- package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +0 -66
- package/package/corpus/skills/cratis-orleans-jobs/references/step-planning.md +0 -27
- package/package/corpus/skills/cratis-orleans-jobs/references/storage-and-options.md +0 -35
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/onboarding-directives.md +0 -90
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/unknown-preserving-reader.md +0 -9
- package/package/corpus/skills/cratis-screenplay-model-automation/references/host-trigger.md +0 -17
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp-performers.md +0 -18
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/version-migration.md +0 -12
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/host-body-execution.md +0 -10
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/observable-result.md +0 -123
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/interview-batch.md +0 -20
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/neighbouring-skills.md +0 -11
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/review-questions.md +0 -13
- package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +0 -58
- package/package/corpus/skills/cratis-session-handoff/references/session-hygiene.md +0 -20
- package/package/corpus/skills/cratis-showrunner-herald/references/options.md +0 -35
- package/package/corpus/skills/cratis-showrunner-herald/references/templates-and-images.md +0 -76
- package/package/corpus/skills/cratis-social-feed-post/references/asset-and-formatting.md +0 -37
- package/package/corpus/skills/cratis-social-feed-post/references/editorial-checks.md +0 -40
- package/package/corpus/skills/cratis-social-feed-post/references/linkedin-media.md +0 -24
- package/package/corpus/skills/cratis-social-feed-post/references/other-channels.md +0 -23
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp-phase-timings.md +0 -13
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-command-results.md +0 -7
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/blocked-tools.md +0 -11
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/observational-tools.md +0 -7
- package/package/corpus/skills/cratis-technical-examples/references/csharp-package-checks.md +0 -8
- package/package/corpus/skills/cratis-technical-examples/references/typescript-package-checks.md +0 -8
- package/package/corpus/skills/cratis-ux-review/references/capture-contract.md +0 -24
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/author-and-batch.md +0 -23
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/documentation-evidence.md +0 -25
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/interpretation.md +0 -17
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/stock-constructions.md +0 -23
|
@@ -1,50 +1,91 @@
|
|
|
1
|
-
# Generate
|
|
1
|
+
# Generate TypeScript clients from a C# project
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Build the project that owns the Arc endpoints. `Cratis` brings in `Cratis.Arc.ProxyGenerator.Build`; when using `Cratis.Arc` alone, reference the build package explicitly. Use the matching `@cratis/arc` client in the frontend. Names below are illustrative.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Generate and verify
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
For an existing `ReserveRoom` command in `Venue.Rooms`, add this to `Venue.csproj`:
|
|
8
8
|
|
|
9
9
|
```xml
|
|
10
10
|
<PropertyGroup>
|
|
11
|
-
<CratisProxiesOutputPath>$(MSBuildProjectDirectory)/generated</CratisProxiesOutputPath>
|
|
12
|
-
<CratisProxiesSegmentsToSkip>1</CratisProxiesSegmentsToSkip>
|
|
13
|
-
<CratisProxiesUseSourceFileAsOutputFile>true</CratisProxiesUseSourceFileAsOutputFile>
|
|
14
|
-
<CratisProxiesSkipCommandNameInRoute>true</CratisProxiesSkipCommandNameInRoute>
|
|
11
|
+
<CratisProxiesOutputPath>$(MSBuildProjectDirectory)/../web/src/generated</CratisProxiesOutputPath>
|
|
15
12
|
</PropertyGroup>
|
|
16
13
|
```
|
|
17
14
|
|
|
18
|
-
|
|
15
|
+
Run `dotnet build Venue.csproj`. The after-build target passes the compiled assembly to the generator; make its project dependencies available alongside the assembly. Normal discovery starts with commands, queries and typed identity details and follows referenced models. Under default conventions, import `ReserveRoom` from `./generated/Venue/Rooms/ReserveRoom` in a module beside `generated`. Inspect the payload, result and `/api/venue/rooms/reserve-room` route, then type-check the frontend. Snapshot and observable query methods generate different clients; generated React helpers follow the query kind and cardinality, not the read model's name.
|
|
19
16
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
## Match the running endpoints
|
|
18
|
+
|
|
19
|
+
The generator does not configure the server or validate the two sets of settings. For conventional model-bound routes, these are **paired examples**, not required settings. The runtime key prefix is `Cratis:Arc:GeneratedApis:`.
|
|
20
|
+
|
|
21
|
+
| Build property and example value | Runtime property and matching value | Effect |
|
|
22
|
+
| --- | --- | --- |
|
|
23
|
+
| `CratisProxiesApiPrefix=services` | `RoutePrefix=services` | Replace `api`. |
|
|
24
|
+
| `CratisProxiesSegmentsToSkip=1` | `SegmentsToSkipForRoute=1` | Drop `Venue` from both URL and conventional output path; default drops none. |
|
|
25
|
+
| `CratisProxiesSkipCommandNameInRoute=true` | `IncludeCommandNameInRoute=false` | Omit the final command name. |
|
|
26
|
+
| `CratisProxiesSkipQueryNameInRoute=true` | `IncludeQueryNameInRoute=false` | Omit the query method name (not its read-model type). |
|
|
27
|
+
|
|
28
|
+
Names are included by default and restored when skipping would cause conventional same-kind namespace conflicts. Explicit `[Path("/rooms/free")]` from `Cratis.Arc.Queries.ModelBound` replaces the conventional route, without adding the prefix; apply to the command type, query method or read model (method wins). Controller actions use ASP.NET routing attributes instead.
|
|
23
29
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
4. From a frontend module beside `generated/`, import `{ AllAuthors }` from `./generated/Features/Authors/Listing/Author`. Compile the consuming frontend with `tsc --noEmit`.
|
|
30
|
+
- **Transport:** `[QueryHttpMethod(QueryHttpMethod.Query)]` selects HTTP QUERY for a model-bound query; `Get` requests GET, `Auto` negotiates. A method overrides its read model. This selects the generated client default, not which verbs the host accepts; callers can use `setHttpMethod`.
|
|
31
|
+
- **Group:** for `[EndpointGroup("staff")]` endpoints set `CratisProxiesEndpointGroup=staff` and use the host port assigned to that group. By default only the default group is generated. Method overrides type, type overrides assembly. Give each generated group its own output tree.
|
|
32
|
+
- **Location:** in TypeScript read `ReserveRoom.sliceLocation`, or use `SliceLocation.ofType(ReserveRoom)` / `SliceLocation.of(command)` from `@cratis/arc/reflection`. The owning namespace after root matching or trimming supplies module / intervening feature segments / slice; short paths fill deepest first. An output folder alias does not become a module.
|
|
28
33
|
|
|
29
|
-
##
|
|
34
|
+
## Choose outputs only when needed
|
|
30
35
|
|
|
31
|
-
|
|
36
|
+
These examples are MSBuild property assignments (e.g. `<CratisProxiesFramework>none</CratisProxiesFramework>` inside `PropertyGroup`).
|
|
32
37
|
|
|
33
|
-
|
|
38
|
+
- `CratisProxiesSkip=true` or `DisableProxyGenerator=true`: skip generation even with a destination. Leaving `CratisProxiesOutputPath` empty disables generation; `CratisProxiesSuppressOutputPathMessage=true` silences the empty-path notice.
|
|
39
|
+
- `CratisProxiesIncremental=false`: force discovery instead of reusing the fingerprint and recorded outputs under `$(IntermediateOutputPath)`. It does not disable the per-file write shortcut. For a damaged file, remove that generated file and rebuild.
|
|
40
|
+
- `CratisProxiesSkipOutputDeletion=false`: **recursively delete the entire output tree** before generating; use only on a disposable directory, with incremental reuse disabled for a forced reset. Normally the build keeps the directory but still removes stale generated-marked files. `CratisProxiesSkipFileIndexTracking` is forwarded but not parsed; it cannot retain orphans.
|
|
41
|
+
- `CratisProxiesUseSourceFileAsOutputFile=true`: group by C# source filename instead of per type when method debug info in an embedded or adjacent portable PDB identifies the document. Unresolved types (often enums) keep separate files.
|
|
42
|
+
- `CratisProxiesUseProxyFileSuffix=true`: write `ReserveRoom.proxy.ts`; update handwritten direct imports. Generated imports and barrels follow the suffix.
|
|
43
|
+
- `CratisProxiesSkipIndexGeneration=true`: skip writing folder `index.ts` exports. Keep handwritten barrels outside the output tree: skipping writes does not prevent cleanup.
|
|
44
|
+
- `CratisProxiesFileHeader=Venue contracts\n{fileName}`: emit comment lines with the generated filename substituted. Unset uses applicable C# `file_header_template` in `.editorconfig`, otherwise no custom header; `none` suppresses fallback, not tracking metadata.
|
|
45
|
+
- `CratisProxiesLibraryMode=true`: also collect public concrete types, interfaces and enums from project assemblies even without endpoint references. Open generic definitions are not concrete model roots.
|
|
46
|
+
- `CratisProxiesEmitInterfaces=true`: render plain model shapes rather than decorated classes. Use for data-only contracts, not where query/identity deserialization needs constructors. Command/query clients themselves remain classes.
|
|
47
|
+
- `CratisProxiesFramework=none`: omit React helpers but retain executable Arc client classes; default is React.
|
|
48
|
+
- `CratisAvailabilityManifest=$(MSBuildProjectDirectory)/obj/availability.json`: export discovered command/read-model parts, slice locations and availability gates for tooling. This does not enforce access.
|
|
34
49
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
50
|
+
## Map namespaces and types
|
|
51
|
+
|
|
52
|
+
Add only the needed MSBuild items. `Include` identifies the item; the named metadata configures generation.
|
|
53
|
+
|
|
54
|
+
```xml
|
|
55
|
+
<ItemGroup>
|
|
56
|
+
<NamespaceRoot Include="rooms" Namespace="Venue.Rooms" Folder="rooms" />
|
|
57
|
+
<TypeToTsType Include="seat-count" TypeName="Venue.Contracts.SeatCount" TsType="number" />
|
|
58
|
+
<TypeToTsType Include="price" TypeName="Venue.Contracts.Price" TsType="Price" Package="@venue/money" />
|
|
59
|
+
<AssemblyToPackageMapping Include="shared" Assembly="Venue.Shared" Package="@venue/shared" />
|
|
60
|
+
<ExcludeType Include="scratch" TypeName="Venue.Contracts.Scratch" />
|
|
61
|
+
<ExcludeNamespace Include="internal" Namespace="Venue.Internal*" />
|
|
62
|
+
</ItemGroup>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
The longest matching namespace root redirects its subtree; `Folder=""` strips that prefix without replacing it. Use roots for layout changes without changing URLs. Map a CLR type only to a compatible wire shape; omit `Package` for inline TypeScript types, supply it for imported names. Assembly mappings reuse exports from a client package rather than emitting copies. Exclusions remove unwanted types/subtrees; compile callers to catch missing dependencies. No special setting is needed for indirect scalar concepts: a record derived via an intermediate `ConceptAs<string>` record maps to the underlying string.
|
|
66
|
+
|
|
67
|
+
## Compare output or inspect validation without publishing
|
|
68
|
+
|
|
69
|
+
Use the packaged executable directly with the same compiled input and generation arguments as the build. In these shell examples `generator` is the absolute path to `Cratis.Arc.ProxyGenerator.Build.dll` from the build task directory; `assembly` and `out` are absolute paths. This is not a globally installed CLI.
|
|
70
|
+
|
|
71
|
+
```sh
|
|
72
|
+
dotnet "$generator" "$assembly" "$out" --skip-output-deletion --check
|
|
73
|
+
dotnet "$generator" "$assembly" "$out" --validation-report=json --validation-report-file="$PWD/validation.json"
|
|
74
|
+
```
|
|
38
75
|
|
|
39
|
-
|
|
76
|
+
For a drift gate build the input with `-p:CratisProxiesSkip=true` first so the build does not repair the evidence. Reproduce all non-default build options, including project directory for header resolution. `--check` compares without writing: 0 clean, 2 drift, 1 error. Separately use `--validation-report=text` for human inspection or `json` for tooling; put any JSON report file outside the proxy output. Do not combine report and check. Neither uses incremental state. For direct **writing** calls pass `--skip-output-deletion` to avoid wiping the destination and optionally `--state-file=/absolute/path/to/state.json` outside it for incremental generation.
|
|
40
77
|
|
|
41
|
-
-
|
|
42
|
-
- Expose the query (`cratis-arc-expose-query` skill in `cratis/arc/csharp`)
|
|
78
|
+
Projected literal rules (e.g. required, lengths, comparisons, regex) provide client feedback. Conditional rules, arbitrary predicates and injected-data checks remain server concerns. A clean projection report is not proof the command will execute. After changing a backend contract regenerate rather than patching the client.
|
|
43
79
|
|
|
44
|
-
##
|
|
80
|
+
## Not supported in this SDK
|
|
45
81
|
|
|
46
|
-
|
|
82
|
+
- Separate logical discovery namespace, independent conventional layout/route skip counts, configurable import extensions, or orphan retention: use CLR namespaces, layout roots, a compatible frontend resolver and separately archived output respectively.
|
|
83
|
+
- Generator override for ambiguous command result shapes or client compatibility profile: declare a concrete backend result and compile the generated client against the consuming packages.
|
|
84
|
+
- Server metadata publication, client-only source-binding inference, metadata drift check, adapter publication or endpoint-options resource: configure and test actual host registrations; compare a generated route to a live endpoint.
|
|
85
|
+
- Manifest-fed renderer, public staged source pipeline, watch/poll controls: invoke the compiled-assembly generator through builds; trigger builds from the development watcher if needed.
|
|
86
|
+
- Companion API description or Screenplay export from this target: use separate tooling for those artifacts.
|
|
47
87
|
|
|
48
|
-
|
|
88
|
+
## Common mistakes
|
|
49
89
|
|
|
50
|
-
|
|
90
|
+
- Building only the frontend after changing a backend contract: rebuild the configured endpoint project first.
|
|
91
|
+
- Editing generated payloads or routes: correct the contract or generator settings and regenerate.
|
|
@@ -1,9 +1,58 @@
|
|
|
1
|
-
# Generate proxies from a Mix application
|
|
1
|
+
# Generate TypeScript proxies from a Mix application
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Use the `:cratis_arc` dependency in the owning Mix project. The consumer needs TypeScript with decorator support and the `@cratis/arc`, `@cratis/arc.react` and `@cratis/fundamentals` packages. Names below are illustrative.
|
|
4
4
|
|
|
5
|
-
Generate
|
|
5
|
+
## Generate before checking the frontend
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Use the same application module as the host. Arc scans compiled modules in its `otp_app` for descriptors; it does not scan the frontend or infer operations from Phoenix routes.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
```elixir
|
|
10
|
+
defmodule Venue.Arc do
|
|
11
|
+
use Cratis.Arc.Application, otp_app: :venue
|
|
12
|
+
end
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Set `arc: [application: Venue.Arc]` in the keyword list returned by `project/0` in `mix.exs`. From the backend project, make this an explicit frontend build step:
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
mix arc.gen.proxies --output assets/src/arc
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
For instance, a `Venue.Rooms.Booking.ReserveRoom` command produces `assets/src/arc/Rooms/Booking/ReserveRoom.ts` with the default namespace layout. Import it from that folder's `index.ts` and type-check the frontend. To verify committed output **instead of updating it**, run `mix arc.gen.proxies --output assets/src/arc --check` from a clean checkout. A pending write or removal fails the check. Keep the `:arc` compiler **out of the check configuration**: the task runs `compile` before comparing, so that compiler could otherwise repair the drift first.
|
|
22
|
+
|
|
23
|
+
## Inputs, routing and publication controls
|
|
24
|
+
|
|
25
|
+
- **Application:** `--application Venue.Arc` overrides `arc[:application]`. To replace automatic discovery, add e.g. `artifacts: [Venue.Rooms.Booking.ReserveRoom, Venue.Rooms.Listing.Room]` to `use Cratis.Arc.Application`. Supply the complete intended set; this changes the host's discovery too.
|
|
26
|
+
- **Routing:** on the application, `route_prefix: "operations"` replaces `"api"`; `segments_to_skip: 2` drops two leading module segments instead of one. This count affects routes, slice identity and namespace output folders together. Fix the shared application configuration for a route mismatch, not the generated class.
|
|
27
|
+
- **Automatic build (alternative):** when not using the event-model compiler, set `compilers: Mix.compilers() ++ [:arc]` and `arc: [application: Venue.Arc, output: "assets/src/arc"]`. The compiler runs after compilation, including Phoenix code reloads. Omit `:arc` to disable automatic publication; without either required config value the compiler quietly does nothing. The explicit task accepts `--output` in place of configured output.
|
|
28
|
+
- **Event-model compiler:** `:arc_event_model` also consumes `arc[:output]` and cleans its own output directory. With it enabled, **omit the shared output setting** so event-model files stay in `priv/cratis/event_model`; pass the proxy directory explicitly to `mix arc.gen.proxies`. Never share either writer's directory with the other.
|
|
29
|
+
- **Co-location:** for a frontend that resolves packages from the feature directories, `mix arc.gen.proxies --layout colocated --output lib` writes proxies beside source modules under `lib`, falling back to namespace layout for modules outside that root. Or set `layout: :colocated` in `arc:`. It changes imports and paths, not routes.
|
|
30
|
+
- **Stale files:** by default generation removes obsolete marked TypeScript files and prunes empty directories after removals. To keep them, pass `--no-remove-stale` to the task or set `remove_stale: false` for the compiler. The explicit task does **not** inherit that compiler setting. Use the same flag for the corresponding check.
|
|
31
|
+
- **Write safety:** source/hash markers identify generated files; identical files are left untouched. A handwritten `index.ts` receives missing exports, not a replacement (maintain its obsolete exports yourself). Other unmarked destination files block generation. Move the conflicting handwritten file; if two artifacts map to the same path, disambiguate their names or folders.
|
|
32
|
+
|
|
33
|
+
## Inspect the generated contract
|
|
34
|
+
|
|
35
|
+
- Command: `ReserveRoom.use()` returns the command, set-values and clear-values functions. Inspect the generated payload interface, response type from the command declaration, route, roles and property descriptors. Declared docs flow into the client.
|
|
36
|
+
- Query: `AvailableRooms.use()` on a parameterless snapshot collection returns result, perform and sorting setter; an observable collection instead returns result and sorting setter. `when(condition)` gates execution; `useSuspense` suspends while loading. Collection proxies add sorting helpers, `useWithPaging` and `useSuspenseWithPaging`; only observable collections add `useChangeStream`. Single-result queries do not gain paging. Declared query parameters become typed arguments.
|
|
37
|
+
- Validation: inspectors can read the generated validator on commands and parameterized queries with projectable rules. String rules include required, length, email and pattern checks; number projection is limited to lower/upper bounds. Never substitute these checks for server validation.
|
|
38
|
+
- Slice and availability: read `ReserveRoom.sliceLocation` for module, feature and slice, and `ReserveRoom.part` for part identity; queries also expose both. Do not derive identity from the output path.
|
|
39
|
+
- Models: command field and response types, query models and parameter types, their reachable schemas and the identity provider's declared details type are roots for generation. Model classes use `@field` metadata for hydration. Use `types: [id: :uuid]` on `use Cratis.Arc.ReadModel` when struct defaults would infer a string. `:uuid` maps to `Guid`, `:date` to `DateOnly`, `:datetime` to `Date`, concepts to their primitive; lists (including nested lists), declared enums and `{:one_of, modules}` preserve collection or union shape.
|
|
40
|
+
|
|
41
|
+
## Programmatic build tooling
|
|
42
|
+
|
|
43
|
+
```elixir
|
|
44
|
+
alias Cratis.Arc.ProxyGenerator
|
|
45
|
+
artifacts = ProxyGenerator.render(Venue.Arc) # path, source and body; no writes
|
|
46
|
+
{:ok, plan} = ProxyGenerator.generate(Venue.Arc, output: "assets/src/arc", dry_run: true)
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
`plan.written`, `plan.unchanged` and `plan.removed` are relative paths. Omit `dry_run` to apply the plan; handle `{:error, messages}` for overwrite conflicts. Rendering rejects unsafe paths and duplicate destinations. To mirror source folders into a different tree, pass `layout: :colocated, root: "lib", output: "assets/src/features"` to `generate/2` (or to `render/2` for paths only); `root` otherwise defaults to the output directory in colocated mode.
|
|
50
|
+
|
|
51
|
+
## Not supported in this SDK
|
|
52
|
+
|
|
53
|
+
- No disabled notice switch, incremental state file, independent watch task or polling controls. Omit the compiler, rerun the explicit task, or use Phoenix reload as appropriate.
|
|
54
|
+
- No separate logical namespace, namespace redirects, independent layout trim, operation-name omission, generator query-method switch or endpoint group filter. Use the owning application's descriptors and routing options.
|
|
55
|
+
- No source-file bundling, filename suffix, index suppression, custom header or import-extension switch. Consume the emitted modules in a compatible frontend; use a separate handwritten entry point when needed.
|
|
56
|
+
- No custom client type/package mappings, type/namespace exclusion filters, arbitrary extra roots, model-interface mode or concept subclass switch. Declare accurate backend types and adapt generated classes at the consumer boundary.
|
|
57
|
+
- No framework-free mode, generator response override or client-profile check. Declare the response on the command and type-check against the actual React client packages; a different client can consume the service contract directly.
|
|
58
|
+
- No manifest input, availability manifest export, inferred server module/client-only inference, server metadata drift check, validation projection report, adapter publication, endpoint-options resource or API-description/Screenplay companion switches. Generate from compiled application descriptors, inspect the emitted validators and part identities, and use `--check` for proxy drift only.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Go: generator directives, dependencies and the declaration checker
|
|
2
|
+
|
|
3
|
+
Use this as the catalog once the generation workflow in [the Go generation reference](go.md) is running. Manual registration through `commands.Register` and `queries.Register` stays fully supported; a directive only tells `arc-gen` to write that registration.
|
|
4
|
+
|
|
5
|
+
`arc-gen` writes one `zz_arc_generated.go` per selected artifact package. It holds `RegisterArtifacts(builder *arc.Builder, bindings ...ArcBindings) error`: call it for each package from the composition package before `builder.Build()`. Never edit the file; old output is hidden during analysis, so handwritten code in a selected package must compile without generated symbols. The same command works in a `//go:generate` line.
|
|
6
|
+
|
|
7
|
+
## Directive catalog
|
|
8
|
+
|
|
9
|
+
Directives are line comments in the declaration's doc comment. Options are whitespace-separated `key=value` tokens whose values contain no whitespace. An unknown directive or option, a duplicate, or a misplaced directive fails generation with a file, line and column.
|
|
10
|
+
|
|
11
|
+
| Directive | On | Options and effect |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| `//arc:namespace Dispatch.Yard` | Package doc | One logical namespace for the package. Import paths and folders never decide public identity. |
|
|
14
|
+
| `//arc:command` | Named struct with `Handle` | `name`, `path`, `block-on` (`unknown`, `information`, `warning`, `error`), `response` (`value` or `none`, to disambiguate the client payload). |
|
|
15
|
+
| `//arc:readmodel` | Named struct | `name`, `path`. Exported value-receiver methods returning the model, a slice or a page of it, or an observable source of those, become its queries. |
|
|
16
|
+
| `//arc:query` | Method or function | `model` (owner, required for a top-level function), `name`, `path`, `http` (`GET` or `QUERY`). `path=` disables a model-level path override. |
|
|
17
|
+
| `//arc:model` | Named struct | `name`. Publishes a type the contract would not otherwise reach. |
|
|
18
|
+
| `//arc:enum` | Named integer type | `name`, `flags`, `members`, `parse=int32`; see the Go wire reference of `cratis-arc-declare-command`. |
|
|
19
|
+
| `//arc:derived` | Named struct | `interface`, `id`, `base`: a concrete type of a polymorphic field; same reference. |
|
|
20
|
+
| `//arc:authorize` | Command, read model or query | Optional `roles=A,B` (any of) and `policy=Name`. Bare means signed in. Repeated directives must all pass. On a query it replaces the model's rule. |
|
|
21
|
+
| `//arc:allow-anonymous` | Command, read model or query | Public. Cannot be combined with `authorize` on the same declaration. |
|
|
22
|
+
| `//arc:exclude-from-discovery` | Command, read model or query | Hides it from discovery documents only; the endpoint still runs and is still authorized. |
|
|
23
|
+
| `//arc:validator` | Struct, or constructor function | Registers a typed validator; `concept=true` for a concept leaf. See `cratis-arc-validate-command`. |
|
|
24
|
+
| `//arc:policy name=N` | Struct, or constructor function | Registers the named policy that `authorize policy=N` refers to; `evaluates-anonymous=true` lets anonymous callers reach it. See `cratis-arc-authorize-request`. |
|
|
25
|
+
| `//arc:ignore` | Type, method or function | Excludes it from discovery and checks. Combines with nothing. Not an authorization bypass. |
|
|
26
|
+
|
|
27
|
+
For `validator` and `policy`: a struct registers its zero value as one shared instance, which must be safe for concurrent use; a constructor is called per evaluation and may return `T` or `(T, error)`. The type needs the exact `Validate(context.Context, T) ([]validation.Result, error)` or `Authorize(context.Context, authorization.Context) (authorization.Decision, error)` method. A package holding only validators or policies generates nothing and is rejected: register those by hand. The generator does not check that a named policy exists; `Build` does.
|
|
28
|
+
|
|
29
|
+
## Method dependencies
|
|
30
|
+
|
|
31
|
+
In a generated command, `Handle` and `Provide` parameters after the context (and after the prepared value) are dependencies. In a generated query the first ordinary parameter is the caller's arguments and the rest are dependencies. Supply them one of two ways:
|
|
32
|
+
|
|
33
|
+
| Way | How |
|
|
34
|
+
|---|---|
|
|
35
|
+
| Callbacks (default, no container) | Fill the generated `ArcBindings` struct: one `Resolve<Type>` callback per dependency type, each returning the value for the operation. Pass it to `RegisterArtifacts(builder, bindings)`. |
|
|
36
|
+
| Scope factory | Set `ScopeFactory` in `arc.Options` to a dependency-injection provider and call `RegisterArtifacts(builder)`. A nil callback resolves the exact type from the operation scope, and `Build` fails early when the provider's catalog lacks it. |
|
|
37
|
+
|
|
38
|
+
Callbacks may run concurrently and must not retain the operation scope. `Provide` dependencies resolve only during preparation, `Handle` dependencies only after preparation is accepted, query dependencies after authorization and argument validation. Nothing resolves for a denied, invalid or validate-only call.
|
|
39
|
+
|
|
40
|
+
## Generate service registrations from constructors
|
|
41
|
+
|
|
42
|
+
Edge case, for a service that uses the Fundamentals dependency-injection container: `-bindings-config bindings.json` adds `RegisterServices(registrar)` to one owner package, generated from ordinary package-level `NewX` constructors in the selected packages.
|
|
43
|
+
|
|
44
|
+
```json
|
|
45
|
+
{
|
|
46
|
+
"formatVersion": 1,
|
|
47
|
+
"package": "example.org/dispatch/features/bays",
|
|
48
|
+
"interfaces": [{"service": "Allocator", "implementation": "*LocalAllocator"}],
|
|
49
|
+
"existing": [{"key": "*Clock", "lifetime": "singleton"}],
|
|
50
|
+
"requireAllDependencies": true
|
|
51
|
+
}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
- A constructor returns `T` or `*T`, optionally with `error`, may take one leading `context.Context`, and its other parameters are exact dependency keys. Generic and variadic constructors are rejected, as are two constructors for one key.
|
|
55
|
+
- Lifetime is transient unless the type's doc comment carries `//cratis:singleton` or `//cratis:scoped`; `//cratis:ignore-convention` skips the type.
|
|
56
|
+
- `interfaces` pairs a service interface with its implementation explicitly. `"matchIFoo": true` instead pairs `IFoo` with `Foo` in the same package; it is off by default.
|
|
57
|
+
- `existing` attests that composition already registers that exact key with that lifetime; register those before calling `RegisterServices`. For a key that another owner also registers, add `"duplicates": "keepExisting"`.
|
|
58
|
+
- Compose in this order: register existing values, `RegisterServices(registry)`, build the provider, `arc.NewBuilder(arc.Options{ScopeFactory: provider})`, then `RegisterArtifacts(builder)`. Shut the application down before closing the provider.
|
|
59
|
+
|
|
60
|
+
## Check declarations with `arc-vet`
|
|
61
|
+
|
|
62
|
+
A declaration can compile and still not be discoverable. `arc-vet` reports such mistakes without running application code or writing files. Build it from the same tools module as `arc-gen` (`go build -o arc-vet ./cmd/arc-vet`), then run it in the application module: `arc-vet ./...`, with `-json` for machine-readable output. The module must type-check; run it once per supported build-tag, GOOS and GOARCH configuration. It complements `arc-gen -check` and never fixes anything.
|
|
63
|
+
|
|
64
|
+
| Code | Meaning | Fix |
|
|
65
|
+
|---|---|---|
|
|
66
|
+
| ARC0001 | A query has an invalid result signature or does not return its owning model's shape. | Return `(result, error)` with the model, a slice, a page or an observable source of it. |
|
|
67
|
+
| ARC0002 | A struct with data and a `Handle` method is neither marked nor registered in its package. | Add `//arc:command`, register it with `commands.Register`, or mark it `//arc:ignore` when it is registered from another package. |
|
|
68
|
+
| ARC0003 | `Handle` for a command is declared on another type. | Move it onto the command. |
|
|
69
|
+
| ARC0004 | A marked command has no exported `Handle` of its own. | Declare it directly; promoted and lowercase methods do not count. |
|
|
70
|
+
| ARC0005 | `Provide` returns a value no `Handle` parameter takes by exact type. | Add the parameter, or return a control-only result. |
|
|
71
|
+
| ARC0006 | `Handle`, `Provide` or a validator constructor takes a read model by value. | Decide how absence is handled; a missing instance otherwise fails the operation. |
|
|
72
|
+
| ARC0014 | A generic function or generic-receiver method is a query. | Use a concrete declaration, or ignore the helper. |
|
|
73
|
+
| ARC0015 | A query converts a primitive argument field to a concept. | Declare the field as the concept. |
|
|
74
|
+
| ARC0019 | One declaration has both `allow-anonymous` and `authorize`. | Keep one. A query overriding its model's rule is fine. |
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Use a handwritten client against the registered routes when the frontend contract is unverified. Arc.Go's generator has one tested profile for Arc, Arc React, and Fundamentals; that partial coverage does not establish compatibility with the current frontend packages. Choose generation only when the target frontend contract is verified, including any subscriptions the application uses.
|
|
4
4
|
|
|
5
|
-
The separately maintained generator module is not distributed with the root Go runtime release. If you can build tools from source, build `arc-gen` from a checkout of the released Arc.Go source, using Go
|
|
5
|
+
The separately maintained generator module is not distributed with the root Go runtime release. If you can build tools from source, build `arc-gen` from a checkout of the released Arc.Go source, using the Go toolchain required by its tools module. From that checkout's `tools/` directory run `GOWORK=off GOTOOLCHAIN=local go install ./cmd/arc-gen`. If you can use only published packages, use the handwritten client instead.
|
|
6
6
|
|
|
7
|
-
In your application module, put `arc-gen.json` beside `go.mod`. Use your application's namespace and a fresh, dedicated client output directory. This profile is for an application whose artifact packages are under `features/`:
|
|
7
|
+
In your application module, put `arc-gen.json` beside `go.mod`. Use your application's namespace and a fresh, dedicated client output directory. Names are illustrative. This profile is for an application whose artifact packages are under `features/`:
|
|
8
8
|
|
|
9
9
|
```json
|
|
10
10
|
{
|
|
11
11
|
"formatVersion": 1,
|
|
12
|
-
"name": "
|
|
13
|
-
"defaultNamespace": "
|
|
12
|
+
"name": "dispatch-frontend",
|
|
13
|
+
"defaultNamespace": "Dispatch",
|
|
14
14
|
"typescript": { "out": "web/src/api" }
|
|
15
15
|
}
|
|
16
16
|
```
|
|
@@ -18,3 +18,49 @@ In your application module, put `arc-gen.json` beside `go.mod`. Use your applica
|
|
|
18
18
|
Run `GOWORK=off GOTOOLCHAIN=local arc-gen -config arc-gen.json ./features/...`. Select the artifact packages, not the composition package. Check that it reports both adapter and TypeScript file counts and writes a client manifest and proxies. For each generated package, check the error from `RegisterArtifacts(builder)` before building the host. If you override `routes` in the profile, match the builder's route settings; the host refuses to build when they disagree.
|
|
19
19
|
|
|
20
20
|
Run the same command with `-check` before `./features/...` to detect stale files without rewriting them. Then compile the generated client against the frontend's actual dependencies and exercise the mapped calls and subscriptions it uses. This path emits Go adapters as well as TypeScript; it does not support proxy-only output.
|
|
21
|
+
|
|
22
|
+
## Declare and select the contract
|
|
23
|
+
|
|
24
|
+
For the complete directive catalog, supplying method dependencies, generating service registrations from constructors and the `arc-vet` declaration checker, read [Go: generator directives, dependencies and the declaration checker](go-directives.md).
|
|
25
|
+
|
|
26
|
+
For a snapshot, attach line directives to declarations in a selected package. For example:
|
|
27
|
+
|
|
28
|
+
```go
|
|
29
|
+
//arc:readmodel
|
|
30
|
+
type Bay struct { Number int `json:"number"` }
|
|
31
|
+
|
|
32
|
+
//arc:query
|
|
33
|
+
func (Bay) Available() ([]Bay, error) { return []Bay{{Number: 7}}, nil }
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
`Available` publishes a model-array query. A declared `observable.Source[[]Bay]` result instead describes a subscription; a raw channel does not. A `//arc:command` struct with `Handle` publishes a command; the client supplies the serialized fields, not the handler's dependencies. Supported command rules (presence, length and numeric bounds) project to client and server. Snapshot query string rules support presence and length; query defaults remain server-side. Observable-query validators cannot be projected. Do not infer server paging from a generated paging hook.
|
|
37
|
+
|
|
38
|
+
- `arc-gen -dir ./service -tags dispatch -config arc-gen.json ./features/...`: select packages in the owner module; without patterns the scope is `.` and without `-dir` loading starts in the working directory. Match build tags, GOOS and GOARCH to the host. The loader analyzes declarations without running application code.
|
|
39
|
+
- `-typescript-out web/src/generated` overrides `typescript.out` relative to the module. To generate adapters alone, omit both output settings. Do not turn `typescript.emitGo` off or pass `-emit-go=false` with TypeScript output; the CLI flag overrides the profile.
|
|
40
|
+
- `-bindings-config bindings.json` additionally selects constructor-service generation. For example, `{"formatVersion":1,"package":"example.org/dispatch/features/bays","interfaces":[{"service":"Allocator","implementation":"*LocalAllocator"}]}` selects an exact pair for eligible constructors. Wire generated services before consuming them; the profile does not supply external dependencies.
|
|
41
|
+
|
|
42
|
+
## Customize the profile only when needed
|
|
43
|
+
|
|
44
|
+
The following are JSON members, not additional command-line flags. Use only the changes your host and frontend require.
|
|
45
|
+
|
|
46
|
+
- `"packageNamespaces":{"example.org/dispatch/shared":"Dispatch.Shared"}` assigns a logical namespace to an import path, including reachable dependency models. Alternatively put `//arc:namespace Dispatch.Yard` in a package doc comment. Do not infer namespaces from directories; without a namespace a declaration can be global. Dependencies do not receive adapters.
|
|
47
|
+
- `"routes":{"routePrefix":"yard","segmentsToSkip":1,"includeCommandName":false,"includeQueryName":false,"enableQueryHttpMethod":false}` illustrates replacing the `api` prefix, dropping a leading logical segment, omitting operation names and disabling HTTP QUERY. Defaults trim nothing, include both names and enable QUERY. Use only settings that resolve unambiguously for the whole catalog. A deployment base URL is a separate client runtime setting.
|
|
48
|
+
- `"clientHttp":{"Dispatch.Bay.Available":"Get"}` selects the client method by read-model and query identity. `Get`, `Query` and `Auto` must agree with the exposed methods. A `//arc:query http=QUERY` declaration implies `Query`; don't pair it with `Get`, `Auto` or disabled QUERY.
|
|
49
|
+
- Inside `typescript`, `"segmentsToSkip":2` trims output paths instead of URLs (otherwise inherits route trimming). `"namespaceRoots":[{"namespace":"Dispatch.Shared","folder":"common"}]` replaces the longest matching namespace prefix instead of trimming. `"proxyFileSuffix":true` emits `.proxy.ts` rather than `.ts`; imports are relative and each directory gets a sorted, nonrecursive barrel.
|
|
50
|
+
- Inside `typescript`, `"excludeTypes":["Dispatch.ResetBay"]` omits an exact public identity; `"excludeNamespaces":["Dispatch.Internal"]` omits a logical subtree. Neither changes routing or authorization; excluding a required reachable model can fail generation.
|
|
51
|
+
- `"typeRoots":["example.org/dispatch/features/bays.BayStatus"]` adds a named compiler type not otherwise reachable. Use a Go import path here, not the client namespace.
|
|
52
|
+
- `"responses":{"Dispatch.ReleaseBay":"value"}` disambiguates an existing command result; `none` means no client payload. A void command cannot promise a value. Prefer a statically typed return such as `commands.Outcome[T]` when it expresses the actual contract.
|
|
53
|
+
- `typescript.clientVersion` is a compatibility guard, not a package installer or a version range. Omit it for the built-in profile; any explicit value other than the generator's one accepted profile fails. It does not check installed dependencies.
|
|
54
|
+
- For companion outputs, use `formatVersion: 2`. For OpenAPI supply `"openapi":{"title":"Dispatch API","version":"1","out":"api/dispatch.json"}`, `"server":{"runtime":"arc-go"}` and the wire assertions that match the host (for example `"responseFields":{"Cratis.ValidationResult":{"state":{"absent":true}}}`). `-openapi-out api/public.json` overrides the document location, not the contract. For partial Screenplay metadata use `"screenplay":{"out":"api/dispatch.play"}` or `-screenplay-out api/dispatch.play`. Neither replaces the generated client.
|
|
55
|
+
|
|
56
|
+
## Publish and check safely
|
|
57
|
+
|
|
58
|
+
Use one writer and a dedicated output root per profile and package/tag scope. Commit the generated artifacts and `.arc-gen-manifest.json` with the inputs; use `-check` in CI for missing, changed or obsolete output. Generation removes only its own verified stale files. An existing adapter-only output cannot simply be adopted for mixed generation. If publication is interrupted, preserve `.arc-gen-pending.json`, fix the cause and rerun the same invocation with unchanged inputs; check mode detects but does not repair interruptions.
|
|
59
|
+
|
|
60
|
+
## Not supported in this SDK
|
|
61
|
+
|
|
62
|
+
- Endpoint groups, a disabled-generation notice switch, an incremental-state switch, watch and polling: choose explicit package patterns and invoke generation or `-check` from the build or an external watcher.
|
|
63
|
+
- Source grouping/co-location, barrel suppression, stale-file retention, file headers and import-extension controls: keep the generated directory generator-owned; place handwritten exports, notices and compatibility wrappers outside it.
|
|
64
|
+
- Model-interface or framework-free publication, arbitrary type/package substitution and scalar-subclass overrides: consume the generated per-type classes and supported scalar mappings. `sourceGrouping`, `interfaces`, `library` and custom `imports` are not supported projection modes. For an opaque codec or incompatible client, expose an explicit wire DTO or write the client against the endpoint.
|
|
65
|
+
- Availability export, separate server metadata, client-only inference, metadata-only checks, slice-location metadata, validation projection reports and endpoint-options resources: use generated Go registrations, host build checks and the generated client itself. The ownership manifest is not availability metadata. Test validation and authorization against the server.
|
|
66
|
+
- Manifest input, public programmatic rendering and proxy-only output: call the CLI on Go declarations and register the accompanying adapters, or use a handwritten client.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Arc build diagnostics in Java
|
|
2
|
+
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- Commands
|
|
6
|
+
- Read models and queries
|
|
7
|
+
- Contract types and validation
|
|
8
|
+
- Build setup and interoperability
|
|
9
|
+
|
|
10
|
+
Arc discovers commands, read models and validation rules at compile time. A declaration it cannot describe is reported against that declaration with a stable `ARCKSP` code. An error stops generation for the whole module: no endpoints, no manifest and no TypeScript clients are produced until it is fixed. A warning compiles, but usually means Arc ignores something you expected it to pick up. Fix the declaration; do not suppress the code.
|
|
11
|
+
|
|
12
|
+
## Commands
|
|
13
|
+
|
|
14
|
+
| Code | Meaning | Fix |
|
|
15
|
+
| --- | --- | --- |
|
|
16
|
+
| `ARCKSP0100` (warning) | A type has a `handle` function and public properties but no `@Command`; it is ignored. | Add `@Command`, or rename the function if the type is not a command. |
|
|
17
|
+
| `ARCKSP0101` | The command is not a public, top-level, concrete, non-generic class. | Move it to the top level and make it a plain public class. |
|
|
18
|
+
| `ARCKSP0102` | `handle` is missing, overloaded, not a public instance function or otherwise unusable. | Declare exactly one public instance `handle`. |
|
|
19
|
+
| `ARCKSP0103` | `provide` is overloaded or has an unusable shape. | Declare at most one `provide`. |
|
|
20
|
+
| `ARCKSP0104` | A `handle` or `provide` parameter cannot be supplied, or a Java `Optional` parameter has no concrete type argument. | Use a concrete dependency type or a value produced by `provide`. |
|
|
21
|
+
| `ARCKSP0105` | The return type cannot be turned into a result. | Return one of the documented `handle` return shapes. |
|
|
22
|
+
| `ARCKSP0106` | More than one `@CommandKey`. | Keep one, or implement `CommandKeyProvider` for a derived key. |
|
|
23
|
+
| `ARCKSP0107` (warning) | A value returned by `provide` is taken by no `handle` parameter. | Add the parameter or stop providing the value. |
|
|
24
|
+
| `ARCKSP0108` | `@AllowAnonymous` is combined with `@Authorize` or `@Roles` on the same declaration, or repeated on both the class and the operation. | Keep one intent per declaration; put the exception on the operation and the rule on the class, or the reverse. |
|
|
25
|
+
| `ARCKSP0109` | The return type holds more than one possible client response. | Return one response; let the server consume the other values. |
|
|
26
|
+
| `ARCKSP0110` | An event-metadata annotation on the command has a blank or unsafe value. | Supply a nonblank value or remove the annotation. |
|
|
27
|
+
|
|
28
|
+
## Read models and queries
|
|
29
|
+
|
|
30
|
+
| Code | Meaning | Fix |
|
|
31
|
+
| --- | --- | --- |
|
|
32
|
+
| `ARCKSP0200` | The read model is not a public, top-level, concrete, non-generic class. | Move it to the top level and make it a plain public class. |
|
|
33
|
+
| `ARCKSP0201` | A query function is not a public, non-generic static method on the read model. | Declare it in that shape. |
|
|
34
|
+
| `ARCKSP0202` | Two query functions on one read model share a name. | Give each query a unique name. |
|
|
35
|
+
| `ARCKSP0203` | A query parameter has an unsupported type or no name. | Use a scalar, concept, enum or supported model, or mark a dependency `@FromServices`. |
|
|
36
|
+
| `ARCKSP0204` | The return type does not contain the enclosing read model in a supported shape. | Return the model, a collection, a page or a supported stream of it. |
|
|
37
|
+
| `ARCKSP0205` | `@QueryTransport` disagrees with the return type (observable declared without a stream, or the reverse). | Remove the annotation or return the matching type. |
|
|
38
|
+
| `ARCKSP0206` | A `@Path` is invalid, or two queries resolve to the same route. | Give each query a distinct route. |
|
|
39
|
+
| `ARCKSP0207` | Two functions produce the same fully qualified query name. | Rename one. |
|
|
40
|
+
| `ARCKSP0208` | `QueryRequest` or `QueryContext` is nullable, generic or declared twice. | Declare each at most once, exact and non-null. |
|
|
41
|
+
| `ARCKSP0209` | Applies to Kotlin parameter defaults only; Java sources do not raise it. | None. |
|
|
42
|
+
| `ARCKSP0210` | A Spring `Pageable` or `Sort` parameter is nullable, generic, repeated, or the query does not return a Spring Data `Page`. | Declare each once and return `Page<T>`. |
|
|
43
|
+
|
|
44
|
+
## Contract types and validation
|
|
45
|
+
|
|
46
|
+
| Code | Meaning | Fix |
|
|
47
|
+
| --- | --- | --- |
|
|
48
|
+
| `ARCKSP0300` | A type reachable from a contract cannot be represented in the client: a computed or renamed command member, an unsupported map, a star projection or an unknown shape. | Use backed properties and supported types; see the wire-types reference. |
|
|
49
|
+
| `ARCKSP0301` | A Jakarta constraint cannot be mirrored, or its bounds contradict each other. | Use a supported constraint with consistent bounds. |
|
|
50
|
+
| `ARCKSP0302` | An `ArcEnum` value cannot be determined or two sources disagree. | Add or correct `@ArcEnumValue` on each entry. |
|
|
51
|
+
| `ARCKSP0303` | `@DerivedType` has a missing or blank identifier. | Supply a stable nonblank identifier. |
|
|
52
|
+
| `ARCKSP0304` | `@DerivedType` is on an interface or another unsupported target. | Annotate the concrete implementations. |
|
|
53
|
+
| `ARCKSP0305` | A property is typed as a concrete class that has `@DerivedType` subclasses. | Type it as an interface or abstract base. |
|
|
54
|
+
| `ARCKSP0306` | `@ExportedType` is on a nested or local type, or on something other than a class, enum or interface. | Move the type to the top level. |
|
|
55
|
+
| `ARCKSP0307` | An identity details provider is not bound to one concrete details type. | Implement the provider with a concrete details class. |
|
|
56
|
+
| `ARCKSP0308` | A fluent validator is not a public, final, top-level class over one concrete model. | Reshape the validator class. |
|
|
57
|
+
| `ARCKSP0309` | A fluent rule cannot be reproduced in the client. | Use literal rules on a direct member; move other logic to a server-only validator. |
|
|
58
|
+
| `ARCKSP0310` | The compiled metadata for fluent validation is missing or inconsistent. | Apply the Arc Gradle plugin to the module that declares the validator and rebuild. |
|
|
59
|
+
| `ARCKSP0311` | `@IgnoreValidation` is on a member Arc cannot identify unambiguously. | Put it on one direct property. |
|
|
60
|
+
|
|
61
|
+
## Build setup and interoperability
|
|
62
|
+
|
|
63
|
+
| Code | Meaning | Fix |
|
|
64
|
+
| --- | --- | --- |
|
|
65
|
+
| `ARCKSP0001` | A generator option is invalid or unreadable. | Let the Arc Gradle plugin configure the generator; correct the `cratisArc` block instead of passing options by hand. |
|
|
66
|
+
| `ARCKSP0400` (warning) | A declaration behaves differently across Java and Kotlin, for example a Kotlin parameter default that callers never get to omit. | Follow the message; usually remove the default or make the type explicit. |
|
|
67
|
+
| `ARCKSP9999` | An unclassified generator failure. | Read the message; if the declaration looks valid, reduce it to a minimal case and report it. |
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# Arc wire types in Java
|
|
2
|
+
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- JSON conventions
|
|
6
|
+
- Scalar mapping
|
|
7
|
+
- Enums
|
|
8
|
+
- Polymorphic types
|
|
9
|
+
- Maps
|
|
10
|
+
- The mapper
|
|
11
|
+
|
|
12
|
+
How Java contract types travel as JSON and which TypeScript type the generated client gets. Names are illustrative.
|
|
13
|
+
|
|
14
|
+
## JSON conventions
|
|
15
|
+
|
|
16
|
+
- Property names are camel-cased: `Title` becomes `title`. A name that starts with two uppercase letters, such as `URLValue`, stays unchanged. Generated TypeScript uses the same names.
|
|
17
|
+
- Null properties are omitted when writing. A `@Nullable` or otherwise nullable component becomes an optional TypeScript member.
|
|
18
|
+
- Dates and durations are ISO-8601 text, never numeric timestamps.
|
|
19
|
+
- A `ConceptAs` value travels as its underlying scalar, not as an object.
|
|
20
|
+
- Do not rename contract members with `@JsonProperty`: the generated client follows the declared names, and generation refuses a renamed command member. `@JsonIgnore` removes a member from the contract on both sides.
|
|
21
|
+
|
|
22
|
+
## Scalar mapping
|
|
23
|
+
|
|
24
|
+
| Java type | TypeScript type | JSON |
|
|
25
|
+
| --- | --- | --- |
|
|
26
|
+
| `String`, `char`, `Character` | `string` | string |
|
|
27
|
+
| `boolean`, `Boolean` | `boolean` | boolean |
|
|
28
|
+
| `byte`, `short`, `int`, `long`, `float`, `double` and their boxes, `BigDecimal`, `BigInteger` | `number` | number |
|
|
29
|
+
| `java.util.UUID` | `Guid` (`@cratis/fundamentals`) | string |
|
|
30
|
+
| `java.time.LocalDate` | `DateOnly` (`@cratis/fundamentals`) | `yyyy-MM-dd` |
|
|
31
|
+
| `java.time.LocalTime` | `TimeOnly` (`@cratis/fundamentals`) | time text, at most seven fractional digits |
|
|
32
|
+
| `LocalDateTime`, `Instant`, `OffsetDateTime`, `ZonedDateTime` | `Date` | ISO-8601 date-time |
|
|
33
|
+
| `OffsetTime`, `Duration`, `Period` | `string` | ISO-8601 text |
|
|
34
|
+
| `List`, `Set`, `Collection`, arrays | `T[]` | array |
|
|
35
|
+
| enum | generated numeric enum | integer |
|
|
36
|
+
|
|
37
|
+
A JavaScript `Date` keeps neither the original offset nor the zone, and `LocalDateTime` gains the browser's zone. Use `Instant` for a moment in time and `LocalDate` or `LocalTime` for calendar values. `long`, `BigDecimal` and `BigInteger` values beyond JavaScript's safe integer or double precision lose precision in the client; carry such values as a `String`. A `LocalTime` finer than 100 ns is rejected rather than rounded.
|
|
38
|
+
|
|
39
|
+
## Enums
|
|
40
|
+
|
|
41
|
+
An ordinary enum is written as its ordinal, so reordering or inserting entries changes the wire. Reading accepts the integer or the entry name (case-insensitive); anything else is a malformed request.
|
|
42
|
+
|
|
43
|
+
For stable or explicit values implement `ArcEnum` (`io.cratis.arc.concepts`):
|
|
44
|
+
|
|
45
|
+
```java
|
|
46
|
+
public enum ParcelState implements ArcEnum {
|
|
47
|
+
@ArcEnumValue(10) REGISTERED(10),
|
|
48
|
+
@ArcEnumValue(20) RELEASED(20);
|
|
49
|
+
|
|
50
|
+
private final int wireValue;
|
|
51
|
+
|
|
52
|
+
ParcelState(int wireValue) { this.wireValue = wireValue; }
|
|
53
|
+
|
|
54
|
+
@Override
|
|
55
|
+
public int value() { return wireValue; }
|
|
56
|
+
}
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
- Put `@ArcEnumValue(n)` (`io.cratis.arc.concepts`) on every entry and keep it equal to what `value()` returns; a missing or conflicting value fails the build.
|
|
60
|
+
- `@Flags` on the enum marks a bit field: the generated TypeScript enum gains an `all<Name>` constant that combines every nonzero member. The server still reads only declared entries, so a combination such as `READ | WRITE` is accepted only when the enum declares an entry with that value.
|
|
61
|
+
|
|
62
|
+
## Polymorphic types
|
|
63
|
+
|
|
64
|
+
Declare the property as an interface or abstract class and mark every concrete implementation with `@DerivedType` (`io.cratis.fundamentals.serialization`):
|
|
65
|
+
|
|
66
|
+
```java
|
|
67
|
+
public interface Shape {}
|
|
68
|
+
|
|
69
|
+
@DerivedType("circle")
|
|
70
|
+
public record Circle(int radius) implements Shape {}
|
|
71
|
+
|
|
72
|
+
@DerivedType("square")
|
|
73
|
+
public record Square(int side) implements Shape {}
|
|
74
|
+
|
|
75
|
+
@Command
|
|
76
|
+
public record DrawShape(Shape shape) {
|
|
77
|
+
public void handle() {}
|
|
78
|
+
}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Each type goes in its own file.
|
|
82
|
+
|
|
83
|
+
- The identifier must be nonblank, unique within its base type and never change once clients or stored data use it. Arc writes it as the `_derivedTypeId` member and uses it to pick the class when reading; a non-null value without a known identifier is rejected.
|
|
84
|
+
- Do not put `@DerivedType` on an interface, and do not use an ordinary concrete class as the polymorphic base (`ARCKSP0305`).
|
|
85
|
+
- The Spring Boot starter registers every hierarchy the generator saw. A hierarchy that comes from a library the generator never processed needs a registrar bean:
|
|
86
|
+
|
|
87
|
+
```java
|
|
88
|
+
@Bean
|
|
89
|
+
DerivedTypeRegistrar externalShapes() {
|
|
90
|
+
return registry -> registry.register(Shape.class, ExternalCircle.class);
|
|
91
|
+
}
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Declaring your own `DerivedTypeRegistry` bean replaces Arc's registry, generated registrations included; prefer a `DerivedTypeRegistrar`. The older `io.cratis.arc.polymorphism.DerivedType` annotation is deprecated.
|
|
95
|
+
|
|
96
|
+
## Maps
|
|
97
|
+
|
|
98
|
+
A `java.util.Map` property is supported when the key is `String`, no entry is nullable and every leaf is a string, boolean, character, byte, short or integer; values may be lists or nested maps of those. It becomes `Record<string, …>` in TypeScript. Other key types, nullable entries, floating-point leaves and maps of models are rejected at generation: model them as a list of entries instead.
|
|
99
|
+
|
|
100
|
+
## The mapper
|
|
101
|
+
|
|
102
|
+
The Spring Boot starter configures the application's Jackson mapper with these conventions, so conventional controllers and Arc endpoints share one wire format. Keep it:
|
|
103
|
+
|
|
104
|
+
- Do not add the Fundamentals `ConceptsModule` or `DerivedTypesModule` to it, and leave out its `EnumModule`: Arc has its own concept, polymorphism and enum handling. Spring's automatic Jackson module discovery (`spring.jackson.find-and-add-modules`) picks up `ConceptsModule` when its artifact is on the runtime classpath, which changes how concepts travel.
|
|
105
|
+
- Mapper types live in `tools.jackson`; Jackson annotations stay in `com.fasterxml.jackson.annotation`.
|
|
106
|
+
- If the application supplies its own mapper, pass it through `ArcObjectMapper.configure(mapper)` (`io.cratis.arc.json`) and use the returned copy; the argument is not changed.
|
|
107
|
+
- Outside Spring, build the mapper yourself:
|
|
108
|
+
|
|
109
|
+
```java
|
|
110
|
+
static ObjectMapper mapperFor(ArcArtifactModule module) {
|
|
111
|
+
var registry = new ConcurrentDerivedTypeRegistry();
|
|
112
|
+
ArcArtifactModuleRegistry.registerDerivedTypes(module, registry);
|
|
113
|
+
return ArcObjectMapper.create(registry);
|
|
114
|
+
}
|
|
115
|
+
```
|