@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
package/package/corpus/skills/cratis-modeling-review-event-model/references/screenplay-evidence.md
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
# Screenplay model evidence
|
|
2
|
+
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- How to read this evidence
|
|
6
|
+
- Source check and gate
|
|
7
|
+
- Completeness checks
|
|
8
|
+
- Specifications and obligations
|
|
9
|
+
- Lineage and dependencies
|
|
10
|
+
- Revision comparison
|
|
11
|
+
- Release baseline
|
|
12
|
+
- Modeling smells
|
|
13
|
+
- Code and rendered output
|
|
14
|
+
- Studio board
|
|
15
|
+
|
|
16
|
+
## How to read this evidence
|
|
17
|
+
|
|
18
|
+
Everything here is read-only. Rows marked MCP are tools of the `screenplay` MCP server; connecting it is covered by `cratis-screenplay-onboard-workspace`. Each result is a prompt for a review question, never a finding by itself.
|
|
19
|
+
|
|
20
|
+
Paged MCP tools take `offset` and `limit`. A continuation page must pass `expectedSourceRevision` equal to the `sourceRevision` of the first page, so the pages describe one revision; record that revision in the report. A `scope` names exactly one module, feature or slice, and `document` narrows to one source document.
|
|
21
|
+
|
|
22
|
+
## Source check and gate
|
|
23
|
+
|
|
24
|
+
| Command or tool | Use when |
|
|
25
|
+
| --- | --- |
|
|
26
|
+
| `screenplay <root> --scope <Module>[.<Feature>[.<Slice>]] --warnaserror` | Source-check the examined part and the declarations that reference it; whole-application counts are still reported |
|
|
27
|
+
| `screenplay <root> --print-gate` | See the effective gate and where each setting comes from, without compiling; exit 0 says nothing about the model |
|
|
28
|
+
| `--no-gate-file` | Ignore the authored gate file, including an invalid one, and check with only the options given |
|
|
29
|
+
| `--format json` | Machine-readable diagnostics, open questions, any refusal, the exit code and the gate used |
|
|
30
|
+
| `--open-questions report` or `--open-questions fail` | List or gate on the owner's open model questions |
|
|
31
|
+
| MCP `diagnostics` | The same diagnostics, with optional `checks`, `scope` and `document` |
|
|
32
|
+
| MCP `read-workspace` with `view: executable-diagnostics` | Errors and warnings from compiling the model to its executable form |
|
|
33
|
+
|
|
34
|
+
An option given on the command line replaces only its own setting in the gate file. Omitting `--warnaserror` does not turn off a gate file that already treats warnings as errors, so read `--print-gate` before reporting what a clean run proves.
|
|
35
|
+
|
|
36
|
+
An empty `executable-diagnostics` page is not evidence that compilation succeeded; check that the result reports the source map as available. A successful compile does not promise that any target can realize the model.
|
|
37
|
+
|
|
38
|
+
## Completeness checks
|
|
39
|
+
|
|
40
|
+
`--check <name>[,<name>]` or `--check all` adds opt-in checks. They run only when the whole application is free of errors; otherwise the run says the completeness checks were skipped, and the MCP result reports its coverage as structure only. An unknown check name is a usage error.
|
|
41
|
+
|
|
42
|
+
| Check | Reports |
|
|
43
|
+
| --- | --- |
|
|
44
|
+
| `field-origins` | View fields that nothing supplies |
|
|
45
|
+
| `event-consumers` | Events nothing consumes. Specifications do not count as consumers; imported events are exempt; a terminal or externally consumed event is a legitimate result |
|
|
46
|
+
| `query-keys` | Query parameters that the view's identity or fields cannot hold |
|
|
47
|
+
| `data-bindings` | Screen bindings that disagree with each other or with their query's return |
|
|
48
|
+
| `input-surfaces` | Actions with no screen or form that issues the command |
|
|
49
|
+
| `navigation` | Screens that cannot be reached |
|
|
50
|
+
| `personas` | Personas whose policies gate nothing, and commands, queries or screens that every persona is denied |
|
|
51
|
+
| `privilege` | A reaction that runs with elevated roles and is triggered by an event whose producers need fewer roles. A warning names producers that require no role; an information entry names gates the check cannot see into |
|
|
52
|
+
| `purposes` | Personal data without a declared purpose, purposes with no basis or never referenced, and special-category or criminal data missing its condition or authorization |
|
|
53
|
+
| `enum-pinning` | Information only: an enumeration with no explicit numbers, used in an event property |
|
|
54
|
+
|
|
55
|
+
Use `privilege` when the question is whether a caller can reach a privileged effect indirectly.
|
|
56
|
+
|
|
57
|
+
## Specifications and obligations
|
|
58
|
+
|
|
59
|
+
| Command or tool | Use when |
|
|
60
|
+
| --- | --- |
|
|
61
|
+
| `screenplay test <root> [--filter <specification address>] [--format json]` | Run the model's specifications; `unsupported` is not a pass |
|
|
62
|
+
| MCP `run-specifications` | MCP form of `screenplay test` |
|
|
63
|
+
| MCP `find-assertion-gaps` | Slices without a specification that declares a `then` assertion |
|
|
64
|
+
| MCP `find-specification-obligations` | Per-declaration obligations, met or unmet |
|
|
65
|
+
|
|
66
|
+
An obligation is met when a matching specification exists. It is a presence check, not a simulation: it does not show that the specification passes, a bare `then error` cannot tell one rule's refusal from another's, and an ambiguous reference does not meet an obligation.
|
|
67
|
+
|
|
68
|
+
## Lineage and dependencies
|
|
69
|
+
|
|
70
|
+
| Command or tool | Use when |
|
|
71
|
+
| --- | --- |
|
|
72
|
+
| `screenplay lineage <address> [<root>] [--direction upstream\|downstream\|both] [--format text\|json]` | See where a property's value comes from and where it goes |
|
|
73
|
+
| MCP `trace-lineage` | Paged form of `screenplay lineage` |
|
|
74
|
+
| MCP `dependency-graph` with `view: cycles` | Find slices, features or modules that depend on each other in a loop |
|
|
75
|
+
| MCP `dependencies` with `direction: incoming` | Find what references one declaration; none means it is an orphan candidate |
|
|
76
|
+
| MCP `list-model-notes` | The owner's committed questions, tasks and notes, open by default, by scope or anchor |
|
|
77
|
+
| MCP `processing-record` | Per-purpose personal-data inventory with protection mappings and erasure conflicts, when reviewing erasure or privacy |
|
|
78
|
+
|
|
79
|
+
`dependency-graph` finds cycles only through three relationships: using another part's facts, reacting to them and deciding from them. It reads the model, not code or a running system, so a cycle that exists only in code is invisible to it. Its other views are `edges`, `order`, `unresolved` and `declarations`.
|
|
80
|
+
|
|
81
|
+
## Revision comparison
|
|
82
|
+
|
|
83
|
+
| Command or tool | Use when |
|
|
84
|
+
| --- | --- |
|
|
85
|
+
| `screenplay diff <before> <after> [--format json]` | Compare two revisions; event changes that break stored events are marked `[contract-breaking]` |
|
|
86
|
+
| MCP `semantic-diff` | Structural comparison of two revisions without rebinding the workspace |
|
|
87
|
+
| MCP `semantic-diff` with `includeAgentExposure: true` | Compare which operations each revision exposes to agents, instead of the structural comparison |
|
|
88
|
+
|
|
89
|
+
Stored enumeration numbers: an enumeration value is stored as a number, which is its explicit number or, without one, its zero-based position. The diff reports each change:
|
|
90
|
+
|
|
91
|
+
| Reported change | Meaning for stored history |
|
|
92
|
+
| --- | --- |
|
|
93
|
+
| Number changed | A member was reordered, inserted or renumbered; stored numbers now mean a different member |
|
|
94
|
+
| Member removed | Stored numbers for it no longer resolve |
|
|
95
|
+
| Number reused | A removed member's number now names another member. A rename by position looks the same as removal and reuse |
|
|
96
|
+
| Member renamed | Both sides are explicitly numbered and the number is kept; not proof that consumers treat the two names alike |
|
|
97
|
+
| Not comparable | The comparison could not be resolved. Treat it as unknown, never as unchanged |
|
|
98
|
+
|
|
99
|
+
An enumeration is flagged as stored when it is reachable from an event property, which is not proof that a value was ever persisted. Confirm with the store before reporting broken history.
|
|
100
|
+
|
|
101
|
+
An agent-exposure comparison reports whether it is complete and whether each side was available. A missing answer on whether exposure changed means unknown, not unchanged.
|
|
102
|
+
|
|
103
|
+
## Release baseline
|
|
104
|
+
|
|
105
|
+
| Command or tool | Use when |
|
|
106
|
+
| --- | --- |
|
|
107
|
+
| `screenplay baseline check <root>` | Confirm admitted released event revisions are unchanged: exit 0 clean, 1 violations, 2 unreadable, refused or could not run |
|
|
108
|
+
| `cratis screenplay baseline check <root> -o json-compact` | The same check with `violations`, `failureKind` and `reason`. It reports neither the entry count nor the baseline revision |
|
|
109
|
+
| MCP `list-release-baseline` | The baseline's `status`, `revision` and `entries` count, and the admitted event revisions, each `unchanged`, `changed` (with the first differing stored path), `missing` or `unknown` |
|
|
110
|
+
|
|
111
|
+
The check passes when no baseline exists, because an absent baseline is an empty one. Claim that released contracts are preserved only when all of these hold:
|
|
112
|
+
|
|
113
|
+
1. `list-release-baseline` reports a `revision` and an `entries` count above zero.
|
|
114
|
+
2. It lists the events under review, and each is `unchanged`.
|
|
115
|
+
3. The baseline was readable. An unreadable baseline returns a status with no page, which is not an empty verified set.
|
|
116
|
+
|
|
117
|
+
Otherwise report "no baseline evidence for these events" and compare the revisions directly.
|
|
118
|
+
|
|
119
|
+
## Modeling smells
|
|
120
|
+
|
|
121
|
+
MCP `find-modeling-smells` raises information-level questions. They never change the check verdict, even when warnings are treated as errors, and cannot be suppressed per declaration. The thresholds `eventFanOutThreshold` and `propertyFanInThreshold` accept 1 to 200.
|
|
122
|
+
|
|
123
|
+
| Rule | Prompted by |
|
|
124
|
+
| --- | --- |
|
|
125
|
+
| `SMELL001` | Event name ending in `Updated`, `Changed`, `Edited`, `Saved`, `Modified`, `Deleted`, `Synced` or `Received` |
|
|
126
|
+
| `SMELL002` | Command name starting with the whole word `Update`, `Edit`, `Save`, `Set`, `Manage`, `Get`, `Load` or `Fetch`; `Settle` does not match `Set` |
|
|
127
|
+
| `SMELL003` | Event with the same nonempty property set as an event produced by a different command |
|
|
128
|
+
| `SMELL004` | Command producing more distinct events than `eventFanOutThreshold` |
|
|
129
|
+
| `SMELL005` | Read-model property fed by more distinct events than `propertyFanInThreshold` |
|
|
130
|
+
| `SMELL006` | Event property that no projection, reducer, reaction, condition or specification reads |
|
|
131
|
+
|
|
132
|
+
Limits to state when relying on them:
|
|
133
|
+
|
|
134
|
+
- `SMELL003` compares property names, types, collection and optional markers. It does not compare descriptions, intent or values.
|
|
135
|
+
- `SMELL006` counts any reference as a read. When a reducer rule or a reaction handles the event with a code body, every property of that event counts as read, because the body is not inspected. It skips public contract events and superseded generations. So a clean result does not prove each property is used, and a property read only by code outside the model is still reported.
|
|
136
|
+
|
|
137
|
+
## Code and rendered output
|
|
138
|
+
|
|
139
|
+
| Command | Use when |
|
|
140
|
+
| --- | --- |
|
|
141
|
+
| `cratis screenplay conform <model root> [--project <project>]` | Compare C# source with the model, structure only |
|
|
142
|
+
| `cratis render <model> --name <App> --destination <dir> --check` | Check whether committed rendered code is current with the model, without writing |
|
|
143
|
+
|
|
144
|
+
`conform` reports a verdict of `clean`, `defects-found` or `incomplete`, with findings grouped as missing from the model (blocking), not realized in code, shape mismatch and informational, plus what it could not compare. It needs the .NET SDK and restored packages, and the build may write intermediate files in the project, so run it only on a trusted checkout. Code laid out differently from the model shows up as missing and unrealized, not as equivalent. It never proves behavior.
|
|
145
|
+
|
|
146
|
+
`render --check` applies only when rendered code is committed beside the model. It plans the render and compares it with the destination: exit 0 current, 6 changes pending, 5 planning failed or publication refused, 9 strict acceptance failed (with `--strict`). Every render also compares the event type ids already in the destination; a changed or unreadable id is refused, which is direct evidence for a stored-identity finding. Baseline warnings do not fail a render, so pair it with the baseline check.
|
|
147
|
+
|
|
148
|
+
## Studio board
|
|
149
|
+
|
|
150
|
+
When the model is open in Studio, the board toolbar gives the same evidence visually:
|
|
151
|
+
|
|
152
|
+
| Board tool | Use when |
|
|
153
|
+
| --- | --- |
|
|
154
|
+
| Show findings on this board | List compiler errors and model gaps, each with severity, location, why it matters and a suggested fix |
|
|
155
|
+
| Storylines | Play a named path step by step to check that a promised outcome is reachable |
|
|
156
|
+
| See as a caller | Preview which actions and data each screen offers for a chosen sign-in state, roles and recorded state. It is a preview; the server decides |
|
|
157
|
+
| Trace a value | Follow one element's value back through read models, events and commands |
|
|
158
|
+
|
|
159
|
+
MCP `studio_get_board_findings` with the `applicationId` from `studio_get_structure` returns the findings for all boards, each with code, severity, message and the board, slice and element. A status of `indeterminate` means the check could not run: no finding and no absence of findings can be trusted from that result.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Review defaults in TypeScript
|
|
2
|
+
|
|
3
|
+
What the TypeScript Chronicle client and Arc backend do when the code says nothing. Check these before reporting a finding that depends on a default.
|
|
4
|
+
|
|
5
|
+
## First-append check
|
|
6
|
+
|
|
7
|
+
- `ChronicleOptions.concurrencyScopeStrategy` defaults to `ConcurrencyScopeStrategies.optimistic`; `none` disables derived guards.
|
|
8
|
+
- The optimistic strategy derives a guard only for an append through a registered route that declares concurrency dimensions. It then treats an empty tail as "no matching event", so that first append is checked.
|
|
9
|
+
- An append with no such dimensions has no derived guard at all. There is no separate first-append switch.
|
|
10
|
+
- Finding: a deciding append that has neither concurrency dimensions on its route nor an explicit scope.
|
|
11
|
+
|
|
12
|
+
## Default ids
|
|
13
|
+
|
|
14
|
+
| Artifact | Stored id when none is given |
|
|
15
|
+
| --- | --- |
|
|
16
|
+
| Event type, `@eventType()` | The class name |
|
|
17
|
+
| Reactor, reducer, projection | The class name |
|
|
18
|
+
|
|
19
|
+
A class rename changes each of these; moving the file does not. A build step that renames classes changes them too, so a minified server bundle needs explicit ids such as `@eventType('attendee-registered')`. Compare declared ids with `cratis chronicle event-types list` and `cratis chronicle observers list`.
|
|
20
|
+
|
|
21
|
+
## Identity drift check
|
|
22
|
+
|
|
23
|
+
This SDK has no check that compares declared artifacts with the store before registration. Compare the ids by hand with the store commands above.
|
|
24
|
+
|
|
25
|
+
## Decision reads
|
|
26
|
+
|
|
27
|
+
The TypeScript Arc backend does not guard a command's reads. A read is a guard only when the append carries a concurrency scope or a kernel constraint covers the rule (`cratis-chronicle-protect-decision`, `cratis-chronicle-constrain-append`).
|
|
@@ -1,31 +1,143 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-modeling-trace-existing-behavior
|
|
3
|
-
description: Use when an existing application
|
|
3
|
+
description: Use when an existing application's code, shipped artifacts, captured runtime signals or stored events must yield a candidate event model, or when its code or a running Chronicle namespace must be compared with an accepted model. Not for recovering intent from a recording or a bounded walk of a running system (use cratis-screenplay-recover-intent), settling a disputed business rule (use cratis-modeling-discover-timeline) or designing a change (use cratis-modeling-design-event-model).
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Trace
|
|
6
|
+
# Trace existing behavior
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
## Contents
|
|
9
|
+
|
|
10
|
+
- What tracing produces
|
|
11
|
+
- Choose the mode
|
|
12
|
+
- How the recovery tools behave
|
|
13
|
+
- Default path: trace one journey through the code
|
|
14
|
+
- Capability catalog
|
|
15
|
+
- Hand-offs
|
|
16
|
+
|
|
17
|
+
## What tracing produces
|
|
18
|
+
|
|
19
|
+
Tracing reads what an existing system already does and reports it as labelled evidence: candidate slices and business facts, or a comparison with an accepted model. It never decides what the system should do. A recovered draft, a clean conformance check or a matching screenshot is evidence for the model owner, not acceptance.
|
|
20
|
+
|
|
21
|
+
Keep intake read-only: do not change legacy code, data or an authored model while tracing. Use synthetic values. No running target is required; do not inspect production by default.
|
|
22
|
+
|
|
23
|
+
Label every finding:
|
|
24
|
+
|
|
25
|
+
| Label | Meaning |
|
|
26
|
+
| --- | --- |
|
|
27
|
+
| **observed** | A supplied run, capture or stored event actually showed it. |
|
|
28
|
+
| **inferred from inspection** | The wired implementation would do it; nothing showed it running. |
|
|
29
|
+
| **proposed fact** | Candidate business meaning, kept separate from what the code stores. |
|
|
30
|
+
| **unknown** | Not settled; name the check or owner that would settle it. |
|
|
31
|
+
|
|
32
|
+
A screenshot of a row cannot identify its writer. Static inspection does not show that a request ran. A missing test is not a missing behavior. The names in this skill (a support agent, `OpenTicket`, `TicketOpened`, an Open tickets list) are illustrative.
|
|
9
33
|
|
|
10
34
|
## Choose the mode
|
|
11
35
|
|
|
12
|
-
- **Default: reconstruct current behavior.**
|
|
13
|
-
- **
|
|
14
|
-
- **
|
|
36
|
+
- **Default: reconstruct current behavior.** No accepted baseline exists. Trace journeys as implemented and propose candidate slices separately from the implementation. Do not claim that anything changed since an earlier revision.
|
|
37
|
+
- **Baseline comparison** when an accepted model or accepted examples exist. Identify the model revision and its acceptance status, the code revision inspected and any included uncommitted changes. Compare the same actor, inputs, address and outcome on each side. If the change range is known, use it to focus, then follow callers and consumers beyond the diff. A difference does not decide which side should change. For ambiguous signals, enforcement points and the comparison table, read [compare evidence](references/compare-evidence.md).
|
|
38
|
+
- **Black-box reconstruction** when only shipped artifacts or captured interface evidence are available: read [black-box intake](references/blackbox-intake.md).
|
|
39
|
+
- **Tool-assisted recovery** when static reading leaves a gap and the owner proposes a source generator or a runtime capture: read [recovery inputs](references/recovery-inputs.md) before running either.
|
|
40
|
+
- **A later pass** over a system traced before: read [resuming a trace](references/resuming-a-trace.md).
|
|
41
|
+
- **Incremental replacement** of the legacy system one slice at a time: read [side-car migration](references/side-car-migration.md).
|
|
42
|
+
|
|
43
|
+
## How the recovery tools behave
|
|
44
|
+
|
|
45
|
+
- **Source generation** loads a .NET solution or project through MSBuild with the installed .NET SDK. Packages must already be restored. MSBuild evaluates the project and may write intermediate build files, so run it only on a trusted checkout. It does not start the application or connect to its database or Chronicle. One bundled provider interprets the whole application: Arc, Marten, or Marten with Wolverine (Critter Stack). Auto detection picks the most specific match and reports unrelated matches instead of guessing. It reads only the selection; spec and test projects (`.Specs`, `.Specifications`, `.Tests`, `.Test`, `.IntegrationTests`, `.Specs.AppHost`) are always left out.
|
|
46
|
+
- **Generation output** is `.play` text, reproducible from the same restored checkout, so a draft can be committed and diffed. Diagnostics carry a code, the location and a message, and go to standard error. Codes starting `CLI` concern the run (target, restore, build, framework, provider, an ignored option); the provider's own diagnostics name a construct it left out or weakened. Warnings do not fail the run. On an error, standard output gets nothing; an explicit output file still gets the partial draft, unless no source was produced.
|
|
47
|
+
- **A draft is partial, and quiet diagnostics are not coverage.** It holds only the framework declarations the provider recognizes, not arbitrary handler logic, and says nothing about projects outside the selection. A construct missing from a draft is a model limit, not evidence that the system lacks it. Reconcile the draft against the code and tests you inspected.
|
|
48
|
+
- **Source conformance** runs the same extraction in memory. It compares the authored model (before) with the recovered one (after) by exact kind and address, so a rename or move reads as a removal plus an addition. It does not run specifications or read opaque code bodies, so a clean result is not behavioral equivalence.
|
|
49
|
+
- **Namespace conformance** reads one Chronicle event store, namespace and event sequence. It captures the tail first, reads the event type registry and the observers, then reads event metadata only, never payloads. Each event is attributed through its causation chain to the innermost command or reactor. Projections and reducers come back as Unknown. It never replays observers, appends events or changes the model.
|
|
50
|
+
- **Model diff and lineage** read models, not code. Diff matches declarations by persisted identity when both sides carry identities of the same application, and by exact address when either side has none (a rename then reads as removal plus addition). It refuses, rather than falling back, when the sides carry identities of different applications. Lineage shows where one value comes from and where it goes within a model.
|
|
51
|
+
- **Runtime capture (Prologue)** records metadata only: which tables and columns changed per transaction, the method, path (with query string) and status of state-changing HTTP requests, and telemetry names with values only for allowlisted attributes. Its database scope is wide: SQL Server capture covers every user table with a primary key unless `tables` lists them, and PostgreSQL capture publishes all tables unless a publication already exists under the configured name. Interpretation reads every capture file in its folder, whatever the Prologue ID. Database transactions carry no trace identifiers, so they join HTTP commands by time window and the association is provisional. Interpretation applies deterministic heuristics. An optional language model refines names and, in an interactive terminal, asks questions.
|
|
52
|
+
- **An embedded event-model explorer** shows the model recovered from the source the host was built from. It does not read stored events or live data.
|
|
53
|
+
|
|
54
|
+
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. Source generation and source conformance read .NET code only; on other stacks, trace by reading the code, and treat any model export or explorer the SDK provides as inferred from inspection.
|
|
55
|
+
|
|
56
|
+
## Default path: trace one journey through the code
|
|
57
|
+
|
|
58
|
+
Let the user choose one journey with a start and a visible result, for example a support agent opening a ticket and finding it in the Open tickets list.
|
|
59
|
+
|
|
60
|
+
1. **Entry.** Start with the actor or trigger and the request contract. Follow the real entry point through validation and authorization to the deciding handler. Trace one success and one meaningful refusal. If no refusal is known, mark that branch unknown rather than inventing a rule.
|
|
61
|
+
2. **Decision and write.** Identify whose state changes and what the handler returns, writes or appends. For an event, separate the addressed event source from the payload. If the handler updates a row, say so: a proposed fact is not an event the system emitted.
|
|
62
|
+
3. **Read.** Follow the write to the reader. For a projection, trace the row key and each displayed value, then follow the query to the visible result. Read existing specifications only for the paths they actually exercise.
|
|
63
|
+
4. **Record.** Write one row per finding with its label, its locator (symbol, request, frame or document section) and the candidate slice it supports, such as `OpenTicket` producing `TicketOpened`.
|
|
64
|
+
5. **Ask.** Take one batch of unresolved questions to the requester or their named decision owner. If asked to proceed provisionally, state which outcomes remain unaccepted.
|
|
65
|
+
|
|
66
|
+
For a whole-application candidate on a trusted, restored .NET checkout, generate a draft into its own folder beside the journey traces: `cratis screenplay generate <solution-or-project> --file <draft-folder>/<Name>.play`. Sort the diagnostics: fix `CLI` blockers and configuration warnings (`CLI0014` means an option was ignored) as run problems, and record each provider diagnostic as a **not expressible** loss. Only if a draft was written, run `cratis screenplay validate <draft-folder> --executable`. Then reconcile the draft with the journeys you traced, as [recovery inputs](references/recovery-inputs.md) describes. Never write a draft over a hand-authored model.
|
|
67
|
+
|
|
68
|
+
Stay within the authorized system and material. A reconstruction from public material is plausible, not proof of the private workflow. Inspect statically before proposing a run; a live write needs separate approval for the target and the action. Do not bypass access controls to fill an evidence gap.
|
|
69
|
+
|
|
70
|
+
## Capability catalog
|
|
71
|
+
|
|
72
|
+
Commands are in the Cratis CLI unless marked as the standalone Screenplay tool (`screenplay`), Studio or a Screenplay MCP tool.
|
|
73
|
+
|
|
74
|
+
### Recover a draft from source: `cratis screenplay generate [PATH]`
|
|
75
|
+
|
|
76
|
+
- `PATH`: a solution (`.slnx`, `.sln`, `.slnf`), a project (`.csproj`) or a folder. When omitted or a folder, the CLI searches that folder and then each parent, preferring `.slnx`, `.sln`, `.slnf`, then `.csproj`. Use a `.slnf` to pick one application in a repository with several. A `.csproj` selects that project and its transitive project references; spec and test projects never take part.
|
|
77
|
+
- `--file <FILE>`: write the draft to a file, even when generation reports errors; an existing file is overwritten. Without it, standard output receives the document only when there are no errors.
|
|
78
|
+
- `--provider auto|arc|marten|critter-stack`: choose when unrelated providers match, or pin for reproducible CI. It selects a provider but does not isolate that provider's adapters.
|
|
79
|
+
- `--framework <TFM>`: required when any application project targets several frameworks.
|
|
80
|
+
- `--domain <NAME>`: name the domain when the assembly, root namespace or solution name would be wrong.
|
|
81
|
+
- `--module <NAME>`: place every feature in one named module.
|
|
82
|
+
- `--skip-segments <COUNT>`: drop leading namespace segments when inferring features and slices.
|
|
83
|
+
- `--modules-from-namespace-roots`: Arc only. Name each feature's module after the outermost remaining namespace segment; pair it with `--skip-segments` when every slice shares one root.
|
|
84
|
+
- `--feature-root <PATH>`: Marten and Critter Stack only. Derive placement beneath a project-relative folder.
|
|
85
|
+
- `--authoring-only-constructs`: Arc only. Also recover operations with their external systems, event-source and stream routes, and reads and requirements, for review. The draft then has no executable model.
|
|
86
|
+
- `-o json` or `-o json-compact`: standard error becomes one JSON object with source provenance and diagnostics.
|
|
87
|
+
- `CLI` refusals and warnings: see Recover from source in [recovery inputs](references/recovery-inputs.md).
|
|
88
|
+
- A framework no provider reads: write a source adapter (SDK-specific; see the language reference).
|
|
89
|
+
|
|
90
|
+
### Check source against an accepted model: `cratis screenplay conform <MODEL_ROOT>`
|
|
91
|
+
|
|
92
|
+
- `MODEL_ROOT`: the root `.play` file with its imports, or a folder holding one application. There is no upward discovery.
|
|
93
|
+
- `--project <PATH>`: the solution, project or folder to extract. Without it, discovery works as for generation.
|
|
94
|
+
- `--domain <NAME>`: override the recovered domain, which otherwise follows the authored one so the applications line up.
|
|
95
|
+
- Shared generation options: `--provider`, `--framework`, `--feature-root`, `--module`, `--skip-segments`, `--modules-from-namespace-roots` and `--authoring-only-constructs`. Pass the ones that reproduce the authored module, feature and slice placement; otherwise declarations read as missing. Nothing is written, so there is no `--file`.
|
|
96
|
+
- Findings: `MissingFromModel` (in code only, blocking); `NotRealizedInCode` (in the model only, not blocking); `ShapeMismatch` (blocking for event property, generation contract and other member changes, but not for an authored member extraction did not recover); informational specification and metadata changes; a `sameNameCounterpart` hint for a likely rename.
|
|
97
|
+
- `-o json`: `verdict` (`clean`, `defects-found` or `incomplete`), counts, findings, `notCompared`, `gaps` and provenance.
|
|
98
|
+
- Exit codes: `0` means no blocking finding and no gap that prevented looking; `1` means at least one blocking finding; `2` means the model or project could not be resolved, extraction or comparison failed, or coverage gaps prevented looking.
|
|
99
|
+
|
|
100
|
+
### Check a running namespace against an accepted model: `cratis screenplay conform-namespace <MODEL_ROOT>`
|
|
101
|
+
|
|
102
|
+
- `--server <CONNECTION_STRING>`: the Chronicle server, unless the active context sets it.
|
|
103
|
+
- `-e, --event-store <NAME>` and `-n, --namespace <NAME>`: required, or taken from the active context. Names must match exactly; none is defaulted or case-corrected.
|
|
104
|
+
- `--sequence <ID>`: observe a sequence other than the event log.
|
|
105
|
+
- `--from <NUMBER>` and `--to <NUMBER>`: bound the examined range. Starting after the first event gives partial coverage.
|
|
106
|
+
- `--max-events <COUNT>`: cap the examined events; the rest is reported as unexamined, not as an error.
|
|
107
|
+
- `--fail-on-drift`: for CI, exit `7` on known drift and `8` when the result is inconclusive.
|
|
108
|
+
- Output: verdict `drift`, `no-drift` or `inconclusive`, every finding and every limit stated as not established. `-o json` writes the observation report; `-o quiet` prints only the verdict.
|
|
109
|
+
- Exit codes: `0` ran (drift alone does not fail without `--fail-on-drift`); `5` invalid model, selection or bounds; `2` server unreachable; `3` a read was refused or failed; `4` not authorized; `8` also when the scan is interrupted.
|
|
110
|
+
|
|
111
|
+
### Compare, follow and run models
|
|
112
|
+
|
|
113
|
+
- `cratis screenplay diff <BEFORE> <AFTER>`: compare two `.play` files or model folders, such as a recovered draft and the accepted model. Add `--format json` for a structured difference. Exit `0` whenever it compared, even with differences; `2` for an unreadable input or incompatible identities. The standalone `screenplay diff` is the same.
|
|
114
|
+
- MCP `semantic-diff`: the same comparison without opening a workspace. Each side is the active workspace, a model folder or registered Git worktree path, or a complete exported workspace snapshot; Git refs are not resolved. It refuses incompatible identities as `IncompatibleRevisions`, pages its results, and adds a per-slice summary of changes and dependants.
|
|
115
|
+
- `screenplay lineage <ADDRESS> [<file.play|folder>]`: standalone tool. Follow a command, event or read-model property, or a screen field, upstream and downstream. Narrow with `--direction upstream|downstream|both`; add `--format json` for every hop. Exit `0` is a complete trace, `1` has breaks, `2` could not run. The MCP `trace-lineage` tool pages the same tree.
|
|
116
|
+
- `cratis screenplay validate [PATH]`: compile a root `.play` with its imports, or every `.play` beneath a folder as one application (so keep a draft in its own folder), and list every compiler diagnostic. Add `--executable` before hand-off to require binding into an executable model; an `--authoring-only-constructs` draft cannot bind. Completeness checks, warnings as errors, scope, open questions, target admission and the `screenplay.json` gate are in [draft checks](references/draft-checks.md).
|
|
117
|
+
- `cratis run [PATH]`: boot a draft `.play` file or folder in a throwaway local Stage sandbox (needs Docker) to exercise it with synthetic data. Engine, seed data, Stage configuration, ports and lifecycle switches are in [draft checks](references/draft-checks.md).
|
|
15
118
|
|
|
16
|
-
|
|
119
|
+
### Capture a running system: Prologue
|
|
17
120
|
|
|
18
|
-
|
|
121
|
+
- `cratis prologue start [--file <PATH>]`: an interactive wizard that writes `cratis-prologue.json` (sources, services, output) and prints the extractor container command. It refuses without an interactive terminal or with `--yes`; write the file by hand instead.
|
|
122
|
+
- `cratis-prologue.json` settings: capture sources (SQL Server Change Data Capture, PostgreSQL logical replication, HTTP through a reverse proxy for `POST`, `PUT` and `DELETE`, OpenTelemetry through an OTLP proxy), output (`Api` to a Receiver or `Json` rolling `.jsonl` files), the correlation window, named `services` (each becomes its own module), `${secret:<name>}` placeholders and optional `llm` refinement. Each setting, its real scope, approvals and DBA cleanup are in [recovery inputs](references/recovery-inputs.md).
|
|
123
|
+
- `prologue.shadowing`: mirror chosen legacy commands to a rebuilt system and report decision parity before cutover; read [side-car migration](references/side-car-migration.md).
|
|
124
|
+
- `cratis prologue interpret [PATH]`: turn the captures in one folder (by default the configured JSON output folder) into `<SystemName>.play` in the current directory, or the `--file <FILE>` you name; either way an existing file is overwritten. Options: `--service <NAME>` (one service only), `--prologue-id <ID>` (stamps the captures; it does not filter them) and `--no-llm` (heuristics only; no evidence is sent to a model). First run the preflight in recovery inputs: files for every enabled source, route and status coverage, and correlation.
|
|
125
|
+
- Studio **Prologues** (**Start Prologue** adds one). For rolling-file output, first **Import results**: select the capture `.jsonl` files, which moves the Prologue from Recording to Ready for extraction. Then **Start extracting**, and **Answer questions** while it waits for answers. Once Extracted, **Download Screenplay**, or **Resume import** if bringing the extracted model into the event model stopped part-way; neither runs extraction again.
|
|
126
|
+
- Prologue Workbench, served by the Receiver: Systems, Discover (agents read the code through configured AI providers, a disclosure that needs owner approval), Capture, Explore, Events, Model (download the `.play`; slices with open suggestions are marked `Draft: not yet accepted.`) and Rebuild. Discover, Capture and Rebuild are optional, but one evidence step stays on.
|
|
19
127
|
|
|
20
|
-
|
|
21
|
-
2. Identify whose state changes, what the handler returns or writes, and how the result is persisted. For an event, separate the addressed event source from the payload. If the handler updates a row, say so: a proposed business fact is not an event the system emitted.
|
|
22
|
-
3. Follow the write to the reader. For a projection, trace both the row key and displayed values; follow the query to the visible result. Read existing specifications for the paths they actually exercise. A missing test is not a missing behavior.
|
|
23
|
-
4. Label each finding: **observed** (what a supplied run actually showed), **inferred from inspection** (what the wired implementation would do), **proposed fact** (candidate business meaning) or **unknown** (what would settle it). A screenshot of a row cannot identify its writer; static inspection does not establish that a request ran.
|
|
128
|
+
### Browse, import and annotate
|
|
24
129
|
|
|
25
|
-
|
|
130
|
+
- Studio **Project options → Import**: add a Screenplay file, folder or ZIP (with a compile preview), an Event Modeling JSON document or a Miro board to the open event model.
|
|
131
|
+
- `cratis arc commands list` and `cratis arc queries list` with `--url <URL>`: list the commands and queries a running, trusted Arc application registers, with routes, from its discovery catalogs. Registration does not show that a route is called; never open protected catalogs to run them.
|
|
132
|
+
- Embedded event-model explorer at `/.cratis/event-model/`, where your language reference says the SDK serves it: browse the model recovered at build time.
|
|
133
|
+
- Model notes, through the MCP `list-model-notes` and `propose-model-notes` tools: anchor questions, tasks, review notes and issue links to a draft without changing its behavior (see `cratis-screenplay-edit-workspace`).
|
|
134
|
+
- Stored events and observer state, as observed evidence: see `cratis-chronicle-cli-operations` or `cratis-chronicle-mcp-inspection`.
|
|
26
135
|
|
|
27
|
-
|
|
136
|
+
## Hand-offs
|
|
28
137
|
|
|
29
|
-
|
|
138
|
+
- Take disputed or unobserved intent to [timeline discovery](../cratis-modeling-discover-timeline/SKILL.md).
|
|
139
|
+
- Take confirmed changes to [slice design](../cratis-modeling-design-event-model/SKILL.md).
|
|
140
|
+
- For a recording or a bounded walk of a running system, use `cratis-screenplay-recover-intent`.
|
|
141
|
+
- To accept a recovered or compared model, use `cratis-screenplay-accept-model`.
|
|
30
142
|
|
|
31
|
-
|
|
143
|
+
Neither passing examples nor your judgment grant acceptance, and an agreed example is not authorization to execute.
|
package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/compare-evidence.md
CHANGED
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
|
|
10
10
|
Match the evidence to the enforcement point. Preserve the observed refusal text in `then error` for a `validate` or `require` rule; for authorization use `authorize` and `then denied`. A unique index is a candidate for an append-time constraint: find **every** fact that sets or changes the value before writing the rule. After acceptance, compare only the bounded revision or traffic interval in question. Reopen a slice when the command, message, access rule, fact or returned field changed. Moving unchanged logic into a new file changes the evidence location, not necessarily the model.
|
|
11
11
|
|
|
12
|
-
## Example: compare
|
|
12
|
+
## Example: compare opening and listing a ticket
|
|
13
13
|
|
|
14
|
-
Suppose the agreed examples require
|
|
14
|
+
Suppose the agreed examples require a ticket to open for the subject "Printer offline" and a refusal for a blank subject. Use one table by slice and example. Mark each comparison **matched**, **changed** (different outcomes), **missing from model**, **missing from implementation** or **unverified**. In reconstruction, replace the baseline and status with candidate meaning; there is nothing to match against.
|
|
15
15
|
|
|
16
16
|
| Slice / example | Baseline | Finding |
|
|
17
17
|
|---|---|---|
|
|
18
|
-
|
|
|
19
|
-
|
|
|
20
|
-
|
|
|
18
|
+
| OpenTicket / support agent submits "Printer offline" | Record an opened ticket for ticket ID `11111111-1111-4111-8111-111111111111` | Matched by inspection: the handler returns `TicketOpened` with `Subject = Printer offline` for that ID; the command pipeline appends it. |
|
|
19
|
+
| OpenTickets / read after opening | Show "Printer offline" under the same ID | Matched by inspection: the projection keys the row by event source and takes the subject from the payload. Observed in the supplied screen result: the subject is visible, not the ID. |
|
|
20
|
+
| OpenTicket / blank subject | Refuse; no ticket | Unverified: the handler has no guard. Check the validator registered for this entry point or an existing request-level example; a handler-only test bypasses that decision. |
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
# Recover another .NET framework with a source adapter
|
|
2
|
+
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- When to write one
|
|
6
|
+
- Packages
|
|
7
|
+
- Adapter contract
|
|
8
|
+
- Compose and generate
|
|
9
|
+
- Where a run stops
|
|
10
|
+
- What happened to each fact
|
|
11
|
+
- Diagnostics
|
|
12
|
+
- Catalog
|
|
13
|
+
|
|
14
|
+
## When to write one
|
|
15
|
+
|
|
16
|
+
`cratis screenplay generate` already reads Arc, Marten and Marten with Wolverine. Write a source adapter only when a trusted .NET checkout declares its commands, events, handlers or read models through another framework and you need the same compiler-verified draft from it.
|
|
17
|
+
|
|
18
|
+
An adapter owns **framework interpretation** only: it reads Roslyn compilations and reports neutral facts with evidence. It never loads a workspace, starts the analyzed application, inspects live infrastructure, builds Screenplay syntax or prints `.play` text. The composition host you write loads the projects, runs the adapters and generates. Adapters are never discovered by package scanning; the host lists each one.
|
|
19
|
+
|
|
20
|
+
## Packages
|
|
21
|
+
|
|
22
|
+
| Package | Referenced by | Holds |
|
|
23
|
+
| --- | --- | --- |
|
|
24
|
+
| `Cratis.Screenplay.Generation.Contracts` | adapter library | neutral facts, identities, evidence, diagnostics |
|
|
25
|
+
| `Cratis.Screenplay.Generation.DotNet` | adapter library | Roslyn helpers, source evidence, type shapes, the runner |
|
|
26
|
+
| `Cratis.Screenplay.Generation` | composition host | resolution, lowering, printing, compiler verification |
|
|
27
|
+
| `Cratis.Screenplay.Generation.DotNet.Vogen` | composition host (optional) | `VogenConceptScreenplayAdapter` for Vogen value objects |
|
|
28
|
+
|
|
29
|
+
Use one version across the four packages. The analyzed application references none of them. Keep the analyzed framework's runtime packages out of the adapter; match its types by metadata name instead.
|
|
30
|
+
|
|
31
|
+
## Adapter contract
|
|
32
|
+
|
|
33
|
+
Implement `IDescribedDotNetScreenplayAdapter`: a `Descriptor`, a cheap `Probe` and an `Analyze`.
|
|
34
|
+
|
|
35
|
+
```csharp
|
|
36
|
+
using Cratis.Screenplay.Generation;
|
|
37
|
+
using Cratis.Screenplay.Generation.DotNet;
|
|
38
|
+
using Microsoft.CodeAnalysis;
|
|
39
|
+
|
|
40
|
+
public sealed class AcmeScreenplayAdapter : IDescribedDotNetScreenplayAdapter
|
|
41
|
+
{
|
|
42
|
+
const string AdapterVersion = "<your adapter's own version>";
|
|
43
|
+
static readonly AdapterApiCapability _commandApi = new() { Id = "acme.command-declaration" };
|
|
44
|
+
|
|
45
|
+
public AdapterDescriptor Descriptor { get; } = new()
|
|
46
|
+
{
|
|
47
|
+
Identity = new AdapterIdentity { Id = "acme", Version = AdapterVersion },
|
|
48
|
+
SourceLanguage = AdapterSourceLanguage.CSharp,
|
|
49
|
+
Category = AdapterCategory.ApplicationFramework,
|
|
50
|
+
RequiredHostCapabilities =
|
|
51
|
+
[
|
|
52
|
+
AdapterHostCapability.AuthoredSource,
|
|
53
|
+
AdapterHostCapability.StableSourceLocations,
|
|
54
|
+
AdapterHostCapability.SemanticAnalysis
|
|
55
|
+
],
|
|
56
|
+
RequiredApiCapabilities = [_commandApi],
|
|
57
|
+
EmittedFactCapabilities =
|
|
58
|
+
[
|
|
59
|
+
GenerationFactCapability.Artifact,
|
|
60
|
+
GenerationFactCapability.ArtifactMemberDeclaration,
|
|
61
|
+
GenerationFactCapability.ArtifactMemberTypeUse
|
|
62
|
+
]
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
public AdapterProbeResult Probe(DotNetAnalysisContext context)
|
|
66
|
+
{
|
|
67
|
+
var uses = Commands(context).ToArray();
|
|
68
|
+
if (uses.Length == 0) return new AdapterProbeNotApplicable();
|
|
69
|
+
|
|
70
|
+
return new AdapterProbeApplicable
|
|
71
|
+
{
|
|
72
|
+
Evidence =
|
|
73
|
+
[
|
|
74
|
+
.. uses.Select(use => new AdapterProbeEvidence
|
|
75
|
+
{
|
|
76
|
+
Description = "An authored type uses the Acme command attribute",
|
|
77
|
+
ApiCapability = _commandApi,
|
|
78
|
+
Source = DotNetSource.RangeForProject(
|
|
79
|
+
use.Attribute.ApplicationSyntaxReference!.GetSyntax().GetLocation(), use.Project),
|
|
80
|
+
Subject = use.Project.SubjectForType(use.Type)
|
|
81
|
+
})
|
|
82
|
+
]
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
public AdapterContribution Analyze(DotNetAnalysisContext context, DotNetAdapterOptions options)
|
|
87
|
+
{
|
|
88
|
+
var facts = new List<GenerationFact>();
|
|
89
|
+
foreach (var use in Commands(context))
|
|
90
|
+
{
|
|
91
|
+
var subject = use.Project.SubjectForType(use.Type);
|
|
92
|
+
var evidence = DotNetSource.EvidenceFor(
|
|
93
|
+
use.Attribute, Descriptor.Identity, use.Project, EvidenceStrength.Exact,
|
|
94
|
+
"The authored type has Acme.CommandAttribute");
|
|
95
|
+
|
|
96
|
+
var key = new ArtifactKey { Subject = subject, Kind = ArtifactKind.Command };
|
|
97
|
+
|
|
98
|
+
facts.Add(new ArtifactFact
|
|
99
|
+
{
|
|
100
|
+
Id = new FactId { Value = $"acme:command:{subject.Value}" },
|
|
101
|
+
Subject = subject,
|
|
102
|
+
Definition = new ArtifactDefinition
|
|
103
|
+
{
|
|
104
|
+
Key = key,
|
|
105
|
+
Name = use.Type.Name,
|
|
106
|
+
File = evidence.Source?.Path,
|
|
107
|
+
Properties = DotNetTypeShapes.PropertiesOf(use.Type)
|
|
108
|
+
},
|
|
109
|
+
Evidence = evidence
|
|
110
|
+
});
|
|
111
|
+
facts.AddRange(DotNetTypeUseFacts.Emit(use.Type, key, context, evidence));
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
return new AdapterContribution { Adapter = Descriptor.Identity, Facts = facts, Diagnostics = [] };
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
static IEnumerable<(DotNetProjectCompilation Project, INamedTypeSymbol Type, AttributeData Attribute)> Commands(
|
|
118
|
+
DotNetAnalysisContext context) =>
|
|
119
|
+
from project in context.Projects
|
|
120
|
+
from type in new DotNetArtifactCatalog(project.Compilation).Types
|
|
121
|
+
from attribute in DotNetSource.AuthoredAttributesOf(type, project.AuthoredSyntaxTrees)
|
|
122
|
+
where attribute.AttributeClass is not null &&
|
|
123
|
+
DotNetSubjectIds.MetadataName(attribute.AttributeClass) == "Acme.CommandAttribute"
|
|
124
|
+
select (project, type, attribute);
|
|
125
|
+
}
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
Rules the runner enforces:
|
|
129
|
+
|
|
130
|
+
- **Descriptor:** list every host capability, every exact framework API the probe proves (`RequiredApiCapabilities`) and every fact kind the adapter emits (`EmittedFactCapabilities`). A fact of an undeclared kind rejects the whole contribution.
|
|
131
|
+
- **Probe:** cheap, deterministic and semantic. A package reference alone must not make it applicable; give located evidence for each required API capability. Return `AdapterProbeBlocked` with diagnostics when the framework is used but cannot be analyzed safely.
|
|
132
|
+
- **Properties:** emit both forms for every artifact. `DotNetTypeShapes.PropertiesOf(type)` gives the artifact its property list; `DotNetTypeUseFacts.Emit(type, key, context, evidence)` adds one member declaration and one exact type use per public readable instance property declared on the type. Generation joins those type uses to concepts that any adapter in the roster declared (for example the Vogen adapter), so a property typed by a value object becomes a concept reference. With the property list alone, such a property stays unbound. Declare `ArtifactMemberDeclaration` and `ArtifactMemberTypeUse` whenever you call `Emit`.
|
|
133
|
+
- **Member roles:** pass `roleFor` to `Emit` only when the framework itself marks a property as `ArtifactMemberRoleKind.Identifier` or `EventSourceIdentifier`. Never infer a role from a property name or type.
|
|
134
|
+
- **Inherited properties:** both calls read declared properties only. To include base-type properties, pair `PropertiesOf(type, context, DotNetMemberSurfaceScope.Inherited)` with `DotNetTypeUseFacts.EmitWithSurface(type, key, context, evidence, DotNetMemberSurfaceScope.Inherited)`; a mismatched pair raises `GEN0050` and omits the artifact.
|
|
135
|
+
- **Analyze:** runs only after an applicable probe. Every fact carries a stable `FactId`, a `SubjectId` and `Evidence`. Read only authored syntax trees; generated source is not authority.
|
|
136
|
+
- **Evidence strength:** `Exact` when the source directly and unambiguously declares the fact, `Configured` when framework configuration explicitly establishes it, `Conventional` when a documented framework convention does, `Heuristic` when naming or structure only suggests it. Never raise a guess to `Exact`.
|
|
137
|
+
- **Unknowns:** report what cannot be proved as a diagnostic. Never invent an artifact or a relationship.
|
|
138
|
+
|
|
139
|
+
An adapter that existing hosts call through the earlier `IDotNetScreenplayAdapter` (`Identity`, `CanAnalyze`, `Analyze`) can implement both interfaces over one analysis path; register it with `DotNetAdapterRegistration.ForLegacy` only when it has no descriptor.
|
|
140
|
+
|
|
141
|
+
## Compose and generate
|
|
142
|
+
|
|
143
|
+
The host builds one `DotNetProjectCompilation` per project (name, `DotNetProjectRole.Application` or `Specifications`, project path, the Roslyn `Compilation`, the authored syntax trees and a source context from `DotNetSourcePaths.Create`), stops on workspace failures or compilation errors, then runs the roster:
|
|
144
|
+
|
|
145
|
+
```csharp
|
|
146
|
+
var context = new DotNetAnalysisContext([project]);
|
|
147
|
+
|
|
148
|
+
var snapshot = DotNetAdapterRunner.Run(
|
|
149
|
+
[
|
|
150
|
+
DotNetAdapterRegistration.For(new AcmeScreenplayAdapter()),
|
|
151
|
+
DotNetAdapterRegistration.For(new VogenConceptScreenplayAdapter())
|
|
152
|
+
],
|
|
153
|
+
context,
|
|
154
|
+
new DotNetAdapterOptions());
|
|
155
|
+
|
|
156
|
+
var result = new ScreenplayDefinitionGenerator().Generate(
|
|
157
|
+
snapshot,
|
|
158
|
+
new ScreenplayGenerationOptions { Domain = "Ordering" });
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
- `result.Source` is the canonical `.play` text; `result.Application` its syntax tree; `result.Graph` the resolved artifacts and relationships.
|
|
162
|
+
- `result.IsSuccess` is false when any diagnostic is an error. Read `result.Diagnostics` even on success: warnings name what was omitted.
|
|
163
|
+
- `result.AdapterRun` holds each adapter's outcome and each fact's final disposition.
|
|
164
|
+
- `DotNetAdapterOptions` places artifacts: `Module` puts every artifact under one module, `FeatureRoot` is the project-relative directory where placement starts, and `NamespaceSegmentsToSkip` drops leading namespace segments from inferred placement.
|
|
165
|
+
|
|
166
|
+
The draft is a candidate, exactly like one from `cratis screenplay generate`: sort it through the skill's evidence classes before anything is accepted.
|
|
167
|
+
|
|
168
|
+
## Where a run stops
|
|
169
|
+
|
|
170
|
+
Each registration ends in one `AdapterRunDisposition`. A run never admits part of a contribution.
|
|
171
|
+
|
|
172
|
+
| Disposition | Cause |
|
|
173
|
+
| --- | --- |
|
|
174
|
+
| `RosterRejected` | Duplicate adapter id or an invalid descriptor; nothing ran. |
|
|
175
|
+
| `Blocked` | Incompatible Generation version, unsupported language, missing host capability, ambiguous project identity, malformed probe evidence, missing required API evidence, or the probe returned `AdapterProbeBlocked`. |
|
|
176
|
+
| `NotApplicable` | The probe found no use of the framework. |
|
|
177
|
+
| `ExecutionFailed` | The probe or analysis threw; the diagnostic hides exception detail and machine paths. |
|
|
178
|
+
| `ContributionRejected` | A fact was malformed, undeclared, mismatched to the adapter identity or not backed by authoritative source; the whole contribution is dropped. |
|
|
179
|
+
| `Admitted` | All facts entered the snapshot. |
|
|
180
|
+
| `NotExecuted` | The adapter was not run. |
|
|
181
|
+
|
|
182
|
+
## What happened to each fact
|
|
183
|
+
|
|
184
|
+
| `GenerationFactDisposition` | Meaning |
|
|
185
|
+
| --- | --- |
|
|
186
|
+
| `Lowered` | Contributed directly to emitted Screenplay. |
|
|
187
|
+
| `PartiallyLowered` | Structure was emitted but its backend scope meaning was not; an unsupported diagnostic accompanies it. |
|
|
188
|
+
| `ProvenanceOnly` | Kept as supporting evidence; added no syntax. |
|
|
189
|
+
| `OmittedWithDiagnostic` | Left out; the attached diagnostic says why. |
|
|
190
|
+
| `Conflicted` | Took part in an unresolved competing definition. |
|
|
191
|
+
| `Unknown` | Before generation ran. |
|
|
192
|
+
|
|
193
|
+
## Diagnostics
|
|
194
|
+
|
|
195
|
+
Each `GenerationDiagnostic` has a `Code`, `Severity` (`Information`, `Warning`, `Error`), `Message`, and optional `Source`, `Subject` and `Facts`.
|
|
196
|
+
|
|
197
|
+
| Prefix | Raised by | React |
|
|
198
|
+
| --- | --- | --- |
|
|
199
|
+
| `DOTNETADAPTER001`–`010` | the runner | Fix the roster or descriptor: rejected descriptor (001), duplicate id (002), missing host capability (003), rejected probe (004), missing API evidence (005), callback failed (006), rejected contribution (007), unsupported language (008), incompatible Generation version (009), invalid project roster (010). |
|
|
200
|
+
| `GEN0001`, `GEN0003`, `GEN0006`–`GEN0008`, `GEN0042` | resolution | Two facts disagree about an artifact, identity, relationship, slice kind or placement. Correct the adapter that over-claims; do not pick a winner in the draft. |
|
|
201
|
+
| `GEN0004`, `GEN0022`–`GEN0032`, `GEN0038`, `GEN0039`, `GEN0049`, `GEN0052`, `GEN0053`, `GEN0058` | lowering | The fact is valid but Screenplay has no form for it yet. Record it as a **not expressible** loss. |
|
|
202
|
+
| `GEN0009`, `GEN0043`–`GEN0045`, `GEN0051`, `GEN0055`, `GEN0056` | resolution | Something a fact refers to is missing or incomplete. Emit the missing fact or drop the reference. |
|
|
203
|
+
| `GEN0011`–`GEN0021` | concepts | Concept representation, name, attribute or validation rule is conflicting, missing or unsupported. |
|
|
204
|
+
| `GEN0033`–`GEN0037` | specifications | Recovered scenario, step or value conflicts, is invalid or is incomplete. |
|
|
205
|
+
| `GEN0040`, `GEN0041` | dispositions | A fact was omitted, or could not be classified. |
|
|
206
|
+
| `GEN0059`–`GEN0064` | backend scopes | Unknown, conflicting, ambiguous or unsupported backend scope. |
|
|
207
|
+
| `GEN0075`–`GEN0079` | placement | Invalid or conflicting source-owner candidates, no placement resolver, or one slice mixing kinds (`GEN0079` reports the split that was made). |
|
|
208
|
+
| `GEN0005`, `GEN0010` | verification | The generated document did not compile, or printing it twice differed. Treat as an adapter or generator defect; never hand-edit the draft to hide it. |
|
|
209
|
+
|
|
210
|
+
Other `GEN` codes report malformed granular facts (type uses, member roles, method support, diagnostic projection); the message names the fact to fix.
|
|
211
|
+
|
|
212
|
+
## Catalog
|
|
213
|
+
|
|
214
|
+
- **`AdapterCategory`:** `ApplicationFramework`, `EventSourcing`, `EventStore`, `Messaging`, `Concepts`, `Validation`, `Integration`.
|
|
215
|
+
- **`AdapterSourceLanguage`:** `CSharp`; `SourceIndependent` for an adapter that needs no source, declares no host capabilities and gives no source ranges.
|
|
216
|
+
- **`AdapterHostCapability`:** `AuthoredSource`, `StableSourceLocations`, `SemanticAnalysis`, `ProjectReferences`.
|
|
217
|
+
- **`ArtifactKind`:** `ApplicationHost`, `Concept`, `CompositeType`, `Command`, `Event`, `ReadModel`, `Document`, `Aggregate`, `Query`, `Projection`, `Reducer`, `Reaction`, `Message`, `Handler`, `Endpoint`, `Response`, `Saga`.
|
|
218
|
+
- **`RelationshipKind`:** `Handles`, `Reads`, `Produces`, `Consumes`, `Builds`, `Returns`, `Cascades`, `Publishes`, `SideEffect`, `StartsStream`, `Appends`, `Stores`, `Updates`, `Deletes`.
|
|
219
|
+
- **Core fact capabilities:** `Artifact`, `ArtifactPlacement`, `Relationship`, `ConceptRepresentation`, `ConceptAttribute`, `ConceptValidationRule`, `SpecificationScenario`, `SpecificationStep`, `SpecificationValue`.
|
|
220
|
+
- **Granular fact capabilities (edge case):** member declarations, type uses and bindings, member roles, artifact usage, entry points, backend scopes, method execution classification and support, input transfers, source placement candidates and omission diagnostics. Declare one only when the adapter emits that fact kind; start with the core set.
|
|
221
|
+
- **Roslyn helpers:** `DotNetArtifactCatalog` (types in a compilation), `DotNetSource` (`AuthoredAttributesOf`, `EvidenceFor`, `RangeForProject`), `DotNetSubjectIds.MetadataName`, `DotNetTypeShapes.PropertiesOf`, `DotNetTypeUseFacts.Emit`, `DotNetSourcePaths.Create`.
|