@cratis/pi 8.2.2 → 8.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/corpus/harnesses/copilot/instructions/ai-distribution.instructions.md +7 -9
- package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +25 -55
- package/package/corpus/harnesses/copilot/instructions/browser.instructions.md +10 -7
- package/package/corpus/harnesses/copilot/instructions/code-health.instructions.md +8 -1
- package/package/corpus/harnesses/copilot/instructions/code-quality.csharp.instructions.md +3 -2
- package/package/corpus/harnesses/copilot/instructions/code-quality.instructions.md +5 -5
- package/package/corpus/harnesses/copilot/instructions/code-quality.typescript.instructions.md +4 -3
- package/package/corpus/harnesses/copilot/instructions/codescene.instructions.md +5 -4
- package/package/corpus/harnesses/copilot/instructions/components.instructions.md +6 -8
- package/package/corpus/harnesses/copilot/instructions/concepts.instructions.md +15 -2
- package/package/corpus/harnesses/copilot/instructions/cratis-folder-is-configuration.instructions.md +3 -5
- package/package/corpus/harnesses/copilot/instructions/criticality-tiers.instructions.md +7 -35
- package/package/corpus/harnesses/copilot/instructions/csharp.instructions.md +13 -6
- package/package/corpus/harnesses/copilot/instructions/dialogs.instructions.md +8 -3
- package/package/corpus/harnesses/copilot/instructions/discoverability.instructions.md +8 -2
- package/package/corpus/harnesses/copilot/instructions/documentation-structure-and-formatting.instructions.md +12 -6
- package/package/corpus/harnesses/copilot/instructions/documentation.instructions.md +12 -7
- package/package/corpus/harnesses/copilot/instructions/editing-cratis-docs.instructions.md +8 -6
- package/package/corpus/harnesses/copilot/instructions/efcore.instructions.md +13 -9
- package/package/corpus/harnesses/copilot/instructions/efcore.specs.instructions.md +9 -5
- package/package/corpus/harnesses/copilot/instructions/elixir.instructions.md +12 -8
- package/package/corpus/harnesses/copilot/instructions/exit-codes-and-wrappers.instructions.md +7 -4
- package/package/corpus/harnesses/copilot/instructions/framework-dotnet.instructions.md +12 -6
- package/package/corpus/harnesses/copilot/instructions/framework.instructions.md +11 -7
- package/package/corpus/harnesses/copilot/instructions/frontend-quality.instructions.md +8 -7
- package/package/corpus/harnesses/copilot/instructions/frontend-testing.instructions.md +5 -3
- package/package/corpus/harnesses/copilot/instructions/general.instructions.md +2 -2
- package/package/corpus/harnesses/copilot/instructions/github-actions.instructions.md +11 -6
- package/package/corpus/harnesses/copilot/instructions/glossary.instructions.md +13 -13
- package/package/corpus/harnesses/copilot/instructions/go-engineering.instructions.md +13 -39
- package/package/corpus/harnesses/copilot/instructions/go.instructions.md +18 -139
- package/package/corpus/harnesses/copilot/instructions/guards-and-fuses.instructions.md +14 -60
- package/package/corpus/harnesses/copilot/instructions/issue-assignment.instructions.md +6 -9
- package/package/corpus/harnesses/copilot/instructions/java.instructions.md +8 -6
- package/package/corpus/harnesses/copilot/instructions/kotlin.instructions.md +12 -7
- package/package/corpus/harnesses/copilot/instructions/local-verification-and-delivery.instructions.md +8 -5
- package/package/corpus/harnesses/copilot/instructions/local-work-artifacts.instructions.md +11 -64
- package/package/corpus/harnesses/copilot/instructions/new-repository-intake.instructions.md +7 -28
- package/package/corpus/harnesses/copilot/instructions/operational-safety.instructions.md +26 -41
- package/package/corpus/harnesses/copilot/instructions/orleans.instructions.md +27 -5
- package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +8 -11
- package/package/corpus/harnesses/copilot/instructions/published-contracts.instructions.md +6 -25
- package/package/corpus/harnesses/copilot/instructions/react.instructions.md +9 -2
- package/package/corpus/harnesses/copilot/instructions/reactors.instructions.md +17 -5
- package/package/corpus/harnesses/copilot/instructions/review-reports.instructions.md +12 -94
- package/package/corpus/harnesses/copilot/instructions/scripting.instructions.md +5 -5
- package/package/corpus/harnesses/copilot/instructions/specs.csharp.instructions.md +11 -8
- package/package/corpus/harnesses/copilot/instructions/specs.elixir.instructions.md +9 -4
- package/package/corpus/harnesses/copilot/instructions/specs.instructions.md +7 -4
- package/package/corpus/harnesses/copilot/instructions/specs.scenarios.csharp.instructions.md +11 -2
- package/package/corpus/harnesses/copilot/instructions/specs.typescript.instructions.md +8 -11
- package/package/corpus/harnesses/copilot/instructions/storybook.instructions.md +4 -7
- package/package/corpus/harnesses/copilot/instructions/typescript.instructions.md +8 -8
- package/package/corpus/harnesses/copilot/instructions/verification-discipline.instructions.md +6 -9
- package/package/corpus/harnesses/copilot/instructions/vertical-slices.instructions.md +29 -5
- package/package/corpus/harnesses/copilot/instructions/writing-correct-examples.instructions.md +12 -3
- package/package/corpus/harnesses/copilot/instructions/writing-cratis-docs.instructions.md +11 -3
- package/package/corpus/hooks/scripts/cratis-cleanup-worktrees.sh +36 -24
- package/package/corpus/hooks/scripts/cratis-guard-secrets.sh +66 -22
- package/package/corpus/hooks/scripts/cratis-store-mutations.json +1 -1
- package/package/corpus/rules/ai-distribution.md +7 -9
- package/package/corpus/rules/authoring-skills.md +25 -55
- package/package/corpus/rules/browser.md +10 -7
- package/package/corpus/rules/code-health-policy.txt +3 -3
- package/package/corpus/rules/code-health.md +8 -1
- package/package/corpus/rules/code-quality.csharp.md +3 -2
- package/package/corpus/rules/code-quality.md +5 -5
- package/package/corpus/rules/code-quality.typescript.md +4 -3
- package/package/corpus/rules/codescene-reference.txt +34 -0
- package/package/corpus/rules/codescene.md +5 -4
- package/package/corpus/rules/components.md +6 -8
- package/package/corpus/rules/concepts.md +15 -2
- package/package/corpus/rules/cratis-folder-is-configuration.md +3 -5
- package/package/corpus/rules/criticality-tiers.md +7 -35
- package/package/corpus/rules/csharp.md +13 -6
- package/package/corpus/rules/dialogs.md +8 -3
- package/package/corpus/rules/discoverability.md +8 -2
- package/package/corpus/rules/documentation-structure-and-formatting.md +12 -6
- package/package/corpus/rules/documentation.md +12 -7
- package/package/corpus/rules/editing-cratis-docs.md +8 -6
- package/package/corpus/rules/efcore.md +13 -9
- package/package/corpus/rules/efcore.specs.md +9 -5
- package/package/corpus/rules/elixir.md +12 -8
- package/package/corpus/rules/exit-codes-and-wrappers.md +7 -4
- package/package/corpus/rules/framework-dotnet.md +12 -6
- package/package/corpus/rules/framework.md +11 -7
- package/package/corpus/rules/frontend-quality.md +8 -7
- package/package/corpus/rules/frontend-testing.md +5 -3
- package/package/corpus/rules/general.md +8 -10
- package/package/corpus/rules/github-actions.md +11 -6
- package/package/corpus/rules/glossary.md +13 -13
- package/package/corpus/rules/go-engineering.md +13 -39
- package/package/corpus/rules/go.md +18 -139
- package/package/corpus/rules/guards-and-fuses.md +14 -60
- package/package/corpus/rules/issue-assignment.md +6 -9
- package/package/corpus/rules/java.md +8 -6
- package/package/corpus/rules/kotlin.md +12 -7
- package/package/corpus/rules/local-verification-and-delivery.md +8 -5
- package/package/corpus/rules/local-work-artifacts.md +11 -64
- package/package/corpus/rules/new-repository-intake.md +7 -28
- package/package/corpus/rules/operational-safety.md +26 -41
- package/package/corpus/rules/orleans.md +27 -5
- package/package/corpus/rules/profiles.md +8 -11
- package/package/corpus/rules/published-contracts.md +6 -25
- package/package/corpus/rules/react.md +9 -2
- package/package/corpus/rules/reactors.md +17 -5
- package/package/corpus/rules/review-reports.md +12 -94
- package/package/corpus/rules/scripting.md +5 -5
- package/package/corpus/rules/specs.csharp.md +11 -8
- package/package/corpus/rules/specs.elixir.md +9 -4
- package/package/corpus/rules/specs.md +7 -4
- package/package/corpus/rules/specs.scenarios.csharp.md +11 -2
- package/package/corpus/rules/specs.typescript.md +8 -11
- package/package/corpus/rules/storybook.md +4 -7
- package/package/corpus/rules/typescript.md +8 -8
- package/package/corpus/rules/verification-discipline.md +6 -9
- package/package/corpus/rules/vertical-slices.md +29 -5
- package/package/corpus/rules/writing-correct-examples.md +12 -3
- package/package/corpus/rules/writing-cratis-docs.md +11 -3
- package/package/corpus/skills/cratis-ai-corpus-authoring/LICENSE +21 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/SKILL.md +140 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/references/checklist.md +46 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/references/evaluation.md +19 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/references/large-rewrites.md +25 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/references/skill-anatomy.md +75 -0
- package/package/corpus/skills/cratis-application-growth/SKILL.md +148 -63
- package/package/corpus/skills/cratis-application-growth/references/csharp.md +170 -0
- package/package/corpus/skills/cratis-application-growth/references/elixir.md +26 -0
- package/package/corpus/skills/cratis-application-growth/references/go.md +27 -0
- package/package/corpus/skills/cratis-application-growth/references/java.md +23 -0
- package/package/corpus/skills/cratis-application-growth/references/kotlin.md +31 -0
- package/package/corpus/skills/cratis-application-growth/references/move-and-untangle.md +7 -6
- package/package/corpus/skills/cratis-application-growth/references/rename-window.md +14 -14
- package/package/corpus/skills/cratis-application-growth/references/service-and-delivery.md +21 -0
- package/package/corpus/skills/cratis-application-growth/references/stages.md +1 -9
- package/package/corpus/skills/cratis-application-growth/references/typescript.md +38 -0
- package/package/corpus/skills/cratis-arc-authorize-request/SKILL.md +31 -23
- package/package/corpus/skills/cratis-arc-authorize-request/references/authproxy.md +96 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/csharp-query-security.md +61 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/csharp.md +92 -38
- package/package/corpus/skills/cratis-arc-authorize-request/references/elixir.md +74 -4
- package/package/corpus/skills/cratis-arc-authorize-request/references/go-authentication.md +93 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/go.md +80 -2
- package/package/corpus/skills/cratis-arc-authorize-request/references/java.md +79 -3
- package/package/corpus/skills/cratis-arc-authorize-request/references/kotlin.md +80 -17
- package/package/corpus/skills/cratis-arc-authorize-request/references/python.md +1 -1
- package/package/corpus/skills/cratis-arc-authorize-request/references/typescript.md +106 -6
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/SKILL.md +85 -42
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/typescript-rule-fixes.md +89 -0
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/typescript.md +99 -0
- package/package/corpus/skills/cratis-arc-connect-storage/SKILL.md +54 -14
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp-connection-resolution.md +66 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp-ef.md +78 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp-neo4j.md +30 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp.md +59 -66
- package/package/corpus/skills/cratis-arc-connect-storage/references/elixir.md +121 -3
- package/package/corpus/skills/cratis-arc-connect-storage/references/go.md +73 -3
- package/package/corpus/skills/cratis-arc-connect-storage/references/java.md +68 -3
- package/package/corpus/skills/cratis-arc-connect-storage/references/kotlin.md +74 -3
- package/package/corpus/skills/cratis-arc-connect-storage/references/python.md +2 -2
- package/package/corpus/skills/cratis-arc-connect-storage/references/typescript-drizzle.md +31 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/typescript.md +62 -4
- package/package/corpus/skills/cratis-arc-declare-command/SKILL.md +52 -28
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp-chronicle.md +190 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp-controller.md +44 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp-history.md +125 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp.md +282 -55
- package/package/corpus/skills/cratis-arc-declare-command/references/elixir.md +121 -8
- package/package/corpus/skills/cratis-arc-declare-command/references/go-aggregate.md +59 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/go-chronicle.md +51 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/go-wire.md +94 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/go.md +160 -25
- package/package/corpus/skills/cratis-arc-declare-command/references/java.md +140 -13
- package/package/corpus/skills/cratis-arc-declare-command/references/kotlin.md +189 -23
- package/package/corpus/skills/cratis-arc-declare-command/references/typescript-aggregates.md +73 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/typescript.md +209 -24
- package/package/corpus/skills/cratis-arc-declare-operation/SKILL.md +28 -25
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp-abilities.md +30 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp-recovery.md +50 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp.md +27 -55
- package/package/corpus/skills/cratis-arc-declare-operation/references/elixir.md +17 -1
- package/package/corpus/skills/cratis-arc-declare-operation/references/go.md +75 -5
- package/package/corpus/skills/cratis-arc-declare-operation/references/java.md +13 -2
- package/package/corpus/skills/cratis-arc-declare-operation/references/kotlin.md +11 -2
- package/package/corpus/skills/cratis-arc-declare-operation/references/python.md +2 -2
- package/package/corpus/skills/cratis-arc-declare-operation/references/typescript.md +84 -8
- package/package/corpus/skills/cratis-arc-diagnose-live-query/SKILL.md +42 -36
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/csharp.md +44 -51
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/elixir.md +50 -3
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/go.md +85 -2
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/java.md +70 -2
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/kotlin.md +60 -2
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/typescript.md +94 -5
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/SKILL.md +59 -81
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/csharp-diagnose-tool-call.md +44 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/csharp.md +309 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/go.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/java.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-query/SKILL.md +65 -15
- package/package/corpus/skills/cratis-arc-expose-query/references/csharp.md +381 -31
- package/package/corpus/skills/cratis-arc-expose-query/references/elixir.md +84 -4
- package/package/corpus/skills/cratis-arc-expose-query/references/go-live.md +55 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/go.md +204 -18
- package/package/corpus/skills/cratis-arc-expose-query/references/java.md +236 -7
- package/package/corpus/skills/cratis-arc-expose-query/references/kotlin.md +242 -3
- package/package/corpus/skills/cratis-arc-expose-query/references/typescript.md +360 -19
- package/package/corpus/skills/cratis-arc-generate-proxies/SKILL.md +84 -10
- package/package/corpus/skills/cratis-arc-generate-proxies/references/csharp.md +70 -29
- package/package/corpus/skills/cratis-arc-generate-proxies/references/elixir.md +54 -5
- package/package/corpus/skills/cratis-arc-generate-proxies/references/go-directives.md +74 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/go.md +50 -4
- package/package/corpus/skills/cratis-arc-generate-proxies/references/java-diagnostics.md +67 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/java-wire-types.md +115 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/java.md +86 -2
- package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin-diagnostics.md +67 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin-wire-types.md +108 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin.md +77 -4
- package/package/corpus/skills/cratis-arc-generate-proxies/references/typescript.md +64 -16
- package/package/corpus/skills/cratis-arc-generate-proxies/scripts/check-proxy.mjs +3 -3
- package/package/corpus/skills/cratis-arc-host-application/SKILL.md +67 -12
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-availability.md +130 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-callers.md +89 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-configuration.md +116 -27
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-http.md +86 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-identity.md +208 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp.md +154 -35
- package/package/corpus/skills/cratis-arc-host-application/references/elixir-access.md +64 -0
- package/package/corpus/skills/cratis-arc-host-application/references/elixir.md +53 -23
- package/package/corpus/skills/cratis-arc-host-application/references/go-embed.md +121 -0
- package/package/corpus/skills/cratis-arc-host-application/references/go-execution.md +86 -0
- package/package/corpus/skills/cratis-arc-host-application/references/go-options.md +41 -0
- package/package/corpus/skills/cratis-arc-host-application/references/go.md +43 -5
- package/package/corpus/skills/cratis-arc-host-application/references/java.md +203 -4
- package/package/corpus/skills/cratis-arc-host-application/references/kotlin.md +234 -4
- package/package/corpus/skills/cratis-arc-host-application/references/typescript-services.md +85 -0
- package/package/corpus/skills/cratis-arc-host-application/references/typescript.md +194 -13
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +79 -119
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/references/java.md +285 -0
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/references/kotlin.md +265 -0
- package/package/corpus/skills/cratis-arc-invoke-command/SKILL.md +52 -24
- package/package/corpus/skills/cratis-arc-invoke-command/references/csharp-extensions.md +26 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/csharp.md +55 -25
- package/package/corpus/skills/cratis-arc-invoke-command/references/elixir-liveview.md +112 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/elixir.md +72 -2
- package/package/corpus/skills/cratis-arc-invoke-command/references/go.md +51 -3
- package/package/corpus/skills/cratis-arc-invoke-command/references/java.md +74 -3
- package/package/corpus/skills/cratis-arc-invoke-command/references/kotlin.md +58 -18
- package/package/corpus/skills/cratis-arc-invoke-command/references/python.md +2 -2
- package/package/corpus/skills/cratis-arc-invoke-command/references/typescript.md +49 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/SKILL.md +31 -13
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/csharp.md +68 -29
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/elixir.md +84 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/go.md +73 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/java.md +70 -3
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/kotlin.md +65 -5
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/python.md +1 -1
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/typescript.md +56 -3
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/SKILL.md +125 -27
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/csharp.md +217 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/elixir.md +3 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/go.md +3 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/java.md +29 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/kotlin.md +29 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/typescript.md +132 -0
- package/package/corpus/skills/cratis-arc-page-query/SKILL.md +33 -13
- package/package/corpus/skills/cratis-arc-page-query/references/csharp.md +63 -33
- package/package/corpus/skills/cratis-arc-page-query/references/elixir.md +55 -4
- package/package/corpus/skills/cratis-arc-page-query/references/go.md +77 -4
- package/package/corpus/skills/cratis-arc-page-query/references/java.md +66 -4
- package/package/corpus/skills/cratis-arc-page-query/references/kotlin.md +65 -5
- package/package/corpus/skills/cratis-arc-page-query/references/typescript.md +81 -6
- package/package/corpus/skills/cratis-arc-react-bind-slice/SKILL.md +148 -48
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/react-screen-from-model.md +10 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-commands.md +190 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-host.md +160 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-identity.md +131 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-queries.md +157 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript.md +88 -0
- package/package/corpus/skills/cratis-arc-react-separate-view-model/SKILL.md +155 -66
- package/package/corpus/skills/cratis-arc-react-separate-view-model/references/typescript.md +628 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/SKILL.md +18 -5
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/csharp.md +64 -3
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/elixir.md +77 -11
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/go.md +61 -19
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/java.md +119 -7
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/kotlin.md +117 -7
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/typescript.md +124 -10
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/SKILL.md +129 -107
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/java.md +436 -0
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/kotlin.md +440 -0
- package/package/corpus/skills/cratis-arc-storage-typescript/SKILL.md +58 -90
- package/package/corpus/skills/cratis-arc-storage-typescript/references/typescript-drizzle.md +165 -0
- package/package/corpus/skills/cratis-arc-storage-typescript/references/typescript.md +226 -0
- package/package/corpus/skills/cratis-arc-tenancy-typescript/SKILL.md +86 -89
- package/package/corpus/skills/cratis-arc-tenancy-typescript/references/typescript.md +228 -0
- package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +179 -90
- package/package/corpus/skills/cratis-arc-testing-kotlin/references/java.md +95 -0
- package/package/corpus/skills/cratis-arc-testing-kotlin/references/kotlin.md +107 -0
- package/package/corpus/skills/cratis-arc-testing-typescript/SKILL.md +80 -107
- package/package/corpus/skills/cratis-arc-testing-typescript/references/typescript.md +272 -0
- package/package/corpus/skills/cratis-arc-validate-command/SKILL.md +56 -17
- package/package/corpus/skills/cratis-arc-validate-command/references/csharp-rules.md +38 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/csharp.md +84 -13
- package/package/corpus/skills/cratis-arc-validate-command/references/elixir.md +50 -12
- package/package/corpus/skills/cratis-arc-validate-command/references/go.md +119 -15
- package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +125 -93
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/java.md +272 -0
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/kotlin.md +238 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +133 -58
- package/package/corpus/skills/cratis-arc-validation-typescript/references/{models-and-queries.md → typescript-models-and-queries.md} +17 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/references/typescript-rules-and-checks.md +101 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/references/{server-decisions.md → typescript-server-decisions.md} +49 -13
- package/package/corpus/skills/cratis-arc-validation-typescript/references/typescript.md +196 -0
- package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +107 -7
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +21 -11
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/inspection.md +70 -10
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/project-tooling.md +4 -65
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/recovery-and-comparison.md +138 -16
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/setup-and-target.md +85 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/SKILL.md +54 -12
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-patterns.md +45 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-services.md +94 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-transport.md +26 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-workload.md +35 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp.md +57 -39
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir-patterns.md +32 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir-policies.md +47 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir.md +38 -3
- package/package/corpus/skills/cratis-chronicle-connect-application/references/go-patterns.md +30 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/go.md +95 -3
- package/package/corpus/skills/cratis-chronicle-connect-application/references/java.md +89 -2
- package/package/corpus/skills/cratis-chronicle-connect-application/references/kotlin-patterns.md +35 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/kotlin.md +108 -3
- package/package/corpus/skills/cratis-chronicle-connect-application/references/python.md +61 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/typescript-patterns.md +32 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/typescript.md +75 -6
- package/package/corpus/skills/cratis-chronicle-constrain-append/SKILL.md +42 -11
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/csharp.md +67 -25
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/elixir.md +90 -3
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/go.md +83 -3
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/java.md +99 -2
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/kotlin.md +76 -3
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/python.md +1 -1
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/typescript.md +84 -2
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/SKILL.md +167 -31
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/authentication.md +150 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/configuration.md +418 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/csharp.md +48 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/development-and-production.md +57 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/kernel-options.md +694 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/network-and-tls.md +188 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/production-checklist.md +66 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/storage.md +154 -2
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/troubleshooting.md +60 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/upgrade-and-recovery.md +124 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/webhooks.md +101 -3
- package/package/corpus/skills/cratis-chronicle-evolve-event/SKILL.md +59 -15
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/csharp.md +59 -41
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/elixir.md +69 -3
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/go.md +71 -2
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/java.md +50 -2
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/kotlin.md +58 -2
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/schema-annotation-cleanup.md +58 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/typescript.md +87 -2
- package/package/corpus/skills/cratis-chronicle-inspect-observer/SKILL.md +47 -13
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/csharp.md +107 -37
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/elixir.md +56 -5
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/go-jobs-and-alerts.md +77 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/go.md +106 -3
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/java.md +55 -3
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/kotlin.md +95 -3
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/typescript.md +89 -7
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +156 -12
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/blocked-tools.md +12 -20
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/deployment.md +114 -33
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +100 -47
- package/package/corpus/skills/cratis-chronicle-project-view/SKILL.md +182 -11
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-fluent.md +228 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-graphs.md +102 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-model-bound.md +232 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-reading.md +120 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp.md +112 -43
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir-graphs.md +49 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir-mappings.md +45 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir-reading.md +17 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir.md +23 -27
- package/package/corpus/skills/cratis-chronicle-project-view/references/go-graphs.md +22 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/go-mappings.md +50 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/go-reads.md +25 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/go.md +45 -5
- package/package/corpus/skills/cratis-chronicle-project-view/references/java-graphs.md +46 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/java-mappings.md +53 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/java.md +69 -5
- package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin-graphs.md +44 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin.md +71 -6
- package/package/corpus/skills/cratis-chronicle-project-view/references/python.md +1 -1
- package/package/corpus/skills/cratis-chronicle-project-view/references/typescript.md +279 -3
- package/package/corpus/skills/cratis-chronicle-protect-decision/SKILL.md +69 -10
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp-scopes.md +35 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp-standalone.md +93 -4
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp.md +79 -34
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/elixir.md +56 -11
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/go.md +61 -11
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/java.md +76 -3
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/kotlin.md +65 -17
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/typescript.md +77 -5
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/SKILL.md +27 -12
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/csharp.md +65 -47
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/elixir.md +68 -3
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/go.md +91 -2
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/java.md +75 -2
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/kotlin.md +64 -3
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/typescript.md +65 -3
- package/package/corpus/skills/cratis-chronicle-publish-contract/SKILL.md +69 -11
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp-integrations.md +89 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp.md +66 -52
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir-integrations.md +132 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir.md +86 -14
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/go-integrations.md +91 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/go.md +80 -2
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/java-integrations.md +121 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/java.md +64 -2
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/kotlin-integrations.md +112 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/kotlin.md +71 -2
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/python.md +2 -2
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/typescript-integrations.md +69 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/typescript.md +69 -2
- package/package/corpus/skills/cratis-chronicle-react-to-fact/SKILL.md +65 -12
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp-occurrences.md +3 -1
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp-outputs.md +39 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp-pages.md +43 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp.md +43 -43
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/elixir-recovery.md +23 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/elixir.md +79 -8
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/go.md +97 -3
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/java.md +123 -3
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/kotlin.md +113 -4
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/typescript.md +122 -8
- package/package/corpus/skills/cratis-chronicle-record-event/SKILL.md +83 -13
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp-coordination.md +86 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp-history.md +86 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp.md +53 -92
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir-context.md +74 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir-history.md +51 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir.md +48 -20
- package/package/corpus/skills/cratis-chronicle-record-event/references/go-payloads.md +80 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/go.md +78 -2
- package/package/corpus/skills/cratis-chronicle-record-event/references/java-history.md +63 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/java.md +107 -11
- package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin-history.md +88 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin.md +103 -21
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript-import.md +30 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript-provenance.md +40 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript.md +187 -3
- package/package/corpus/skills/cratis-chronicle-reduce-state/SKILL.md +55 -13
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/csharp.md +235 -24
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/elixir.md +82 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/go.md +94 -3
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/java.md +99 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/kotlin.md +89 -3
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/python.md +2 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/typescript.md +91 -2
- package/package/corpus/skills/cratis-chronicle-select-client/SKILL.md +17 -12
- package/package/corpus/skills/cratis-chronicle-select-client/references/csharp.md +63 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/elixir.md +52 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/go.md +64 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/java.md +54 -2
- package/package/corpus/skills/cratis-chronicle-select-client/references/kotlin.md +56 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/python.md +35 -18
- package/package/corpus/skills/cratis-chronicle-select-client/references/typescript.md +46 -4
- package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +60 -12
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/csharp.md +57 -0
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/hosting.md +80 -53
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/operations.md +44 -59
- package/package/corpus/skills/cratis-ci-pipeline-performance/SKILL.md +241 -203
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/affected-tests.md +134 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/build-once-and-shard.md +25 -10
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/caching.md +14 -1
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/flaky-and-hung-jobs.md +6 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/publish-pipelines.md +83 -6
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/required-checks-and-path-filters.md +68 -1
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/runner-sizing-and-images.md +33 -6
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/security-and-pinning.md +11 -4
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/shared-workflows.md +65 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/test-setup-cost.md +12 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/trim-and-aot-ratchets.md +32 -0
- package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +285 -139
- package/package/corpus/skills/cratis-cli-terminal-workbench/references/views-and-refresh.md +66 -0
- package/package/corpus/skills/cratis-code-review/SKILL.md +286 -165
- package/package/corpus/skills/cratis-code-review/references/csharp-diagnostics.md +76 -0
- package/package/corpus/skills/cratis-code-review/references/csharp.md +130 -0
- package/package/corpus/skills/cratis-code-review/references/elixir.md +30 -0
- package/package/corpus/skills/cratis-code-review/references/go.md +25 -0
- package/package/corpus/skills/cratis-code-review/references/java.md +38 -0
- package/package/corpus/skills/cratis-code-review/references/kotlin.md +37 -0
- package/package/corpus/skills/cratis-code-review/references/python.md +3 -0
- package/package/corpus/skills/cratis-code-review/references/typescript.md +189 -0
- package/package/corpus/skills/cratis-commits-and-pull-requests/SKILL.md +213 -13
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/commits.md +37 -11
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-description.md +98 -6
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-labels-and-release.md +77 -2
- package/package/corpus/skills/cratis-components-accessibility/SKILL.md +123 -16
- package/package/corpus/skills/cratis-components-accessibility/references/typescript.md +182 -0
- package/package/corpus/skills/cratis-components-build-canvas/SKILL.md +167 -31
- package/package/corpus/skills/cratis-components-build-canvas/references/conversation-kit.md +89 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript-chat.md +73 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript-pixi-items.md +46 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript-props.md +44 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript-shapes.md +159 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript.md +140 -0
- package/package/corpus/skills/cratis-components-choose-control/SKILL.md +113 -28
- package/package/corpus/skills/cratis-components-choose-control/references/breadcrumbs-and-labels.md +21 -0
- package/package/corpus/skills/cratis-components-choose-control/references/collections.md +27 -3
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-common.md +50 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-composition.md +174 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-display.md +12 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-dropdown.md +27 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-iconpicker.md +19 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-markdowneditor.md +16 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript.md +69 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/SKILL.md +210 -23
- package/package/corpus/skills/cratis-components-compose-toolbar/references/behavior.md +87 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/references/typescript-composition.md +202 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/references/typescript-toolbar.md +125 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/references/typescript.md +128 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/SKILL.md +138 -65
- package/package/corpus/skills/cratis-components-coordinate-feedback/references/dialog-props.md +30 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/references/typescript-dialogs.md +139 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/references/typescript-notifications.md +66 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/references/typescript.md +170 -0
- package/package/corpus/skills/cratis-components-display-list/SKILL.md +204 -38
- package/package/corpus/skills/cratis-components-display-list/references/parts-and-messages.md +22 -0
- package/package/corpus/skills/cratis-components-display-list/references/typescript-datatables.md +179 -0
- package/package/corpus/skills/cratis-components-display-list/references/typescript.md +204 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/SKILL.md +188 -75
- package/package/corpus/skills/cratis-components-edit-schema-data/references/editing-rules.md +27 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/schema-mapping.md +57 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-componentpicker.md +22 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-composition.md +246 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-configurationeditor.md +23 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-objectcontenteditor.md +12 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-objectnavigationalbar.md +7 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-schemaeditor.md +89 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript.md +141 -0
- package/package/corpus/skills/cratis-components-explore-data/SKILL.md +192 -48
- package/package/corpus/skills/cratis-components-explore-data/references/typescript-composition.md +87 -0
- package/package/corpus/skills/cratis-components-explore-data/references/typescript-filter.md +47 -0
- package/package/corpus/skills/cratis-components-explore-data/references/typescript-pivotviewer.md +27 -0
- package/package/corpus/skills/cratis-components-explore-data/references/typescript-timemachine.md +44 -0
- package/package/corpus/skills/cratis-components-explore-data/references/typescript.md +133 -0
- package/package/corpus/skills/cratis-components-host-chat/SKILL.md +189 -34
- package/package/corpus/skills/cratis-components-host-chat/references/presentation.md +60 -0
- package/package/corpus/skills/cratis-components-host-chat/references/typescript-composition.md +108 -0
- package/package/corpus/skills/cratis-components-host-chat/references/typescript-layouts.md +59 -0
- package/package/corpus/skills/cratis-components-host-chat/references/typescript.md +158 -0
- package/package/corpus/skills/cratis-components-submit-form/SKILL.md +127 -45
- package/package/corpus/skills/cratis-components-submit-form/references/typescript-commanddialog.md +138 -0
- package/package/corpus/skills/cratis-components-submit-form/references/typescript-commandform.md +96 -0
- package/package/corpus/skills/cratis-components-submit-form/references/typescript-fields.md +157 -0
- package/package/corpus/skills/cratis-components-submit-form/references/typescript.md +113 -0
- package/package/corpus/skills/cratis-components-theme-application/SKILL.md +137 -47
- package/package/corpus/skills/cratis-components-theme-application/references/palette.md +4 -5
- package/package/corpus/skills/cratis-components-theme-application/references/parts.md +73 -0
- package/package/corpus/skills/cratis-components-theme-application/references/renderer-adapters.md +34 -3
- package/package/corpus/skills/cratis-components-theme-application/references/tokens.md +17 -0
- package/package/corpus/skills/cratis-components-theme-application/references/typescript-adapter-authoring.md +198 -0
- package/package/corpus/skills/cratis-components-theme-application/references/typescript.md +243 -0
- package/package/corpus/skills/cratis-content-length/SKILL.md +221 -162
- package/package/corpus/skills/cratis-content-length/references/length-evidence.md +173 -6
- package/package/corpus/skills/cratis-developer-marketing/SKILL.md +259 -184
- package/package/corpus/skills/cratis-developer-marketing/references/measurement.md +32 -16
- package/package/corpus/skills/cratis-developer-marketing/references/playbook-evidence.md +115 -0
- package/package/corpus/skills/cratis-discoverability/SKILL.md +196 -85
- package/package/corpus/skills/cratis-discoverability/references/csharp.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/elixir.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/entities.md +41 -25
- package/package/corpus/skills/cratis-discoverability/references/go.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/java.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/kotlin.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/package-metadata.md +10 -5
- package/package/corpus/skills/cratis-discoverability/references/page-checklist.md +90 -49
- package/package/corpus/skills/cratis-discoverability/references/structured-data.md +35 -28
- package/package/corpus/skills/cratis-discoverability/references/typescript.md +6 -0
- package/package/corpus/skills/cratis-discoverability/scripts/verify-discoverability.mjs +24 -9
- package/package/corpus/skills/cratis-documentation-writing/SKILL.md +266 -172
- package/package/corpus/skills/cratis-documentation-writing/references/cratis-site.md +113 -100
- package/package/corpus/skills/cratis-documentation-writing/references/writing-guidance.md +4 -2
- package/package/corpus/skills/cratis-engineering-ci-gates/SKILL.md +220 -87
- package/package/corpus/skills/cratis-engineering-ci-gates/references/gate-operation.md +145 -9
- package/package/corpus/skills/cratis-engineering-consolidation-guard/SKILL.md +259 -54
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/ci-required-check.md +88 -38
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/verification-details.md +102 -24
- package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +118 -87
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-alternate-implementations.md +60 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-code-style.md +294 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/{domain-philosophy.md → csharp-domain-philosophy.md} +11 -10
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-exceptions-logging-and-di.md +328 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-monads.md +124 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp.md +54 -0
- package/package/corpus/skills/cratis-engineering-decision-record/SKILL.md +266 -97
- package/package/corpus/skills/cratis-engineering-decision-record/references/decision-pitfalls.md +21 -8
- package/package/corpus/skills/cratis-engineering-decision-record/references/direct.md +118 -0
- package/package/corpus/skills/cratis-engineering-decision-record/references/record-format.md +114 -102
- package/package/corpus/skills/cratis-engineering-docs-authoring/SKILL.md +301 -71
- package/package/corpus/skills/cratis-engineering-docs-authoring/references/site-format.md +294 -56
- package/package/corpus/skills/cratis-engineering-effect-boundaries/SKILL.md +161 -86
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/csharp.md +52 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/elixir.md +21 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +35 -6
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/go.md +17 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/java.md +14 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/kotlin.md +14 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/typescript.md +15 -0
- package/package/corpus/skills/cratis-engineering-inherited-work/SKILL.md +127 -27
- package/package/corpus/skills/cratis-engineering-inherited-work/references/continue-inherited-work.md +40 -13
- package/package/corpus/skills/cratis-engineering-inherited-work/references/pull-request-evidence.md +66 -0
- package/package/corpus/skills/cratis-engineering-issue-design-note/SKILL.md +254 -79
- package/package/corpus/skills/cratis-engineering-issue-design-note/references/design-note-format.md +97 -52
- package/package/corpus/skills/cratis-engineering-issue-hygiene/SKILL.md +159 -64
- package/package/corpus/skills/cratis-engineering-issue-hygiene/references/issue-disposition.md +119 -67
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/SKILL.md +249 -57
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/{dotnet-nuget.md → csharp.md} +11 -16
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dependency-map.md +40 -8
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/docker-images.md +5 -8
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/elixir.md +108 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/go.md +276 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/helper-runbook.md +28 -18
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/java.md +105 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/kotlin.md +179 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/train-mode.md +1 -1
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/{npm-yarn.md → typescript.md} +5 -3
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/worked-examples.md +116 -48
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/scripts/dependency-map.tsv +1 -1
- package/package/corpus/skills/cratis-engineering-post-mortem/SKILL.md +283 -81
- package/package/corpus/skills/cratis-engineering-post-mortem/references/proportionate-follow-up.md +5 -20
- package/package/corpus/skills/cratis-engineering-post-mortem/references/public-safe-wording.md +18 -23
- package/package/corpus/skills/cratis-engineering-post-mortem/references/review-template.md +86 -37
- package/package/corpus/skills/cratis-engineering-post-mortem/references/silent-backup-failure.md +92 -98
- package/package/corpus/skills/cratis-engineering-post-mortem/references/unintended-release-regression.md +79 -73
- package/package/corpus/skills/cratis-engineering-regression-cluster/SKILL.md +98 -56
- package/package/corpus/skills/cratis-engineering-regression-cluster/references/history-and-proof.md +30 -0
- package/package/corpus/skills/cratis-engineering-release-trains/SKILL.md +290 -62
- package/package/corpus/skills/cratis-engineering-release-trains/references/candidate-assembly.md +138 -107
- package/package/corpus/skills/cratis-engineering-release-trains/references/final-merge-gate.md +118 -0
- package/package/corpus/skills/cratis-engineering-review-rounds/SKILL.md +311 -68
- package/package/corpus/skills/cratis-engineering-review-rounds/references/review-ranges.md +99 -0
- package/package/corpus/skills/cratis-environments-and-secrets/SKILL.md +235 -95
- package/package/corpus/skills/cratis-environments-and-secrets/references/csharp.md +112 -0
- package/package/corpus/skills/cratis-environments-and-secrets/references/environment-file.md +28 -23
- package/package/corpus/skills/cratis-environments-and-secrets/references/transcript-safety.md +31 -0
- package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +174 -65
- package/package/corpus/skills/cratis-event-model-diagram/references/frame-patterns.md +73 -69
- package/package/corpus/skills/cratis-fundamentals-concept/SKILL.md +143 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/csharp-serialization.md +183 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/csharp.md +113 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/elixir.md +76 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/go-naming.md +36 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/go.md +276 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/java-json.md +121 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/java-primitives.md +156 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/java.md +155 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/kotlin-json.md +123 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/kotlin-primitives.md +161 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/kotlin.md +140 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/typescript-serialization.md +203 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/typescript.md +100 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/SKILL.md +113 -11
- package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp-specs.md +165 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp.md +223 -29
- package/package/corpus/skills/cratis-fundamentals-name-value/references/elixir.md +162 -4
- package/package/corpus/skills/cratis-fundamentals-name-value/references/go.md +227 -5
- package/package/corpus/skills/cratis-fundamentals-name-value/references/java.md +203 -6
- package/package/corpus/skills/cratis-fundamentals-name-value/references/kotlin.md +251 -5
- package/package/corpus/skills/cratis-fundamentals-name-value/references/typescript.md +160 -9
- package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +120 -62
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/csharp-otlp-export.md +56 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/csharp.md +224 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/elixir.md +10 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/go.md +33 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/java.md +9 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/kotlin.md +9 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +104 -26
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/csharp-diagnostics.md +75 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/csharp.md +182 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/elixir.md +30 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/go-dependency-injection.md +168 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/go.md +29 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/java.md +39 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/kotlin.md +31 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/typescript.md +32 -0
- package/package/corpus/skills/cratis-governed-release-methodology/SKILL.md +346 -273
- package/package/corpus/skills/cratis-governed-release-methodology/references/artifact-verification.md +58 -0
- package/package/corpus/skills/cratis-governed-release-methodology/references/lifecycle-phases.md +32 -25
- package/package/corpus/skills/cratis-governed-release-methodology/references/release-decisions.md +78 -0
- package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +331 -98
- package/package/corpus/skills/cratis-lens-browser-extension/references/csharp.md +13 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/go.md +8 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/java.md +8 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/kotlin.md +8 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/troubleshooting.md +111 -102
- package/package/corpus/skills/cratis-lens-browser-extension/references/typescript.md +10 -0
- package/package/corpus/skills/cratis-llm-friendly-documentation/SKILL.md +333 -102
- package/package/corpus/skills/cratis-modeling-design-event-model/SKILL.md +144 -15
- package/package/corpus/skills/cratis-modeling-design-event-model/references/command-inventory.md +43 -0
- package/package/corpus/skills/cratis-modeling-design-event-model/references/model-first.md +71 -3
- package/package/corpus/skills/cratis-modeling-design-event-model/references/review-one-slice.md +14 -13
- package/package/corpus/skills/cratis-modeling-discover-timeline/SKILL.md +265 -14
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/discovery-questions.md +10 -8
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/group-and-document-intake.md +5 -1
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/studio.md +136 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/SKILL.md +172 -9
- package/package/corpus/skills/cratis-modeling-review-event-model/references/csharp.md +40 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/elixir.md +32 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/event-log-hygiene.md +44 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/go.md +27 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/implementation-findings.md +20 -9
- package/package/corpus/skills/cratis-modeling-review-event-model/references/java.md +28 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/kotlin.md +28 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/model-findings.md +30 -10
- package/package/corpus/skills/cratis-modeling-review-event-model/references/resilience-review.md +1 -1
- package/package/corpus/skills/cratis-modeling-review-event-model/references/screenplay-evidence.md +159 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/typescript.md +27 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/SKILL.md +128 -16
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/compare-evidence.md +5 -5
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/csharp-source-adapter.md +221 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/csharp.md +11 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/draft-checks.md +23 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/elixir.md +13 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/go.md +10 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/java.md +5 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/recovery-inputs.md +67 -4
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/side-car-migration.md +11 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/SKILL.md +229 -90
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/csharp-aspire.md +204 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/csharp.md +31 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/docker-compose.md +82 -36
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/elixir.md +10 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/go.md +11 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/java.md +11 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/kotlin.md +11 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/typescript.md +15 -0
- package/package/corpus/skills/cratis-observability/SKILL.md +178 -10
- package/package/corpus/skills/cratis-observability/references/chronicle-kernel-export.md +153 -13
- package/package/corpus/skills/cratis-observability/references/csharp-arc-and-chronicle-signals.md +79 -0
- package/package/corpus/skills/cratis-observability/references/csharp-setup-options.md +104 -0
- package/package/corpus/skills/cratis-observability/references/csharp.md +172 -56
- package/package/corpus/skills/cratis-observability/references/elixir.md +243 -5
- package/package/corpus/skills/cratis-observability/references/go-arc-diagnostics.md +134 -0
- package/package/corpus/skills/cratis-observability/references/go.md +292 -0
- package/package/corpus/skills/cratis-observability/references/java.md +236 -0
- package/package/corpus/skills/cratis-observability/references/kotlin.md +251 -0
- package/package/corpus/skills/cratis-observability/references/troubleshooting.md +13 -17
- package/package/corpus/skills/cratis-observability/references/typescript-chronicle-client.md +116 -0
- package/package/corpus/skills/cratis-observability/references/typescript.md +159 -0
- package/package/corpus/skills/cratis-onboarding-runtime/SKILL.md +222 -85
- package/package/corpus/skills/cratis-onboarding-runtime/references/ante-onboarding-keys.md +153 -10
- package/package/corpus/skills/cratis-onboarding-runtime/references/csharp.md +61 -0
- package/package/corpus/skills/cratis-onboarding-runtime/references/default-offering.md +29 -33
- package/package/corpus/skills/cratis-onboarding-runtime/references/performance.md +75 -19
- package/package/corpus/skills/cratis-onboarding-runtime/references/sign-up-review.md +10 -6
- package/package/corpus/skills/cratis-orchestration-lanes/SKILL.md +174 -80
- package/package/corpus/skills/cratis-orchestration-lanes/references/inbox-and-handover.md +78 -49
- package/package/corpus/skills/cratis-orchestration-lanes/references/lane-brief.md +48 -16
- package/package/corpus/skills/cratis-orchestration-lanes/references/placeholders.md +11 -8
- package/package/corpus/skills/cratis-orchestration-lanes/references/work-records.md +16 -0
- package/package/corpus/skills/cratis-orchestration-merge-gates/SKILL.md +80 -90
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/merge-queue.md +153 -59
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/unattended-guards.md +10 -6
- package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +216 -32
- package/package/corpus/skills/cratis-orleans-jobs/references/csharp-lifecycle-and-placement.md +89 -0
- package/package/corpus/skills/cratis-orleans-jobs/references/csharp-state-machines.md +96 -0
- package/package/corpus/skills/cratis-orleans-jobs/references/csharp.md +301 -0
- package/package/corpus/skills/cratis-performance-review/SKILL.md +265 -45
- package/package/corpus/skills/cratis-performance-review/references/csharp.md +67 -0
- package/package/corpus/skills/cratis-performance-review/references/elixir.md +34 -0
- package/package/corpus/skills/cratis-performance-review/references/go.md +43 -0
- package/package/corpus/skills/cratis-performance-review/references/java.md +38 -0
- package/package/corpus/skills/cratis-performance-review/references/kotlin.md +37 -0
- package/package/corpus/skills/cratis-performance-review/references/observer-tuning.md +117 -0
- package/package/corpus/skills/cratis-performance-review/references/review-checklist.md +173 -77
- package/package/corpus/skills/cratis-performance-review/references/typescript.md +41 -0
- package/package/corpus/skills/cratis-platform-build-application/SKILL.md +243 -0
- package/package/corpus/skills/cratis-platform-build-application/references/cli-map.md +256 -0
- package/package/corpus/skills/cratis-platform-build-application/references/csharp-guided-tours.md +41 -0
- package/package/corpus/skills/cratis-platform-build-application/references/csharp.md +17 -0
- package/package/corpus/skills/cratis-platform-build-application/references/direct.md +258 -0
- package/package/corpus/skills/cratis-platform-build-application/references/elixir.md +27 -0
- package/package/corpus/skills/cratis-platform-build-application/references/go.md +13 -0
- package/package/corpus/skills/cratis-platform-build-application/references/java.md +13 -0
- package/package/corpus/skills/cratis-platform-build-application/references/kotlin.md +13 -0
- package/package/corpus/skills/cratis-platform-build-application/references/typescript-guided-tours.md +132 -0
- package/package/corpus/skills/cratis-platform-build-application/references/typescript.md +13 -0
- package/package/corpus/skills/cratis-platform-build-application/scripts/model-first-status.sh +100 -0
- package/package/corpus/skills/cratis-platform-configure-environment/SKILL.md +130 -31
- package/package/corpus/skills/cratis-platform-configure-environment/references/csharp.md +336 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/elixir.md +224 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/go.md +257 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/java.md +209 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/kotlin.md +240 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/typescript.md +280 -0
- package/package/corpus/skills/cratis-platform-contribute-change/SKILL.md +120 -8
- package/package/corpus/skills/cratis-platform-contribute-change/references/csharp-arc-mcp.md +65 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/csharp-cli-registration.md +86 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/csharp.md +21 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/elixir.md +12 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/go.md +14 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/java.md +9 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/kotlin.md +12 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/repositories.md +93 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/typescript.md +13 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/SKILL.md +235 -13
- package/package/corpus/skills/cratis-platform-deliver-slice/references/contract-reconciliation.md +73 -6
- package/package/corpus/skills/cratis-platform-deliver-slice/references/coordinate-slices.md +7 -4
- package/package/corpus/skills/cratis-platform-deliver-slice/references/csharp.md +251 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/elixir.md +266 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/go.md +242 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/java.md +310 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/kotlin.md +297 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/typescript.md +248 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/SKILL.md +173 -25
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/csharp.md +7 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/elixir.md +7 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/evidence.md +100 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/go.md +7 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/java.md +5 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/typescript.md +7 -0
- package/package/corpus/skills/cratis-platform-prepare-release-pr/SKILL.md +178 -13
- package/package/corpus/skills/cratis-platform-prepare-release-pr/references/product-release-checks.md +23 -0
- package/package/corpus/skills/cratis-platform-start-application/SKILL.md +239 -21
- package/package/corpus/skills/cratis-platform-start-application/references/csharp.md +223 -18
- package/package/corpus/skills/cratis-platform-start-application/references/elixir.md +11 -0
- package/package/corpus/skills/cratis-platform-start-application/references/go.md +11 -0
- package/package/corpus/skills/cratis-platform-start-application/references/java.md +224 -9
- package/package/corpus/skills/cratis-platform-start-application/references/kotlin.md +191 -9
- package/package/corpus/skills/cratis-platform-start-application/references/typescript.md +14 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/SKILL.md +211 -12
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/csharp.md +9 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/go.md +5 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/java.md +5 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/routes-and-failures.md +40 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-release-notes/SKILL.md +137 -57
- package/package/corpus/skills/cratis-release-notes/references/channel-guidance.md +59 -59
- package/package/corpus/skills/cratis-release-notes/references/publish-repair.md +55 -61
- package/package/corpus/skills/cratis-rtk/SKILL.md +188 -35
- package/package/corpus/skills/cratis-rtk/references/rtk-administration.md +137 -0
- package/package/corpus/skills/cratis-rtk/references/rtk-filters.md +68 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/SKILL.md +160 -18
- package/package/corpus/skills/cratis-screenplay-accept-model/references/coverage-obligations.md +2 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/csharp.md +122 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/diagnostic-decisions.md +10 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/read-the-evidence.md +50 -0
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/SKILL.md +265 -41
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/email-templates.md +47 -0
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/environment-keys.md +81 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/SKILL.md +182 -20
- package/package/corpus/skills/cratis-screenplay-author-extension/references/cli.md +58 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/consume.md +31 -8
- package/package/corpus/skills/cratis-screenplay-author-extension/references/csharp.md +66 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/elixir.md +8 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/frontend-components.md +12 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/go.md +95 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/java.md +15 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/kotlin.md +69 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/lock-and-trust.md +23 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/protocol.md +12 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/runtime-details.md +30 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/stage-candidate.md +70 -6
- package/package/corpus/skills/cratis-screenplay-author-extension/references/typescript.md +66 -0
- package/package/corpus/skills/cratis-screenplay-availability/SKILL.md +165 -20
- package/package/corpus/skills/cratis-screenplay-availability/references/complete-example.md +60 -4
- package/package/corpus/skills/cratis-screenplay-availability/references/csharp.md +88 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/elixir.md +45 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/go.md +5 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/java.md +5 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/review-checks.md +62 -13
- package/package/corpus/skills/cratis-screenplay-availability/references/runtime-ownership.md +72 -13
- package/package/corpus/skills/cratis-screenplay-availability/references/typescript.md +20 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/SKILL.md +232 -66
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/commands.md +256 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/concepts-and-generated-values.md +206 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/context-and-identity.md +105 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/events-and-constraints.md +123 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/language-map.md +129 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/policies-and-purposes.md +117 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/projection-replay.md +3 -12
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/projections.md +222 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/queries.md +122 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/reducers-graphs-sinks.md +105 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/structure-and-imports.md +142 -0
- package/package/corpus/skills/cratis-screenplay-edit-workspace/SKILL.md +164 -21
- package/package/corpus/skills/cratis-screenplay-edit-workspace/references/mcp-tools.md +138 -0
- package/package/corpus/skills/cratis-screenplay-edit-workspace/references/model-notes.md +63 -14
- package/package/corpus/skills/cratis-screenplay-handoff-slice/SKILL.md +120 -25
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/csharp.md +107 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/mcp.md +16 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/ordering.md +29 -3
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/recipient-contracts.md +50 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/SKILL.md +190 -101
- package/package/corpus/skills/cratis-screenplay-model-automation/references/external-effects.md +10 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-boundaries.md +12 -4
- package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-example.md +95 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/stage-subset.md +61 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/SKILL.md +171 -51
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp-host-api.md +177 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp.md +127 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/decision-inputs.md +10 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/go.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/java.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/kotlin.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/localized-strings.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/navigation-reachability.md +25 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/shell-and-data.md +187 -20
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/typescript.md +119 -6
- package/package/corpus/skills/cratis-screenplay-model-translation/SKILL.md +259 -89
- package/package/corpus/skills/cratis-screenplay-model-translation/references/boundary-diagnostics.md +32 -0
- package/package/corpus/skills/cratis-screenplay-model-translation/references/stage-realization.md +36 -0
- package/package/corpus/skills/cratis-screenplay-model-translation/references/translation-scenarios.md +114 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/SKILL.md +185 -20
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/cli.md +88 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/csharp.md +210 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/typescript.md +45 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/workspace-mcp.md +133 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/SKILL.md +161 -20
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/csharp.md +195 -7
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/elixir.md +21 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/go.md +17 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/ground-truth-benchmark.md +1 -1
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/java.md +9 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/kotlin.md +9 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/running-system.md +122 -6
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/SKILL.md +233 -62
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/boundary-scenarios.md +60 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/case-questions.md +30 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/coverage-worksheet.md +16 -8
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/csharp.md +41 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/graph-steps.md +37 -5
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/named-cases.md +23 -10
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/query-rejections.md +22 -19
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/scenarios.md +230 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +140 -14
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +5 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +7 -9
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +36 -24
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/destination-repairs.md +21 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +6 -9
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/multi-service-models.md +3 -6
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/read-model-keys.md +4 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-id-rules.md +32 -19
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +53 -16
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +1 -1
- package/package/corpus/skills/cratis-security-review/SKILL.md +137 -72
- package/package/corpus/skills/cratis-security-review/references/csharp.md +114 -0
- package/package/corpus/skills/cratis-security-review/references/elixir.md +21 -0
- package/package/corpus/skills/cratis-security-review/references/go.md +22 -0
- package/package/corpus/skills/cratis-security-review/references/java.md +20 -0
- package/package/corpus/skills/cratis-security-review/references/kotlin.md +20 -0
- package/package/corpus/skills/cratis-security-review/references/python.md +3 -0
- package/package/corpus/skills/cratis-security-review/references/review-checklist.md +98 -68
- package/package/corpus/skills/cratis-security-review/references/typescript.md +22 -0
- package/package/corpus/skills/cratis-session-handoff/SKILL.md +134 -90
- package/package/corpus/skills/cratis-session-handoff/references/handoff-template.md +35 -52
- package/package/corpus/skills/cratis-showrunner-herald/SKILL.md +170 -86
- package/package/corpus/skills/cratis-showrunner-herald/references/csharp-templates-and-images.md +115 -0
- package/package/corpus/skills/cratis-showrunner-herald/references/csharp.md +280 -0
- package/package/corpus/skills/cratis-social-feed-post/SKILL.md +252 -38
- package/package/corpus/skills/cratis-social-feed-post/references/engagement-evidence.md +104 -10
- package/package/corpus/skills/cratis-specifications-exercise-backend/SKILL.md +185 -27
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-command-results.md +103 -3
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-decision-reads.md +40 -11
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-events.md +136 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-graphs.md +45 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-integration.md +121 -75
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-query-scenario.md +33 -8
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-reactors.md +117 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-read-models.md +96 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-relational.md +16 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-slice.md +68 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp.md +142 -34
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/elixir.md +274 -32
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/go.md +176 -111
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/java.md +208 -5
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/kotlin.md +235 -7
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/typescript.md +223 -57
- package/package/corpus/skills/cratis-specifications-isolate-behavior/SKILL.md +159 -34
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp-running.md +180 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp.md +331 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-specifications-observe-ui/SKILL.md +92 -55
- package/package/corpus/skills/cratis-specifications-observe-ui/references/typescript-browser.md +44 -0
- package/package/corpus/skills/cratis-specifications-observe-ui/references/typescript-storybook.md +157 -0
- package/package/corpus/skills/cratis-specifications-observe-ui/references/typescript.md +8 -0
- package/package/corpus/skills/cratis-specifications-test-application-ui/SKILL.md +182 -9
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-rendering.md +172 -0
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript.md +400 -0
- package/package/corpus/skills/cratis-specifications-test-typescript-behavior/SKILL.md +139 -9
- package/package/corpus/skills/cratis-specifications-test-typescript-behavior/references/typescript.md +316 -0
- package/package/corpus/skills/cratis-stage-render-slice/SKILL.md +284 -14
- package/package/corpus/skills/cratis-stage-render-slice/references/csharp-configuration.md +202 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/csharp-planning.md +80 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/csharp.md +221 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/graph-rendering.md +53 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/java.md +25 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/review-render-plan.md +154 -12
- package/package/corpus/skills/cratis-stage-run-sandbox/SKILL.md +212 -12
- package/package/corpus/skills/cratis-stage-run-sandbox/references/journey-replay.md +47 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/references/published-mode.md +103 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-runtime.md +67 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-spec-runner.md +60 -6
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +243 -52
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/tools.md +239 -0
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/webhooks.md +74 -0
- package/package/corpus/skills/cratis-technical-examples/SKILL.md +233 -67
- package/package/corpus/skills/cratis-technical-examples/references/csharp.md +325 -0
- package/package/corpus/skills/cratis-technical-examples/references/elixir.md +114 -0
- package/package/corpus/skills/cratis-technical-examples/references/go.md +74 -0
- package/package/corpus/skills/cratis-technical-examples/references/java.md +194 -0
- package/package/corpus/skills/cratis-technical-examples/references/kotlin.md +205 -0
- package/package/corpus/skills/cratis-technical-examples/references/source-and-format.md +57 -40
- package/package/corpus/skills/cratis-technical-examples/references/typescript.md +427 -0
- package/package/corpus/skills/cratis-technical-examples/references/verification-scope.md +120 -35
- package/package/corpus/skills/cratis-ux-review/SKILL.md +136 -33
- package/package/corpus/skills/cratis-ux-review/references/checklist.md +10 -6
- package/package/corpus/skills/cratis-ux-review/references/report-template.md +10 -8
- package/package/corpus/skills/cratis-ux-review/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +275 -51
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/ai-tells.md +49 -35
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/pattern-evidence.md +151 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/voice-guidance.md +28 -16
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/SKILL.md +3 -1
- package/package/profile-catalog.json +34 -2
- package/package.json +1 -1
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/rule-fixes.md +0 -40
- package/package/corpus/skills/cratis-arc-declare-command/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/custom-exposure-and-audit.md +0 -23
- package/package/corpus/skills/cratis-arc-expose-query/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-generate-proxies/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-host-application/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-page-query/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/commands.md +0 -88
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/csharp.md +0 -9
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/identity.md +0 -7
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/kotlin.md +0 -9
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/manual-screen.md +0 -10
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/query-state.md +0 -29
- package/package/corpus/skills/cratis-arc-react-separate-view-model/references/react-routing-and-messaging.md +0 -45
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/read-model-naming.md +0 -11
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/storage-boundaries.md +0 -40
- package/package/corpus/skills/cratis-arc-storage-typescript/references/drizzle.md +0 -62
- package/package/corpus/skills/cratis-arc-tenancy-typescript/references/tenant-selection.md +0 -49
- package/package/corpus/skills/cratis-arc-testing-kotlin/references/jvm-scenario-variants.md +0 -25
- package/package/corpus/skills/cratis-arc-testing-typescript/references/hosts-and-runners.md +0 -51
- package/package/corpus/skills/cratis-arc-validate-command/references/java.md +0 -27
- package/package/corpus/skills/cratis-arc-validate-command/references/kotlin.md +0 -23
- package/package/corpus/skills/cratis-arc-validate-command/references/typescript.md +0 -23
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/feature-filters.md +0 -55
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/model-validation.md +0 -72
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/server-validators.md +0 -86
- package/package/corpus/skills/cratis-arc-validation-typescript/references/rules-and-checks.md +0 -46
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/bulk-repair.md +0 -7
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/deployed-readers.md +0 -50
- package/package/corpus/skills/cratis-chronicle-record-event/references/python.md +0 -3
- package/package/corpus/skills/cratis-components-accessibility/references/control-labels.md +0 -29
- package/package/corpus/skills/cratis-components-accessibility/references/focus-and-announcements.md +0 -8
- package/package/corpus/skills/cratis-components-build-canvas/references/pixi-items.md +0 -15
- package/package/corpus/skills/cratis-components-choose-control/references/inputs.md +0 -3
- package/package/corpus/skills/cratis-components-compose-toolbar/references/contributed-tools.md +0 -5
- package/package/corpus/skills/cratis-components-display-list/references/server-query.md +0 -21
- package/package/corpus/skills/cratis-components-edit-schema-data/references/controlled-editor.md +0 -9
- package/package/corpus/skills/cratis-components-submit-form/references/confirmation.md +0 -9
- package/package/corpus/skills/cratis-components-submit-form/references/wizard.md +0 -9
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/source-verification.md +0 -68
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/code-style.md +0 -202
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +0 -161
- package/package/corpus/skills/cratis-engineering-decision-record/references/decision-scope.md +0 -20
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/go-jvm-python-elixir.md +0 -83
- package/package/corpus/skills/cratis-engineering-review-rounds/references/round-handoffs.md +0 -109
- package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +0 -95
- package/package/corpus/skills/cratis-fundamentals-name-value/references/python.md +0 -3
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/otlp-export.md +0 -16
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/diagnostics.md +0 -14
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/aspire.md +0 -52
- package/package/corpus/skills/cratis-observability/references/arc-and-chronicle-signals.md +0 -54
- package/package/corpus/skills/cratis-observability/references/dotnet-setup-and-options.md +0 -68
- package/package/corpus/skills/cratis-orchestration-lanes/references/escalation.md +0 -22
- package/package/corpus/skills/cratis-orchestration-lanes/references/roles.md +0 -12
- package/package/corpus/skills/cratis-orchestration-lanes/references/roll-call.md +0 -12
- package/package/corpus/skills/cratis-orleans-jobs/references/activation-callbacks.md +0 -5
- package/package/corpus/skills/cratis-orleans-jobs/references/lifecycle-and-placement.md +0 -56
- package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +0 -66
- package/package/corpus/skills/cratis-orleans-jobs/references/step-planning.md +0 -27
- package/package/corpus/skills/cratis-orleans-jobs/references/storage-and-options.md +0 -35
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/onboarding-directives.md +0 -90
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/unknown-preserving-reader.md +0 -9
- package/package/corpus/skills/cratis-screenplay-model-automation/references/host-trigger.md +0 -17
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp-performers.md +0 -18
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/version-migration.md +0 -12
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/host-body-execution.md +0 -10
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/observable-result.md +0 -123
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/interview-batch.md +0 -20
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/neighbouring-skills.md +0 -11
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/review-questions.md +0 -13
- package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +0 -58
- package/package/corpus/skills/cratis-session-handoff/references/session-hygiene.md +0 -20
- package/package/corpus/skills/cratis-showrunner-herald/references/options.md +0 -35
- package/package/corpus/skills/cratis-showrunner-herald/references/templates-and-images.md +0 -76
- package/package/corpus/skills/cratis-social-feed-post/references/asset-and-formatting.md +0 -37
- package/package/corpus/skills/cratis-social-feed-post/references/editorial-checks.md +0 -40
- package/package/corpus/skills/cratis-social-feed-post/references/linkedin-media.md +0 -24
- package/package/corpus/skills/cratis-social-feed-post/references/other-channels.md +0 -23
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp-phase-timings.md +0 -13
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-command-results.md +0 -7
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/blocked-tools.md +0 -11
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/observational-tools.md +0 -7
- package/package/corpus/skills/cratis-technical-examples/references/csharp-package-checks.md +0 -8
- package/package/corpus/skills/cratis-technical-examples/references/typescript-package-checks.md +0 -8
- package/package/corpus/skills/cratis-ux-review/references/capture-contract.md +0 -24
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/author-and-batch.md +0 -23
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/documentation-evidence.md +0 -25
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/interpretation.md +0 -17
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/stock-constructions.md +0 -23
|
@@ -1,97 +1,155 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-fundamentals-telemetry
|
|
3
|
-
description: Use when
|
|
3
|
+
description: Use when a .NET service declares its own counters, gauges, histograms or trace spans with Cratis Fundamentals, registers and subscribes them for export, or a declared instrument never reaches the collector; or when Go code attaches, reads or propagates a correlation ID on a `context.Context` with the Fundamentals `correlation` package (`WithID`, `FromContext`) in its own `net/http` middleware, worker or job outside an Arc request. Not for Arc or Chronicle built-in signals, cross-service tracing, sampling strategy or alerting (use cratis-observability).
|
|
4
4
|
license: MIT
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- Copyright (c) Cratis. All rights reserved. -->
|
|
8
8
|
<!-- Licensed under the MIT license. See LICENSE file in the project root for full license information. -->
|
|
9
9
|
|
|
10
|
-
#
|
|
10
|
+
# Typed metrics and spans
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
## Contents
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
- What it is
|
|
15
|
+
- When to use it
|
|
16
|
+
- How it behaves at runtime
|
|
17
|
+
- Default path
|
|
18
|
+
- Capability catalog
|
|
19
|
+
- Pitfalls
|
|
20
|
+
- Verify the emitted signals
|
|
15
21
|
|
|
16
|
-
|
|
22
|
+
## What it is
|
|
17
23
|
|
|
18
|
-
|
|
24
|
+
Cratis Fundamentals turns instrumentation into declarations. Declare one method per instrument (a counter, gauge, histogram or span) with its name, description and unit; its parameters are the measurement and the tags. A compile-time generator writes the body: it creates the instrument once per meter, assembles the tags, and records the value or starts the span. Call sites then read like domain verbs on a typed meter or activity source that belongs to one owner class.
|
|
19
25
|
|
|
20
|
-
|
|
21
|
-
// Copyright (c) Cratis. All rights reserved.
|
|
22
|
-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
26
|
+
The signals are standard OpenTelemetry-compatible meters and activity sources, so ordinary listeners, exporters and collectors see them. Nothing leaves the process until a telemetry provider subscribes the instrument's scope name and an exporter is configured. A separate Cratis host setup does both in one call.
|
|
23
27
|
|
|
24
|
-
|
|
25
|
-
using Cratis.Traces;
|
|
28
|
+
This capability is C#-only. Other SDKs create application instruments with the language's OpenTelemetry API; their references say what to use. The Go reference also covers the Fundamentals correlation ID carried on the request context; correlation in general belongs to `cratis-observability`. Python has no Cratis application SDK: use OpenTelemetry's Python API directly in that process.
|
|
26
29
|
|
|
27
|
-
|
|
30
|
+
Read `references/<language>.md` for the project's SDK (`.csproj` → csharp, Node server `package.json` → typescript, `*.kt` → kotlin, `*.java` → java, `go.mod` → go, `mix.exs` → elixir); only the project's languages are installed.
|
|
28
31
|
|
|
29
|
-
|
|
30
|
-
{
|
|
31
|
-
[Counter<int>("reports.completed", "Completed reports")]
|
|
32
|
-
internal static partial void Completed(this IMeter<ReportWorker> meter,
|
|
33
|
-
string outcome);
|
|
32
|
+
Names in this skill and its references (`Contoso.Reporting`, a report worker and its `contoso.reporting.*` instruments) are illustrative.
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
internal static partial void Pending(this IMeter<ReportWorker> meter, int count);
|
|
34
|
+
## When to use it
|
|
37
35
|
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
| Need | Instrument |
|
|
37
|
+
| --- | --- |
|
|
38
|
+
| A count that only grows: completed reports, failures by outcome | Counter |
|
|
39
|
+
| The current level of something: queue depth, pending reports | Gauge |
|
|
40
|
+
| The distribution of a size or duration: build time, payload size | Histogram; durations in seconds with unit `s` |
|
|
41
|
+
| One operation's timing, nesting and context across calls and services | Span |
|
|
40
42
|
|
|
41
|
-
|
|
42
|
-
internal static partial IActivityScope<ReportWorker> Build(
|
|
43
|
-
this IActivitySource<ReportWorker> source,
|
|
44
|
-
string format);
|
|
45
|
-
}
|
|
46
|
-
```
|
|
43
|
+
Telemetry is operational and lossy: sampling, aggregation and cardinality limits drop detail. Record business facts that must survive as events, and per-request detail as span attributes or logs, never as metric tags. For the signals Arc and Chronicle already emit, configure export instead of instrumenting again (`cratis-observability`).
|
|
47
44
|
|
|
48
|
-
|
|
49
|
-
- Remaining parameters are tags. Metric keys default to parameter names; span keys default to snake_case. `[Tag("key")]` from `Cratis.Diagnostics` overrides either.
|
|
50
|
-
- `IMeterScope<T>` merges scope tags with method tags. Do not put credentials, personal payloads or unbounded entity IDs in metric labels; choose bounded categories.
|
|
51
|
-
- Name, description and optional UCUM unit are distinct. A duration in seconds uses `"s"` and a measurement in seconds, not milliseconds.
|
|
52
|
-
- A span returns `IActivityScope<T>` and takes `IActivitySource<T>` first. Assign the returned scope with `using`; `CRT0001` checks disposal.
|
|
45
|
+
## How it behaves at runtime
|
|
53
46
|
|
|
54
|
-
|
|
47
|
+
- **Owner type.** Each typed meter or activity source is bound to an owner type, the class that records. By default its scope name is the owner's full type name (for example `Contoso.Reporting.ReportWorker`), or its short name when the type has no full name, with one singleton per owner. A named registration instead shares one scope name, optionally versioned, among the consumers that request it by key.
|
|
48
|
+
- **Instruments.** A generated metric method creates its instrument on first call, once per underlying meter, then records. Name, description and unit come from the declaration. The description is help text and never part of the exported name.
|
|
49
|
+
- **Measurement and tags.** After the meter argument, the first parameter whose type is written as the built-in name of the instrument's numeric type is the measurement. The match compares spellings, so an alias for the same type does not match (see Declaring instruments in your language reference). A counter without a measurement adds one per call. Every other parameter is a tag; an explicit tag key never changes which parameter is the measurement. Metric tag keys are the parameter name as written; span tag keys are the parameter name in snake_case (`reportId` becomes `report_id`). An explicit tag key replaces either form.
|
|
50
|
+
- **Meter scopes.** A meter scope pairs a meter with shared tags. It affects only calls that receive the scope as their first argument. It is not ambient, and disposing it changes nothing already recorded.
|
|
51
|
+
- **Spans.** A generated span method starts an activity with the declared name and kind (internal unless declared), sets one tag per parameter and returns a scope. The ambient current span becomes the parent, so nested spans form a tree without passing parents around. Disposing the scope stops the span. A span that is never stopped is never exported, and later spans in the same flow nest under it.
|
|
52
|
+
- **Failures.** The generated span sets no status and records no exception. On failure, mark the scope's underlying activity yourself (see Recording in your language reference).
|
|
53
|
+
- **Presence, recording and export.** With no listener, a metric call emits nothing, but it still evaluates its arguments, builds its tags and looks up its instrument, so keep costly tag values out of hot paths. A span call then returns a scope without an activity. A sampler that drops a span can still create its activity, which is then neither recorded nor exported. Code that touches the underlying activity must tolerate its absence and check that it is recording before costly attribute work.
|
|
54
|
+
- **Subscription is by scope name.** The Cratis host setup subscribes `Cratis.*` only. An application owner's type name does not match it, so add that scope to the meter and trace subscriptions explicitly. Registering a meter or source for dependency injection never subscribes it.
|
|
55
|
+
- **Export is opt-in.** An OTLP exporter exists only for a signal with a configured endpoint (see Configuration below).
|
|
55
56
|
|
|
56
|
-
|
|
57
|
-
using var activity = source.Build("pdf");
|
|
58
|
-
meter.Pending(3);
|
|
59
|
-
meter.Completed("succeeded");
|
|
60
|
-
meter.Duration(0.25);
|
|
61
|
-
```
|
|
57
|
+
## Default path
|
|
62
58
|
|
|
63
|
-
|
|
59
|
+
1. **Choose and name the instrument.** Pick the instrument from the table above. Name it in the application's own namespace, `<app>.<area>.<entity>.<measure>`, lowercase, with a unit and a description; durations are histograms in seconds. The `cratis.` prefix and `Cratis.` scopes belong to Cratis products. Published instrument names and tag keys are a contract with dashboards and alerts, so renaming one is a breaking change.
|
|
60
|
+
2. **Declare beside the owner.** Put one owner's declarations in one declaration container next to that class (see Declaring instruments in your language reference). Reference the generator directly in that project (see Packages in your language reference); it does not arrive through Arc or Chronicle. Keep tags to bounded categories such as an outcome or a format, because every distinct combination becomes a separate series. Never tag with identifiers, credentials or personal data.
|
|
61
|
+
3. **Make the typed meter and source resolvable.** Arc's host setup registers them for every owner type. In a host without Arc, use the Fundamentals convention bindings (`cratis-fundamentals-type-discovery`). A generated method registers nothing by itself.
|
|
62
|
+
4. **Record.** Inject the owner's typed meter and activity source and call the generated methods. Hold every span scope in the language's scoped-disposal construct, so the span stops even when the operation throws.
|
|
63
|
+
5. **Subscribe.** Call the Cratis host setup once and add the owner's full type name to its meter and trace subscriptions.
|
|
64
|
+
6. **Prove it locally.** Build with warnings as errors. Then run one code path against an in-memory listener (see Verify in a listener in your language reference) and observe the counter increment, the histogram unit and the completed span under its parent.
|
|
65
|
+
7. **Export only when a collector should receive the signals.** Configure it through `OTEL_*` settings (see Configuration in your language reference) and repeat the check at the collector. Keep endpoints and exporter headers out of code, because headers carry credentials and endpoints differ per environment.
|
|
64
66
|
|
|
65
|
-
|
|
67
|
+
Done when each signal arrives at the local listener, and at the collector when export is configured, with the expected scope, name, unit and tag keys. A successful build proves only the declaration.
|
|
66
68
|
|
|
67
|
-
|
|
69
|
+
Choose a **named meter or activity source** instead when several owner types must publish under one product scope or the scope must carry a version. Choose a **meter scope** when several calls share the same tags.
|
|
68
70
|
|
|
69
|
-
|
|
71
|
+
## Capability catalog
|
|
70
72
|
|
|
71
|
-
|
|
72
|
-
using Cratis.OpenTelemetry;
|
|
73
|
-
using OpenTelemetry.Metrics;
|
|
74
|
-
using OpenTelemetry.Trace;
|
|
75
|
-
using MyApplication.Reports;
|
|
73
|
+
Each entry names a capability. Your language reference documents its API under the same heading.
|
|
76
74
|
|
|
77
|
-
|
|
78
|
-
{
|
|
79
|
-
options.ConfigureMetrics = metrics => metrics.AddMeter(typeof(ReportWorker).FullName!);
|
|
80
|
-
options.ConfigureTracing = tracing => tracing.AddSource(typeof(ReportWorker).FullName!);
|
|
81
|
-
});
|
|
82
|
-
```
|
|
75
|
+
### Declaring instruments
|
|
83
76
|
|
|
84
|
-
|
|
77
|
+
- **Generator**: the compile-time package that writes the method bodies and the span-disposal check. Every project that declares instruments references it directly.
|
|
78
|
+
- **Declaration container**: a static partial class directly inside a namespace, holding static partial instrument methods whose bodies the generator supplies. Use it for every declaration.
|
|
79
|
+
- **Counter**: a monotonic sum with name, description, optional unit and numeric type. The measurement is optional; without one, each call adds one.
|
|
80
|
+
- **Gauge**: records the current value for each tag set. The measurement is required. Use it for levels that rise and fall.
|
|
81
|
+
- **Histogram**: records a distribution. The measurement is required. Durations use unit `s` and values in seconds.
|
|
82
|
+
- **Span**: a name and an optional kind. Use internal for in-process work, server to handle an inbound request, client for an outbound call, producer to send a message and consumer to receive one. The method returns an activity scope.
|
|
83
|
+
- **First parameter**: a typed meter when the call uses method tags only, or a meter scope to add that scope's tags. For spans, a typed activity source.
|
|
84
|
+
- **Measurement parameter**: the first parameter after the meter whose type is written as the built-in name of the instrument's numeric type, in any position. An explicit tag key on it does not make it a tag.
|
|
85
|
+
- **Tag parameters**: every remaining parameter. Metric keys are the parameter name as written; span keys are snake_case.
|
|
86
|
+
- **Explicit tag key**: a per-parameter marker that emits the given key verbatim. Use it for dotted keys and for keys that dashboards already depend on, so renaming a parameter cannot change them.
|
|
85
87
|
|
|
86
|
-
|
|
88
|
+
### Runtime types
|
|
87
89
|
|
|
88
|
-
|
|
90
|
+
- **Typed meter**: the meter for one owner type, exposing the underlying platform meter.
|
|
91
|
+
- **Meter scope**: begun from a typed meter with tags given as a dictionary, or as an object whose property names become the keys.
|
|
92
|
+
- **Typed activity source**: the activity source for one owner type, exposing the underlying platform source.
|
|
93
|
+
- **Activity scope**: returned by a span method. It exposes the underlying activity for status, extra attributes or events. The activity is absent when nothing listens, and can be present but not recording when the sampler drops the span. Disposing the scope stops the span.
|
|
94
|
+
- **Wrapping an existing meter or source**: build a typed meter or source over a supplied platform meter or source. Use it in specs that listen to a private meter, or to share one deliberately.
|
|
95
|
+
- **Other instrument kinds**: up-down counters and observable (callback) instruments cannot be declared. Create them once, in a long-lived service, on the typed meter's underlying platform meter.
|
|
89
96
|
|
|
90
|
-
|
|
97
|
+
### Registration
|
|
98
|
+
|
|
99
|
+
- **Convention bindings**: register per-owner typed meters and sources as singletons for every owner type, without replacing existing registrations. Arc's host setup includes them.
|
|
100
|
+
- **Named meter**: registers one shared platform meter under a name, plus keyed typed meters that use it. The instrumentation-scope version is optional. The first registration of a name wins, and a blank name is rejected.
|
|
101
|
+
- **Named activity source**: the same for traces.
|
|
102
|
+
- **Keyed resolution**: a consumer requests the typed meter or source by the registered name and receives the shared one, whatever its owner type. The shared platform meter or source resolves by the same name, for instruments the generator cannot declare. Named registration adds keyed services only, so unkeyed consumers keep per-owner scopes.
|
|
103
|
+
|
|
104
|
+
### Host telemetry setup
|
|
105
|
+
|
|
106
|
+
- **One-call host setup**: configures the resource, logs, traces and metrics with Cratis defaults on the host application builder. This is the default.
|
|
107
|
+
- **Compose into an existing OpenTelemetry builder**: for a host that already starts OpenTelemetry. It reads the application's configuration from dependency injection, or takes a separate telemetry configuration. Use it instead of the one-call setup, never alongside it. A service identity the host already sets on the resource is kept.
|
|
108
|
+
- **Cratis-only subscription**: adds `Cratis.*` to the trace and metric providers without a resource, exporter or host instrumentation. Use it when the application owns its whole pipeline.
|
|
109
|
+
- **Trace and metric callbacks**: add application scopes, extra instrumentation or a replacement health-path filter. They run before the service provider is built.
|
|
110
|
+
- **Service name and version**: resource fallbacks, used only when neither configuration nor the host's own resource setup names the service. The name defaults to the lowercase entry assembly name and the version to its informational version.
|
|
111
|
+
- **Exception details**: off by default. Exported logs then lose the `exception.message` and `exception.stacktrace` attributes, and a log carrying an exception loses the exception and its formatted message but keeps `exception.type`. The message template, other attribute values and scopes export as logged, so redact secrets and personal data before logging. Turn details on only after a privacy review.
|
|
112
|
+
- **Metric views**: off by default. When on, Cratis owns metric shaping through one view and applies the next three settings. Do not register another view for the same instruments, because each matching view creates its own stream. Settings are captured at registration, so later changes have no effect.
|
|
113
|
+
- **Cardinality limit**: the number of distinct tag sets per metric stream, 2000 unless changed. Excess tag sets fold into one point tagged `otel.metric.overflow=true`.
|
|
114
|
+
- **Seconds histogram boundaries**: buckets for histograms from `Cratis.*` meters with unit `s` and no instrument advice. Clear them to keep advice or the SDK defaults. Application meters do not match, so shape them with a metric policy.
|
|
115
|
+
- **Metric policy**: per exact instrument name, case-insensitive. It sets the allowed tag keys (an empty list removes all), histogram boundaries and a cardinality limit. An invalid limit, boundary list or key fails at registration, even while views are off.
|
|
116
|
+
- **Default instrumentation**: logs with scopes and formatted messages; `Cratis.*` sources and meters; inbound HTTP traces (skipping `/health`, `/healthz`, `/ready`, `/readyz` and `/readiness`) and outgoing HTTP traces; inbound HTTP, outgoing HTTP and runtime metrics; one OTLP exporter for each signal that has an endpoint.
|
|
117
|
+
|
|
118
|
+
### Build-time diagnostics
|
|
119
|
+
|
|
120
|
+
- **Undisposed span scope**: a warning when a span scope is discarded or assigned outside a scoped-disposal construct.
|
|
121
|
+
- **Declaration errors**: a metric method without a first parameter, with a first parameter that is not a typed meter or meter scope, or a gauge or histogram without a measurement; a span method without a typed activity source first or not returning an activity scope.
|
|
122
|
+
|
|
123
|
+
### Configuration
|
|
124
|
+
|
|
125
|
+
Each key is read from the environment first, then from the application's configuration. Where a key has a per-signal form (traces, metrics, logs), the per-signal value wins over the shared one.
|
|
126
|
+
|
|
127
|
+
- **Service identity** (`OTEL_SERVICE_NAME`, `OTEL_RESOURCE_ATTRIBUTES`): the service name and extra resource attributes per deployment. They override the code fallbacks.
|
|
128
|
+
- **Endpoint** (shared or per signal): turns export on for the signals it covers. Set only the trace endpoint for trace-only export. An address that is not absolute `http` or `https` fails startup.
|
|
129
|
+
- **Protocol** (shared or per signal): gRPC unless `http/protobuf`; match the collector's listener. Over HTTP, the shared endpoint gains the per-signal path and a per-signal endpoint is used as given.
|
|
130
|
+
- **Headers** (shared or per signal): exporter credentials. Supply them through the deployment's secret mechanism.
|
|
131
|
+
- **Timeout and compression** (shared or per signal): a positive export timeout in milliseconds, and `gzip` or `none`. Other values are ignored.
|
|
132
|
+
- **Exporter selection** (per signal): when set, that signal exports only if the list contains `otlp`. Use `none` to stop one signal's export and keep the others.
|
|
133
|
+
- **Sampler and argument**: always on, always off or a trace-id ratio from 0 to 1, each optionally parent-based. It wins over a sampler set in the trace callback; an invalid ratio fails startup.
|
|
134
|
+
- **Propagators**: trace context, baggage (both by default) or `none`. When set, they replace the OpenTelemetry propagator and limit what inbound HTTP requests extract, unless the application registered its own inbound propagator. `none` does not stop outgoing HTTP calls from carrying trace context (see Configuration in your language reference).
|
|
135
|
+
- **Disablement** (`OTEL_SDK_DISABLED`): `true` turns off traces, metrics and logs. Use it for runs that need no telemetry.
|
|
136
|
+
- **Metric reader timing**: the export interval and timeout in milliseconds, used only when metrics export. The interval must be positive; the timeout can be zero.
|
|
137
|
+
- **Log batching**: queue size, batch size, schedule delay and export timeout, positive values only. The batch size never exceeds the queue size.
|
|
138
|
+
|
|
139
|
+
## Pitfalls
|
|
140
|
+
|
|
141
|
+
- **Scope never subscribed.** This is the most common reason a working declaration exports nothing. Compare the actual scope name (the owner's full type name or the registered name) with the provider's subscriptions.
|
|
142
|
+
- **No generated bodies.** The generator is missing from the declaring project, or the container is not a top-level static partial class in a namespace. Check the build output before suspecting export.
|
|
143
|
+
- **Two pipelines.** Calling both the one-call setup and the compose form, or adding another OTLP exporter beside them, duplicates every signal.
|
|
144
|
+
- **Unbounded tags.** Identifiers for users, tenants, requests or entities multiply series until the cardinality limit folds them into overflow. Put per-request context on spans or in logs.
|
|
145
|
+
- **Wrong instrument.** A gauge reports only the last value per tag set, and a counter only grows. Choose by what a dashboard must show.
|
|
146
|
+
- **Wrong unit.** Milliseconds in a seconds histogram, or a unit inside the name, makes dashboards misread both.
|
|
147
|
+
- **Measurement type mismatch.** A parameter type written as an alias rather than the built-in name is not the measurement: the value silently becomes a tag and a counter adds one instead. A gauge or histogram fails to build.
|
|
148
|
+
- **Renaming published signals.** Names and tag keys are a contract with dashboards and alerts. To replace one, publish both names for a deprecation period, never sum the old and new series, and follow the rename procedure in `cratis-observability`. Explicit tag keys keep keys stable when parameters are renamed.
|
|
91
149
|
|
|
92
150
|
## Verify the emitted signals
|
|
93
151
|
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
152
|
+
- Inspect the generated implementations for the expected measurement, tags and instrument name. Never edit generated files, because the next build overwrites them.
|
|
153
|
+
- Confirm that every span stops and nests under the expected parent.
|
|
154
|
+
- For Prometheus, the description becomes HELP text. Exporters may append the unit to the exported name, so keep units out of instrument names and check the exported name before updating dashboards.
|
|
155
|
+
- When nothing arrives, check in this order: the scope subscription, `OTEL_SDK_DISABLED`, the sampler, the endpoint and exporter selection, and only then the collector.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
<!-- Copyright (c) Cratis. All rights reserved. -->
|
|
2
|
+
<!-- Licensed under the MIT license. See LICENSE file in the project root for full license information. -->
|
|
3
|
+
|
|
4
|
+
# OTLP export in C#
|
|
5
|
+
|
|
6
|
+
Read this when the Cratis host setup (`AddCratisOpenTelemetry` or `WithCratis`) must send signals to a collector, or when a signal never reaches the collector. It configures the application's exporter, not the collector deployment. For sampling strategy and propagation across services, use `cratis-observability`.
|
|
7
|
+
|
|
8
|
+
The host setup reads each key from the environment first, then from the application's configuration under the same key. For every key with a per-signal form, the per-signal value wins over the shared one. Export is opt-in. A signal exports only when it has a shared or signal-specific endpoint and, if its exporter-selection key is set, that key includes `otlp`.
|
|
9
|
+
|
|
10
|
+
| Key | Effect |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| `OTEL_SERVICE_NAME` | Resource `service.name`. Wins over the configured service-name fallback and over `service.name` in the resource attributes |
|
|
13
|
+
| `OTEL_RESOURCE_ATTRIBUTES` | Comma-separated `key=value` resource attributes; values are URL-decoded |
|
|
14
|
+
| `OTEL_EXPORTER_OTLP_ENDPOINT` | Shared absolute `http` or `https` endpoint for traces, metrics and logs |
|
|
15
|
+
| `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT`, `OTEL_EXPORTER_OTLP_METRICS_ENDPOINT`, `OTEL_EXPORTER_OTLP_LOGS_ENDPOINT` | Per-signal endpoint, used exactly as given; overrides the shared endpoint |
|
|
16
|
+
| `OTEL_EXPORTER_OTLP_PROTOCOL` and the per-signal `OTEL_EXPORTER_OTLP_<SIGNAL>_PROTOCOL` | `http/protobuf` selects HTTP; any other value selects gRPC |
|
|
17
|
+
| `OTEL_EXPORTER_OTLP_HEADERS` and the per-signal form | Exporter headers, usually credentials |
|
|
18
|
+
| `OTEL_EXPORTER_OTLP_TIMEOUT` and the per-signal form | Export timeout in milliseconds; only a positive value applies |
|
|
19
|
+
| `OTEL_EXPORTER_OTLP_COMPRESSION` and the per-signal form | `gzip` or `none`; other values keep the exporter's default |
|
|
20
|
+
| `OTEL_TRACES_EXPORTER`, `OTEL_METRICS_EXPORTER`, `OTEL_LOGS_EXPORTER` | Comma-separated exporter names; when set, the signal exports only if the list contains `otlp` |
|
|
21
|
+
| `OTEL_TRACES_SAMPLER` | `always_on`, `always_off`, `traceidratio`, or one of them prefixed with `parentbased_`; wins over a sampler set in `ConfigureTracing`; other values keep the SDK's sampler |
|
|
22
|
+
| `OTEL_TRACES_SAMPLER_ARG` | Ratio from 0 to 1 for `traceidratio`; any other value fails at startup |
|
|
23
|
+
| `OTEL_PROPAGATORS` | Comma-separated `tracecontext` and `baggage` (both by default) or `none`; other names install nothing. Not a blanket switch: see Propagation |
|
|
24
|
+
| `OTEL_SDK_DISABLED` | `true` turns every OpenTelemetry provider in the service collection into a no-op, including providers added after the Cratis setup |
|
|
25
|
+
| `OTEL_METRIC_EXPORT_INTERVAL`, `OTEL_METRIC_EXPORT_TIMEOUT` | Metric reader interval and timeout in milliseconds (60000 and 30000 unless set), used when metrics export. The interval applies only when positive; the timeout accepts zero |
|
|
26
|
+
| `OTEL_BLRP_MAX_QUEUE_SIZE`, `OTEL_BLRP_MAX_EXPORT_BATCH_SIZE`, `OTEL_BLRP_SCHEDULE_DELAY`, `OTEL_BLRP_EXPORT_TIMEOUT` | Log batch processor; positive values only, and the batch size never exceeds the queue size |
|
|
27
|
+
|
|
28
|
+
`<SIGNAL>` is `TRACES`, `METRICS` or `LOGS`.
|
|
29
|
+
|
|
30
|
+
## Behavior to rely on
|
|
31
|
+
|
|
32
|
+
- With `http/protobuf`, the shared endpoint gains `/v1/traces`, `/v1/metrics` or `/v1/logs` per signal. A per-signal endpoint is used as given, so include that path yourself.
|
|
33
|
+
- An enabled endpoint that is not an absolute `http` or `https` address fails at startup, naming the offending key. Treat that failure as a configuration error, not a collector outage.
|
|
34
|
+
- A shared endpoint enables all three signals. For trace-only export, set only `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT`.
|
|
35
|
+
- Exporter headers carry credentials. Supply them through the deployment's secret mechanism, never in code, snippets or committed configuration.
|
|
36
|
+
- Configure telemetry with these standard keys only, so every collector and runtime reads the same settings. Do not invent product-specific variables.
|
|
37
|
+
- A service name, version or resource detector the host already configures on the OpenTelemetry resource before the Cratis setup is kept for all three signals. `ServiceName` and `ServiceVersion` fill only what is missing, and `OTEL_SERVICE_NAME` and `OTEL_RESOURCE_ATTRIBUTES` override all of them.
|
|
38
|
+
|
|
39
|
+
## Propagation
|
|
40
|
+
|
|
41
|
+
`OTEL_PROPAGATORS` reaches three places differently. Unset, all three keep their defaults.
|
|
42
|
+
|
|
43
|
+
- **OpenTelemetry propagator**: replaced by the listed propagators; `none` installs an empty one. Code that injects or extracts through the OpenTelemetry API uses it.
|
|
44
|
+
- **ASP.NET Core ingress**: incoming requests yield remote trace context only with `tracecontext` and baggage only with `baggage`; `none` wins even beside other names. With `none`, the host's registered `DistributedContextPropagator` also injects nothing for code that resolves it. A `DistributedContextPropagator` the application registered itself is kept unchanged.
|
|
45
|
+
- **Outgoing `HttpClient` calls**, including gRPC and the Chronicle client: unchanged. They inject through `DistributedContextPropagator.Current` or the handler's `SocketsHttpHandler.ActivityHeadersPropagator`, so trace context still leaves the process with `none`. To stop that, set either one to `DistributedContextPropagator.CreateNoOutputPropagator()` before the clients are created.
|
|
46
|
+
|
|
47
|
+
## When a signal is missing
|
|
48
|
+
|
|
49
|
+
Check in this order and stop at the first mismatch:
|
|
50
|
+
|
|
51
|
+
1. The instrument's scope name is subscribed. Application scopes are not covered by `Cratis.*`.
|
|
52
|
+
2. `OTEL_SDK_DISABLED` is not `true`.
|
|
53
|
+
3. The sampler keeps the span. With a parent-based sampler, an upstream decision not to sample drops the whole downstream trace.
|
|
54
|
+
4. The signal has an endpoint, and its exporter-selection key, if set, includes `otlp`.
|
|
55
|
+
5. The protocol matches the collector's listener: gRPC by default, `http/protobuf` for HTTP.
|
|
56
|
+
6. Only then, the collector itself.
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
<!-- Copyright (c) Cratis. All rights reserved. -->
|
|
2
|
+
<!-- Licensed under the MIT license. See LICENSE file in the project root for full license information. -->
|
|
3
|
+
|
|
4
|
+
# Typed metrics and spans in C#
|
|
5
|
+
|
|
6
|
+
## Contents
|
|
7
|
+
|
|
8
|
+
- Packages
|
|
9
|
+
- Declaring instruments
|
|
10
|
+
- Recording
|
|
11
|
+
- Runtime types
|
|
12
|
+
- Registration
|
|
13
|
+
- Host telemetry setup
|
|
14
|
+
- Build-time diagnostics
|
|
15
|
+
- Configuration
|
|
16
|
+
- Verify in a listener
|
|
17
|
+
- Pitfalls
|
|
18
|
+
|
|
19
|
+
## Packages
|
|
20
|
+
|
|
21
|
+
- `Cratis.Fundamentals`: the instrument attributes, typed meters and activity sources, scopes and registration.
|
|
22
|
+
- `Cratis.Observability.SourceGenerators`: the generator and the span-disposal analyzer. Reference it directly in every project that declares instruments. Analyzers do not flow through another package's dependency, so referencing Arc or Chronicle is not enough. `Cratis.Metrics.Roslyn` is a forwarding name for the same generator; replace it with this package.
|
|
23
|
+
- `Cratis.OpenTelemetry`: the host telemetry setup and OTLP export. Reference it only in the host project.
|
|
24
|
+
|
|
25
|
+
## Declaring instruments
|
|
26
|
+
|
|
27
|
+
One container per owner, in its own file beside the owner. `ReportWorker` is the owner class in the same namespace:
|
|
28
|
+
|
|
29
|
+
```csharp
|
|
30
|
+
using Cratis.Diagnostics;
|
|
31
|
+
using Cratis.Metrics;
|
|
32
|
+
using Cratis.Traces;
|
|
33
|
+
|
|
34
|
+
namespace Contoso.Reporting;
|
|
35
|
+
|
|
36
|
+
public static partial class ReportWorkerInstrumentation
|
|
37
|
+
{
|
|
38
|
+
[Counter<int>("contoso.reporting.report.completed", "Reports finished, by outcome")]
|
|
39
|
+
internal static partial void ReportCompleted(this IMeter<ReportWorker> meter, string outcome);
|
|
40
|
+
|
|
41
|
+
[Gauge<int>("contoso.reporting.queue.pending", "Reports waiting to be built")]
|
|
42
|
+
internal static partial void PendingReports(this IMeter<ReportWorker> meter, int count);
|
|
43
|
+
|
|
44
|
+
[Histogram<double>("contoso.reporting.report.duration", "Time to build one report", "s")]
|
|
45
|
+
internal static partial void ReportDuration(
|
|
46
|
+
this IMeter<ReportWorker> meter,
|
|
47
|
+
double seconds,
|
|
48
|
+
[Tag("contoso.reporting.report.format")] string format);
|
|
49
|
+
|
|
50
|
+
[Span("contoso.reporting.report.build")]
|
|
51
|
+
internal static partial IActivityScope<ReportWorker> BuildReport(
|
|
52
|
+
this IActivitySource<ReportWorker> source,
|
|
53
|
+
[Tag("contoso.reporting.report.format")] string format);
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
- **Container**: a `static partial class` declared directly in a block or file-scoped namespace, not nested and not in the global namespace. Methods are `static partial` with an access modifier and no body.
|
|
58
|
+
- **`[Counter<T>(name, description)]`**, **`[Gauge<T>(…)]`**, **`[Histogram<T>(…)]`**: an optional third argument is the unit (`"s"`, `"By"`, `"{report}"`). `T` is a numeric type that .NET instruments accept, such as `int`, `long` or `double`.
|
|
59
|
+
- **`[Span(name)]`**: an optional second argument is an `ActivityKind` (`Server`, `Client`, `Producer`, `Consumer`).
|
|
60
|
+
- **First parameter**: `this IMeter<TOwner>` or `this IMeterScope<TOwner>` for metrics, `this IActivitySource<TOwner>` for spans. A span returns `IActivityScope<TOwner>` for the same owner.
|
|
61
|
+
- **Measurement**: the first later parameter whose type is written as the C# keyword for `T`: `byte`, `short`, `int`, `long`, `float`, `double` or `decimal`. Write the keyword even when the attribute spells `T` as `Int32` or `System.Double`. A parameter written `Int32`, `System.Int32` or `int?` is a tag instead, and a counter then adds one per call. `[Tag]` cannot change the selection: on the measurement it is ignored, and a later parameter of the same type is always a tag.
|
|
62
|
+
- **`[Tag("key")]`** (`Cratis.Diagnostics`) on any tag parameter: emits that key verbatim. Without it, a metric key is the parameter name and a span key is its snake_case form.
|
|
63
|
+
|
|
64
|
+
## Recording
|
|
65
|
+
|
|
66
|
+
`IReportRenderer` is an illustrative application service:
|
|
67
|
+
|
|
68
|
+
```csharp
|
|
69
|
+
using System.Diagnostics;
|
|
70
|
+
using Cratis.Metrics;
|
|
71
|
+
using Cratis.Traces;
|
|
72
|
+
|
|
73
|
+
namespace Contoso.Reporting;
|
|
74
|
+
|
|
75
|
+
public class ReportWorker(IMeter<ReportWorker> meter, IActivitySource<ReportWorker> source, IReportRenderer renderer)
|
|
76
|
+
{
|
|
77
|
+
public async Task Build(string format)
|
|
78
|
+
{
|
|
79
|
+
using var span = source.BuildReport(format);
|
|
80
|
+
var started = Stopwatch.GetTimestamp();
|
|
81
|
+
try
|
|
82
|
+
{
|
|
83
|
+
await renderer.Render(format);
|
|
84
|
+
meter.ReportCompleted("succeeded");
|
|
85
|
+
}
|
|
86
|
+
catch (Exception exception)
|
|
87
|
+
{
|
|
88
|
+
span.Activity?.SetStatus(ActivityStatusCode.Error);
|
|
89
|
+
span.Activity?.SetTag("error.type", exception.GetType().FullName);
|
|
90
|
+
meter.ReportCompleted("failed");
|
|
91
|
+
throw;
|
|
92
|
+
}
|
|
93
|
+
finally
|
|
94
|
+
{
|
|
95
|
+
meter.ReportDuration(Stopwatch.GetElapsedTime(started).TotalSeconds, format);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
- Hold every span scope with `using var` (or a `using` block). The scope's `Activity` is `null` when nothing listens, so always use `?.`. When the sampler drops the span, `Activity` can still be non-null with `IsAllDataRequested` and `Recorded` false; it is never exported, so guard costly tag work with `span.Activity?.IsAllDataRequested == true`.
|
|
102
|
+
- Shared tags: declare the metric method with `this IMeterScope<ReportWorker> scope` and call it on `meter.BeginScope(new { region = "eu-west" })`. The scope's tags are added after the method's tags, so do not repeat a method tag key in the scope.
|
|
103
|
+
|
|
104
|
+
## Runtime types
|
|
105
|
+
|
|
106
|
+
| Type | Namespace | Use |
|
|
107
|
+
| --- | --- | --- |
|
|
108
|
+
| `IMeter<TOwner>` | `Cratis.Metrics` | Inject; `ActualMeter` is the platform `Meter` |
|
|
109
|
+
| `IMeterScope<TOwner>` | `Cratis.Metrics` | From `meter.BeginScope(IDictionary<string, object>)`, or `meter.BeginScope(object)`, which uses public instance property names as keys and skips null values. The object form reads properties by reflection, so preserve the type when trimming |
|
|
110
|
+
| `IActivitySource<TOwner>` | `Cratis.Traces` | Inject; `ActualSource` is the platform `ActivitySource` |
|
|
111
|
+
| `IActivityScope<TOwner>` | `Cratis.Traces` | Returned by a span method; `Activity` for status, tags and events; `Dispose()` stops the span |
|
|
112
|
+
| `Meter<TOwner>`, `ActivitySource<TOwner>` | `Cratis.Metrics`, `Cratis.Traces` | Construct over a supplied platform `Meter` or `ActivitySource` (specs, deliberate sharing); the parameterless constructor names the scope after the owner |
|
|
113
|
+
|
|
114
|
+
An owner's scope name is `typeof(TOwner).FullName`, or the short `Name` when there is no full name (a type built from open generic parameters). A closed generic owner's full name embeds assembly-qualified type arguments, so give a generic owner a named scope.
|
|
115
|
+
|
|
116
|
+
An instrument the generator does not declare (an up-down counter, or an observable instrument read by callback) is created on `ActualMeter`. Create it once, in a singleton, because every create call adds another instrument to the meter.
|
|
117
|
+
|
|
118
|
+
## Registration
|
|
119
|
+
|
|
120
|
+
- **With Arc**: Arc's host setup registers `IMeter<>` and `IActivitySource<>` for every owner.
|
|
121
|
+
- **Without Arc**: `services.AddBindingsByConvention()` or `services.AddSelfBindings()` registers both (see `cratis-fundamentals-type-discovery`). A host that uses neither registers the open generics itself as singletons: `IMeter<>` to `UnkeyedMeter<>` and `IActivitySource<>` to `UnkeyedActivitySource<>`.
|
|
122
|
+
- **Named scope**:
|
|
123
|
+
|
|
124
|
+
```csharp
|
|
125
|
+
services.AddNamedMeter("Contoso.Reporting", "1.4.0");
|
|
126
|
+
services.AddNamedActivitySource("Contoso.Reporting", "1.4.0");
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
A consumer takes `[FromKeyedServices("Contoso.Reporting")] IMeter<ReportWorker> meter` (and the same for `IActivitySource<ReportWorker>`). Subscribe `"Contoso.Reporting"`, not the owner's type name. The version argument is optional. The shared platform `System.Diagnostics.Metrics.Meter` and `System.Diagnostics.ActivitySource` resolve by the same key, for instruments the generator cannot declare.
|
|
130
|
+
|
|
131
|
+
## Host telemetry setup
|
|
132
|
+
|
|
133
|
+
One-call setup on an `IHostApplicationBuilder` (including `WebApplicationBuilder`), subscribing the owner's scope:
|
|
134
|
+
|
|
135
|
+
```csharp
|
|
136
|
+
using Cratis.OpenTelemetry;
|
|
137
|
+
using Contoso.Reporting;
|
|
138
|
+
|
|
139
|
+
builder.AddCratisOpenTelemetry(options =>
|
|
140
|
+
{
|
|
141
|
+
options.ConfigureMetrics = metrics => metrics.AddMeter(typeof(ReportWorker).FullName!);
|
|
142
|
+
options.ConfigureTracing = tracing => tracing.AddSource(typeof(ReportWorker).FullName!);
|
|
143
|
+
});
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
| Capability | API |
|
|
147
|
+
| --- | --- |
|
|
148
|
+
| Compose into an existing builder | `services.AddOpenTelemetry().WithCratis(options => …)` reads `IConfiguration` from the service provider; `WithCratis(configuration, options => …)` takes telemetry settings directly |
|
|
149
|
+
| Cratis-only subscription | `tracing.AddCratisInstrumentation()` and `metrics.AddCratisInstrumentation()` on the provider builders (`InstrumentationExtensions.InstrumentationScope` is `"Cratis.*"`) |
|
|
150
|
+
| Trace and metric callbacks | `ConfigureTracing` (`Action<TracerProviderBuilder>`), `ConfigureMetrics` (`Action<MeterProviderBuilder>`) |
|
|
151
|
+
| Replace the health-path filter | In `ConfigureTracing`: `tracing.AddAspNetCoreInstrumentation(o => o.Filter = context => !context.Request.Path.StartsWithSegments("/probes"))` |
|
|
152
|
+
| Service name and version | `ServiceName`, `ServiceVersion`: fallbacks only. A name, version or detector the host configures on the resource before the Cratis setup is kept |
|
|
153
|
+
| Exception details | `IncludeExceptionDetails`. While `false`, exported logs lose the `exception.message` and `exception.stacktrace` attributes, and a log with an exception loses its `Exception` and `FormattedMessage` but keeps `exception.type` (the full type name). The message template, other state values and scopes export as logged, so redact before logging |
|
|
154
|
+
| Metric views | `EnableMetricViews` |
|
|
155
|
+
| Cardinality limit | `MetricCardinalityLimit` (`CratisOpenTelemetryOptions.DefaultMetricCardinalityLimit`) |
|
|
156
|
+
| Seconds histogram boundaries | `SecondsHistogramBoundaries`; `null` clears them |
|
|
157
|
+
| Metric policy | `MetricPolicies[instrumentName] = new() { TagKeys = …, Boundaries = …, CardinalityLimit = … }` |
|
|
158
|
+
|
|
159
|
+
Shaping one application histogram (policies apply only while views are on):
|
|
160
|
+
|
|
161
|
+
```csharp
|
|
162
|
+
builder.AddCratisOpenTelemetry(options =>
|
|
163
|
+
{
|
|
164
|
+
options.EnableMetricViews = true;
|
|
165
|
+
options.MetricPolicies["contoso.reporting.report.duration"] = new()
|
|
166
|
+
{
|
|
167
|
+
TagKeys = ["contoso.reporting.report.format"],
|
|
168
|
+
Boundaries = [0.5, 1, 2.5, 5, 10, 30]
|
|
169
|
+
};
|
|
170
|
+
});
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
Startup failures name their cause: `InvalidMetricPolicy` (a limit, boundary list or tag key), `InvalidOpenTelemetryEndpoint` (the offending key) and `InvalidOpenTelemetrySamplerArgument`.
|
|
174
|
+
|
|
175
|
+
## Build-time diagnostics
|
|
176
|
+
|
|
177
|
+
| Id | Severity | Meaning |
|
|
178
|
+
| --- | --- | --- |
|
|
179
|
+
| `CRT0001` | Warning | An `IActivityScope<T>` is discarded or assigned without `using` |
|
|
180
|
+
| `METRICS001` | Error | A metric method has no parameters |
|
|
181
|
+
| `METRICS002` | Error | A metric method's first parameter is not `IMeter<>` or `IMeterScope<>` |
|
|
182
|
+
| `METRICS0013` | Error | A gauge or histogram has no measurement parameter |
|
|
183
|
+
| `TRACES001` | Error | A span method has no parameters |
|
|
184
|
+
| `TRACES002` | Error | A span method's first parameter is not `IActivitySource<>` |
|
|
185
|
+
| `TRACES003` | Error | A span method does not return `IActivityScope<>` |
|
|
186
|
+
|
|
187
|
+
## Configuration
|
|
188
|
+
|
|
189
|
+
Read [OTLP export in C#](csharp-otlp-export.md) for the `OTEL_*` keys the host setup reads, how export is enabled, what `OTEL_PROPAGATORS` does and does not stop, and the order to check when a signal is missing.
|
|
190
|
+
|
|
191
|
+
## Verify in a listener
|
|
192
|
+
|
|
193
|
+
Wrap a private platform meter so the spec sees only its own instruments:
|
|
194
|
+
|
|
195
|
+
```csharp
|
|
196
|
+
using System.Diagnostics.Metrics;
|
|
197
|
+
using Contoso.Reporting;
|
|
198
|
+
using Cratis.Metrics;
|
|
199
|
+
|
|
200
|
+
using var platformMeter = new Meter("Specs.Reporting");
|
|
201
|
+
var meter = new Meter<ReportWorker>(platformMeter);
|
|
202
|
+
var completed = 0;
|
|
203
|
+
using var listener = new MeterListener
|
|
204
|
+
{
|
|
205
|
+
InstrumentPublished = (instrument, meterListener) =>
|
|
206
|
+
{
|
|
207
|
+
if (instrument.Meter == platformMeter) meterListener.EnableMeasurementEvents(instrument);
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
listener.SetMeasurementEventCallback<int>((_, value, _, _) => completed += value);
|
|
211
|
+
listener.Start();
|
|
212
|
+
|
|
213
|
+
meter.ReportCompleted("succeeded");
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
`completed` is now 1. The declarations are `internal`, so the spec project needs access to the declaring project's internals. For spans, register an `ActivityListener` whose `ShouldListenTo` matches the source name, whose `Sample` returns `ActivitySamplingResult.AllDataAndRecorded`, and whose `ActivityStopped` collects the activities. To read generated code, look under the analyzer `Cratis.Metrics.Roslyn` in the IDE's generated sources.
|
|
217
|
+
|
|
218
|
+
## Pitfalls
|
|
219
|
+
|
|
220
|
+
- **Qualified or aliased names.** The generator recognises `[Counter<…>]`, `[Gauge<…>]`, `[Histogram<…>]`, `[Span(…)]`, `IMeter<…>`, `IMeterScope<…>`, `IActivitySource<…>` and `IActivityScope<…>` by how they are written. Import `Cratis.Metrics` and `Cratis.Traces` and use the short names.
|
|
221
|
+
- **Missing access modifier.** A `static partial void` method without one compiles even when nothing generates its body, and the compiler then removes every call. With `internal` or `public`, a missing body is a build error.
|
|
222
|
+
- **Duplicate names.** The generated file is named after the container class, and each metric method gets a generated field named after it. Keep one container's declarations in one file, give the class a name unique in the project, and do not overload metric method names.
|
|
223
|
+
- **Wrong container shape.** A class that is not `static partial` is skipped, so its methods have no bodies. A nested class or a class in the global namespace makes the generator fail for the whole project (warning `CS8785`), so every container loses its bodies.
|
|
224
|
+
- **Generator not referenced.** Every declared method then lacks a body and the build fails on each one. Add `Cratis.Observability.SourceGenerators` to that project.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<!-- Copyright (c) Cratis. All rights reserved. -->
|
|
2
|
+
<!-- Licensed under the MIT license. See LICENSE file in the project root for full license information. -->
|
|
3
|
+
|
|
4
|
+
# Application telemetry in Elixir
|
|
5
|
+
|
|
6
|
+
Not supported in this SDK: declared typed instruments, typed meters and activity sources, meter scopes and the Cratis host telemetry setup. Do this instead:
|
|
7
|
+
|
|
8
|
+
- Emit measurements as `:telemetry` events under the application's own event prefix and report them through the application's metrics reporter.
|
|
9
|
+
- Create spans with `OpenTelemetry.Tracer.with_span/2` from `opentelemetry_api`.
|
|
10
|
+
- Configure export and naming as `cratis-observability` describes for Elixir.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<!-- Copyright (c) Cratis. All rights reserved. -->
|
|
2
|
+
<!-- Licensed under the MIT license. See LICENSE file in the project root for full license information. -->
|
|
3
|
+
|
|
4
|
+
# Application telemetry in Go
|
|
5
|
+
|
|
6
|
+
Not supported in this SDK: declared typed instruments, typed meters and activity sources, meter scopes and the Cratis host telemetry setup. Do this instead:
|
|
7
|
+
|
|
8
|
+
- Create instruments and spans with `go.opentelemetry.io/otel`: `otel.Meter("Contoso.Reporting")` and `otel.Tracer("Contoso.Reporting")`, held in package-level variables rather than created per call.
|
|
9
|
+
- Install the SDK providers and exporters, and name the signals, as `cratis-observability` describes for Go.
|
|
10
|
+
|
|
11
|
+
## Correlation ID
|
|
12
|
+
|
|
13
|
+
One operation carries one correlation ID in its `context.Context`, so its log records and stored events can be found together. Arc, Chronicle and Fundamentals share the same context entry: the ID that Arc resolves for a request is the one Chronicle records by default on the events appended with that context.
|
|
14
|
+
|
|
15
|
+
- In an Arc handler, read it with `correlation.FromContext(ctx)` from `github.com/cratis/arc.go/correlation`. Arc sets it for every request; see `cratis-observability`.
|
|
16
|
+
- Outside Arc (a worker, a job, a Chronicle-only service), set it yourself at the start of each unit of work with `github.com/cratis/fundamentals.go/correlation` (`concepts` is `github.com/cratis/fundamentals.go/concepts`), and pass the returned context to every call:
|
|
17
|
+
|
|
18
|
+
```go
|
|
19
|
+
id, err := concepts.NewUUID()
|
|
20
|
+
if err != nil {
|
|
21
|
+
return err
|
|
22
|
+
}
|
|
23
|
+
ctx = correlation.WithID(ctx, id)
|
|
24
|
+
// later, anywhere below:
|
|
25
|
+
logger.InfoContext(ctx, "invoice exported", "correlationId", correlation.FromContext(ctx).String())
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
- At ingress (your own `net/http` middleware), parse incoming header text with `concepts.ParseUUID` (dashed 8-4-4-4-12 form only) and handle its error (reject or replace, as the boundary decides). It accepts the all-zero UUID, which `correlation.FromContext` cannot tell from an absent ID, so treat a parsed zero ID (`id.IsZero()`) like a missing one; generate one with `concepts.NewUUID` when none arrives, and check its error. Derive from the request's own context, `r.WithContext(correlation.WithID(r.Context(), id))`, never `context.Background()`, so cancellation and deadlines survive.
|
|
29
|
+
- `correlation.ID` is `concepts.UUID`. `FromContext` returns a single `ID`, the zero UUID when none is set; it never generates one. Test with `IsZero()`. There is no presence result: absence and an explicit zero both read as zero, so a boundary that must tell them apart tracks presence itself.
|
|
30
|
+
- `WithID` returns a derived context and leaves the parent unchanged. Setting the zero UUID hides an inherited ID.
|
|
31
|
+
- Both functions panic on a nil context.
|
|
32
|
+
- The Fundamentals package reads no headers and generates nothing: parsing an incoming header and choosing a fallback is the caller's job (Arc's package adds that for HTTP).
|
|
33
|
+
- A correlation ID is not identity, tenancy or authorization. Never trust a caller-supplied ID as proof of who called.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<!-- Copyright (c) Cratis. All rights reserved. -->
|
|
2
|
+
<!-- Licensed under the MIT license. See LICENSE file in the project root for full license information. -->
|
|
3
|
+
|
|
4
|
+
# Application telemetry in Java
|
|
5
|
+
|
|
6
|
+
Not supported in this SDK: declared typed instruments, typed meters and activity sources, meter scopes and the Cratis host telemetry setup. Do this instead:
|
|
7
|
+
|
|
8
|
+
- Create instruments and spans with the OpenTelemetry API under the application's own scope (`openTelemetry.getMeter("Contoso.Reporting")`, `openTelemetry.getTracer("Contoso.Reporting")`), or with Micrometer under the application's own prefix.
|
|
9
|
+
- Configure export and naming as `cratis-observability` describes for Java.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<!-- Copyright (c) Cratis. All rights reserved. -->
|
|
2
|
+
<!-- Licensed under the MIT license. See LICENSE file in the project root for full license information. -->
|
|
3
|
+
|
|
4
|
+
# Application telemetry in Kotlin
|
|
5
|
+
|
|
6
|
+
Not supported in this SDK: declared typed instruments, typed meters and activity sources, meter scopes and the Cratis host telemetry setup. Do this instead:
|
|
7
|
+
|
|
8
|
+
- Create instruments and spans with the OpenTelemetry API under the application's own scope (`openTelemetry.getMeter("Contoso.Reporting")`, `openTelemetry.getTracer("Contoso.Reporting")`), or with Micrometer under the application's own prefix.
|
|
9
|
+
- Configure export and naming as `cratis-observability` describes for Kotlin.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<!-- Copyright (c) Cratis. All rights reserved. -->
|
|
2
|
+
<!-- Licensed under the MIT license. See LICENSE file in the project root for full license information. -->
|
|
3
|
+
|
|
4
|
+
# Application telemetry in TypeScript
|
|
5
|
+
|
|
6
|
+
Not supported in this SDK: declared typed instruments, typed meters and activity sources, meter scopes and the Cratis host telemetry setup. Do this instead:
|
|
7
|
+
|
|
8
|
+
- Create instruments and spans with `@opentelemetry/api`: `metrics.getMeter('Contoso.Reporting')` and `trace.getTracer('Contoso.Reporting')`, created once per module, never per call.
|
|
9
|
+
- Start the host SDK and its exporters, and name the signals, as `cratis-observability` describes for TypeScript.
|