@cratis/pi 8.0.1 → 8.1.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 +9 -102
- package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +3 -5
- package/package/corpus/harnesses/copilot/instructions/browser.instructions.md +8 -49
- package/package/corpus/harnesses/copilot/instructions/code-health.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/code-quality.csharp.instructions.md +3 -84
- package/package/corpus/harnesses/copilot/instructions/code-quality.instructions.md +6 -51
- package/package/corpus/harnesses/copilot/instructions/code-quality.typescript.instructions.md +4 -81
- package/package/corpus/harnesses/copilot/instructions/codescene.instructions.md +5 -54
- package/package/corpus/harnesses/copilot/instructions/components.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/cratis-folder-is-configuration.instructions.md +5 -22
- package/package/corpus/harnesses/copilot/instructions/csharp.instructions.md +7 -315
- package/package/corpus/harnesses/copilot/instructions/dialogs.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/discoverability.instructions.md +3 -25
- package/package/corpus/harnesses/copilot/instructions/documentation-structure-and-formatting.instructions.md +5 -151
- package/package/corpus/harnesses/copilot/instructions/documentation.instructions.md +5 -104
- package/package/corpus/harnesses/copilot/instructions/editing-cratis-docs.instructions.md +5 -63
- package/package/corpus/harnesses/copilot/instructions/efcore.instructions.md +8 -55
- package/package/corpus/harnesses/copilot/instructions/efcore.specs.instructions.md +3 -33
- package/package/corpus/harnesses/copilot/instructions/elixir.instructions.md +6 -79
- package/package/corpus/harnesses/copilot/instructions/exit-codes-and-wrappers.instructions.md +4 -27
- package/package/corpus/harnesses/copilot/instructions/framework-dotnet.instructions.md +4 -6
- package/package/corpus/harnesses/copilot/instructions/framework.instructions.md +0 -2
- package/package/corpus/harnesses/copilot/instructions/frontend-quality.instructions.md +0 -1
- package/package/corpus/harnesses/copilot/instructions/frontend-testing.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/github-actions.instructions.md +7 -138
- package/package/corpus/harnesses/copilot/instructions/glossary.instructions.md +19 -19
- package/package/corpus/harnesses/copilot/instructions/go-engineering.instructions.md +1 -4
- package/package/corpus/harnesses/copilot/instructions/go.instructions.md +2 -7
- package/package/corpus/harnesses/copilot/instructions/guards-and-fuses.instructions.md +5 -6
- package/package/corpus/harnesses/copilot/instructions/java.instructions.md +7 -129
- package/package/corpus/harnesses/copilot/instructions/kotlin.instructions.md +8 -165
- package/package/corpus/harnesses/copilot/instructions/orleans.instructions.md +5 -98
- package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +9 -63
- package/package/corpus/harnesses/copilot/instructions/scripting.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/specs.csharp.instructions.md +8 -148
- package/package/corpus/harnesses/copilot/instructions/specs.elixir.instructions.md +4 -37
- package/package/corpus/harnesses/copilot/instructions/specs.typescript.instructions.md +3 -1
- package/package/corpus/harnesses/copilot/instructions/storybook.instructions.md +7 -70
- package/package/corpus/harnesses/copilot/instructions/typescript.instructions.md +8 -98
- package/package/corpus/harnesses/copilot/instructions/writing-correct-examples.instructions.md +3 -47
- package/package/corpus/harnesses/copilot/instructions/writing-cratis-docs.instructions.md +3 -65
- package/package/corpus/hooks/README.md +4 -7
- package/package/corpus/hooks/scripts/quality-gates.json +3 -5
- package/package/corpus/rules/ai-distribution.md +9 -102
- package/package/corpus/rules/authoring-skills.md +3 -5
- package/package/corpus/rules/browser.md +8 -49
- package/package/corpus/rules/code-health-policy.txt +4 -24
- package/package/corpus/rules/code-health.md +1 -1
- package/package/corpus/rules/code-quality.csharp.md +3 -84
- package/package/corpus/rules/code-quality.md +6 -51
- package/package/corpus/rules/code-quality.typescript.md +4 -81
- package/package/corpus/rules/codescene.md +5 -54
- package/package/corpus/rules/components.md +1 -1
- package/package/corpus/rules/cratis-folder-is-configuration.md +5 -22
- package/package/corpus/rules/csharp.md +7 -315
- package/package/corpus/rules/dialogs.md +1 -1
- package/package/corpus/rules/discoverability.md +3 -25
- package/package/corpus/rules/documentation-structure-and-formatting.md +5 -151
- package/package/corpus/rules/documentation.md +5 -104
- package/package/corpus/rules/editing-cratis-docs.md +5 -63
- package/package/corpus/rules/efcore.md +8 -55
- package/package/corpus/rules/efcore.specs.md +3 -33
- package/package/corpus/rules/elixir.md +6 -79
- package/package/corpus/rules/exit-codes-and-wrappers.md +4 -27
- package/package/corpus/rules/framework-dotnet.md +4 -6
- package/package/corpus/rules/framework.md +0 -2
- package/package/corpus/rules/frontend-quality.md +0 -1
- package/package/corpus/rules/frontend-testing.md +1 -1
- package/package/corpus/rules/general.md +2 -2
- package/package/corpus/rules/github-actions.md +7 -138
- package/package/corpus/rules/glossary.md +19 -19
- package/package/corpus/rules/go-engineering.md +1 -4
- package/package/corpus/rules/go.md +2 -7
- package/package/corpus/rules/guards-and-fuses.md +5 -6
- package/package/corpus/rules/java.md +7 -129
- package/package/corpus/rules/kotlin.md +8 -165
- package/package/corpus/rules/orleans.md +5 -98
- package/package/corpus/rules/profiles.md +9 -63
- package/package/corpus/rules/scripting.md +1 -1
- package/package/corpus/rules/specs.csharp.md +8 -148
- package/package/corpus/rules/specs.elixir.md +4 -37
- package/package/corpus/rules/specs.typescript.md +3 -1
- package/package/corpus/rules/storybook.md +7 -70
- package/package/corpus/rules/typescript.md +8 -98
- package/package/corpus/rules/writing-correct-examples.md +3 -47
- package/package/corpus/rules/writing-cratis-docs.md +3 -65
- package/package/corpus/skills/cratis-application-growth/SKILL.md +7 -54
- package/package/corpus/skills/cratis-application-growth/references/move-and-untangle.md +49 -0
- package/package/corpus/skills/cratis-application-growth/references/rename-window.md +12 -14
- package/package/corpus/skills/cratis-application-growth/references/stages.md +2 -2
- package/package/corpus/skills/cratis-arc-authorize-request/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-authorize-request/references/csharp.md +3 -3
- package/package/corpus/skills/cratis-arc-authorize-request/references/kotlin.md +2 -2
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/SKILL.md +10 -43
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/rule-fixes.md +40 -0
- package/package/corpus/skills/cratis-arc-connect-storage/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp.md +4 -4
- package/package/corpus/skills/cratis-arc-declare-command/references/go.md +1 -1
- package/package/corpus/skills/cratis-arc-declare-command/references/kotlin.md +6 -7
- package/package/corpus/skills/cratis-arc-declare-operation/SKILL.md +2 -8
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-arc-diagnose-live-query/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/SKILL.md +6 -12
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/custom-exposure-and-audit.md +4 -0
- package/package/corpus/skills/cratis-arc-expose-query/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-expose-query/references/csharp.md +11 -4
- package/package/corpus/skills/cratis-arc-expose-query/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-arc-generate-proxies/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-generate-proxies/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-arc-generate-proxies/references/go.md +19 -2
- package/package/corpus/skills/cratis-arc-generate-proxies/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-arc-host-application/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-host-application/references/csharp.md +1 -2
- package/package/corpus/skills/cratis-arc-host-application/references/elixir.md +2 -2
- package/package/corpus/skills/cratis-arc-host-application/references/go.md +5 -1
- package/package/corpus/skills/cratis-arc-host-application/references/java.md +1 -1
- package/package/corpus/skills/cratis-arc-host-application/references/kotlin.md +1 -1
- package/package/corpus/skills/cratis-arc-host-application/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +4 -7
- package/package/corpus/skills/cratis-arc-invoke-command/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-invoke-command/references/csharp.md +4 -4
- package/package/corpus/skills/cratis-arc-invoke-command/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-arc-isolate-tenant/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/csharp.md +2 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/java.md +1 -1
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/kotlin.md +1 -1
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/typescript.md +4 -2
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/SKILL.md +6 -6
- package/package/corpus/skills/cratis-arc-page-query/SKILL.md +3 -3
- package/package/corpus/skills/cratis-arc-page-query/references/csharp.md +10 -6
- package/package/corpus/skills/cratis-arc-page-query/references/elixir.md +2 -2
- package/package/corpus/skills/cratis-arc-page-query/references/java.md +1 -1
- package/package/corpus/skills/cratis-arc-page-query/references/kotlin.md +1 -1
- package/package/corpus/skills/cratis-arc-react-bind-slice/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/kotlin.md +1 -1
- package/package/corpus/skills/cratis-arc-react-separate-view-model/SKILL.md +7 -3
- package/package/corpus/skills/cratis-arc-react-separate-view-model/references/react-routing-and-messaging.md +1 -1
- package/package/corpus/skills/cratis-arc-select-backend-sdk/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/elixir.md +2 -4
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/go.md +2 -2
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/java.md +1 -1
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/kotlin.md +2 -2
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/typescript.md +1 -3
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/SKILL.md +13 -51
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/read-model-naming.md +9 -1
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/storage-boundaries.md +40 -0
- package/package/corpus/skills/cratis-arc-storage-typescript/SKILL.md +19 -64
- package/package/corpus/skills/cratis-arc-storage-typescript/references/drizzle.md +62 -0
- package/package/corpus/skills/cratis-arc-tenancy-typescript/SKILL.md +24 -55
- package/package/corpus/skills/cratis-arc-tenancy-typescript/references/tenant-selection.md +49 -0
- package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +13 -31
- package/package/corpus/skills/cratis-arc-testing-kotlin/references/jvm-scenario-variants.md +25 -0
- package/package/corpus/skills/cratis-arc-testing-typescript/SKILL.md +24 -62
- package/package/corpus/skills/cratis-arc-testing-typescript/references/hosts-and-runners.md +51 -0
- package/package/corpus/skills/cratis-arc-validate-command/SKILL.md +4 -4
- package/package/corpus/skills/cratis-arc-validate-command/references/csharp.md +10 -12
- package/package/corpus/skills/cratis-arc-validate-command/references/elixir.md +16 -3
- package/package/corpus/skills/cratis-arc-validate-command/references/go.md +19 -2
- package/package/corpus/skills/cratis-arc-validate-command/references/java.md +20 -7
- package/package/corpus/skills/cratis-arc-validate-command/references/kotlin.md +22 -2
- package/package/corpus/skills/cratis-arc-validate-command/references/python.md +8 -2
- package/package/corpus/skills/cratis-arc-validate-command/references/typescript.md +22 -2
- package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +22 -248
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/feature-filters.md +55 -0
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/model-validation.md +72 -0
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/server-validators.md +86 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +27 -275
- package/package/corpus/skills/cratis-arc-validation-typescript/references/models-and-queries.md +63 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/references/rules-and-checks.md +46 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/references/server-decisions.md +114 -0
- package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +15 -255
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +13 -6
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/inspection.md +75 -0
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/project-tooling.md +78 -13
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/recovery-and-comparison.md +16 -14
- package/package/corpus/skills/cratis-chronicle-connect-application/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp.md +10 -6
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-chronicle-constrain-append/SKILL.md +2 -2
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/csharp.md +8 -8
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/SKILL.md +10 -8
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/storage.md +8 -4
- package/package/corpus/skills/cratis-chronicle-evolve-event/SKILL.md +4 -4
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/csharp.md +2 -2
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/deployed-readers.md +21 -8
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-chronicle-inspect-observer/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/csharp.md +5 -7
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/elixir.md +3 -3
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +10 -80
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/blocked-tools.md +2 -2
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/deployment.md +9 -24
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +10 -0
- package/package/corpus/skills/cratis-chronicle-project-view/SKILL.md +2 -2
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp.md +7 -6
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir.md +2 -2
- package/package/corpus/skills/cratis-chronicle-project-view/references/go.md +6 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/java.md +6 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin.md +6 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/typescript.md +11 -5
- package/package/corpus/skills/cratis-chronicle-protect-decision/SKILL.md +2 -2
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp.md +4 -4
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/elixir.md +2 -2
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/go.md +3 -1
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-chronicle-publish-contract/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp.md +51 -40
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-chronicle-react-to-fact/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/{occurrences.md → csharp-occurrences.md} +2 -2
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp.md +5 -6
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/go.md +1 -1
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/java.md +1 -1
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/kotlin.md +1 -1
- package/package/corpus/skills/cratis-chronicle-record-event/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp.md +21 -19
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir.md +3 -3
- package/package/corpus/skills/cratis-chronicle-record-event/references/go.md +1 -1
- package/package/corpus/skills/cratis-chronicle-record-event/references/java.md +3 -4
- package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin.md +3 -4
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript.md +2 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/csharp.md +7 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-chronicle-select-client/SKILL.md +4 -4
- package/package/corpus/skills/cratis-chronicle-select-client/references/csharp.md +3 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/elixir.md +2 -6
- package/package/corpus/skills/cratis-chronicle-select-client/references/go.md +2 -2
- package/package/corpus/skills/cratis-chronicle-select-client/references/java.md +1 -1
- package/package/corpus/skills/cratis-chronicle-select-client/references/kotlin.md +1 -5
- package/package/corpus/skills/cratis-chronicle-select-client/references/python.md +3 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/typescript.md +2 -2
- package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +12 -201
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/hosting.md +67 -0
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/operations.md +88 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/SKILL.md +8 -4
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/build-once-and-shard.md +13 -11
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/caching.md +2 -2
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/flaky-and-hung-jobs.md +6 -4
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/required-checks-and-path-filters.md +20 -61
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/security-and-pinning.md +1 -1
- package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +15 -26
- package/package/corpus/skills/cratis-code-review/SKILL.md +7 -6
- package/package/corpus/skills/cratis-commits-and-pull-requests/SKILL.md +1 -1
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-description.md +1 -1
- package/package/corpus/skills/cratis-components-accessibility/SKILL.md +14 -206
- package/package/corpus/skills/cratis-components-accessibility/references/control-labels.md +29 -0
- package/package/corpus/skills/cratis-components-accessibility/references/focus-and-announcements.md +8 -0
- package/package/corpus/skills/cratis-components-build-canvas/SKILL.md +7 -7
- package/package/corpus/skills/cratis-components-build-canvas/references/pixi-items.md +1 -1
- package/package/corpus/skills/cratis-components-choose-control/SKILL.md +7 -8
- package/package/corpus/skills/cratis-components-choose-control/references/collections.md +2 -2
- package/package/corpus/skills/cratis-components-choose-control/references/inputs.md +1 -1
- package/package/corpus/skills/cratis-components-compose-toolbar/SKILL.md +22 -27
- package/package/corpus/skills/cratis-components-compose-toolbar/references/contributed-tools.md +5 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/SKILL.md +19 -25
- package/package/corpus/skills/cratis-components-display-list/SKILL.md +26 -19
- package/package/corpus/skills/cratis-components-display-list/references/server-query.md +3 -3
- package/package/corpus/skills/cratis-components-edit-schema-data/SKILL.md +15 -12
- package/package/corpus/skills/cratis-components-edit-schema-data/references/controlled-editor.md +3 -3
- package/package/corpus/skills/cratis-components-explore-data/SKILL.md +7 -7
- package/package/corpus/skills/cratis-components-host-chat/SKILL.md +7 -7
- package/package/corpus/skills/cratis-components-submit-form/SKILL.md +9 -15
- package/package/corpus/skills/cratis-components-submit-form/references/confirmation.md +5 -5
- package/package/corpus/skills/cratis-components-submit-form/references/wizard.md +3 -3
- package/package/corpus/skills/cratis-components-theme-application/SKILL.md +7 -51
- package/package/corpus/skills/cratis-components-theme-application/references/palette.md +49 -0
- package/package/corpus/skills/cratis-components-theme-application/references/renderer-adapters.md +4 -2
- package/package/corpus/skills/cratis-content-length/SKILL.md +34 -46
- package/package/corpus/skills/cratis-content-length/references/length-evidence.md +26 -127
- package/package/corpus/skills/cratis-developer-marketing/SKILL.md +15 -27
- package/package/corpus/skills/cratis-developer-marketing/references/measurement.md +3 -19
- package/package/corpus/skills/cratis-developer-marketing/references/playbook-evidence.md +29 -224
- package/package/corpus/skills/cratis-discoverability/SKILL.md +11 -4
- package/package/corpus/skills/cratis-discoverability/references/package-metadata.md +2 -2
- package/package/corpus/skills/cratis-documentation-writing/SKILL.md +4 -3
- package/package/corpus/skills/cratis-engineering-ci-gates/SKILL.md +13 -129
- package/package/corpus/skills/cratis-engineering-ci-gates/references/gate-operation.md +132 -0
- package/package/corpus/skills/cratis-engineering-consolidation-guard/SKILL.md +11 -100
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/ci-required-check.md +55 -40
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/source-verification.md +68 -0
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/verification-details.md +38 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +14 -65
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +40 -174
- package/package/corpus/skills/cratis-engineering-decision-record/SKILL.md +8 -52
- package/package/corpus/skills/cratis-engineering-decision-record/references/decision-pitfalls.md +29 -0
- package/package/corpus/skills/cratis-engineering-decision-record/references/decision-scope.md +20 -0
- package/package/corpus/skills/cratis-engineering-decision-record/references/record-format.md +3 -4
- package/package/corpus/skills/cratis-engineering-docs-authoring/SKILL.md +7 -12
- package/package/corpus/skills/cratis-engineering-docs-authoring/references/site-format.md +5 -4
- package/package/corpus/skills/cratis-engineering-effect-boundaries/SKILL.md +6 -40
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +18 -151
- package/package/corpus/skills/cratis-engineering-inherited-work/SKILL.md +5 -21
- package/package/corpus/skills/cratis-engineering-inherited-work/references/continue-inherited-work.md +19 -0
- package/package/corpus/skills/cratis-engineering-issue-design-note/SKILL.md +3 -66
- package/package/corpus/skills/cratis-engineering-issue-design-note/references/design-note-format.md +68 -0
- package/package/corpus/skills/cratis-engineering-issue-hygiene/SKILL.md +2 -84
- package/package/corpus/skills/cratis-engineering-issue-hygiene/references/issue-disposition.md +87 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/SKILL.md +15 -263
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dependency-map.md +3 -3
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/docker-images.md +28 -6
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dotnet-nuget.md +18 -14
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/helper-runbook.md +231 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/other-environments.md +2 -3
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/worked-examples.md +62 -77
- package/package/corpus/skills/cratis-engineering-post-mortem/SKILL.md +6 -39
- package/package/corpus/skills/cratis-engineering-post-mortem/references/proportionate-follow-up.md +36 -0
- package/package/corpus/skills/cratis-engineering-regression-cluster/SKILL.md +4 -4
- package/package/corpus/skills/cratis-engineering-release-trains/SKILL.md +8 -134
- package/package/corpus/skills/cratis-engineering-release-trains/references/candidate-assembly.md +139 -0
- package/package/corpus/skills/cratis-engineering-review-rounds/SKILL.md +3 -100
- package/package/corpus/skills/cratis-engineering-review-rounds/references/round-handoffs.md +109 -0
- package/package/corpus/skills/cratis-environments-and-secrets/SKILL.md +1 -5
- package/package/corpus/skills/cratis-environments-and-secrets/references/environment-file.md +1 -3
- package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +11 -116
- package/package/corpus/skills/cratis-event-model-diagram/references/frame-patterns.md +93 -0
- package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +4 -15
- package/package/corpus/skills/cratis-fundamentals-name-value/SKILL.md +8 -8
- package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp.md +4 -4
- package/package/corpus/skills/cratis-fundamentals-name-value/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-fundamentals-name-value/references/go.md +1 -1
- package/package/corpus/skills/cratis-fundamentals-name-value/references/java.md +5 -5
- package/package/corpus/skills/cratis-fundamentals-name-value/references/kotlin.md +15 -2
- package/package/corpus/skills/cratis-fundamentals-name-value/references/python.md +1 -1
- package/package/corpus/skills/cratis-fundamentals-name-value/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +10 -27
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/otlp-export.md +16 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +26 -188
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/diagnostics.md +14 -0
- package/package/corpus/skills/cratis-governed-release-methodology/SKILL.md +7 -5
- package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +23 -157
- package/package/corpus/skills/cratis-lens-browser-extension/references/troubleshooting.md +139 -0
- package/package/corpus/skills/cratis-llm-friendly-documentation/SKILL.md +7 -5
- package/package/corpus/skills/cratis-modeling-design-event-model/SKILL.md +2 -4
- package/package/corpus/skills/cratis-modeling-design-event-model/references/model-first.md +7 -0
- package/package/corpus/skills/cratis-modeling-discover-timeline/SKILL.md +2 -2
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/group-and-document-intake.md +1 -1
- package/package/corpus/skills/cratis-modeling-review-event-model/SKILL.md +2 -2
- package/package/corpus/skills/cratis-modeling-review-event-model/references/implementation-findings.md +2 -2
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/SKILL.md +5 -23
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/compare-evidence.md +20 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/recovery-inputs.md +3 -3
- package/package/corpus/skills/cratis-multi-service-local-orchestration/SKILL.md +8 -63
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/aspire.md +52 -0
- package/package/corpus/skills/cratis-observability/SKILL.md +1 -1
- package/package/corpus/skills/cratis-observability/references/arc-and-chronicle-signals.md +9 -23
- package/package/corpus/skills/cratis-observability/references/chronicle-kernel-export.md +3 -14
- package/package/corpus/skills/cratis-observability/references/csharp.md +4 -6
- package/package/corpus/skills/cratis-observability/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-observability/references/troubleshooting.md +4 -5
- package/package/corpus/skills/cratis-onboarding-runtime/SKILL.md +1 -4
- package/package/corpus/skills/cratis-onboarding-runtime/references/default-offering.md +0 -3
- package/package/corpus/skills/cratis-onboarding-runtime/references/sign-up-review.md +0 -4
- package/package/corpus/skills/cratis-orchestration-lanes/SKILL.md +7 -49
- package/package/corpus/skills/cratis-orchestration-lanes/references/escalation.md +22 -0
- package/package/corpus/skills/cratis-orchestration-lanes/references/inbox-and-handover.md +4 -4
- package/package/corpus/skills/cratis-orchestration-lanes/references/placeholders.md +1 -1
- package/package/corpus/skills/cratis-orchestration-lanes/references/roles.md +12 -0
- package/package/corpus/skills/cratis-orchestration-lanes/references/roll-call.md +12 -0
- package/package/corpus/skills/cratis-orchestration-lanes/references/worktrees.md +10 -0
- package/package/corpus/skills/cratis-orchestration-merge-gates/SKILL.md +14 -13
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/merge-queue.md +51 -26
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/unattended-guards.md +8 -14
- package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +9 -65
- package/package/corpus/skills/cratis-orleans-jobs/references/activation-callbacks.md +5 -0
- package/package/corpus/skills/cratis-orleans-jobs/references/lifecycle-and-placement.md +11 -7
- package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +1 -1
- package/package/corpus/skills/cratis-orleans-jobs/references/step-planning.md +27 -0
- package/package/corpus/skills/cratis-orleans-jobs/references/storage-and-options.md +35 -0
- package/package/corpus/skills/cratis-performance-review/SKILL.md +6 -76
- package/package/corpus/skills/cratis-performance-review/references/review-checklist.md +79 -0
- package/package/corpus/skills/cratis-platform-configure-environment/SKILL.md +19 -16
- package/package/corpus/skills/cratis-platform-contribute-change/SKILL.md +2 -2
- package/package/corpus/skills/cratis-platform-deliver-slice/SKILL.md +5 -5
- package/package/corpus/skills/cratis-platform-deliver-slice/references/coordinate-slices.md +1 -1
- package/package/corpus/skills/cratis-platform-diagnose-slice/SKILL.md +2 -3
- package/package/corpus/skills/cratis-platform-prepare-release-pr/SKILL.md +2 -2
- package/package/corpus/skills/cratis-platform-start-application/SKILL.md +10 -8
- package/package/corpus/skills/cratis-platform-start-application/references/csharp.md +6 -6
- package/package/corpus/skills/cratis-platform-start-application/references/java.md +4 -4
- package/package/corpus/skills/cratis-platform-start-application/references/kotlin.md +4 -4
- package/package/corpus/skills/cratis-platform-verify-service-handoff/SKILL.md +3 -3
- package/package/corpus/skills/cratis-release-notes/SKILL.md +9 -133
- package/package/corpus/skills/cratis-release-notes/references/channel-guidance.md +59 -0
- package/package/corpus/skills/cratis-release-notes/references/publish-repair.md +64 -0
- package/package/corpus/skills/cratis-rtk/SKILL.md +12 -18
- package/package/corpus/skills/cratis-screenplay-accept-model/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-accept-model/references/capability-consumption.md +1 -1
- package/package/corpus/skills/cratis-screenplay-accept-model/references/coverage-obligations.md +1 -1
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/SKILL.md +25 -59
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/onboarding-directives.md +11 -10
- package/package/corpus/skills/cratis-screenplay-author-extension/SKILL.md +9 -6
- package/package/corpus/skills/cratis-screenplay-author-extension/references/consume.md +3 -3
- package/package/corpus/skills/cratis-screenplay-author-extension/references/stage-candidate.md +8 -0
- package/package/corpus/skills/cratis-screenplay-availability/SKILL.md +20 -167
- package/package/corpus/skills/cratis-screenplay-availability/references/complete-example.md +23 -47
- package/package/corpus/skills/cratis-screenplay-availability/references/review-checks.md +9 -10
- package/package/corpus/skills/cratis-screenplay-availability/references/runtime-ownership.md +26 -23
- package/package/corpus/skills/cratis-screenplay-declare-slice/SKILL.md +6 -14
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/projection-replay.md +2 -2
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/read-identity.md +1 -1
- package/package/corpus/skills/cratis-screenplay-edit-workspace/SKILL.md +7 -9
- package/package/corpus/skills/cratis-screenplay-edit-workspace/references/model-notes.md +1 -1
- package/package/corpus/skills/cratis-screenplay-handoff-slice/SKILL.md +10 -14
- package/package/corpus/skills/cratis-screenplay-model-automation/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-boundaries.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-interaction/SKILL.md +6 -31
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/shell-and-data.md +22 -0
- package/package/corpus/skills/cratis-screenplay-model-translation/SKILL.md +5 -5
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/SKILL.md +5 -5
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/version-migration.md +4 -4
- package/package/corpus/skills/cratis-screenplay-recover-intent/SKILL.md +2 -2
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/csharp.md +2 -2
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/ground-truth-benchmark.md +1 -1
- package/package/corpus/skills/cratis-screenplay-specify-outcome/SKILL.md +4 -75
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/host-body-execution.md +0 -2
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/observable-result.md +85 -1
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/query-rejections.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +15 -133
- 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 +4 -12
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +28 -57
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +4 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +13 -20
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/multi-service-models.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/neighbouring-skills.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/read-model-keys.md +3 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-id-rules.md +2 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +5 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +82 -71
- package/package/corpus/skills/cratis-security-review/SKILL.md +4 -73
- package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +24 -13
- package/package/corpus/skills/cratis-security-review/references/review-checklist.md +74 -0
- package/package/corpus/skills/cratis-session-handoff/SKILL.md +7 -32
- package/package/corpus/skills/cratis-session-handoff/references/handoff-template.md +2 -2
- package/package/corpus/skills/cratis-session-handoff/references/session-hygiene.md +20 -0
- package/package/corpus/skills/cratis-showrunner-herald/SKILL.md +9 -17
- package/package/corpus/skills/cratis-showrunner-herald/references/options.md +2 -2
- package/package/corpus/skills/cratis-showrunner-herald/references/templates-and-images.md +16 -10
- package/package/corpus/skills/cratis-social-feed-post/SKILL.md +9 -162
- package/package/corpus/skills/cratis-social-feed-post/references/asset-and-formatting.md +37 -0
- package/package/corpus/skills/cratis-social-feed-post/references/editorial-checks.md +40 -0
- package/package/corpus/skills/cratis-social-feed-post/references/engagement-evidence.md +39 -150
- package/package/corpus/skills/cratis-social-feed-post/references/linkedin-media.md +24 -0
- package/package/corpus/skills/cratis-social-feed-post/references/other-channels.md +23 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/SKILL.md +5 -5
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-command-results.md +2 -2
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-query-scenario.md +13 -5
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp.md +7 -4
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/go.md +20 -4
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-specifications-isolate-behavior/SKILL.md +2 -2
- package/package/corpus/skills/cratis-specifications-observe-ui/SKILL.md +5 -5
- package/package/corpus/skills/cratis-specifications-test-application-ui/SKILL.md +2 -2
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-command-results.md +2 -2
- package/package/corpus/skills/cratis-specifications-test-typescript-behavior/SKILL.md +2 -2
- package/package/corpus/skills/cratis-stage-render-slice/SKILL.md +10 -9
- package/package/corpus/skills/cratis-stage-run-sandbox/SKILL.md +3 -3
- package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-spec-runner.md +7 -6
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +4 -6
- package/package/corpus/skills/cratis-technical-examples/SKILL.md +10 -106
- package/package/corpus/skills/cratis-technical-examples/references/csharp-package-checks.md +1 -1
- package/package/corpus/skills/cratis-technical-examples/references/source-and-format.md +42 -0
- package/package/corpus/skills/cratis-technical-examples/references/typescript-package-checks.md +2 -2
- package/package/corpus/skills/cratis-technical-examples/references/verification-scope.md +37 -0
- package/package/corpus/skills/cratis-ux-review/SKILL.md +8 -40
- package/package/corpus/skills/cratis-ux-review/references/capture-contract.md +24 -0
- package/package/corpus/skills/cratis-ux-review/references/checklist.md +1 -1
- package/package/corpus/skills/cratis-ux-review/references/report-template.md +2 -1
- package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +19 -132
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/ai-tells.md +24 -97
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/author-and-batch.md +23 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/documentation-evidence.md +25 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/interpretation.md +17 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/stock-constructions.md +23 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/voice-guidance.md +8 -29
- package/package.json +1 -1
- /package/package/corpus/skills/cratis-chronicle-protect-decision/references/{standalone.md → csharp-standalone.md} +0 -0
- /package/package/corpus/skills/cratis-engineering-post-mortem/references/{examples/silent-backup-failure.md → silent-backup-failure.md} +0 -0
- /package/package/corpus/skills/cratis-engineering-post-mortem/references/{examples/unintended-release-regression.md → unintended-release-regression.md} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-llm-friendly-documentation
|
|
3
|
-
description: Use when designing or reviewing llms.txt, Markdown mirrors, bounded documentation exports or retrieval quality. Not for general
|
|
3
|
+
description: Use when designing or reviewing llms.txt, Markdown mirrors, bounded documentation exports or retrieval quality. Not for general search metadata and indexing (use cratis-discoverability).
|
|
4
4
|
license: MIT
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -62,10 +62,9 @@ behavior or general model quality.
|
|
|
62
62
|
counts as estimates for a named tokenizer or approximation, not universal
|
|
63
63
|
limits. Split oversized sets instead of silently truncating them.
|
|
64
64
|
6. Let an assistant that landed on a rendered page find that page's own
|
|
65
|
-
Markdown
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
change rather than claiming the current mirror provides one.
|
|
65
|
+
Markdown at a stable URL. The Cratis site emits `.md` mirrors from its
|
|
66
|
+
source and strips MDX syntax; that is not proof of parity with rendered
|
|
67
|
+
HTML. Check component content and language choices in the built mirror.
|
|
69
68
|
|
|
70
69
|
Cratis's own consumers are Prompter (the Discord documentation assistant),
|
|
71
70
|
Chronicle MCP, and developers' coding agents. A page that shows every client
|
|
@@ -102,6 +101,9 @@ to make the export smaller.
|
|
|
102
101
|
discovery through the site/root index and robots/sitemap policy without
|
|
103
102
|
claiming that public accessibility guarantees indexing by any AI vendor.
|
|
104
103
|
|
|
104
|
+
Use `cratis-discoverability` for general search metadata and
|
|
105
|
+
`cratis-documentation-writing` for the human-facing page structure.
|
|
106
|
+
|
|
105
107
|
Report the output URLs, what representation they carry, measured scope, and
|
|
106
108
|
checks actually run. Never count a static file-presence check as proof that an
|
|
107
109
|
assistant can retrieve the correct answer.
|
|
@@ -14,9 +14,7 @@ Start with one outcome someone needs and the request or trigger that starts it.
|
|
|
14
14
|
- **Automation:** Which local fact, schedule or application signal calls for follow-up? Name the addressed target and effect: invoke a command if a decision remains, or record an already known fact. For example, a local `DirectoryAuthorSeen` triggers a welcome request for that author, not proof of delivery.
|
|
15
15
|
- **Translate:** Which vocabulary boundary does the data cross? Inbound, map a stable outside key and meaningful change to a local fact. If the Directory supplies the Library author ID, its first observation of Aster can produce `DirectoryAuthorSeen` on that author's history; an identical observation can succeed without appending. Keep the welcome separate. Outbound, map private `AuthorRegistered` to one public `AuthorPublished` contract, retaining the author's key and name; transport is a separate check.
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
When recording the agreed values in Screenplay, a primitive-backed concept names one `Uuid`, `String`, `Int`, `Decimal`, `Bool`, `Date` or `DateTime` value. Use names that distinguish equal-looking IDs with different owners. Mark personal data on the concept with `pii` and document why the classification applies. Identify the person the data concerns separately from the stream address. A classification does not by itself establish lawful use or successful erasure.
|
|
17
|
+
Keep facts that always follow from one decision as productions of that decision. For conditional follow-up, name the trigger, state, condition and outcome. Ask what can be refused, succeed unchanged or overlap before choosing the facts and view.
|
|
20
18
|
|
|
21
19
|
## Test the decision with the owner
|
|
22
20
|
|
|
@@ -28,6 +26,6 @@ Turn feedback into a contrasting example before changing the rule. [Review one s
|
|
|
28
26
|
|
|
29
27
|
**Code-first by default.** Take accepted examples directly to deliver the slice (`cratis-platform-deliver-slice` skill in `cratis/application`): declare the event type, implement the Arc decision, project and query the view, and connect the UI as applicable. No `.play` file, export, handoff or Stage required.
|
|
30
28
|
|
|
31
|
-
**
|
|
29
|
+
**Choose model-first delivery when** the `general` rule in `cratis/application` selects it after checking opt-in and frozen status. Use the [Screenplay handoff steps](references/model-first.md).
|
|
32
30
|
|
|
33
31
|
**Hand over:** slice name and kind, intent or trigger, addressed identity, field origins, event type and payload where applicable, read result or follow-up, agreed contrasting examples, dependent slices, owner and remaining assumptions. Acceptance records a domain decision, not permission to execute. On either path, verify the event schema, target identity and observable outcome on the authorized target, not just generated files or model results.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Specify an accepted Screenplay handoff
|
|
2
|
+
|
|
3
|
+
Use the skills from `cratis/screenplay` to open the workspace (`cratis-screenplay-onboard-workspace` skill). Declare commands, facts and views (`cratis-screenplay-declare-slice` skill) as needed; for interactive work, bind the gesture, form or read (`cratis-screenplay-model-interaction` skill). For system work, model the local reaction (`cratis-screenplay-model-automation` skill) or boundary translation (`cratis-screenplay-model-translation` skill) without inventing a screen. Specify the outcome (`cratis-screenplay-specify-outcome` skill), obtain acceptance for the exact revision (`cratis-screenplay-accept-model` skill), then hand off the slice (`cratis-screenplay-handoff-slice` skill). For changes, revise and recheck (`cratis-screenplay-edit-workspace` skill) before seeking acceptance again. With separate authorization, render with Stage (`cratis-stage-render-slice` skill in `cratis/stage`) or implement manually (`cratis-platform-deliver-slice` skill in `cratis/application`).
|
|
4
|
+
|
|
5
|
+
Screenplay `optional` permits absence on the fact. A render plan can refuse a property shape the model accepts. Verify Stage target support with a read-only render check; do not invent a required value or change an agreed rule to get a plan.
|
|
6
|
+
|
|
7
|
+
When recording the agreed values in Screenplay, a primitive-backed concept names one `Uuid`, `String`, `Int`, `Decimal`, `Bool`, `Date` or `DateTime` value. Use names that distinguish equal-looking IDs with different owners. Mark personal data on the concept with `pii` and document why the classification applies. Identify the person the data concerns separately from the stream address. A classification does not by itself establish lawful use or successful erasure.
|
|
@@ -11,11 +11,11 @@ If the starting point is code, [trace existing behavior](../cratis-modeling-trac
|
|
|
11
11
|
2. **Collect facts before ordering them.** Ask what became true during that instance. Write candidate facts in the past tense: “author registered,” not “register author.” Keep questions separate. Broaden the account only when another fact or outcome distinguishes a path that matters to the owner.
|
|
12
12
|
3. **Put the facts in story order.** Ask which earlier fact made each later step possible. Mark independent steps that can overlap or happen in either order. Where outcomes differ, note the condition that selects the branch, or mark it unknown. Story order implies neither a single transaction nor guaranteed order across histories.
|
|
13
13
|
4. **Fill in what happened between facts.** What did the person know or see, what did they request, and what did they see next? If nobody acted, name the trigger, such as a schedule or an outside notification. Distinguish the request from its outcome: pressing a button does not establish a business fact.
|
|
14
|
-
5. **Locate each fact.** Name the business boundary that owns its meaning and the specific instance whose history changes (the event source ID). The caller need not be that instance. Look for changes in vocabulary or decision authority, not database tables, pages or reporting lines. One storyline can cross several features.
|
|
14
|
+
5. **Locate each fact.** Name the business boundary that owns its meaning and the specific instance whose history changes (the event source ID). The caller need not be that instance. Keep personal identifiers out of the history address; use a stable surrogate when necessary. Look for changes in vocabulary or decision authority, not database tables, pages or reporting lines. One storyline can cross several features.
|
|
15
15
|
|
|
16
16
|
Before calling the story complete, ask what else can start it, who can change their mind, what can fail or time out, and what happens on a repeat or after the apparent end. For each material branch, record a fact, a question, a deliberate exclusion or why it cannot occur. Separate stated rules from inference and assumptions. Preserve thresholds and deadlines verbatim with their source; present contradictions to the owner rather than averaging them.
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
**Choose workshop intake when** several participants must reconcile their accounts. **Choose document intake when** a tender or policy package supplies the evidence. Use [group and document intake](references/group-and-document-intake.md) before the handoff.
|
|
19
19
|
|
|
20
20
|
## Read back the timeline
|
|
21
21
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Group and document intake
|
|
2
2
|
|
|
3
|
-
**Workshop:** Name a facilitator to guide the rounds, a scribe to record facts and unresolved questions, and a decision owner to resolve them. Before comparing accounts, ask participants who performed or received the work to note independently what changed in the same instance. If accounts differ, ask for an instance that distinguishes them. Use the timeline steps: facts first, then order, then triggers, information and exceptions. At the end of each round,
|
|
3
|
+
**Workshop:** Name a facilitator to guide the rounds, a scribe to record facts and unresolved questions, and a decision owner to resolve them. Before comparing accounts, ask participants who performed or received the work to note independently what changed in the same instance. If accounts differ, ask for an instance that distinguishes them. Use the timeline steps: facts first, then order, then triggers, information and exceptions. At the end of each round, read the timeline back to the decision owner; correct it or log the disagreement with an owner and next question. Keep one running unresolved list rather than treating silence as agreement.
|
|
4
4
|
|
|
5
5
|
**Document package:** Make a fact ledger for a tender, policy or requirements package. Give each fact an ID, a document and section locator, and certainty (**stated**, **inferred** or **assumed**). Follow the discovery guidance on verbatim thresholds; link contradictory rows by ID. Before design handoff give every row a disposition: **modeled in** (name the timeline step or slice), **excluded deliberately** (record the owner's reason), or **open** (name the decision needed and owner). Distinguish who must comply from who enforces the obligation: a bidder must submit by noon, but if the external portal closes submissions, do not invent a local refusal without an agreed application rule.
|
|
@@ -16,6 +16,6 @@ Report findings in order of consequence. Name the affected element, distinguish
|
|
|
16
16
|
|
|
17
17
|
> **RegisterAuthor — blank name accepted.** The agreed example requires refusal with no append. The form blocks submission, but the supplied server request result and event history show a blank name accepted and recorded. A caller outside the form can therefore register an unnamed author. Keep the form feedback; enforce the name rule on the server command (`cratis-arc-validate-command` skill in `cratis/arc`).
|
|
18
18
|
|
|
19
|
-
If intent, guard or destination is unknown, ask one question that would settle it. A suspicious name alone is not a finding. If nothing consequential emerges, report “no findings in the examined path” and name what was not examined. A review does not confer acceptance: report without
|
|
19
|
+
If intent, guard or destination is unknown, ask one question that would settle it. A suspicious name alone is not a finding. If nothing consequential emerges, report “no findings in the examined path” and name what was not examined. A review does not confer acceptance: report findings without making changes. Recommend an executable contrasting example when evidence is missing, but obtain approval before implementing or running a mutation.
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
**Choose a resilience review when** the question is what still works when a dependency or business condition changes. Run the [read-only resilience review](references/resilience-review.md).
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
**One copy left.** Two borrowers can each see one copy in a display query. If their appends do not check for intervening stock changes, both can take it. Inspect the read used to decide, its key, the events that change availability and the guard actually applied at commit:
|
|
8
8
|
|
|
9
|
-
- In Arc/.NET with Chronicle, an eligible read-model parameter in a command validator constructor or handler can protect the decision under effective read protection `On`. Check that the read is not marked unprotected. If it guards the right book and stock-changing events, using a read model is not a defect.
|
|
9
|
+
- In Arc/.NET with Chronicle, an eligible read-model parameter in a command validator constructor or command handler can protect the decision under effective read protection `On`. Check that the read is not marked unprotected. If it guards the right book and stock-changing events, using a read model is not a defect.
|
|
10
10
|
- In standalone Chronicle, even a passive read alone is not a guard. Bind the stock decision to the append (`cratis-chronicle-protect-decision` skill in `cratis/chronicle`) so a competing change refuses the borrowing. If the guard is not visible, ask which append guard covers this book before reporting a race.
|
|
11
11
|
- If the actual rule is uniqueness or creation at most once, use an append-time kernel constraint (`cratis-chronicle-constrain-append` skill in `cratis/chronicle`). A successful preflight check cannot reserve the value.
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
**Rebuilding the list sends a welcome.** If the mapping that reconstructs the Authors view calls the mail service, rebuilding that answer can contact authors again. Keep the projection responsible for the view (`cratis-chronicle-project-view` skill in `cratis/chronicle`); put the intentional external effect in a reaction to the committed fact (`cratis-chronicle-react-to-fact` skill in `cratis/chronicle`).
|
|
16
16
|
|
|
17
|
-
**Retry sends a second welcome.** The receiver accepts the first request, but the handler fails before recording success. `OnceOnly`
|
|
17
|
+
**Retry sends a second welcome.** The receiver accepts the first request, but the handler fails before recording success. `OnceOnly` skips delivery during replay, not ordinary recovery; a fresh request ID on recovery also hides the duplicate from the receiver. If only one welcome is intended, reuse a stable delivery identity (`cratis-chronicle-react-to-fact` skill in `cratis/chronicle`) that the receiver deduplicates, or record a receipt atomically with the effect. Writing a receipt after a separate external call leaves the same failure window.
|
|
18
18
|
|
|
19
19
|
## Will stored history still mean what it did?
|
|
20
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-modeling-trace-existing-behavior
|
|
3
|
-
description: Use when an existing application with source or shipped evidence needs a candidate event model, or its behavior must be compared with an
|
|
3
|
+
description: Use when an existing application with source or shipped evidence needs a candidate event model, or its behavior must be compared with an accepted baseline. Not for recovering candidate Screenplay intent from recordings (use cratis-screenplay-recover-intent).
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Trace one journey through existing code
|
|
@@ -9,10 +9,9 @@ Let the user choose a journey with a start and a result, such as a librarian reg
|
|
|
9
9
|
|
|
10
10
|
## Choose the mode
|
|
11
11
|
|
|
12
|
-
- **
|
|
13
|
-
- **
|
|
14
|
-
|
|
15
|
-
- **Reconstruct without source.** When shipped artifacts or captured interface evidence are all that is available, use [black-box intake and rebuild replay](references/blackbox-intake.md).
|
|
12
|
+
- **Default: reconstruct current behavior.** Without an agreed baseline, trace the journey as implemented. Propose candidate slices and business facts separately from the implementation. Do not claim that anything changed since an earlier revision.
|
|
13
|
+
- **Choose baseline comparison when** an accepted description exists. Identify the accepted examples or the named model revision, its acceptance status and the code revision being inspected. Note any included uncommitted changes. Compare the same actor, inputs, address and outcome on each side. If the actual code change range is known, use it to focus inspection, then follow affected callers and consumers beyond the diff. A difference does not decide which side should change.
|
|
14
|
+
- **Choose black-box reconstruction when** only shipped artifacts or captured interface evidence are available. Use [black-box intake and rebuild replay](references/blackbox-intake.md).
|
|
16
15
|
|
|
17
16
|
On a later pass, [resume from a recorded evidence watermark](references/resuming-a-trace.md). Only when replacing the legacy system incrementally, use [side-car migration](references/side-car-migration.md).
|
|
18
17
|
|
|
@@ -25,25 +24,8 @@ On a later pass, [resume from a recorded evidence watermark](references/resuming
|
|
|
25
24
|
|
|
26
25
|
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 action. Do not bypass access controls to fill an evidence gap.
|
|
27
26
|
|
|
28
|
-
|
|
29
|
-
| --- | --- |
|
|
30
|
-
| One gesture sends several requests or updates several tables | Find the decisions and transaction boundaries. Neither request count nor table count tells you how many business facts occurred. |
|
|
31
|
-
| Generic update route | Compare its callers: correcting a spelling and transferring ownership may have different actors, rules and outcomes. |
|
|
32
|
-
| A successful submission | Look for the actual uniqueness or duplicate-request rule. One success proves neither. Distinguish authenticated identity from editable form data. |
|
|
33
|
-
| Mock or seeded row | Treat the test as a hypothesis. Find the production path that could produce this state before proposing any history as `given`. |
|
|
34
|
-
|
|
35
|
-
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.
|
|
27
|
+
For ambiguous signals, enforcement points or a worked baseline comparison, use [compare evidence](references/compare-evidence.md).
|
|
36
28
|
|
|
37
29
|
If static inspection leaves a gap and the owner proposes a generator or captured traffic, [check what the recovery tool may run or disclose](references/recovery-inputs.md) first.
|
|
38
30
|
|
|
39
|
-
## Example: compare Library registration and listing
|
|
40
|
-
|
|
41
|
-
Suppose the agreed examples require registration for Aster and refusal for a blank name. 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.
|
|
42
|
-
|
|
43
|
-
| Slice / example | Baseline | Finding |
|
|
44
|
-
|---|---|---|
|
|
45
|
-
| RegisterAuthor / librarian submits Aster | Record registration for author ID `11111111-1111-4111-8111-111111111111` | Matched by inspection: the handler returns `AuthorRegistered` with `Name = Aster` for that ID; the command pipeline appends it. |
|
|
46
|
-
| ListAuthors / read after registration | Show Aster under the same ID | Matched by inspection: the projection keys the row by event source and takes the name from the payload. Observed in the supplied screen result: Aster is visible, not the ID. |
|
|
47
|
-
| RegisterAuthor / blank name | Refuse; no registration | 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. |
|
|
48
|
-
|
|
49
31
|
Take disputed intent to [timeline discovery](../cratis-modeling-discover-timeline/SKILL.md). Ask the requester, or their named decision owner, one batch of unresolved questions. If asked to proceed provisionally, state which outcomes remain unaccepted. Take confirmed changes to [slice design](../cratis-modeling-design-event-model/SKILL.md). Neither passing examples nor your judgment grant acceptance; an agreed example is not authorization to execute.
|
package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/compare-evidence.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Match the evidence to the decision
|
|
2
|
+
|
|
3
|
+
| Signal | What to trace before naming the slice |
|
|
4
|
+
| --- | --- |
|
|
5
|
+
| One gesture sends several requests or updates several tables | Find the decisions and transaction boundaries. Neither request count nor table count tells you how many business facts occurred. |
|
|
6
|
+
| Generic update route | Compare its callers: correcting a spelling and transferring ownership may have different actors, rules and outcomes. |
|
|
7
|
+
| A successful submission | Look for the actual uniqueness or duplicate-request rule. One success proves neither. Distinguish authenticated identity from editable form data. |
|
|
8
|
+
| Mock or seeded row | Treat the test as a hypothesis. Find the production path that could produce this state before proposing any history as `given`. |
|
|
9
|
+
|
|
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
|
+
|
|
12
|
+
## Example: compare Library registration and listing
|
|
13
|
+
|
|
14
|
+
Suppose the agreed examples require registration for Aster and refusal for a blank name. 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
|
+
|
|
16
|
+
| Slice / example | Baseline | Finding |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
| RegisterAuthor / librarian submits Aster | Record registration for author ID `11111111-1111-4111-8111-111111111111` | Matched by inspection: the handler returns `AuthorRegistered` with `Name = Aster` for that ID; the command pipeline appends it. |
|
|
19
|
+
| ListAuthors / read after registration | Show Aster under the same ID | Matched by inspection: the projection keys the row by event source and takes the name from the payload. Observed in the supplied screen result: Aster is visible, not the ID. |
|
|
20
|
+
| RegisterAuthor / blank name | Refuse; no registration | 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. |
|
package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/recovery-inputs.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Recover a draft without trusting the tool's guesses
|
|
2
2
|
|
|
3
|
-
**Recovering from source?** Use a trusted checkout. `cratis screenplay generate` evaluates the project; analyzing a project is not the same as reading text. MSBuild targets can execute and the intermediate output can change. Review the project, target imports, destination and intended provider first. Do not run an unfamiliar project's build graph to investigate it. For a trusted project at `src/Library/Library.csproj`, an example invocation is `cratis screenplay generate src/Library/Library.csproj --
|
|
3
|
+
**Recovering from source?** Use a trusted checkout. `cratis screenplay generate` evaluates the project; analyzing a project is not the same as reading text. MSBuild targets can execute and the intermediate output can change. Review the project, target imports, destination and intended provider first. Do not run an unfamiliar project's build graph to investigate it. For a trusted project at `src/Library/Library.csproj`, an example invocation is `cratis screenplay generate src/Library/Library.csproj --file recovered.play` with approval to create that file. Detection covers Arc, Marten and Marten with Wolverine; resolve competing matches with the owner. An explicit `--provider` is not an isolation boundary for the adapters inside the selected provider. Inspect the generator diagnostics alongside the output. For each unrepresented rule or protection, record the original evidence and how the draft differs. Failure to bind is not permission to drop a rule, and an inferred name is not the vocabulary owner's decision.
|
|
4
4
|
|
|
5
5
|
**Walking a running system to recover a Screenplay model?** Use the “Recover from a running system” in `cratis-screenplay-recover-intent` (`cratis/screenplay`).
|
|
6
6
|
|
|
7
|
-
**Recovering from observations?** Agree the service, tables, interval, data owner, environment and retention before requesting a capture. For production capture or cleanup DDL, propose the action and hand
|
|
7
|
+
**Recovering from observations?** Agree the service, tables, interval, data owner, environment and retention before requesting a capture. For production capture or cleanup DDL, propose the exact action and target, then hand it to the authorized operator to review, approve, and execute. Prefer synthetic traffic. Do not point an extractor at a shared database with permission to configure change capture just to see what happens. Have the DBA review replication and cleanup and limit access to the intended tables. Keep connection strings out of committed configuration. Allowlist just the needed telemetry attributes; full URLs and SQL text can disclose customer data even when no body is captured. Avoid recording secrets in the first place rather than relying on later redaction.
|
|
8
8
|
|
|
9
|
-
For an already approved local capture folder named `captures`, `cratis prologue interpret ./captures --no-llm` interprets without sending evidence to a model. Without
|
|
9
|
+
Default to local, heuristics-only interpretation. For an already approved local capture folder named `captures`, `cratis prologue interpret ./captures --no-llm` interprets without sending evidence to a model. **Choose model refinement only when** local interpretation cannot answer the agreed question and the owner authorizes disclosure. Without `--no-llm`, a local setting or global provider can select it. Before allowing that path, review the effective provider, endpoint, model, exact evidence and destination with the owner. A provider notice is disclosure, not consent. Inspect the resulting file locally. Correlated writes suggest a sequence, not an authorization rule or proven reason for a change. Trace reads and user-visible fields back to screens and query handlers. Mark guesses and take them to the model owner before implementation.
|
|
10
10
|
|
|
11
11
|
For a later pass, include the loss table from [resuming a trace](resuming-a-trace.md).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-multi-service-local-orchestration
|
|
3
|
-
description: Use when laying out or locally running several Cratis services with Aspire or Compose, or diagnosing a wrong local kernel or store. Not for
|
|
3
|
+
description: Use when laying out or locally running several Cratis services with Aspire or Compose, or diagnosing a wrong local kernel or store. Not for deploying the Chronicle kernel to production (use cratis-chronicle-deploy-kernel).
|
|
4
4
|
license: MIT
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -49,68 +49,13 @@ Shop/
|
|
|
49
49
|
Both need the same five decisions per service: kernel address, store name,
|
|
50
50
|
read-model database, startup order and a health endpoint.
|
|
51
51
|
|
|
52
|
-
## Aspire AppHost
|
|
52
|
+
## Default: Aspire AppHost
|
|
53
53
|
|
|
54
|
-
Add the
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
// AppHost/Program.cs
|
|
60
|
-
using Aspire.Hosting.ApplicationModel;
|
|
61
|
-
using Cratis.Chronicle.Aspire;
|
|
62
|
-
|
|
63
|
-
var builder = DistributedApplication.CreateBuilder(args);
|
|
64
|
-
|
|
65
|
-
var mongo = builder.AddCratisChronicleMongoDB();
|
|
66
|
-
var chronicle = builder.AddCratisChronicle("chronicle", c => c.WithMongoDB(mongo));
|
|
67
|
-
var grpc = chronicle.GetEndpoint("grpc");
|
|
68
|
-
|
|
69
|
-
// The development client id and secret come from the AppHost's own configuration,
|
|
70
|
-
// never from literals in source.
|
|
71
|
-
const string scheme = "chronicle://";
|
|
72
|
-
var chronicleClient = builder.Configuration["Chronicle:Client"];
|
|
73
|
-
var chronicleSecret = builder.Configuration["Chronicle:Secret"];
|
|
74
|
-
|
|
75
|
-
AddService<Projects.Ordering>("ordering", "Ordering");
|
|
76
|
-
AddService<Projects.Billing>("billing", "Billing");
|
|
77
|
-
|
|
78
|
-
builder.Build().Run();
|
|
79
|
-
|
|
80
|
-
void AddService<TProject>(string name, string eventStore)
|
|
81
|
-
where TProject : IProjectMetadata, new() =>
|
|
82
|
-
builder.AddProject<TProject>(name)
|
|
83
|
-
.WithEnvironment("Cratis__Chronicle__ConnectionString",
|
|
84
|
-
$"{scheme}{chronicleClient}:{chronicleSecret}@{grpc.Property(EndpointProperty.HostAndPort)}")
|
|
85
|
-
.WithEnvironment("Cratis__Chronicle__EventStore", eventStore)
|
|
86
|
-
.WithEnvironment("Cratis__MongoDB__Server", mongo.Resource.ConnectionStringExpression)
|
|
87
|
-
.WithEnvironment("Cratis__MongoDB__Database", eventStore)
|
|
88
|
-
.WaitFor(chronicle);
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
Rules behind each line:
|
|
92
|
-
|
|
93
|
-
- **Set `Cratis__Chronicle__ConnectionString` explicitly.** `WithReference(chronicle)`
|
|
94
|
-
supplies the resource's connection string as `ConnectionStrings__chronicle`, a
|
|
95
|
-
setting the Chronicle client does not read; it binds `Cratis:Chronicle` and
|
|
96
|
-
otherwise falls back to `localhost:35000`. A service that appears to work with
|
|
97
|
-
only `WithReference` is reaching a kernel on port 35000 by accident.
|
|
98
|
-
- **Set `Cratis__Chronicle__EventStore` per service.** It is required, and it is the
|
|
99
|
-
origin name the other services' contracts use.
|
|
100
|
-
- **MongoDB must be a replica set.** `AddCratisChronicleMongoDB()` starts a
|
|
101
|
-
single-node replica set and hands back a connection string with
|
|
102
|
-
`directConnection=true`. Aspire's own `AddMongoDB` is a standalone server:
|
|
103
|
-
Chronicle's observers and observable queries then silently do nothing.
|
|
104
|
-
- **Point Arc's read models at the same server.** Each service's `Cratis:MongoDB`
|
|
105
|
-
`Server` is the replica set and `Database` is the service's event-store name,
|
|
106
|
-
the pairing the Stage-rendered scaffold uses.
|
|
107
|
-
- **`WaitFor(chronicle)`** orders startup; the client also reconnects on its own.
|
|
108
|
-
- The development client and secret are for a local kernel only. Publish mode
|
|
109
|
-
selects the production image, which needs storage, a TLS certificate and an
|
|
110
|
-
encryption certificate. Use [cratis-chronicle-deploy-kernel](../cratis-chronicle-deploy-kernel/SKILL.md) for production deployment.
|
|
111
|
-
|
|
112
|
-
To reach the kernel at a fixed address (the CLI default, a browser bookmark), pin
|
|
113
|
-
the host port: `chronicle.WithEndpoint("grpc", endpoint => endpoint.Port = 35000);`.
|
|
54
|
+
Add the Chronicle Aspire package to the AppHost. Use one local kernel and one
|
|
55
|
+
MongoDB replica set with a distinct event store and read-model database for
|
|
56
|
+
each service. Each service references the shared kernel through Aspire.
|
|
57
|
+
Read [the Aspire AppHost example](references/aspire.md) for the wiring and for
|
|
58
|
+
choosing a slim image, a named resource, or a fixed host port.
|
|
114
59
|
|
|
115
60
|
## Docker Compose
|
|
116
61
|
|
|
@@ -171,6 +116,6 @@ pinned port, use the host port the dashboard shows for the `grpc` endpoint.
|
|
|
171
116
|
## Route near misses
|
|
172
117
|
|
|
173
118
|
- Contracts and subscriptions: the `cratis-chronicle-publish-contract` skill (in `cratis/chronicle`). Verifying delivery: the `cratis-platform-verify-service-handoff` skill (in `cratis/application/arc-chronicle`).
|
|
174
|
-
- Kernel storage, TLS, certificates, clustering and production images:
|
|
119
|
+
- Kernel storage, TLS, certificates, clustering and production images: `cratis-chronicle-deploy-kernel`.
|
|
175
120
|
- Bootstrapping one Arc service: the `cratis-arc-host-application` skill (in `cratis/arc`); with Chronicle, use the `cratis-chronicle-connect-application` skill (in `cratis/chronicle/client-dotnet`).
|
|
176
121
|
- Rendering a service from its model: the `cratis-stage-render-slice` skill (in `cratis/stage`).
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Aspire AppHost
|
|
2
|
+
|
|
3
|
+
Add the `Cratis.Chronicle.Aspire` package to the AppHost only. `AddCratisChronicle`
|
|
4
|
+
runs the development image in run mode (bundled MongoDB, self-signed TLS, the
|
|
5
|
+
well-known development client) and the production image in publish mode.
|
|
6
|
+
|
|
7
|
+
```csharp
|
|
8
|
+
// AppHost/Program.cs
|
|
9
|
+
using Aspire.Hosting;
|
|
10
|
+
using Aspire.Hosting.ApplicationModel;
|
|
11
|
+
using Cratis.Chronicle.Aspire;
|
|
12
|
+
|
|
13
|
+
var builder = DistributedApplication.CreateBuilder(args);
|
|
14
|
+
|
|
15
|
+
var mongo = builder.AddCratisChronicleMongoDB();
|
|
16
|
+
var chronicle = builder.AddCratisChronicle(configure: c => c.WithMongoDB(mongo))
|
|
17
|
+
.WithImageTag("latest-development-slim");
|
|
18
|
+
|
|
19
|
+
AddService<Projects.Ordering>("ordering", "Ordering");
|
|
20
|
+
AddService<Projects.Billing>("billing", "Billing");
|
|
21
|
+
|
|
22
|
+
builder.Build().Run();
|
|
23
|
+
|
|
24
|
+
void AddService<TProject>(string name, string eventStore)
|
|
25
|
+
where TProject : IProjectMetadata, new() =>
|
|
26
|
+
builder.AddProject<TProject>(name)
|
|
27
|
+
.WithReference(chronicle)
|
|
28
|
+
.WithEnvironment("Cratis__Chronicle__EventStore", eventStore)
|
|
29
|
+
.WithEnvironment("Cratis__MongoDB__Server", mongo.Resource.ConnectionStringExpression)
|
|
30
|
+
.WithEnvironment("Cratis__MongoDB__Database", eventStore)
|
|
31
|
+
.WaitFor(chronicle);
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Rules behind each line:
|
|
35
|
+
|
|
36
|
+
- **Use `WithReference(chronicle)` and call `builder.AddCratisChronicle()` in each service.** The default client binding reads `ConnectionStrings:chronicle`, which Aspire fills with its assigned host and port. Remove stale `Cratis:Chronicle:ConnectionString` settings that otherwise override the reference. For a differently named resource, use `builder.AddCratisChronicleUsingConnectionString("events")` for an `events` resource. That name does not select the event store.
|
|
37
|
+
- **Set `Cratis__Chronicle__EventStore` per service to match its contract origin.**
|
|
38
|
+
A .NET host can derive an unspecified store from the program identifier or
|
|
39
|
+
entry assembly name, but a shared kernel and cross-store subscriptions need
|
|
40
|
+
the stable names agreed by the services.
|
|
41
|
+
- **MongoDB must be a replica set.** `AddCratisChronicleMongoDB()` starts a
|
|
42
|
+
single-node replica set and hands back a connection string with
|
|
43
|
+
`directConnection=true`. Aspire's own `AddMongoDB` is a standalone server:
|
|
44
|
+
Chronicle's observers and observable queries then silently do nothing.
|
|
45
|
+
- **Point Arc's read models at the same server.** Each service's `Cratis:MongoDB`
|
|
46
|
+
`Server` is the replica set and `Database` is the service's event-store name,
|
|
47
|
+
the pairing the Stage-rendered scaffold uses.
|
|
48
|
+
- **`WaitFor(chronicle)`** orders startup; the client also reconnects on its own.
|
|
49
|
+
- The development credentials and explicit slim image tag are local-only. Remove the image tag override when using Aspire publish mode so it selects the production image; configure production storage and certificates separately. Use `cratis-chronicle-deploy-kernel` for production deployment.
|
|
50
|
+
|
|
51
|
+
To reach the kernel at a fixed address (the CLI default, a browser bookmark), pin
|
|
52
|
+
the host port: `chronicle.WithEndpoint("grpc", endpoint => endpoint.Port = 35000);`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-observability
|
|
3
|
-
description: Use when an application or kernel must export traces, metrics and logs across services or change published telemetry. Not for inspecting a Chronicle observer checkpoint.
|
|
3
|
+
description: Use when an application or kernel must export traces, metrics and logs across services or change published telemetry. Not for inspecting a Chronicle observer checkpoint (use cratis-chronicle-inspect-observer).
|
|
4
4
|
compatibility: An OpenTelemetry-compatible collector and access to the application's runtime configuration.
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -39,30 +39,16 @@ Arc records at most 1,000 distinct command types or query names per metric and f
|
|
|
39
39
|
|
|
40
40
|
Activity source: `Cratis.Chronicle.Client`. Registration: `AddCratisOpenTelemetry` covers it through `Cratis.*`. Without it, `AddCratisChronicleInstrumentation()` (package `Cratis.Chronicle.AspNetCore`, namespace `Cratis.Chronicle.AspNetCore.OpenTelemetry`) or `AddSource("Cratis.Chronicle.Client")` is required, in the same tracing configuration as the exporter.
|
|
41
41
|
|
|
42
|
-
|
|
|
42
|
+
| Span | Scope attributes |
|
|
43
43
|
| --- | --- |
|
|
44
|
-
| `client.event_sequence.append` | `
|
|
45
|
-
| `client.event_sequence.append_many` | `
|
|
46
|
-
| `client.
|
|
47
|
-
| `client.
|
|
48
|
-
| `client.
|
|
44
|
+
| `client.event_sequence.append` | `event_store_name`, `namespace_name`, `event_sequence_id`, `event_source_type`, `event_source_id` (when traced) |
|
|
45
|
+
| `client.event_sequence.append_many` | `event_store_name`, `namespace_name`, `event_sequence_id` |
|
|
46
|
+
| `client.reactor.handle` | `event_store_name`, `namespace_name`, `event_sequence_id`, `reactor_id` |
|
|
47
|
+
| `client.reducer.handle` | `event_store_name`, `namespace_name`, `event_sequence_id`, `reducer_id` |
|
|
48
|
+
| `client.unit_of_work.commit`, `client.unit_of_work.rollback` | `correlation_id` |
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
Failed append and handle operations set Error status and `error.type` without messages. Append spans carry `cratis.chronicle.append.outcome`: `success`, `error`, `concurrency_violation` or `constraint_violation`.
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
Join Arc command and client append spans by trace id. Search the Arc command by `cratis.correlation_id` or the unit-of-work spans by `correlation_id`. Append and observer spans do not carry that attribute; find observers by store, namespace, sequence and observer identifier.
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
| --- | --- | --- |
|
|
56
|
-
| append | `event_store_name`, `namespace_name`, `event_sequence_id`, `event_source_type`, `event_source_id` (when traced) | `cratis.event_store.name`, `cratis.event_store.namespace`, `cratis.event_sequence.id`, `cratis.event_source.type`, `cratis.event_source.id` (when traced) |
|
|
57
|
-
| append_many | `event_store_name`, `namespace_name`, `event_sequence_id` | the three matching shared keys |
|
|
58
|
-
| reactor handle | `event_store_name`, `namespace_name`, `event_sequence_id`, `reactor_id` | shared store, namespace and sequence keys, `cratis.observer.id`, `cratis.observer.type=reactor` |
|
|
59
|
-
| reducer handle | same with `reducer_id` | same with `cratis.observer.type=reducer` |
|
|
60
|
-
| unit of work commit and rollback | `correlation_id` | `cratis.correlation_id` |
|
|
61
|
-
|
|
62
|
-
So in Legacy mode (the default) no client span carries a shared key, and in either mode only the unit-of-work commit and rollback spans carry a correlation id; append, reactor and reducer spans never do. Correlate as follows: Arc command spans carry `cratis.correlation_id` and the client append sits in the same trace, so join them by trace id; the commit or rollback span carries the id under `correlation_id` (Legacy) or `cratis.correlation_id` (Convention); observer spans carry no correlation id, so identify them by observer id and store, namespace and sequence, not by correlation.
|
|
63
|
-
|
|
64
|
-
Kernel spans call the event source id `cratis.eventsource.id`; client spans use `event_source_id`. Both follow their own exposure setting.
|
|
65
|
-
|
|
66
|
-
## Naming modes
|
|
67
|
-
|
|
68
|
-
Legacy names stay the default. Legacy keys are deprecated for removal in the next major version, so build new dashboards on convention names where the mode is available, and use `Both` only as a temporary migration mode.
|
|
54
|
+
Kernel spans call the event source id `cratis.eventsource.id`; client spans use `event_source_id`. Configure identifier exposure separately on the client and kernel.
|
|
@@ -7,24 +7,13 @@ The kernel is configured separately from the application: application telemetry
|
|
|
7
7
|
|
|
8
8
|
## Export
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Configure `OTEL_EXPORTER_OTLP_ENDPOINT` on the kernel for the chosen collector, then confirm `service.name=Chronicle` in the backend. The kernel subscribes to `Cratis.Chronicle`, `Microsoft.Orleans`, and `Grpc.AspNetCore.Server` meters and to the `Cratis.Chronicle` activity source. Outbound gRPC tracing is opt-in (`Cratis__Chronicle__Telemetry__GrpcClientTracing=true`). The kernel's per-instrument cardinality limit is 500; look for overflow before assuming that a missing scope has no data.
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Set through configuration or the environment form `Cratis__Chronicle__Telemetry__<Option>`.
|
|
15
|
-
|
|
16
|
-
| Option | Default | Effect |
|
|
17
|
-
| --- | --- | --- |
|
|
18
|
-
| `MetricNames` | `Legacy` | `Convention` publishes `cratis.chronicle.*` names; `Both` publishes both sets temporarily and raises volume |
|
|
19
|
-
| `OrleansTracing` | `false` | Orleans runtime and grain-call spans; very high volume |
|
|
20
|
-
| `GrpcClientTracing` | `false` | Outbound gRPC client spans; opt in only when needed |
|
|
21
|
-
| `MetricSeriesLimit` | `500` | Series per instrument before folding to `otel.metric.overflow=true` |
|
|
22
|
-
| `EventSourceIdTracing` | `Hashed` | `Raw`, `Hashed` or `Omitted` for `cratis.eventsource.id` |
|
|
23
|
-
| `EventSourceIdHashKey` | generated per process | At least 32 characters when `Hashed` is chosen explicitly; share with clients to correlate |
|
|
12
|
+
Event source ids are sent as `cratis.eventsource.id` by default (`Raw`). If the backend does not need those ids, set `Cratis__Chronicle__Telemetry__EventSourceIdTracing=Omitted`. Choose `Hashed` when the same id must remain searchable without exposing its raw value. Supply `Cratis__Chronicle__Telemetry__EventSourceIdHashKey` from a secret store (at least 32 characters); use the same key in each client and kernel that must agree. These options do not redact logs.
|
|
24
13
|
|
|
25
14
|
## Observer failure metrics
|
|
26
15
|
|
|
27
|
-
Counters on the `Cratis.Chronicle` meter
|
|
16
|
+
Counters on the `Cratis.Chronicle` meter: `chronicle-observer-partitions-failed`, `chronicle-observer-partition-retry-attempts`, `chronicle-observer-partitions-quarantined`, `chronicle-observer-quarantined`. Each carries only `EventStore`, `Namespace`, `ObserverId` and `EventSequenceId`, never a partition or event source id. A healthy observer has no series until its first failure, so alert on increase and never depend on seeing a `0` first. Prometheus names depend on backend translation: check the exposed name before writing a query.
|
|
28
17
|
|
|
29
18
|
## Local viewer
|
|
30
19
|
|
|
@@ -17,7 +17,7 @@ The single entry point is `AddCratisOpenTelemetry` from the `Cratis.OpenTelemetr
|
|
|
17
17
|
```csharp
|
|
18
18
|
using Cratis.OpenTelemetry;
|
|
19
19
|
|
|
20
|
-
builder.AddCratisOpenTelemetry(
|
|
20
|
+
builder.AddCratisOpenTelemetry();
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
`builder` is the host's `IHostApplicationBuilder` (a `WebApplicationBuilder` or a worker host builder). Call it once, before building the host.
|
|
@@ -51,21 +51,19 @@ Read `references/dotnet-setup-and-options.md` when you need the option table, en
|
|
|
51
51
|
| `Cratis.Chronicle.Client` | Client spans for append, unit of work, reactor and reducer handling |
|
|
52
52
|
| `Cratis.Chronicle` | Kernel spans and meters |
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
Chronicle emits **legacy** names by default (client spans `client.event_sequence.append`, kernel metric names unchanged). `Telemetry:SpanNames=Convention` (client) and `Telemetry:MetricNames=Convention` or `Both` (kernel) opt into the `cratis.chronicle.*` names. Dashboards and alerts must use whichever mode is active; never sum a legacy and a convention series.
|
|
54
|
+
Use the emitted span, attribute and metric names in [Arc and Chronicle signals](arc-and-chronicle-signals.md) when checking dashboards.
|
|
57
55
|
|
|
58
56
|
## Trace boundaries
|
|
59
57
|
|
|
60
58
|
- A command reaching the Chronicle client and its append calls are one trace; the client propagates trace context over gRPC.
|
|
61
59
|
- Observer, reactor and reducer processing is **not** guaranteed to sit under the command's trace. Do not expect observer spans inside the trace of the command that caused them.
|
|
62
|
-
- Correlation is partial. Arc spans and the unit-of-work commit and rollback client spans carry the correlation id (`cratis.correlation_id
|
|
60
|
+
- Correlation is partial. Arc spans and the unit-of-work commit and rollback client spans carry the correlation id (`cratis.correlation_id` on Arc, `correlation_id` on the unit of work). Append, reactor and reducer spans carry none, and observer spans cannot be joined to the command by id: find them by observer id, store, namespace and sequence. The only baggage key is `cratis.correlation_id`. Exact attributes are in `references/arc-and-chronicle-signals.md`.
|
|
63
61
|
|
|
64
62
|
## Never record
|
|
65
63
|
|
|
66
64
|
The rule lists the contract. The practical traps:
|
|
67
65
|
|
|
68
|
-
- Event source ids: the .NET client's `EventSourceIdTracing` defaults to `Raw`, so ids reach the backend unchanged. Choose `Hashed` (needs `Telemetry:EventSourceIdHashKey` of at least 32 characters from a secret store) or `Omitted` unless the id is known to be non-personal. The kernel defaults to `
|
|
66
|
+
- Event source ids: the .NET client's `EventSourceIdTracing` defaults to `Raw`, so ids reach the backend unchanged. Choose `Hashed` (needs `Telemetry:EventSourceIdHashKey` of at least 32 characters from a secret store) or `Omitted` unless the id is known to be non-personal. The kernel also defaults to `Raw`. Set client and kernel separately, with the same key to correlate. These options do not redact logs.
|
|
69
67
|
- Failed append and handle spans carry `error.type`, not exception messages. Do the same in your own spans; `IncludeExceptionDetails` is off by default, keep it off in production.
|
|
70
68
|
- No command, event, query or read model payloads, tokens or identity values in span attributes, metric tags, baggage or resource attributes. Tenant is never a resource attribute or baggage.
|
|
71
69
|
- Metric tags are bounded categories, never ids.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Add the OpenTelemetry SDK and exporter in the application when traces must leave the process; the Chronicle client API dependency alone does not export them. Configure the resource service name and the `:trace_context` propagator. For append duration, attach one handler to `[:cratis, :chronicle, :client, :append, :stop]` with `:telemetry.attach/4`. Read `measurements.duration` in native time units and convert it with `System.convert_time_unit/3`. A stop can carry `error: true`; count it separately rather than treating every stop as success.
|
|
4
4
|
|
|
5
|
-
Record a bounded outcome and duration, not event contents or source IDs. `[:chronicle, :observer, :lag]` is a different event; an append duration is not delivery lag. Append a synthetic event inside an active span, then find the corresponding kernel span under the same trace. The outbound interceptor propagates W3C trace context for the calling process. If the trace breaks, check that the application started an SDK, the exporter is configured and the active context reached the process making the call.
|
|
5
|
+
Record a bounded outcome and duration, not event contents or source IDs. `[:chronicle, :observer, :lag]` is a different event; an append duration is not delivery lag. Append a synthetic event inside an active span, then find the corresponding kernel span under the same trace. The outbound interceptor propagates W3C trace context for the calling process. If the trace breaks, check that the application started an SDK, the exporter is configured and the active context reached the process making the call. See [Chronicle kernel export](chronicle-kernel-export.md) for kernel meter subscriptions. On the Elixir side, `Cratis.Chronicle.Client` is the span scope, not a meter to attach with `:telemetry`.
|
|
6
6
|
|
|
7
7
|
Apply the same `:start`, `:stop` and `:exception` handling to `[:cratis, :chronicle, :client, :reactor, :handle, ...]` and `[:cratis, :chronicle, :client, :reducer, :reduce, ...]`; a returned error can set `error: true` on `:stop`. Keep `cratis.event_source.id` off (the default): it can identify a person. The opt-in is `config :cratis_chronicle, trace_event_source_id: true`; use it only when the privacy policy permits the attribute.
|
|
8
8
|
|
|
@@ -8,17 +8,16 @@ Check in this order for any missing signal: SDK not disabled, source subscribed,
|
|
|
8
8
|
| Symptom | Check |
|
|
9
9
|
| --- | --- |
|
|
10
10
|
| No Chronicle client spans | `Cratis.Chronicle.Client` is subscribed in the same tracing setup as the exporter (`AddCratisOpenTelemetry` does it via `Cratis.*`); an operation actually ran; the kernel's `Cratis.Chronicle` source does not enable client spans |
|
|
11
|
-
| No kernel spans or metrics | The kernel is configured separately;
|
|
11
|
+
| No kernel spans or metrics | The kernel is configured separately; set its OTLP endpoint and verify collector reachability; outbound gRPC client tracing is opt-in |
|
|
12
12
|
| No export at all | No endpoint set (export is opt-in); `OTEL_SDK_DISABLED=true`; `OTEL_*_EXPORTER` set without `otlp`; sampler records nothing or parent was unsampled |
|
|
13
13
|
| Application's own meter or source is silent | It is outside `Cratis.*`; subscribe it with `ConfigureTracing` / `ConfigureMetrics` (see `cratis-fundamentals-telemetry` in `cratis/fundamentals`) |
|
|
14
14
|
| Observer or reactor spans not under the command trace | Expected: observer spans carry no correlation id. Find them by observer id, event store, namespace and sequence; see `arc-and-chronicle-signals.md` |
|
|
15
|
-
| Search on correlation id finds only commit spans | Only unit-of-work commit and rollback spans carry it: key `correlation_id
|
|
15
|
+
| Search on correlation id finds only commit spans | Only unit-of-work commit and rollback spans carry it: key `correlation_id`. Arc spans carry `cratis.correlation_id`. Append and observer spans never do |
|
|
16
16
|
| Duplicate spans or metrics | Both `AddCratisOpenTelemetry` and `UseOtlpExporter()` / `AddOtlpExporter()`, or both `AddCratisOpenTelemetry` and `WithCratis`; keep one |
|
|
17
|
-
| Dashboard shows old names after enabling convention | Legacy and convention series are distinct; update queries; do not sum them |
|
|
18
17
|
| Metric series stop growing or show `otel.metric.overflow=true` | SDK series limit reached; a tag is unbounded or the limit is too low. Arc `_other` is a separate 1,000-name cap |
|
|
19
18
|
| Wrong `service.name` | Something set it in code or the environment; `OTEL_SERVICE_NAME` wins for applications. The kernel always reports `Chronicle` |
|
|
20
|
-
| Personal ids or payloads in spans | Event source id mode is `Raw`
|
|
21
|
-
| Hashed ids do not match between client and kernel |
|
|
19
|
+
| Personal ids or payloads in spans | Event source id mode is `Raw` by default: choose `Hashed` or `Omitted`; remove the offending custom attribute; logs are not covered by these options, redact before formatting |
|
|
20
|
+
| Hashed ids do not match between client and kernel | Check that both are in `Hashed` mode and configure the same 32-plus character key in both |
|
|
22
21
|
| Startup fails on telemetry configuration | Invalid OTLP endpoint, or `Hashed` chosen without a long enough key |
|
|
23
22
|
|
|
24
23
|
## Renaming signals
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-onboarding-runtime
|
|
3
|
-
description: Use when
|
|
3
|
+
description: Use when configuring or deploying the onboarding runtime of a Screenplay application. Not for authoring onboarding in the Screenplay model (use cratis-screenplay-authentication-and-onboarding).
|
|
4
4
|
license: MIT
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -19,9 +19,6 @@ Nobody writes the equivalent `Ante:*` or `Cratis:AuthProxy:*` keys by hand for a
|
|
|
19
19
|
application. The model supplies structure (providers, personas, invitation types, legal files);
|
|
20
20
|
the **environment** supplies every value and secret (`cratis-environments-and-secrets` in `cratis/cli`).
|
|
21
21
|
|
|
22
|
-
**Requires** Ante 1.5.0 or later for `Ante:Onboarding:*`, AuthProxy 2.40.0 or later for
|
|
23
|
-
`Cratis:AuthProxy:Application`, and Showrunner 1.11.0 or later for the `Performance` resource.
|
|
24
|
-
|
|
25
22
|
## Who owns what
|
|
26
23
|
|
|
27
24
|
Ante owns token signing, the lobby, local acceptance, legal terms presented from files, and the
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
# Default offering
|
|
2
2
|
|
|
3
|
-
Requires Showrunner 1.13.0 or later (`Cratis.Showrunner.BoxOffice`) for `DefaultOffering`,
|
|
4
|
-
`IDefaultOffering` and an event store taken from the host. Older releases have neither.
|
|
5
|
-
|
|
6
3
|
A product that sells itself starts a new tenant on its default offering without waiting for the
|
|
7
4
|
operator. The product decides, the operator is told, and a later operator decision replaces it.
|
|
8
5
|
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Sign-up review
|
|
2
2
|
|
|
3
|
-
Requires Ante 1.6.0 or later (`Ante:Registration:Review`, `RegistrationReview` in the onboarding
|
|
4
|
-
contract). Older releases complete every sign-up without a decision and publish neither event
|
|
5
|
-
below.
|
|
6
|
-
|
|
7
3
|
Review is off by default and changes nothing while off. Turn it on when a person must be approved
|
|
8
4
|
before an organization is created.
|
|
9
5
|
|