@cratis/pi 7.194.3 → 8.0.1
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/README.md +6 -18
- package/package/corpus/harnesses/copilot/instructions/ai-distribution.instructions.md +35 -32
- package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +53 -72
- package/package/corpus/harnesses/copilot/instructions/browser.instructions.md +8 -7
- package/package/corpus/harnesses/copilot/instructions/code-health.instructions.md +1 -24
- package/package/corpus/harnesses/copilot/instructions/code-quality.csharp.instructions.md +3 -3
- package/package/corpus/harnesses/copilot/instructions/code-quality.instructions.md +0 -30
- package/package/corpus/harnesses/copilot/instructions/code-quality.typescript.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/codescene.instructions.md +64 -0
- package/package/corpus/harnesses/copilot/instructions/components.instructions.md +5 -288
- package/package/corpus/harnesses/copilot/instructions/concepts.instructions.md +2 -130
- package/package/corpus/harnesses/copilot/instructions/criticality-tiers.instructions.md +2 -2
- package/package/corpus/harnesses/copilot/instructions/csharp.instructions.md +6 -75
- package/package/corpus/harnesses/copilot/instructions/dialogs.instructions.md +2 -269
- package/package/corpus/harnesses/copilot/instructions/discoverability.instructions.md +2 -2
- package/package/corpus/harnesses/copilot/instructions/documentation.instructions.md +3 -3
- package/package/corpus/harnesses/copilot/instructions/efcore.instructions.md +8 -28
- package/package/corpus/harnesses/copilot/instructions/efcore.specs.instructions.md +3 -4
- package/package/corpus/harnesses/copilot/instructions/elixir.instructions.md +6 -35
- package/package/corpus/harnesses/copilot/instructions/exit-codes-and-wrappers.instructions.md +6 -6
- package/package/corpus/harnesses/copilot/instructions/framework-dotnet.instructions.md +17 -0
- package/package/corpus/harnesses/copilot/instructions/framework.instructions.md +9 -45
- package/package/corpus/harnesses/copilot/instructions/frontend-quality.instructions.md +5 -49
- package/package/corpus/harnesses/copilot/instructions/frontend-testing.instructions.md +2 -117
- package/package/corpus/harnesses/copilot/instructions/general.instructions.md +15 -0
- package/package/corpus/harnesses/copilot/instructions/github-actions.instructions.md +8 -9
- package/package/corpus/harnesses/copilot/instructions/glossary.instructions.md +4 -15
- package/package/corpus/harnesses/copilot/instructions/go-engineering.instructions.md +1 -5
- package/package/corpus/harnesses/copilot/instructions/go.instructions.md +7 -9
- package/package/corpus/harnesses/copilot/instructions/guards-and-fuses.instructions.md +7 -6
- package/package/corpus/harnesses/copilot/instructions/issue-assignment.instructions.md +20 -0
- package/package/corpus/harnesses/copilot/instructions/java.instructions.md +4 -4
- package/package/corpus/harnesses/copilot/instructions/kotlin.instructions.md +5 -5
- package/package/corpus/harnesses/copilot/instructions/local-verification-and-delivery.instructions.md +17 -0
- package/package/corpus/harnesses/copilot/instructions/local-work-artifacts.instructions.md +9 -7
- package/package/corpus/harnesses/copilot/instructions/new-repository-intake.instructions.md +3 -1
- package/package/corpus/harnesses/copilot/instructions/operational-safety.instructions.md +19 -13
- package/package/corpus/harnesses/copilot/instructions/orleans.instructions.md +6 -5
- package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +43 -438
- package/package/corpus/harnesses/copilot/instructions/published-contracts.instructions.md +3 -4
- package/package/corpus/harnesses/copilot/instructions/react.instructions.md +2 -176
- package/package/corpus/harnesses/copilot/instructions/reactors.instructions.md +7 -334
- package/package/corpus/harnesses/copilot/instructions/review-reports.instructions.md +6 -6
- package/package/corpus/harnesses/copilot/instructions/specs.csharp.instructions.md +35 -29
- package/package/corpus/harnesses/copilot/instructions/specs.elixir.instructions.md +22 -164
- package/package/corpus/harnesses/copilot/instructions/specs.instructions.md +4 -143
- package/package/corpus/harnesses/copilot/instructions/specs.scenarios.csharp.instructions.md +2 -307
- package/package/corpus/harnesses/copilot/instructions/specs.typescript.instructions.md +7 -131
- package/package/corpus/harnesses/copilot/instructions/storybook.instructions.md +1 -6
- package/package/corpus/harnesses/copilot/instructions/typescript.instructions.md +5 -54
- package/package/corpus/harnesses/copilot/instructions/verification-discipline.instructions.md +10 -16
- package/package/corpus/harnesses/copilot/instructions/vertical-slices.instructions.md +5 -451
- package/package/corpus/harnesses/copilot/instructions/writing-cratis-docs.instructions.md +1 -1
- package/package/corpus/harnesses/pi/agents/browser-operator.md +5 -30
- package/package/corpus/harnesses/pi/agents/code-reviewer.md +4 -156
- package/package/corpus/harnesses/pi/agents/performance-reviewer.md +4 -68
- package/package/corpus/harnesses/pi/agents/security-reviewer.md +4 -80
- package/package/corpus/harnesses/pi/agents/slice-implementer.md +6 -99
- package/package/corpus/harnesses/pi/extensions/cratis-hooks/index.ts +3 -42
- package/package/corpus/harnesses/pi/extensions/cratis-path-guidance/index.ts +2 -2
- package/package/corpus/harnesses/pi/extensions/cratis-path-guidance/touchedPaths.ts +4 -4
- package/package/corpus/harnesses/pi/extensions/shared/rules.ts +4 -4
- package/package/corpus/hooks/README.md +23 -339
- package/package/corpus/hooks/scripts/cratis-guard-secrets.sh +132 -11
- package/package/corpus/hooks/scripts/cratis-pattern-scan.sh +46 -207
- package/package/corpus/hooks/scripts/cratis-quality-gate.sh +0 -6
- package/package/corpus/hooks/scripts/hook-lib.sh +5 -57
- package/package/corpus/hooks/scripts/quality-gates.json +3 -4
- package/package/corpus/hooks/settings.template.json +6 -5
- package/package/corpus/rules/ai-distribution.md +35 -32
- package/package/corpus/rules/authoring-skills.md +53 -72
- package/package/corpus/rules/browser.md +8 -7
- package/package/corpus/rules/code-health-policy.txt +27 -0
- package/package/corpus/rules/code-health.md +1 -24
- package/package/corpus/rules/code-quality.csharp.md +3 -3
- package/package/corpus/rules/code-quality.md +0 -30
- package/package/corpus/rules/code-quality.typescript.md +1 -1
- package/package/corpus/rules/codescene.md +11 -7
- package/package/corpus/rules/components.md +5 -288
- package/package/corpus/rules/concepts.md +2 -130
- package/package/corpus/rules/criticality-tiers.md +2 -2
- package/package/corpus/rules/csharp.md +6 -75
- package/package/corpus/rules/dialogs.md +2 -269
- package/package/corpus/rules/discoverability.md +2 -2
- package/package/corpus/rules/documentation.md +3 -3
- package/package/corpus/rules/efcore.md +8 -28
- package/package/corpus/rules/efcore.specs.md +3 -4
- package/package/corpus/rules/elixir.md +6 -35
- package/package/corpus/rules/exit-codes-and-wrappers.md +6 -6
- package/package/corpus/rules/framework-dotnet.md +16 -0
- package/package/corpus/rules/framework.md +9 -45
- package/package/corpus/rules/frontend-quality.md +5 -49
- package/package/corpus/rules/frontend-testing.md +2 -117
- package/package/corpus/rules/general.md +38 -178
- package/package/corpus/rules/github-actions.md +8 -9
- package/package/corpus/rules/glossary.md +4 -15
- package/package/corpus/rules/go-engineering.md +1 -5
- package/package/corpus/rules/go.md +7 -9
- package/package/corpus/rules/guards-and-fuses.md +7 -6
- package/package/corpus/rules/issue-assignment.md +5 -2
- package/package/corpus/rules/java.md +4 -4
- package/package/corpus/rules/kotlin.md +5 -5
- package/package/corpus/rules/local-verification-and-delivery.md +7 -2
- package/package/corpus/rules/local-work-artifacts.md +9 -7
- package/package/corpus/rules/new-repository-intake.md +3 -1
- package/package/corpus/rules/operational-safety.md +19 -13
- package/package/corpus/rules/orleans.md +6 -5
- package/package/corpus/rules/profiles.md +43 -438
- package/package/corpus/rules/published-contracts.md +3 -4
- package/package/corpus/rules/react.md +2 -176
- package/package/corpus/rules/reactors.md +7 -334
- package/package/corpus/rules/review-reports.md +6 -6
- package/package/corpus/rules/specs.csharp.md +35 -29
- package/package/corpus/rules/specs.elixir.md +22 -164
- package/package/corpus/rules/specs.md +4 -143
- package/package/corpus/rules/specs.scenarios.csharp.md +2 -307
- package/package/corpus/rules/specs.typescript.md +7 -131
- package/package/corpus/rules/storybook.md +1 -6
- package/package/corpus/rules/typescript.md +5 -54
- package/package/corpus/rules/verification-discipline.md +10 -16
- package/package/corpus/rules/vertical-slices.md +5 -451
- package/package/corpus/rules/writing-cratis-docs.md +1 -1
- package/package/corpus/skills/analyzing-dotnet-performance/SKILL.md +7 -7
- package/package/corpus/skills/check-bin-obj-clash/SKILL.md +1 -1
- package/package/corpus/skills/coverage-analysis/SKILL.md +3 -3
- package/package/corpus/skills/cratis-application-growth/SKILL.md +17 -22
- package/package/corpus/skills/cratis-application-growth/references/rename-window.md +1 -2
- package/package/corpus/skills/cratis-application-growth/references/stages.md +39 -0
- package/package/corpus/skills/cratis-arc-authorize-request/SKILL.md +35 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/csharp.md +69 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/go.md +5 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/java.md +5 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/kotlin.md +25 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/typescript.md +11 -0
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/SKILL.md +1 -2
- package/package/corpus/skills/cratis-arc-connect-storage/SKILL.md +28 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp.md +98 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/go.md +5 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/java.md +5 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/typescript.md +7 -0
- package/package/corpus/skills/cratis-arc-declare-command/SKILL.md +34 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp.md +111 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/elixir.md +19 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/go.md +51 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/java.md +27 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/kotlin.md +43 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/typescript.md +54 -0
- package/package/corpus/skills/cratis-arc-declare-operation/SKILL.md +42 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp.md +79 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/elixir.md +3 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/go.md +11 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/java.md +3 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/kotlin.md +3 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/typescript.md +15 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/SKILL.md +40 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/csharp.md +74 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/go.md +3 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/java.md +3 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/kotlin.md +3 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-arc-diagnose-live-query/scripts/check-frames.mjs +29 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/SKILL.md +91 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/custom-exposure-and-audit.md +19 -0
- package/package/corpus/skills/cratis-arc-expose-query/SKILL.md +30 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/csharp.md +51 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/elixir.md +7 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/go.md +27 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/java.md +14 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/typescript.md +32 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/SKILL.md +18 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/csharp.md +50 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/go.md +3 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/java.md +3 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin.md +7 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/typescript.md +22 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/scripts/check-proxy.mjs +24 -0
- package/package/corpus/skills/cratis-arc-host-application/SKILL.md +21 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-configuration.md +44 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp.md +76 -0
- package/package/corpus/skills/cratis-arc-host-application/references/elixir.md +35 -0
- package/package/corpus/skills/cratis-arc-host-application/references/go.md +5 -0
- package/package/corpus/skills/cratis-arc-host-application/references/java.md +7 -0
- package/package/corpus/skills/cratis-arc-host-application/references/kotlin.md +7 -0
- package/package/corpus/skills/cratis-arc-host-application/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-host-application/references/typescript.md +43 -0
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +3 -8
- package/package/corpus/skills/cratis-arc-invoke-command/SKILL.md +29 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/csharp.md +60 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/elixir.md +3 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/go.md +5 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/java.md +5 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/kotlin.md +26 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/typescript.md +27 -0
- package/package/corpus/skills/cratis-arc-isolate-tenant/SKILL.md +23 -0
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/csharp.md +53 -0
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/go.md +5 -0
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/java.md +19 -0
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/kotlin.md +16 -0
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/SKILL.md +45 -0
- package/package/corpus/skills/cratis-arc-page-query/SKILL.md +29 -0
- package/package/corpus/skills/cratis-arc-page-query/references/csharp.md +48 -0
- package/package/corpus/skills/cratis-arc-page-query/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-arc-page-query/references/go.md +9 -0
- package/package/corpus/skills/cratis-arc-page-query/references/java.md +9 -0
- package/package/corpus/skills/cratis-arc-page-query/references/kotlin.md +11 -0
- package/package/corpus/skills/cratis-arc-page-query/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-page-query/references/typescript.md +12 -0
- package/package/corpus/skills/cratis-arc-page-query/scripts/check-pages.mjs +32 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/SKILL.md +76 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/commands.md +88 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/csharp.md +9 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/identity.md +7 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/kotlin.md +9 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/manual-screen.md +10 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/query-state.md +29 -0
- package/package/corpus/skills/cratis-arc-react-separate-view-model/SKILL.md +70 -0
- package/package/corpus/skills/cratis-arc-react-separate-view-model/references/react-routing-and-messaging.md +45 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/SKILL.md +15 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/csharp.md +5 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/elixir.md +21 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/go.md +38 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/java.md +14 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/kotlin.md +14 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/typescript.md +21 -0
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/SKILL.md +14 -19
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/read-model-naming.md +3 -0
- package/package/corpus/skills/cratis-arc-storage-typescript/SKILL.md +3 -5
- package/package/corpus/skills/cratis-arc-tenancy-typescript/SKILL.md +3 -3
- package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +2 -9
- package/package/corpus/skills/cratis-arc-testing-typescript/SKILL.md +4 -7
- package/package/corpus/skills/cratis-arc-validate-command/SKILL.md +33 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/csharp.md +68 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/go.md +3 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/java.md +14 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/kotlin.md +3 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/python.md +3 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/typescript.md +3 -0
- package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +4 -14
- package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +9 -22
- package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +5 -18
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +4 -15
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/project-tooling.md +2 -4
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/recovery-and-comparison.md +1 -1
- package/package/corpus/skills/cratis-chronicle-connect-application/SKILL.md +21 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp.md +58 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/go.md +5 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/java.md +3 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/typescript.md +11 -0
- package/package/corpus/skills/cratis-chronicle-constrain-append/SKILL.md +19 -0
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/csharp.md +47 -0
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/go.md +5 -0
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/java.md +3 -0
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/typescript.md +3 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/SKILL.md +52 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/storage.md +29 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/webhooks.md +5 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/SKILL.md +23 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/bulk-repair.md +7 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/csharp.md +66 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/deployed-readers.md +37 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/go.md +3 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/java.md +3 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/kotlin.md +3 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/typescript.md +3 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/SKILL.md +23 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/csharp.md +61 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/elixir.md +10 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/go.md +5 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/java.md +5 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/typescript.md +13 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/scripts/summarize-failure.mjs +36 -0
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +11 -29
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/blocked-tools.md +5 -5
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/deployment.md +15 -20
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +28 -37
- package/package/corpus/skills/cratis-chronicle-project-view/SKILL.md +19 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp.md +77 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir.md +71 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/go.md +3 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/java.md +3 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/typescript.md +44 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/SKILL.md +19 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp.md +96 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/elixir.md +30 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/go.md +21 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/java.md +5 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/kotlin.md +23 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/standalone.md +31 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/typescript.md +11 -0
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/SKILL.md +21 -0
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/csharp.md +73 -0
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/go.md +3 -0
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/java.md +3 -0
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/SKILL.md +19 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp.md +74 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir.md +25 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/go.md +3 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/java.md +3 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/kotlin.md +3 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/typescript.md +3 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/SKILL.md +19 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp.md +75 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/elixir.md +15 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/go.md +5 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/java.md +5 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/kotlin.md +7 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/occurrences.md +24 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/typescript.md +16 -0
- package/package/corpus/skills/cratis-chronicle-record-event/SKILL.md +21 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp.md +122 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir.md +33 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/go.md +3 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/java.md +20 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin.md +38 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-chronicle-reduce-state/SKILL.md +21 -0
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/csharp.md +42 -0
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/elixir.md +3 -0
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/go.md +5 -0
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/java.md +3 -0
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/python.md +3 -0
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/typescript.md +3 -0
- package/package/corpus/skills/cratis-chronicle-select-client/SKILL.md +21 -0
- package/package/corpus/skills/cratis-chronicle-select-client/references/csharp.md +9 -0
- package/package/corpus/skills/cratis-chronicle-select-client/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-chronicle-select-client/references/go.md +9 -0
- package/package/corpus/skills/cratis-chronicle-select-client/references/java.md +18 -0
- package/package/corpus/skills/cratis-chronicle-select-client/references/kotlin.md +9 -0
- package/package/corpus/skills/cratis-chronicle-select-client/references/python.md +27 -0
- package/package/corpus/skills/cratis-chronicle-select-client/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +14 -24
- package/package/corpus/skills/cratis-ci-pipeline-performance/NOTICE +24 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/SKILL.md +14 -17
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/build-once-and-shard.md +2 -3
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/publish-pipelines.md +2 -2
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/required-checks-and-path-filters.md +3 -3
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/runner-sizing-and-images.md +5 -5
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/security-and-pinning.md +2 -2
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/test-setup-cost.md +17 -15
- package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +1 -9
- package/package/corpus/skills/cratis-code-review/SKILL.md +43 -68
- package/package/corpus/skills/cratis-commits-and-pull-requests/SKILL.md +16 -37
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/commits.md +11 -2
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-description.md +9 -103
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-labels-and-release.md +4 -85
- package/package/corpus/skills/cratis-components-accessibility/SKILL.md +2 -6
- package/package/corpus/skills/cratis-components-build-canvas/SKILL.md +48 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/pixi-items.md +15 -0
- package/package/corpus/skills/cratis-components-choose-control/SKILL.md +45 -0
- package/package/corpus/skills/cratis-components-choose-control/references/collections.md +7 -0
- package/package/corpus/skills/cratis-components-choose-control/references/inputs.md +3 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/SKILL.md +43 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/SKILL.md +76 -0
- package/package/corpus/skills/cratis-components-display-list/SKILL.md +54 -0
- package/package/corpus/skills/cratis-components-display-list/references/server-query.md +21 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/SKILL.md +77 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/controlled-editor.md +9 -0
- package/package/corpus/skills/cratis-components-explore-data/SKILL.md +61 -0
- package/package/corpus/skills/cratis-components-host-chat/SKILL.md +51 -0
- package/package/corpus/skills/cratis-components-submit-form/SKILL.md +76 -0
- package/package/corpus/skills/cratis-components-submit-form/references/confirmation.md +9 -0
- package/package/corpus/skills/cratis-components-submit-form/references/wizard.md +9 -0
- package/package/corpus/skills/cratis-components-theme-application/SKILL.md +99 -0
- package/package/corpus/skills/cratis-components-theme-application/references/renderer-adapters.md +5 -0
- package/package/corpus/skills/cratis-content-length/references/length-evidence.md +1 -1
- package/package/corpus/skills/cratis-discoverability/SKILL.md +9 -10
- package/package/corpus/skills/cratis-documentation-writing/SKILL.md +9 -11
- package/package/corpus/skills/cratis-documentation-writing/references/cratis-site.md +5 -5
- package/package/corpus/skills/cratis-documentation-writing/references/reader-review.md +1 -1
- package/package/corpus/skills/cratis-documentation-writing/references/writing-guidance.md +4 -4
- package/package/corpus/skills/cratis-engineering-ci-gates/SKILL.md +29 -58
- package/package/corpus/skills/cratis-engineering-consolidation-guard/SKILL.md +3 -5
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/ci-required-check.md +2 -2
- package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +1 -1
- package/package/corpus/skills/cratis-engineering-decision-record/SKILL.md +9 -9
- package/package/corpus/skills/cratis-engineering-decision-record/references/record-format.md +1 -1
- package/package/corpus/skills/cratis-engineering-docs-authoring/SKILL.md +5 -5
- package/package/corpus/skills/cratis-engineering-docs-authoring/references/explaining-code.md +1 -1
- package/package/corpus/skills/cratis-engineering-docs-authoring/references/site-format.md +1 -1
- package/package/corpus/skills/cratis-engineering-effect-boundaries/SKILL.md +3 -3
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +8 -0
- package/package/corpus/skills/cratis-engineering-inherited-work/SKILL.md +3 -3
- package/package/corpus/skills/cratis-engineering-issue-design-note/SKILL.md +5 -7
- package/package/corpus/skills/cratis-engineering-issue-hygiene/SKILL.md +10 -14
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/SKILL.md +6 -7
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dotnet-nuget.md +9 -6
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/other-environments.md +4 -1
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/worked-examples.md +2 -2
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/scripts/cratis-local-packages.sh +13 -10
- package/package/corpus/skills/cratis-engineering-post-mortem/SKILL.md +6 -7
- package/package/corpus/skills/cratis-engineering-regression-cluster/SKILL.md +7 -13
- package/package/corpus/skills/cratis-engineering-release-trains/SKILL.md +23 -28
- package/package/corpus/skills/cratis-engineering-review-rounds/SKILL.md +15 -13
- package/package/corpus/skills/cratis-environments-and-secrets/SKILL.md +4 -9
- package/package/corpus/skills/cratis-event-model-diagram/LICENSE +1 -1
- package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +10 -27
- package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +3 -8
- package/package/corpus/skills/cratis-fundamentals-name-value/SKILL.md +20 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp.md +56 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/elixir.md +11 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/go.md +11 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/java.md +14 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/kotlin.md +3 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/python.md +3 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/typescript.md +21 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +12 -23
- package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +1 -1
- package/package/corpus/skills/cratis-governed-release-methodology/SKILL.md +10 -9
- package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +7 -20
- package/package/corpus/skills/cratis-llm-friendly-documentation/SKILL.md +3 -3
- package/package/corpus/skills/cratis-modeling-design-event-model/SKILL.md +33 -0
- package/package/corpus/skills/cratis-modeling-design-event-model/references/review-one-slice.md +38 -0
- package/package/corpus/skills/cratis-modeling-discover-timeline/SKILL.md +28 -0
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/discovery-questions.md +16 -0
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/group-and-document-intake.md +5 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/SKILL.md +21 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/implementation-findings.md +23 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/model-findings.md +27 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/resilience-review.md +5 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/SKILL.md +49 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/blackbox-intake.md +13 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/recovery-inputs.md +11 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/resuming-a-trace.md +9 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/side-car-migration.md +7 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/SKILL.md +10 -13
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/docker-compose.md +3 -4
- package/package/corpus/skills/cratis-observability/SKILL.md +10 -102
- package/package/corpus/skills/cratis-observability/references/arc-and-chronicle-signals.md +2 -2
- package/package/corpus/skills/cratis-observability/references/chronicle-kernel-export.md +5 -5
- package/package/corpus/skills/cratis-observability/references/csharp.md +97 -0
- package/package/corpus/skills/cratis-observability/references/dotnet-setup-and-options.md +2 -2
- package/package/corpus/skills/cratis-observability/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-observability/references/troubleshooting.md +5 -1
- package/package/corpus/skills/cratis-onboarding-runtime/SKILL.md +7 -7
- package/package/corpus/skills/cratis-orchestration-lanes/SKILL.md +18 -21
- package/package/corpus/skills/cratis-orchestration-lanes/references/inbox-and-handover.md +1 -2
- package/package/corpus/skills/cratis-orchestration-lanes/references/placeholders.md +1 -1
- package/package/corpus/skills/cratis-orchestration-merge-gates/SKILL.md +1 -2
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/unattended-guards.md +3 -5
- package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +1 -5
- package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +11 -11
- package/package/corpus/skills/cratis-performance-review/SKILL.md +20 -18
- package/package/corpus/skills/cratis-platform-configure-environment/SKILL.md +51 -0
- package/package/corpus/skills/cratis-platform-contribute-change/SKILL.md +16 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/SKILL.md +23 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/contract-reconciliation.md +9 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/coordinate-slices.md +7 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/SKILL.md +38 -0
- package/package/corpus/skills/cratis-platform-prepare-release-pr/SKILL.md +30 -0
- package/package/corpus/skills/cratis-platform-start-application/SKILL.md +38 -0
- package/package/corpus/skills/cratis-platform-start-application/references/csharp.md +37 -0
- package/package/corpus/skills/cratis-platform-start-application/references/java.md +16 -0
- package/package/corpus/skills/cratis-platform-start-application/references/kotlin.md +16 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/SKILL.md +23 -0
- package/package/corpus/skills/cratis-release-notes/SKILL.md +22 -17
- package/package/corpus/skills/cratis-rtk/SKILL.md +2 -3
- package/package/corpus/skills/cratis-screenplay-accept-model/SKILL.md +31 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/capability-consumption.md +18 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/coverage-obligations.md +15 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/diagnostic-decisions.md +25 -0
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/SKILL.md +6 -7
- package/package/corpus/skills/cratis-screenplay-author-extension/SKILL.md +29 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/consume.md +14 -0
- package/package/corpus/skills/cratis-screenplay-availability/SKILL.md +5 -12
- package/package/corpus/skills/cratis-screenplay-declare-slice/SKILL.md +108 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/projection-replay.md +31 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/read-identity.md +12 -0
- package/package/corpus/skills/cratis-screenplay-edit-workspace/SKILL.md +41 -0
- package/package/corpus/skills/cratis-screenplay-edit-workspace/references/model-notes.md +33 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/SKILL.md +48 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/ordering.md +7 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/unknown-preserving-reader.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/SKILL.md +113 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/external-effects.md +13 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/host-trigger.md +17 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-boundaries.md +15 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/statemachines-and-workflows.md +54 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/SKILL.md +94 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp-performers.md +18 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/decision-inputs.md +23 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/localized-strings.md +17 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/shell-and-data.md +16 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-translation/SKILL.md +123 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/SKILL.md +36 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/version-migration.md +12 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/SKILL.md +35 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/csharp.md +11 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/ground-truth-benchmark.md +6 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/running-system.md +7 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/SKILL.md +144 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/coverage-worksheet.md +15 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/graph-steps.md +40 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/host-body-execution.md +12 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/named-cases.md +16 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/observable-result.md +39 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/query-rejections.md +28 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +33 -92
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +8 -14
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +15 -19
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +36 -51
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +3 -4
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +12 -29
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/multi-service-models.md +5 -17
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/neighbouring-skills.md +7 -8
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/read-model-keys.md +6 -13
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-id-rules.md +2 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +6 -8
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +3 -22
- package/package/corpus/skills/cratis-security-review/SKILL.md +24 -22
- package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +2 -16
- package/package/corpus/skills/cratis-session-handoff/SKILL.md +15 -14
- package/package/corpus/skills/cratis-session-handoff/references/handoff-template.md +6 -8
- package/package/corpus/skills/cratis-showrunner-herald/SKILL.md +5 -6
- package/package/corpus/skills/cratis-social-feed-post/SKILL.md +2 -2
- package/package/corpus/skills/cratis-social-feed-post/references/engagement-evidence.md +1 -1
- package/package/corpus/skills/cratis-specifications-exercise-backend/SKILL.md +52 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-command-results.md +59 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-decision-reads.md +59 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-integration.md +114 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-query-scenario.md +20 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp.md +60 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/elixir.md +63 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/go.md +124 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/java.md +13 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/kotlin.md +14 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/typescript.md +84 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/SKILL.md +52 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp-phase-timings.md +13 -0
- package/package/corpus/skills/cratis-specifications-observe-ui/SKILL.md +59 -0
- package/package/corpus/skills/cratis-specifications-test-application-ui/SKILL.md +17 -0
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-command-results.md +7 -0
- package/package/corpus/skills/cratis-specifications-test-typescript-behavior/SKILL.md +19 -0
- package/package/corpus/skills/cratis-stage-render-slice/SKILL.md +28 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/review-render-plan.md +21 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/SKILL.md +21 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-spec-runner.md +15 -0
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +1 -9
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/blocked-tools.md +0 -1
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/observational-tools.md +0 -1
- package/package/corpus/skills/cratis-technical-examples/SKILL.md +17 -16
- package/package/corpus/skills/cratis-technical-examples/references/csharp-package-checks.md +8 -0
- package/package/corpus/skills/cratis-technical-examples/references/typescript-package-checks.md +8 -0
- package/package/corpus/skills/cratis-ux-review/SKILL.md +7 -4
- package/package/corpus/skills/cratis-ux-review/references/checklist.md +1 -1
- package/package/corpus/skills/cratis-ux-review/references/report-template.md +2 -2
- package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +8 -7
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/ai-tells.md +2 -2
- package/package/corpus/skills/dotnet-aot-compat/SKILL.md +1 -1
- package/package/corpus/skills/dotnet-trace-collect/SKILL.md +5 -5
- package/package/corpus/skills/dump-collect/SKILL.md +3 -3
- package/package/corpus/skills/eliminate-redundant-restores/SKILL.md +1 -1
- package/package/corpus/skills/exp-mock-usage-analysis/SKILL.md +1 -1
- package/package/corpus/skills/filter-syntax/SKILL.md +2 -2
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/SKILL.md +1 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/aspnetcore-dotnet10to11.md +0 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/core-libraries-dotnet10to11.md +0 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/cryptography-dotnet10to11.md +0 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/csharp-compiler-dotnet10to11.md +1 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/efcore-dotnet10to11.md +0 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/runtime-jit-dotnet10to11.md +0 -1
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/sdk-msbuild-dotnet10to11.md +0 -1
- package/package/corpus/skills/msbuild/SKILL.md +3 -3
- package/package/corpus/skills/msbuild/references/build-perf-baseline.md +1 -1
- package/package/corpus/skills/msbuild/references/build-perf-diagnostics.md +1 -1
- package/package/corpus/skills/platform-detection/SKILL.md +1 -1
- package/package/corpus/skills/profiling/SKILL.md +2 -2
- package/package/corpus/skills/run-tests/SKILL.md +2 -2
- package/package/profile-catalog.json +1261 -160
- package/package.json +2 -8
- package/src/index.ts +2 -5
- package/package/corpus/agents/backend-developer.md +0 -141
- package/package/corpus/agents/browser-operator.md +0 -44
- package/package/corpus/agents/code-reviewer.md +0 -170
- package/package/corpus/agents/coordinator.md +0 -180
- package/package/corpus/agents/frontend-developer.md +0 -254
- package/package/corpus/agents/orchestrator.md +0 -216
- package/package/corpus/agents/performance-reviewer.md +0 -82
- package/package/corpus/agents/planner.md +0 -170
- package/package/corpus/agents/post-mortem.md +0 -78
- package/package/corpus/agents/repository-investigation-reviewer.md +0 -56
- package/package/corpus/agents/repository-investigator.md +0 -51
- package/package/corpus/agents/screenplay-modeler.md +0 -76
- package/package/corpus/agents/screenplay-renderer.md +0 -60
- package/package/corpus/agents/screenplay-reviewer.md +0 -64
- package/package/corpus/agents/security-reviewer.md +0 -94
- package/package/corpus/agents/slice-implementer.md +0 -116
- package/package/corpus/agents/spec-writer.md +0 -166
- package/package/corpus/harnesses/copilot/instructions/application-anatomy.instructions.md +0 -143
- package/package/corpus/harnesses/copilot/instructions/application-profile.instructions.md +0 -95
- package/package/corpus/harnesses/copilot/instructions/authentication-boundary.instructions.md +0 -84
- package/package/corpus/harnesses/copilot/instructions/capability-is-not-authority.instructions.md +0 -65
- package/package/corpus/harnesses/copilot/instructions/fast-feedback.instructions.md +0 -50
- package/package/corpus/harnesses/copilot/instructions/git-commits.instructions.md +0 -46
- package/package/corpus/harnesses/copilot/instructions/mongodb.instructions.md +0 -67
- package/package/corpus/harnesses/copilot/instructions/observability.instructions.md +0 -42
- package/package/corpus/harnesses/copilot/instructions/pull-requests.instructions.md +0 -38
- package/package/corpus/harnesses/copilot/instructions/rtk.instructions.md +0 -13
- package/package/corpus/harnesses/copilot/instructions/secrets.instructions.md +0 -56
- package/package/corpus/harnesses/copilot/instructions/web-fetching.instructions.md +0 -12
- package/package/corpus/harnesses/pi/agents/backend-developer.md +0 -136
- package/package/corpus/harnesses/pi/agents/coordinator.md +0 -176
- package/package/corpus/harnesses/pi/agents/frontend-developer.md +0 -249
- package/package/corpus/harnesses/pi/agents/orchestrator.md +0 -212
- package/package/corpus/harnesses/pi/agents/planner.md +0 -166
- package/package/corpus/harnesses/pi/agents/post-mortem.md +0 -75
- package/package/corpus/harnesses/pi/agents/repository-investigation-reviewer.md +0 -54
- package/package/corpus/harnesses/pi/agents/repository-investigator.md +0 -48
- package/package/corpus/harnesses/pi/agents/screenplay-modeler.md +0 -71
- package/package/corpus/harnesses/pi/agents/screenplay-renderer.md +0 -57
- package/package/corpus/harnesses/pi/agents/screenplay-reviewer.md +0 -61
- package/package/corpus/harnesses/pi/agents/spec-writer.md +0 -161
- package/package/corpus/harnesses/pi/extensions/subagent/agents.ts +0 -152
- package/package/corpus/harnesses/pi/extensions/subagent/delegation.ts +0 -40
- package/package/corpus/harnesses/pi/extensions/subagent/index.ts +0 -431
- package/package/corpus/harnesses/pi/extensions/subagent/modelTiers.ts +0 -123
- package/package/corpus/harnesses/pi/extensions/subagent/tool-names.ts +0 -77
- package/package/corpus/hooks/agent-stop.md +0 -46
- package/package/corpus/hooks/pre-commit.md +0 -47
- package/package/corpus/hooks/scripts/cratis-check-handoff.mjs +0 -307
- package/package/corpus/hooks/scripts/cratis-nuget-pins.txt +0 -18
- package/package/corpus/hooks/scripts/cratis-patterns.json +0 -116
- package/package/corpus/hooks/scripts/cratis-slice-scope-report.sh +0 -55
- package/package/corpus/hooks/scripts/type-references-allowlist.txt +0 -71
- package/package/corpus/hooks/scripts/validate-package-imports.sh +0 -166
- package/package/corpus/hooks/scripts/validate-package-subpaths.sh +0 -119
- package/package/corpus/hooks/scripts/validate-type-references.sh +0 -308
- package/package/corpus/product-sync.json +0 -945
- package/package/corpus/prompts/add-business-rule.prompt.md +0 -22
- package/package/corpus/prompts/add-concept.prompt.md +0 -17
- package/package/corpus/prompts/add-ef-migration.prompt.md +0 -24
- package/package/corpus/prompts/add-projection.prompt.md +0 -21
- package/package/corpus/prompts/add-reactor.prompt.md +0 -24
- package/package/corpus/prompts/add-reducer.prompt.md +0 -22
- package/package/corpus/prompts/audit-hooks.prompt.md +0 -15
- package/package/corpus/prompts/check-doc-drift.prompt.md +0 -21
- package/package/corpus/prompts/code-review.prompt.md +0 -10
- package/package/corpus/prompts/new-feature.prompt.md +0 -9
- package/package/corpus/prompts/new-vertical-slice.prompt.md +0 -29
- package/package/corpus/prompts/pre-publish-check.prompt.md +0 -26
- package/package/corpus/prompts/reverse-engineer.prompt.md +0 -50
- package/package/corpus/prompts/review-pr.prompt.md +0 -31
- package/package/corpus/prompts/review-skill.prompt.md +0 -14
- package/package/corpus/prompts/scaffold-feature.prompt.md +0 -16
- package/package/corpus/prompts/ship-changes.prompt.md +0 -98
- package/package/corpus/prompts/verify-ai-setup.prompt.md +0 -29
- package/package/corpus/prompts/write-documentation.prompt.md +0 -57
- package/package/corpus/prompts/write-specs.prompt.md +0 -28
- package/package/corpus/rules/application-anatomy.md +0 -142
- package/package/corpus/rules/application-profile.md +0 -94
- package/package/corpus/rules/authentication-boundary.md +0 -83
- package/package/corpus/rules/capability-is-not-authority.md +0 -64
- package/package/corpus/rules/fast-feedback.md +0 -49
- package/package/corpus/rules/git-commits.md +0 -45
- package/package/corpus/rules/mongodb.md +0 -66
- package/package/corpus/rules/observability.md +0 -41
- package/package/corpus/rules/pull-requests.md +0 -37
- package/package/corpus/rules/rtk.md +0 -12
- package/package/corpus/rules/secrets.md +0 -55
- package/package/corpus/rules/web-fetching.md +0 -11
- package/package/corpus/skills/cratis-application-growth/verification.json +0 -14
- package/package/corpus/skills/cratis-application-react-specifications/LICENSE +0 -2
- package/package/corpus/skills/cratis-application-react-specifications/SKILL.md +0 -206
- package/package/corpus/skills/cratis-application-slice-conformance/LICENSE +0 -14
- package/package/corpus/skills/cratis-application-slice-conformance/SKILL.md +0 -190
- package/package/corpus/skills/cratis-application-slice-conformance/references/build-prompts.md +0 -186
- package/package/corpus/skills/cratis-application-slice-conformance/references/checklists.md +0 -126
- package/package/corpus/skills/cratis-application-slice-conformance/references/contract-and-precedence.md +0 -47
- package/package/corpus/skills/cratis-application-slice-conformance/references/provenance.md +0 -43
- package/package/corpus/skills/cratis-application-slice-conformance/references/worked-example.md +0 -93
- package/package/corpus/skills/cratis-application-slice-conformance/verification.json +0 -46
- package/package/corpus/skills/cratis-application-slice-specifications/LICENSE +0 -13
- package/package/corpus/skills/cratis-application-slice-specifications/SKILL.md +0 -310
- package/package/corpus/skills/cratis-application-slice-specifications/references/command-result-assertions.md +0 -36
- package/package/corpus/skills/cratis-application-slice-specifications/references/provenance.md +0 -28
- package/package/corpus/skills/cratis-application-slice-specifications/references/query-and-decision-scenarios.md +0 -163
- package/package/corpus/skills/cratis-application-slice-specifications/references/reading-play-specifications.md +0 -30
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/SKILL.md +0 -302
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authentication.md +0 -208
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authorization.md +0 -429
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authproxy.md +0 -82
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/command-identity.md +0 -194
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/frontend.md +0 -136
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/identity-endpoints.md +0 -40
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/local-development.md +0 -95
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/observable-emission-guards.md +0 -127
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/product-sources.md +0 -37
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/tenancy.md +0 -113
- package/package/corpus/skills/cratis-arc-command/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-command/SKILL.md +0 -304
- package/package/corpus/skills/cratis-arc-command/references/causation-details.md +0 -26
- package/package/corpus/skills/cratis-arc-command/references/client-contract.md +0 -16
- package/package/corpus/skills/cratis-arc-command/references/command-result.md +0 -206
- package/package/corpus/skills/cratis-arc-command/references/decisions-and-routing.md +0 -217
- package/package/corpus/skills/cratis-arc-command/references/event-source-id-details.md +0 -13
- package/package/corpus/skills/cratis-arc-command/references/fresh-identifiers.md +0 -113
- package/package/corpus/skills/cratis-arc-command/references/generated-values.md +0 -149
- package/package/corpus/skills/cratis-arc-command/references/generation-boundaries.md +0 -8
- package/package/corpus/skills/cratis-arc-command/references/handler-shapes.md +0 -193
- package/package/corpus/skills/cratis-arc-command/references/product-sources.md +0 -16
- package/package/corpus/skills/cratis-arc-command/references/provide-example.md +0 -43
- package/package/corpus/skills/cratis-arc-command/references/proxy-generation.md +0 -188
- package/package/corpus/skills/cratis-arc-command/references/read-model-injection.md +0 -142
- package/package/corpus/skills/cratis-arc-command/references/return-shape-examples.md +0 -24
- package/package/corpus/skills/cratis-arc-command/references/shop-generation.md +0 -120
- package/package/corpus/skills/cratis-arc-command-execution/LICENSE +0 -8
- package/package/corpus/skills/cratis-arc-command-execution/SKILL.md +0 -246
- package/package/corpus/skills/cratis-arc-command-execution/references/command-refusals.md +0 -65
- package/package/corpus/skills/cratis-arc-command-execution/references/occurrence-commands.md +0 -79
- package/package/corpus/skills/cratis-arc-command-kotlin/SKILL.md +0 -336
- package/package/corpus/skills/cratis-arc-command-kotlin/references/artifacts.md +0 -16
- package/package/corpus/skills/cratis-arc-command-kotlin/references/authorization-override-example.md +0 -17
- package/package/corpus/skills/cratis-arc-command-kotlin/references/project-setup.md +0 -40
- package/package/corpus/skills/cratis-arc-command-kotlin/references/read-model-naming.md +0 -29
- package/package/corpus/skills/cratis-arc-command-operation/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-command-operation/SKILL.md +0 -282
- package/package/corpus/skills/cratis-arc-command-operation/references/execution-and-recovery.md +0 -241
- package/package/corpus/skills/cratis-arc-command-operation/references/testing.md +0 -261
- package/package/corpus/skills/cratis-arc-command-operation/verification.json +0 -19
- package/package/corpus/skills/cratis-arc-command-typescript/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-command-typescript/SKILL.md +0 -340
- package/package/corpus/skills/cratis-arc-command-typescript/references/chronicle-events.md +0 -175
- package/package/corpus/skills/cratis-arc-command-typescript/references/command-operations.md +0 -114
- package/package/corpus/skills/cratis-arc-command-typescript/references/command-pipeline.md +0 -137
- package/package/corpus/skills/cratis-arc-command-typescript/references/command-specifications.md +0 -63
- package/package/corpus/skills/cratis-arc-command-typescript/references/configuration.md +0 -83
- package/package/corpus/skills/cratis-arc-command-typescript/references/hosting-and-storage.md +0 -219
- package/package/corpus/skills/cratis-arc-command-typescript/references/identity-and-introspection.md +0 -88
- package/package/corpus/skills/cratis-arc-command-typescript/references/observability-and-host-scopes.md +0 -25
- package/package/corpus/skills/cratis-arc-command-typescript/references/parameter-binding.md +0 -26
- package/package/corpus/skills/cratis-arc-command-typescript/references/project-setup.md +0 -94
- package/package/corpus/skills/cratis-arc-command-typescript/references/proxy-generation.md +0 -69
- package/package/corpus/skills/cratis-arc-command-typescript/references/proxy-generator-options.md +0 -90
- package/package/corpus/skills/cratis-arc-command-typescript/references/slice-layout.md +0 -30
- package/package/corpus/skills/cratis-arc-command-typescript/verification.json +0 -22
- package/package/corpus/skills/cratis-arc-command-validation/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-command-validation/SKILL.md +0 -327
- package/package/corpus/skills/cratis-arc-command-validation/references/input-binding.md +0 -66
- package/package/corpus/skills/cratis-arc-command-validation/references/protected-validator-construction.md +0 -98
- package/package/corpus/skills/cratis-arc-command-validation/references/read-model-resolution.md +0 -52
- package/package/corpus/skills/cratis-arc-command-validation/references/validation-severity.md +0 -21
- package/package/corpus/skills/cratis-arc-configuration/SKILL.md +0 -89
- package/package/corpus/skills/cratis-arc-configuration/references/arc-options.md +0 -93
- package/package/corpus/skills/cratis-arc-configuration/references/data-and-protection-keys.md +0 -54
- package/package/corpus/skills/cratis-arc-configuration/references/frontend-and-routes.md +0 -53
- package/package/corpus/skills/cratis-arc-configuration/references/symptoms.md +0 -23
- package/package/corpus/skills/cratis-arc-ef-core-migration/LICENSE +0 -8
- package/package/corpus/skills/cratis-arc-ef-core-migration/SKILL.md +0 -264
- package/package/corpus/skills/cratis-arc-elixir/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-elixir/SKILL.md +0 -130
- package/package/corpus/skills/cratis-arc-elixir/references/availability.md +0 -79
- package/package/corpus/skills/cratis-arc-elixir/references/commands-and-queries.md +0 -84
- package/package/corpus/skills/cratis-arc-elixir/references/event-model.md +0 -79
- package/package/corpus/skills/cratis-arc-elixir/references/hosting-and-testing.md +0 -57
- package/package/corpus/skills/cratis-arc-elixir/references/mongodb.md +0 -79
- package/package/corpus/skills/cratis-arc-elixir/references/observable-queries-and-hubs.md +0 -54
- package/package/corpus/skills/cratis-arc-elixir/references/pitfalls.md +0 -36
- package/package/corpus/skills/cratis-arc-elixir/references/product-sources.md +0 -15
- package/package/corpus/skills/cratis-arc-elixir/references/proxies-and-vertical-slices.md +0 -113
- package/package/corpus/skills/cratis-arc-elixir/references/tenancy-and-identity.md +0 -55
- package/package/corpus/skills/cratis-arc-elixir/verification.json +0 -70
- package/package/corpus/skills/cratis-arc-go/SKILL.md +0 -147
- package/package/corpus/skills/cratis-arc-go/references/queries.md +0 -80
- package/package/corpus/skills/cratis-arc-hosting/SKILL.md +0 -103
- package/package/corpus/skills/cratis-arc-hosting/references/availability.md +0 -115
- package/package/corpus/skills/cratis-arc-hosting/references/connection-resolution.md +0 -61
- package/package/corpus/skills/cratis-arc-hosting/references/integrations-and-publish.md +0 -80
- package/package/corpus/skills/cratis-arc-mcp/SKILL.md +0 -261
- package/package/corpus/skills/cratis-arc-mcp/references/setup-and-profiles.md +0 -191
- package/package/corpus/skills/cratis-arc-mcp/references/troubleshooting.md +0 -86
- package/package/corpus/skills/cratis-arc-neo4j/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-neo4j/SKILL.md +0 -166
- package/package/corpus/skills/cratis-arc-neo4j/references/connection-resolution-and-single-mode.md +0 -51
- package/package/corpus/skills/cratis-arc-observable-query-http/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-observable-query-http/SKILL.md +0 -212
- package/package/corpus/skills/cratis-arc-observable-query-http/verification.json +0 -12
- package/package/corpus/skills/cratis-arc-query-kotlin/SKILL.md +0 -244
- package/package/corpus/skills/cratis-arc-query-paging/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-query-paging/SKILL.md +0 -241
- package/package/corpus/skills/cratis-arc-query-paging/references/live-query-processing.md +0 -71
- package/package/corpus/skills/cratis-arc-query-typescript/LICENSE +0 -2
- package/package/corpus/skills/cratis-arc-query-typescript/SKILL.md +0 -307
- package/package/corpus/skills/cratis-arc-query-typescript/references/product-sources.md +0 -10
- package/package/corpus/skills/cratis-arc-query-typescript/references/query-pipeline.md +0 -125
- package/package/corpus/skills/cratis-arc-query-typescript/references/scenario-example.md +0 -23
- package/package/corpus/skills/cratis-arc-query-typescript/references/storage-examples.md +0 -52
- package/package/corpus/skills/cratis-arc-query-typescript/references/storage-observation-and-compliance.md +0 -66
- package/package/corpus/skills/cratis-arc-query-typescript/verification.json +0 -18
- package/package/corpus/skills/cratis-arc-react-page/LICENSE +0 -13
- package/package/corpus/skills/cratis-arc-react-page/SKILL.md +0 -344
- package/package/corpus/skills/cratis-arc-react-page/references/availability.md +0 -75
- package/package/corpus/skills/cratis-arc-react-page/references/data-page.md +0 -248
- package/package/corpus/skills/cratis-arc-react-page/references/data-tables.md +0 -167
- package/package/corpus/skills/cratis-arc-react-page/references/dialogs.md +0 -326
- package/package/corpus/skills/cratis-arc-react-page/references/from-screenplay.md +0 -220
- package/package/corpus/skills/cratis-arc-react-page/references/mvvm.md +0 -161
- package/package/corpus/skills/cratis-arc-react-page/references/provenance.md +0 -28
- package/package/corpus/skills/cratis-arc-react-page/references/queries-and-commands.md +0 -227
- package/package/corpus/skills/cratis-arc-react-page/verification.json +0 -20
- package/package/corpus/skills/cratis-arc-validation-typescript/verification.json +0 -14
- package/package/corpus/skills/cratis-chronicle-client-dotnet/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-client-dotnet/SKILL.md +0 -314
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/additional-surfaces.md +0 -85
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/append-outcomes.md +0 -78
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/client-construction.md +0 -42
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/compatibility-check.md +0 -38
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/connection-options.md +0 -99
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/discovery.md +0 -163
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/hosting.md +0 -82
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/immediate-append-refusal.md +0 -40
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/lifecycle.md +0 -40
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/occurrences.md +0 -89
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/pinned-generation-delivery.md +0 -124
- package/package/corpus/skills/cratis-chronicle-client-elixir/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-client-elixir/SKILL.md +0 -338
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/append-api.md +0 -50
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/captures.md +0 -43
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/client-options.md +0 -49
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/compliance.md +0 -34
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/connections.md +0 -60
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/constraints.md +0 -63
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/decision-reads.md +0 -75
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/discovery-and-generations.md +0 -56
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/event-sources.md +0 -66
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/graphs.md +0 -123
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/idioms-and-inspection.md +0 -35
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/observability.md +0 -37
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/patterns.md +0 -22
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/pitfalls.md +0 -33
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/product-sources.md +0 -10
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/projections.md +0 -80
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/reactor-example.md +0 -33
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/read-models.md +0 -41
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/testing.md +0 -76
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/upgrading.md +0 -68
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/variants.md +0 -76
- package/package/corpus/skills/cratis-chronicle-client-elixir/verification.json +0 -36
- package/package/corpus/skills/cratis-chronicle-client-go/SKILL.md +0 -170
- package/package/corpus/skills/cratis-chronicle-client-go/references/projections.md +0 -73
- package/package/corpus/skills/cratis-chronicle-client-kotlin/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-client-kotlin/SKILL.md +0 -313
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/annotations-and-handlers.md +0 -37
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/append-concurrency.md +0 -9
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/connection-lifecycle.md +0 -32
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/connection-string.md +0 -26
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/discovery-and-registration.md +0 -54
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/event-sources.md +0 -67
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/event-type-annotations.md +0 -9
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/fundamentals-migration.md +0 -48
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/java-api.md +0 -33
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/options.md +0 -29
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/product-sources.md +0 -13
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/read-models-and-projections.md +0 -29
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/spring-boot.md +0 -67
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/variants.md +0 -79
- package/package/corpus/skills/cratis-chronicle-client-typescript/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-client-typescript/SKILL.md +0 -325
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/connection-options.md +0 -52
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/lifecycle.md +0 -38
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/project-setup.md +0 -36
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/read-models-and-projections.md +0 -66
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/testing.md +0 -126
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/variants.md +0 -62
- package/package/corpus/skills/cratis-chronicle-client-typescript/verification.json +0 -19
- package/package/corpus/skills/cratis-chronicle-compliance/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-compliance/SKILL.md +0 -308
- package/package/corpus/skills/cratis-chronicle-configuration/SKILL.md +0 -87
- package/package/corpus/skills/cratis-chronicle-configuration/references/client-options.md +0 -80
- package/package/corpus/skills/cratis-chronicle-configuration/references/development-inner-loop.md +0 -77
- package/package/corpus/skills/cratis-chronicle-configuration/references/environment-variables.md +0 -66
- package/package/corpus/skills/cratis-chronicle-configuration/references/kernel-options.md +0 -87
- package/package/corpus/skills/cratis-chronicle-configuration/references/symptoms.md +0 -53
- package/package/corpus/skills/cratis-chronicle-decision-reads/SKILL.md +0 -208
- package/package/corpus/skills/cratis-chronicle-decision-reads/references/admission-and-ownership.md +0 -79
- package/package/corpus/skills/cratis-chronicle-decision-reads/references/choosing-how-a-rule-holds.md +0 -384
- package/package/corpus/skills/cratis-chronicle-decision-reads/verification.json +0 -12
- package/package/corpus/skills/cratis-chronicle-event-constraints/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-event-constraints/SKILL.md +0 -313
- package/package/corpus/skills/cratis-chronicle-event-constraints/references/closing-streams.md +0 -73
- package/package/corpus/skills/cratis-chronicle-event-constraints/references/storage-uniqueness.md +0 -28
- package/package/corpus/skills/cratis-chronicle-event-modeling/LICENSE +0 -7
- package/package/corpus/skills/cratis-chronicle-event-modeling/SKILL.md +0 -259
- package/package/corpus/skills/cratis-chronicle-event-modeling/references/event-log-cleanup-rollout.md +0 -53
- package/package/corpus/skills/cratis-chronicle-event-modeling/references/event-log-hygiene.md +0 -92
- package/package/corpus/skills/cratis-chronicle-event-specifications/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-event-specifications/SKILL.md +0 -234
- package/package/corpus/skills/cratis-chronicle-event-type-migration/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-event-type-migration/SKILL.md +0 -325
- package/package/corpus/skills/cratis-chronicle-event-type-migration/references/explicit-migrations.md +0 -46
- package/package/corpus/skills/cratis-chronicle-event-type-migration/references/pinned-generations.md +0 -119
- package/package/corpus/skills/cratis-chronicle-hosting/SKILL.md +0 -170
- package/package/corpus/skills/cratis-chronicle-hosting/references/clustering-and-schema.md +0 -84
- package/package/corpus/skills/cratis-chronicle-hosting/references/operations.md +0 -185
- package/package/corpus/skills/cratis-chronicle-hosting/references/production-checklist.md +0 -99
- package/package/corpus/skills/cratis-chronicle-hosting/references/sinks.md +0 -121
- package/package/corpus/skills/cratis-chronicle-hosting/references/storage-resolution.md +0 -85
- package/package/corpus/skills/cratis-chronicle-hosting/references/webhooks.md +0 -110
- package/package/corpus/skills/cratis-chronicle-hosting/verification.json +0 -22
- package/package/corpus/skills/cratis-chronicle-multi-tenancy/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-multi-tenancy/SKILL.md +0 -216
- package/package/corpus/skills/cratis-chronicle-multi-tenancy/references/remove-namespace.md +0 -38
- package/package/corpus/skills/cratis-chronicle-projection/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-projection/SKILL.md +0 -334
- package/package/corpus/skills/cratis-chronicle-projection/references/definition-changes.md +0 -86
- package/package/corpus/skills/cratis-chronicle-projection/references/dictionaries-set-once-ordering.md +0 -47
- package/package/corpus/skills/cratis-chronicle-projection/references/fluent-builder.md +0 -163
- package/package/corpus/skills/cratis-chronicle-projection/references/graph-projections.md +0 -184
- package/package/corpus/skills/cratis-chronicle-projection/references/model-bound-attributes.md +0 -159
- package/package/corpus/skills/cratis-chronicle-projection/references/variants.md +0 -196
- package/package/corpus/skills/cratis-chronicle-reactor/LICENSE +0 -13
- package/package/corpus/skills/cratis-chronicle-reactor/SKILL.md +0 -294
- package/package/corpus/skills/cratis-chronicle-reactor/references/cross-service-events.md +0 -20
- package/package/corpus/skills/cratis-chronicle-reactor/references/domain-failures.md +0 -19
- package/package/corpus/skills/cratis-chronicle-reactor/references/durable-side-effects.md +0 -123
- package/package/corpus/skills/cratis-chronicle-reactor/references/filtering.md +0 -34
- package/package/corpus/skills/cratis-chronicle-reactor/references/provenance.md +0 -29
- package/package/corpus/skills/cratis-chronicle-reactor/references/read-model-injection.md +0 -29
- package/package/corpus/skills/cratis-chronicle-reactor/references/return-event-metadata.md +0 -71
- package/package/corpus/skills/cratis-chronicle-reactor/references/slice-delivery-checklist.md +0 -131
- package/package/corpus/skills/cratis-chronicle-reactor/references/specifications.md +0 -182
- package/package/corpus/skills/cratis-chronicle-reactor/references/starting-and-replaying.md +0 -33
- package/package/corpus/skills/cratis-chronicle-read-model/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-read-model/SKILL.md +0 -297
- package/package/corpus/skills/cratis-chronicle-read-model/references/collection-observation.md +0 -49
- package/package/corpus/skills/cratis-chronicle-read-model/references/indexing.md +0 -44
- package/package/corpus/skills/cratis-chronicle-read-model/references/queries.md +0 -238
- package/package/corpus/skills/cratis-chronicle-read-model/references/sinks.md +0 -133
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/LICENSE +0 -9
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/SKILL.md +0 -288
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/references/provenance.md +0 -15
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/references/seeded-state.md +0 -35
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/references/view-lifecycle-checks.md +0 -82
- package/package/corpus/skills/cratis-chronicle-reducer/LICENSE +0 -2
- package/package/corpus/skills/cratis-chronicle-reducer/SKILL.md +0 -319
- package/package/corpus/skills/cratis-chronicle-reducer/references/filtering.md +0 -36
- package/package/corpus/skills/cratis-chronicle-reducer/references/instance-reducer-example.md +0 -20
- package/package/corpus/skills/cratis-chronicle-reducer/references/product-sources.md +0 -8
- package/package/corpus/skills/cratis-chronicle-reducer/references/replay-hooks-and-definition-changes.md +0 -42
- package/package/corpus/skills/cratis-chronicle-reducer/references/specification-example.md +0 -15
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/sources.md +0 -33
- package/package/corpus/skills/cratis-code-review/verification.json +0 -11
- package/package/corpus/skills/cratis-commits-and-pull-requests/verification.json +0 -11
- package/package/corpus/skills/cratis-components-common-controls/SKILL.md +0 -160
- package/package/corpus/skills/cratis-components-common-controls/verification.json +0 -15
- package/package/corpus/skills/cratis-components-data-surfaces/SKILL.md +0 -190
- package/package/corpus/skills/cratis-components-data-surfaces/references/query-table-updates.md +0 -51
- package/package/corpus/skills/cratis-components-data-surfaces/verification.json +0 -16
- package/package/corpus/skills/cratis-components-schema-editor/LICENSE +0 -2
- package/package/corpus/skills/cratis-components-schema-editor/SKILL.md +0 -252
- package/package/corpus/skills/cratis-components-schema-editor/references/tree-layout.md +0 -80
- package/package/corpus/skills/cratis-components-schema-editor/verification.json +0 -14
- package/package/corpus/skills/cratis-components-stepper-command-dialog/LICENSE +0 -2
- package/package/corpus/skills/cratis-components-stepper-command-dialog/SKILL.md +0 -237
- package/package/corpus/skills/cratis-components-styling/LICENSE +0 -8
- package/package/corpus/skills/cratis-components-styling/SKILL.md +0 -279
- package/package/corpus/skills/cratis-components-styling/references/renderer-adapters.md +0 -21
- package/package/corpus/skills/cratis-components-styling/verification.json +0 -13
- package/package/corpus/skills/cratis-components-toolbar/LICENSE +0 -2
- package/package/corpus/skills/cratis-components-toolbar/SKILL.md +0 -299
- package/package/corpus/skills/cratis-components-toolbar/verification.json +0 -12
- package/package/corpus/skills/cratis-content-length/verification.json +0 -19
- package/package/corpus/skills/cratis-developer-marketing/verification.json +0 -19
- package/package/corpus/skills/cratis-discoverability/verification.json +0 -37
- package/package/corpus/skills/cratis-documentation-writing/verification.json +0 -29
- package/package/corpus/skills/cratis-engineering-docs-authoring/verification.json +0 -12
- package/package/corpus/skills/cratis-engineering-inherited-work/verification.json +0 -16
- package/package/corpus/skills/cratis-engineering-issue-design-note/verification.json +0 -19
- package/package/corpus/skills/cratis-engineering-issue-hygiene/verification.json +0 -22
- package/package/corpus/skills/cratis-engineering-post-mortem/verification.json +0 -13
- package/package/corpus/skills/cratis-engineering-release-trains/verification.json +0 -20
- package/package/corpus/skills/cratis-engineering-review-rounds/verification.json +0 -19
- package/package/corpus/skills/cratis-event-model-diagram/references/provenance.md +0 -28
- package/package/corpus/skills/cratis-fundamentals-concept/LICENSE +0 -2
- package/package/corpus/skills/cratis-fundamentals-concept/SKILL.md +0 -285
- package/package/corpus/skills/cratis-fundamentals-concept/references/shop-generation.md +0 -166
- package/package/corpus/skills/cratis-fundamentals-concept/references/typescript-concepts.md +0 -97
- package/package/corpus/skills/cratis-fundamentals-concept/verification.json +0 -14
- package/package/corpus/skills/cratis-fundamentals-telemetry/verification.json +0 -15
- package/package/corpus/skills/cratis-fundamentals-type-discovery/verification.json +0 -14
- package/package/corpus/skills/cratis-llm-friendly-documentation/verification.json +0 -15
- package/package/corpus/skills/cratis-multi-service-architecture/SKILL.md +0 -210
- package/package/corpus/skills/cratis-multi-service-architecture/references/publish-and-consume.md +0 -229
- package/package/corpus/skills/cratis-observability/verification.json +0 -14
- package/package/corpus/skills/cratis-orchestration-lanes/verification.json +0 -15
- package/package/corpus/skills/cratis-orchestration-merge-gates/verification.json +0 -17
- package/package/corpus/skills/cratis-orleans-jobs/verification.json +0 -20
- package/package/corpus/skills/cratis-performance-review/verification.json +0 -12
- package/package/corpus/skills/cratis-release-notes/verification.json +0 -17
- package/package/corpus/skills/cratis-rtk/verification.json +0 -11
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/verification.json +0 -32
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/LICENSE +0 -38
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +0 -231
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/assets/pending-certificates.play +0 -10
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/assets/retry-sweep.play +0 -11
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/audit-format.md +0 -51
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +0 -189
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/cases-to-specify.md +0 -78
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/effects-and-idempotency.md +0 -119
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/integration-contracts.md +0 -113
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/integration-interview.md +0 -24
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/neighbouring-skills.md +0 -12
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/product-sources.md +0 -11
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/provenance.md +0 -47
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/public-events-and-direction.md +0 -234
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +0 -60
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/statemachines-and-workflows.md +0 -175
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/systems-and-abilities.md +0 -143
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +0 -212
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translate-example.md +0 -150
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translation-patterns.md +0 -111
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/worked-integration.md +0 -98
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/verification.json +0 -26
- package/package/corpus/skills/cratis-screenplay-availability/verification.json +0 -24
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/LICENSE +0 -2
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +0 -261
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/atomic-batches-and-source-mappings.md +0 -83
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/capture-map-and-example.md +0 -175
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +0 -333
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/invocation-identity.md +0 -94
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/reaction-forms.md +0 -82
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/record-capture-specifications.md +0 -65
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/refusals-and-redelivery.md +0 -173
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/specifying-triggers-and-clock.md +0 -32
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/trigger-declaration.md +0 -48
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/trigger-reads-example.md +0 -37
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/verification.json +0 -77
- package/package/corpus/skills/cratis-screenplay-command-surface/LICENSE +0 -2
- package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +0 -291
- package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +0 -245
- package/package/corpus/skills/cratis-screenplay-command-surface/references/concepts-and-types.md +0 -38
- package/package/corpus/skills/cratis-screenplay-command-surface/references/constraints-produces-concurrency.md +0 -142
- package/package/corpus/skills/cratis-screenplay-command-surface/references/context.md +0 -214
- package/package/corpus/skills/cratis-screenplay-command-surface/references/date-comparisons.md +0 -188
- package/package/corpus/skills/cratis-screenplay-command-surface/references/described-handlers.md +0 -232
- package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +0 -93
- package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +0 -329
- package/package/corpus/skills/cratis-screenplay-command-surface/references/inline-events.md +0 -90
- package/package/corpus/skills/cratis-screenplay-command-surface/references/operations.md +0 -82
- package/package/corpus/skills/cratis-screenplay-command-surface/references/policy-persona-seed.md +0 -208
- package/package/corpus/skills/cratis-screenplay-command-surface/references/protected-reads.md +0 -172
- package/package/corpus/skills/cratis-screenplay-command-surface/references/routes-and-external-operations.md +0 -21
- package/package/corpus/skills/cratis-screenplay-command-surface/references/shop-generation.md +0 -134
- package/package/corpus/skills/cratis-screenplay-command-surface/references/text-and-match-rules.md +0 -136
- package/package/corpus/skills/cratis-screenplay-command-surface/references/uuid-equality.md +0 -140
- package/package/corpus/skills/cratis-screenplay-command-surface/references/validate-rules.md +0 -140
- package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +0 -129
- package/package/corpus/skills/cratis-screenplay-delivery-planning/LICENSE +0 -9
- package/package/corpus/skills/cratis-screenplay-delivery-planning/SKILL.md +0 -123
- package/package/corpus/skills/cratis-screenplay-delivery-planning/references/parallel-delivery.md +0 -46
- package/package/corpus/skills/cratis-screenplay-delivery-planning/references/provenance.md +0 -29
- package/package/corpus/skills/cratis-screenplay-delivery-planning/references/slice-counting.md +0 -43
- package/package/corpus/skills/cratis-screenplay-delivery-planning/references/velocity-and-capacity.md +0 -48
- package/package/corpus/skills/cratis-screenplay-delivery-planning/verification.json +0 -24
- package/package/corpus/skills/cratis-screenplay-discovery/LICENSE +0 -40
- package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +0 -222
- package/package/corpus/skills/cratis-screenplay-discovery/references/divergent-sweep.md +0 -47
- package/package/corpus/skills/cratis-screenplay-discovery/references/document-intake.md +0 -123
- package/package/corpus/skills/cratis-screenplay-discovery/references/domain-analysis-template.md +0 -106
- package/package/corpus/skills/cratis-screenplay-discovery/references/event-naming.md +0 -115
- package/package/corpus/skills/cratis-screenplay-discovery/references/facilitation.md +0 -64
- package/package/corpus/skills/cratis-screenplay-discovery/references/human-workshop.md +0 -260
- package/package/corpus/skills/cratis-screenplay-discovery/references/interview-questions.md +0 -80
- package/package/corpus/skills/cratis-screenplay-discovery/references/neighbouring-skills.md +0 -14
- package/package/corpus/skills/cratis-screenplay-discovery/references/personas-and-causes.md +0 -205
- package/package/corpus/skills/cratis-screenplay-discovery/references/plotting-and-handoff.md +0 -210
- package/package/corpus/skills/cratis-screenplay-discovery/references/product-sources.md +0 -16
- package/package/corpus/skills/cratis-screenplay-discovery/references/provenance.md +0 -60
- package/package/corpus/skills/cratis-screenplay-discovery/references/storming-loop.md +0 -128
- package/package/corpus/skills/cratis-screenplay-discovery/references/worked-session.md +0 -87
- package/package/corpus/skills/cratis-screenplay-discovery/verification.json +0 -27
- package/package/corpus/skills/cratis-screenplay-event-modeling/LICENSE +0 -14
- package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +0 -228
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/evidence-format.md +0 -146
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/facilitation-stance.md +0 -12
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/file-layout.md +0 -117
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/invoicing-example.md +0 -49
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/modeling-reasoning.md +0 -13
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/naming-primitives.md +0 -28
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/neighbouring-skills.md +0 -16
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +0 -355
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +0 -111
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/provenance.md +0 -46
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/slice-type-rules.md +0 -16
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/understanding-pipeline.md +0 -58
- package/package/corpus/skills/cratis-screenplay-event-modeling/verification.json +0 -119
- package/package/corpus/skills/cratis-screenplay-extension-packages/SKILL.md +0 -62
- package/package/corpus/skills/cratis-screenplay-extension-packages/verification.json +0 -13
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/LICENSE +0 -41
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +0 -224
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/candidate-inventory.md +0 -117
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/chronicle-observations.md +0 -25
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/evidence-table-template.md +0 -173
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/expert-verification.md +0 -79
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md +0 -258
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generated-recovery.md +0 -186
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/intent-example.md +0 -192
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/interview-findings.md +0 -115
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/loss-report-template.md +0 -57
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/neighbouring-skills.md +0 -14
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/prologue-safety.md +0 -186
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/provenance.md +0 -51
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/re-entry-and-passes.md +0 -192
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/rule-modeling.md +0 -48
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/side-car-migration.md +0 -140
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/signal-to-intent.md +0 -113
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/ui-observation.md +0 -99
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/verified-sources.md +0 -20
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/verification.json +0 -77
- package/package/corpus/skills/cratis-screenplay-model-authoring/LICENSE +0 -2
- package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +0 -255
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/choosing-generation.md +0 -42
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/destination-intent-repair.md +0 -107
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/free-screens-proposals.md +0 -36
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +0 -384
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/layout.md +0 -30
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +0 -395
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +0 -877
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/model-notes.md +0 -300
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/property-links.md +0 -239
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/release-baseline.md +0 -144
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/repairs.md +0 -71
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/screen-authoring-workflow.md +0 -295
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/state-and-recovery.md +0 -53
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/storylines.md +0 -69
- package/package/corpus/skills/cratis-screenplay-model-authoring/verification.json +0 -295
- package/package/corpus/skills/cratis-screenplay-model-review/LICENSE +0 -44
- package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +0 -212
- package/package/corpus/skills/cratis-screenplay-model-review/references/anti-patterns.md +0 -89
- package/package/corpus/skills/cratis-screenplay-model-review/references/baseline-comparison.md +0 -34
- package/package/corpus/skills/cratis-screenplay-model-review/references/business-questions.md +0 -204
- package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +0 -216
- package/package/corpus/skills/cratis-screenplay-model-review/references/interview-batch.md +0 -14
- package/package/corpus/skills/cratis-screenplay-model-review/references/mode-compliance.md +0 -9
- package/package/corpus/skills/cratis-screenplay-model-review/references/model-inventory-report.md +0 -132
- package/package/corpus/skills/cratis-screenplay-model-review/references/neighbouring-skills.md +0 -12
- package/package/corpus/skills/cratis-screenplay-model-review/references/provenance.md +0 -52
- package/package/corpus/skills/cratis-screenplay-model-review/references/public-keys-and-routes.md +0 -34
- package/package/corpus/skills/cratis-screenplay-model-review/references/quick-self-check.md +0 -22
- package/package/corpus/skills/cratis-screenplay-model-review/references/report-template.md +0 -220
- package/package/corpus/skills/cratis-screenplay-model-review/references/review-questions.md +0 -70
- package/package/corpus/skills/cratis-screenplay-model-review/references/stressor-analysis.md +0 -86
- package/package/corpus/skills/cratis-screenplay-model-review/references/verified-sources.md +0 -15
- package/package/corpus/skills/cratis-screenplay-model-review/references/walkthrough.md +0 -137
- package/package/corpus/skills/cratis-screenplay-model-review/references/worked-example.md +0 -273
- package/package/corpus/skills/cratis-screenplay-model-review/verification.json +0 -34
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/LICENSE +0 -42
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +0 -203
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/code-reading-and-tokens.md +0 -55
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/completeness-self-check.md +0 -49
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/core-rules-digest.md +0 -143
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/handoff-template.md +0 -151
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/identity-and-edits.md +0 -88
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/independent-review.md +0 -10
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/intake.md +0 -21
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/neighbouring-skills.md +0 -10
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/opt-in.md +0 -35
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/per-turn-protocol.md +0 -59
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/phase-report-inventories.md +0 -25
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/phases.md +0 -207
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/principles.md +0 -53
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/product-sources.md +0 -9
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/project-process.md +0 -51
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/provenance.md +0 -111
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/reasoning-notes.md +0 -54
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/safety.md +0 -23
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/stop-or-assume.md +0 -118
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/verdicts-and-modes.md +0 -230
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/version-migration.md +0 -50
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +0 -59
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/worked-example.md +0 -93
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/scripts/model-first-self-test.mjs +0 -123
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/scripts/model-first-status.mjs +0 -204
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/verification.json +0 -34
- package/package/corpus/skills/cratis-screenplay-projections/LICENSE +0 -2
- package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +0 -321
- package/package/corpus/skills/cratis-screenplay-projections/references/dictionaries-and-ordering.md +0 -64
- package/package/corpus/skills/cratis-screenplay-projections/references/graphs.md +0 -415
- package/package/corpus/skills/cratis-screenplay-projections/references/joins.md +0 -42
- package/package/corpus/skills/cratis-screenplay-projections/references/mapping-sources.md +0 -33
- package/package/corpus/skills/cratis-screenplay-projections/references/outbound-every.md +0 -12
- package/package/corpus/skills/cratis-screenplay-projections/references/pdl-grammar.md +0 -375
- package/package/corpus/skills/cratis-screenplay-projections/references/reducer-identity.md +0 -92
- package/package/corpus/skills/cratis-screenplay-projections/references/reducers.md +0 -40
- package/package/corpus/skills/cratis-screenplay-projections/references/secret-concepts.md +0 -23
- package/package/corpus/skills/cratis-screenplay-projections/references/stage-admission.md +0 -18
- package/package/corpus/skills/cratis-screenplay-projections/references/variants.md +0 -41
- package/package/corpus/skills/cratis-screenplay-projections/verification.json +0 -49
- package/package/corpus/skills/cratis-screenplay-read-surface/LICENSE +0 -9
- package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +0 -325
- package/package/corpus/skills/cratis-screenplay-read-surface/references/equality-filters.md +0 -209
- package/package/corpus/skills/cratis-screenplay-read-surface/references/graph-queries.md +0 -22
- package/package/corpus/skills/cratis-screenplay-read-surface/references/guarded-actions.md +0 -86
- package/package/corpus/skills/cratis-screenplay-read-surface/references/named-keys.md +0 -252
- package/package/corpus/skills/cratis-screenplay-read-surface/references/passive.md +0 -78
- package/package/corpus/skills/cratis-screenplay-read-surface/references/performer-bodies.md +0 -56
- package/package/corpus/skills/cratis-screenplay-read-surface/references/provenance.md +0 -21
- package/package/corpus/skills/cratis-screenplay-read-surface/references/query-execution.md +0 -21
- package/package/corpus/skills/cratis-screenplay-read-surface/references/screen-levels.md +0 -51
- package/package/corpus/skills/cratis-screenplay-read-surface/references/screen-patterns.md +0 -143
- package/package/corpus/skills/cratis-screenplay-read-surface/references/sinks.md +0 -166
- package/package/corpus/skills/cratis-screenplay-read-surface/verification.json +0 -51
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/LICENSE +0 -14
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +0 -258
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/delivery-protocol.md +0 -123
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/drift-and-fallback-record.md +0 -108
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md +0 -130
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/hand-written-changes.md +0 -150
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/neighbouring-skills.md +0 -11
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/post-deploy-check.md +0 -57
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/product-sources.md +0 -23
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/provenance.md +0 -34
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +0 -94
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/worked-example.md +0 -135
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +0 -61
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/LICENSE +0 -14
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/SKILL.md +0 -207
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/behavior-catalog.md +0 -127
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/documentation-intake-and-screens.md +0 -110
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/evidence-format.md +0 -66
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/executable-intake.md +0 -184
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/fidelity-check.md +0 -159
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/ground-truth-benchmark.md +0 -93
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/intake-sources.md +0 -87
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/neighbouring-skills.md +0 -17
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/probing-and-naming.md +0 -145
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/process-drift.md +0 -56
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/provenance.md +0 -11
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/scoping.md +0 -85
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/synthesis-rules.md +0 -196
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/target-and-first-validation.md +0 -51
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/drift-scope-self-test.mjs +0 -88
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/drift-scope.mjs +0 -155
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/fixtures/library-drift/change.diff +0 -100
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/fixtures/library-drift/evidence-map.json +0 -20
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/fixtures/library-drift/expected.json +0 -54
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/score-fidelity-self-test.mjs +0 -76
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/scripts/score-fidelity.mjs +0 -182
- package/package/corpus/skills/cratis-screenplay-reverse-engineering/verification.json +0 -36
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/LICENSE +0 -41
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +0 -223
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/berth-reservations.md +0 -580
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/chronicle-verification.md +0 -26
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/coverage-matrix.md +0 -126
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/interview-batch.md +0 -16
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-design.md +0 -270
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-example.md +0 -454
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/neighbouring-skills.md +0 -10
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/provenance.md +0 -57
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/public-event-coverage.md +0 -23
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/quality-checklist.md +0 -20
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/review-questions.md +0 -9
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +0 -302
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-examples.md +0 -232
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-workshop.md +0 -121
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +0 -109
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/version-skew.md +0 -25
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/view-and-story-specs.md +0 -172
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/verification.json +0 -23
- package/package/corpus/skills/cratis-screenplay-slice-design/LICENSE +0 -40
- package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +0 -214
- package/package/corpus/skills/cratis-screenplay-slice-design/references/command-inventory.md +0 -226
- package/package/corpus/skills/cratis-screenplay-slice-design/references/derived-condition-events.md +0 -68
- package/package/corpus/skills/cratis-screenplay-slice-design/references/field-lineage.md +0 -182
- package/package/corpus/skills/cratis-screenplay-slice-design/references/identity-edits.md +0 -14
- package/package/corpus/skills/cratis-screenplay-slice-design/references/model-reasoning.md +0 -95
- package/package/corpus/skills/cratis-screenplay-slice-design/references/neighbouring-skills.md +0 -10
- package/package/corpus/skills/cratis-screenplay-slice-design/references/product-sources.md +0 -9
- package/package/corpus/skills/cratis-screenplay-slice-design/references/provenance.md +0 -57
- package/package/corpus/skills/cratis-screenplay-slice-design/references/public-boundaries-and-keys.md +0 -18
- package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +0 -362
- package/package/corpus/skills/cratis-screenplay-slice-design/references/review-questions.md +0 -28
- package/package/corpus/skills/cratis-screenplay-slice-design/references/rule-layers.md +0 -67
- package/package/corpus/skills/cratis-screenplay-slice-design/references/screens-before-slices.md +0 -37
- package/package/corpus/skills/cratis-screenplay-slice-design/references/slicing.md +0 -329
- package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +0 -303
- package/package/corpus/skills/cratis-screenplay-slice-design/verification.json +0 -74
- package/package/corpus/skills/cratis-screenplay-specifications/LICENSE +0 -2
- package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +0 -317
- package/package/corpus/skills/cratis-screenplay-specifications/references/ability-answers.md +0 -12
- package/package/corpus/skills/cratis-screenplay-specifications/references/actions-beyond-commands.md +0 -42
- package/package/corpus/skills/cratis-screenplay-specifications/references/child-ordering.md +0 -127
- package/package/corpus/skills/cratis-screenplay-specifications/references/concept-rules.md +0 -79
- package/package/corpus/skills/cratis-screenplay-specifications/references/date-comparisons.md +0 -21
- package/package/corpus/skills/cratis-screenplay-specifications/references/event-tags.md +0 -54
- package/package/corpus/skills/cratis-screenplay-specifications/references/examples-and-routes.md +0 -246
- package/package/corpus/skills/cratis-screenplay-specifications/references/generated-fixtures.md +0 -115
- package/package/corpus/skills/cratis-screenplay-specifications/references/graph-steps.md +0 -183
- package/package/corpus/skills/cratis-screenplay-specifications/references/host-body-execution.md +0 -49
- package/package/corpus/skills/cratis-screenplay-specifications/references/outcome-comparison.md +0 -40
- package/package/corpus/skills/cratis-screenplay-specifications/references/persona-callers-and-cases.md +0 -119
- package/package/corpus/skills/cratis-screenplay-specifications/references/producerless-events.md +0 -63
- package/package/corpus/skills/cratis-screenplay-specifications/references/query-rejections.md +0 -48
- package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +0 -130
- package/package/corpus/skills/cratis-screenplay-specifications/references/source-notes.md +0 -24
- package/package/corpus/skills/cratis-screenplay-specifications/references/vocabulary.md +0 -86
- package/package/corpus/skills/cratis-screenplay-specifications/references/whitespace-rules.md +0 -125
- package/package/corpus/skills/cratis-screenplay-specifications/references/worked-example.md +0 -113
- package/package/corpus/skills/cratis-screenplay-specifications/verification.json +0 -111
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/product-sources.md +0 -12
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/provenance.md +0 -27
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +0 -30
- package/package/corpus/skills/cratis-screenplay-toolchain/LICENSE +0 -9
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +0 -249
- package/package/corpus/skills/cratis-screenplay-toolchain/references/agent-exposure.md +0 -90
- package/package/corpus/skills/cratis-screenplay-toolchain/references/automation-translate-example.md +0 -113
- package/package/corpus/skills/cratis-screenplay-toolchain/references/capability-manifest.md +0 -71
- package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet-example.md +0 -320
- package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet.md +0 -264
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostic-arguments.md +0 -78
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +0 -757
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-example.md +0 -111
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +0 -460
- package/package/corpus/skills/cratis-screenplay-toolchain/references/fast-path.md +0 -31
- package/package/corpus/skills/cratis-screenplay-toolchain/references/generated-responses-example.md +0 -62
- package/package/corpus/skills/cratis-screenplay-toolchain/references/generation-checks.md +0 -93
- package/package/corpus/skills/cratis-screenplay-toolchain/references/generation-strategies-example.md +0 -128
- package/package/corpus/skills/cratis-screenplay-toolchain/references/language-admission.md +0 -161
- package/package/corpus/skills/cratis-screenplay-toolchain/references/model-export-diff-rename.md +0 -75
- package/package/corpus/skills/cratis-screenplay-toolchain/references/neighbouring-skills.md +0 -15
- package/package/corpus/skills/cratis-screenplay-toolchain/references/observation-comparison.md +0 -83
- package/package/corpus/skills/cratis-screenplay-toolchain/references/pdl-example.md +0 -241
- package/package/corpus/skills/cratis-screenplay-toolchain/references/preferred-syntax.md +0 -77
- package/package/corpus/skills/cratis-screenplay-toolchain/references/production-routes-and-filters.md +0 -115
- package/package/corpus/skills/cratis-screenplay-toolchain/references/read-model-property-order.md +0 -26
- package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +0 -167
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +0 -30
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +0 -101691
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +0 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +0 -134
- package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +0 -75
- package/package/corpus/skills/cratis-screenplay-toolchain/references/unknown-preserving-reader.md +0 -57
- package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +0 -327
- package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +0 -142
- package/package/corpus/skills/cratis-screenplay-ui-composition/LICENSE +0 -9
- package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +0 -329
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/action-subjects.md +0 -138
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/application-shell.md +0 -579
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/change-alternatives.md +0 -58
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/deliverable-identity.md +0 -43
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/design-system-and-themes.md +0 -272
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/extension-components.md +0 -20
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/file-references.md +0 -42
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/flow-review.md +0 -56
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/free-screens.md +0 -237
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/guarded-interactions.md +0 -82
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/interaction-example.md +0 -54
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/layout-arrangement.md +0 -31
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/localized-strings.md +0 -15
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/provenance.md +0 -19
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/response-continuations.md +0 -110
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/scene-design.md +0 -138
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/scene-runtime-boundaries.md +0 -92
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +0 -364
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-visuals.md +0 -43
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/ui-profile-and-theme.md +0 -195
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/worked-flow.md +0 -74
- package/package/corpus/skills/cratis-screenplay-ui-composition/verification.json +0 -291
- package/package/corpus/skills/cratis-security-review/verification.json +0 -11
- package/package/corpus/skills/cratis-session-handoff/verification.json +0 -15
- package/package/corpus/skills/cratis-social-feed-post/verification.json +0 -29
- package/package/corpus/skills/cratis-specification-by-example/LICENSE +0 -2
- package/package/corpus/skills/cratis-specification-by-example/SKILL.md +0 -244
- package/package/corpus/skills/cratis-specification-by-example/verification.json +0 -14
- package/package/corpus/skills/cratis-specifications-csharp/LICENSE +0 -2
- package/package/corpus/skills/cratis-specifications-csharp/SKILL.md +0 -347
- package/package/corpus/skills/cratis-specifications-csharp/references/application-scenarios.md +0 -332
- package/package/corpus/skills/cratis-specifications-csharp/references/csharp-patterns.md +0 -178
- package/package/corpus/skills/cratis-specifications-csharp/references/integration-specs.md +0 -162
- package/package/corpus/skills/cratis-specifications-csharp/references/running-specs.md +0 -190
- package/package/corpus/skills/cratis-specifications-csharp/references/shared-lifecycle.md +0 -110
- package/package/corpus/skills/cratis-specifications-csharp/verification.json +0 -15
- package/package/corpus/skills/cratis-specifications-typescript/LICENSE +0 -2
- package/package/corpus/skills/cratis-specifications-typescript/SKILL.md +0 -215
- package/package/corpus/skills/cratis-specifications-typescript/references/typescript-patterns.md +0 -197
- package/package/corpus/skills/cratis-specifications-typescript/verification.json +0 -12
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/LICENSE +0 -2
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +0 -264
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +0 -370
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/behavior-walk.md +0 -78
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/case-tables-and-whole-numbers.md +0 -113
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/choosing-generation.md +0 -48
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/current-boundaries.md +0 -124
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/date-comparisons.md +0 -44
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/graphs.md +0 -52
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/neighbouring-skills.md +0 -14
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/publication-and-recovery.md +0 -34
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/render-example.md +0 -157
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/rendered-application.md +0 -229
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +0 -287
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/scene-runtime.md +0 -82
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +0 -73
- package/package/corpus/skills/cratis-technical-examples/verification.json +0 -22
- package/package/corpus/skills/cratis-ux-review/verification.json +0 -15
- package/package/corpus/skills/cratis-writing-voice-and-cadence/verification.json +0 -38
|
@@ -7,458 +7,12 @@ paths:
|
|
|
7
7
|
---
|
|
8
8
|
<!-- cratis-ai: generated Copilot instructions. Do not edit; rules/ is the source. -->
|
|
9
9
|
|
|
10
|
-
# Vertical
|
|
10
|
+
# Vertical slices
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Group by behavior. Read published state or react to another slice’s fact; never call its handler. Compose through the pipeline and propagate refusal. Route facts to the intended history; exclude confidential inputs from causation. Append observed transitions, not repeated polls; protect the decision against concurrent writers.
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
Put slices directly under the application source root as `<Module>/<Feature>/<Slice>/`, without a top-level `Features/` wrapper. A single-capability application that has not needed modules starts at `<Feature>/<Slice>/`. Keep the slice's files together and have the namespace mirror their path. A namespace rename can change stored observer identities and Arc routes; treat it as a migration, not a file move.
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
A command scenario owns the command and accepted facts; a read-model scenario owns its projection and query. Use a delivery scenario for a reaction to a committed fact and an adapter spec for translating an external message into local intent.
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
**Model-first check.** Before changing a slice, look for it in the accepted `.play` model under the model root (opted in per `general.md` "Model first"; where `cratis-screenplay-modeling-lifecycle` is installed, run its `scripts/model-first-status.mjs` for the decision, root and drafts). If an accepted model covers it, change the model and render or gap-fill from it; never edit Stage-managed files. See Phase 0 in [application-profile.md](./application-profile.instructions.md).
|
|
21
|
-
|
|
22
|
-
## Technical stack
|
|
23
|
-
|
|
24
|
-
- .NET / C# (ASP.NET Core) — **Cratis Arc** for CQRS / model-bound commands and queries, **Cratis Chronicle** for event sourcing, MongoDB or EF Core for read models.
|
|
25
|
-
- React + TypeScript (Vite) — Cratis Components 4.x + Arc-generated proxies, MVVM. Vitest + Mocha/Chai/Sinon for frontend specs.
|
|
26
|
-
- xUnit + Cratis.Specifications + NSubstitute for C# specs (`Specification` plus a direct call for pure command/validator/reducer decisions with supplied state; add the scenarios the per-artifact decision table in [specs.scenarios.csharp.md](./specs.scenarios.csharp.instructions.md) obligates).
|
|
27
|
-
|
|
28
|
-
## Proxy generation — the build dependency
|
|
29
|
-
|
|
30
|
-
A `dotnet build` with `CratisProxiesOutputPath` set generates a typed TypeScript proxy per command and query next to the slice's `.cs` — the generator target has **no configuration condition**; running it from the Debug build is the house convention (one configuration owns the generated files, so Release never rewrites them differently). The generator reads PDB sequence points only to name output files after their source file, and only when `CratisProxiesUseSourceFileAsOutputFile` is on; Arc's own remark says which types retain that information *can differ* between Debug and Release, which is one more reason to let a single configuration generate. Until the backend compiles, **no proxy files exist** and frontend code cannot reference them. **Backend → build → frontend, always** — backend and frontend for the same slice cannot be done in parallel. When a subsequent Release build is only there to verify the app compiles in that configuration, skip proxy regeneration with `dotnet build -c Release -p:CratisProxiesSkip=true -p:CratisProxiesOutputPath=` (Skip needs Arc 22.185.1 or later) rather than letting it re-run the generator against a different compilation. Never edit a generated proxy (`// @generated by Cratis` header); fix the C# source and rebuild.
|
|
31
|
-
|
|
32
|
-
## Model-bound — no controllers **[contract]**
|
|
33
|
-
|
|
34
|
-
Commands are `[Command]` records with a public instance `Handle()` (Arc analyzers enforce this); queries are `static` methods on `[ReadModel]` records; projections, constraints, and authorization use attributes. Arc generates the HTTP surface — never write an MVC/API controller. Drop to fluent (`IProjectionFor<T>`, `IConstraint`) only when model-bound cannot express the rule.
|
|
35
|
-
|
|
36
|
-
> **[convention]** A single `.cs` per slice and a fixed declaration order are house style for readability — Arc/Chronicle discover by attributes and static methods, not by file or source order. Split the file when a slice grows large or shared concepts move upward.
|
|
37
|
-
|
|
38
|
-
Declaration order (house style): concepts → command + validator (paired) → business rules → constraints → events → read models + queries → projections → reactors. StyleCop SA1201/SA1210 enforce that each `[EventType]` appears **after** the command/validator that constructs it (a [convention] surfaced as a compile warning, not a Chronicle [contract]).
|
|
39
|
-
|
|
40
|
-
A single `<Slice>.cs` therefore contains ALL of: `[Command]` records with `Handle()`, validators, constraints, `[EventType]` records, `[ReadModel]` records with static query methods, projections/reducers, reactors, and slice-specific concepts.
|
|
41
|
-
|
|
42
|
-
```
|
|
43
|
-
<Slice>/
|
|
44
|
-
├── <Slice>.cs ← ALL backend artifacts in one file
|
|
45
|
-
├── <Component>.tsx ← React component(s) for the slice
|
|
46
|
-
└── when_<behavior>/ ← specs
|
|
47
|
-
└── and_<scenario>.cs
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
**❌ Never split by artifact type** (`Commands/`, `Handlers/`, `Events/` folders) — that is the layered structure the slice replaces.
|
|
51
|
-
|
|
52
|
-
**[convention] A name does not repeat what its path already says.** A slice is named for what it does *within its feature*, so the feature's noun is not repeated: `Credentials/Adding`, `Credentials/Renaming`, `Secrets/Rotating`, not `Credentials/AddingCredentials` or `Secrets/RotatingSecrets`. Keep the noun when the feature does not name it (`Credentials/AddingLabels`, `Credentials/SyncingClients`, `Credentials/TransferringOwnership`), and never drop it into ambiguity: if two slices of a feature would end up with the same name, the nouns stay. The same holds up the tree: a module's root feature is named for what it is (`Prism.Access.Api`, not `Prism.Access.ApiCredentials` beside `Api.Credentials`), a view's query module is `Queries` inside its slice folder, and a spec is named for the unit and the behavior, not for the folders above it. The command, event and read model keep their full names (`AddCredential`, `CredentialAdded`): they are read away from the path, in the event model, the log and the proxies, where the path is gone.
|
|
53
|
-
|
|
54
|
-
## Concepts
|
|
55
|
-
|
|
56
|
-
Every domain identifier or named value is a typed record — raw `string`/`Guid`/`int` should not appear on commands, events, or read models for domain values. Primitives stay primitive only when the meaning *is* the base type (`bool`, a plain count, `DateOnly`).
|
|
57
|
-
|
|
58
|
-
- **[contract] Value concepts** derive from `ConceptAs<T>`. The base provides value equality and an implicit **concept → `T`** conversion. **Add your own `T` → concept operator** when call-site ergonomics need it — the base does *not* provide that direction.
|
|
59
|
-
- **[contract] Chronicle stream identities** derive from `EventSourceId<T>` with an `IComparable` underlying primitive. Add `NotSet`, `New()`, or a `T` → derived-id operator only when the domain API justifies it; typed empty/zero values are real specified stream IDs. The base conversion surface does not construct every derived domain record automatically.
|
|
60
|
-
|
|
61
|
-
```csharp
|
|
62
|
-
public record AuthorId(Guid Value) : EventSourceId<Guid>(Value), IGeneratable<AuthorId>
|
|
63
|
-
{
|
|
64
|
-
public static readonly AuthorId NotSet = new(Guid.Empty);
|
|
65
|
-
public static AuthorId New() => new(GenerateValue.Uuid());
|
|
66
|
-
public static implicit operator AuthorId(Guid value) => new(value);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
public record AuthorName(string Value) : ConceptAs<string>(Value)
|
|
70
|
-
{
|
|
71
|
-
public static implicit operator AuthorName(string value) => new(value);
|
|
72
|
-
}
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
`IGeneratable<T>` and `GenerateValue` need Cratis.Fundamentals 7.23.0 or later. Arc and Chronicle can resolve an older version; add a direct reference or keep a plain `static New()` until then (see [concepts.md](./concepts.instructions.md)).
|
|
76
|
-
|
|
77
|
-
**[convention] Placement:** slice-specific concept → in the slice file; feature-shared → feature folder; module-shared → module folder; app-wide → `Common/`. Scan `Common/` and the feature folder before creating a new concept. See [concepts.md](./concepts.instructions.md) for full patterns, or invoke the **cratis-fundamentals-concept** skill.
|
|
78
|
-
|
|
79
|
-
## Commands
|
|
80
|
-
|
|
81
|
-
The command carries input from the caller. `Handle()` is defined directly on the record — never a separate handler class. For step-by-step creation, invoke the **cratis-arc-command** skill.
|
|
82
|
-
|
|
83
|
-
> This application is event-sourced, so the guidance below assumes a command's `Handle()` returns event(s) that Arc+Chronicle appends. Arc itself is a standalone CQRS framework (see [general.md](../../../rules/general.md)) — a command may legitimately return a response or `void` and do its work through injected services when a slice isn't event-sourced; the return-shape and "never inject `IEventLog`" rules are the event-sourced default, not universal Arc laws.
|
|
84
|
-
|
|
85
|
-
**[convention]** Return immediate external work chosen by a command as a command operation rather than performing it inside `Handle()`; durable after-commit work belongs in reactors. Operations also work without Chronicle; direct service calls remain supported when the decision needs their result. Audit custom `ICommandExecutionScope`s first — every one must implement `ICommandOperationExecutionScope` or operation-bearing commands are rejected. See **cratis-arc-command-operation** (verified at Arc v22.48.1).
|
|
86
|
-
|
|
87
|
-
### The decision matrix — where each rule lives **[contract]**
|
|
88
|
-
|
|
89
|
-
`Handle()` assumes the command is valid and constructs the event(s). Pick the mechanism by what the decision *is*:
|
|
90
|
-
|
|
91
|
-
| Decision | Use |
|
|
92
|
-
| --- | --- |
|
|
93
|
-
| Reusable value invariant (length, format, range) | `ConceptValidator<T>` on the concept type |
|
|
94
|
-
| Command-input / cross-field / pre-handler rule (incl. injected read-model/service/identity checks) | `CommandValidator<TCommand>` with `RuleFor(...)` |
|
|
95
|
-
| Handler needs fetched/computed data before it can build the event | `Provide()` — acquires inputs; only short-circuits when acquisition yields nothing usable. Validators own refusals |
|
|
96
|
-
| State-dependent rule that must hold **under concurrency** | Read protection `On`: the read model as a `CommandValidator<T>` constructor (or `Handle()`) parameter; a per-stream read model or `IStreamReads`/`StreamDecision` for one stream; an aggregate for a rich lifecycle. `[ProtectedDecision]` + `DecisionRead<T>` is the older per-command opt-in. Under `Off` (set explicitly, or the Arc 22 behavior) injection is a hint |
|
|
97
|
-
| Uniqueness (a value used once, a fact once per stream) | Chronicle `[Unique]` / `IConstraint` (race-safe) — **never** a read-model pre-check or a state read in `Provide()`/`Handle()`, which races and says nothing the kernel enforces. Elixir: `unique/2`, `unique_event_type/1` or a standalone `Constraint` module |
|
|
98
|
-
| Genuinely exceptional failure (bug, missing infra) | `throw` a domain exception |
|
|
99
|
-
|
|
100
|
-
**Do not throw for normal business rejection.** A thrown exception (from `Provide()` or `Handle()`) surfaces as an exception/HTTP 500, *not* a validation result. Recoverable, user-facing rejections are validation: `ValidationResult.Error(...)` via a validator or `Result<,>`. (For step-by-step business-rule placement, invoke the **cratis-arc-command-validation** skill.)
|
|
101
|
-
|
|
102
|
-
### Nested commands **[contract]**
|
|
103
|
-
|
|
104
|
-
With Arc + Chronicle, ordinary nested pipeline commands join the outer ambient
|
|
105
|
-
transaction even when the call creates a new DI scope. Child success is enrollment,
|
|
106
|
-
not final persistence. Do not promise partial success for an atomic returned batch.
|
|
107
|
-
Independent outcomes require separate top-level executions outside that transaction;
|
|
108
|
-
operation-capable commands reject nesting entirely. See **cratis-arc-command-execution**
|
|
109
|
-
for the versioned boundary and supported alternatives.
|
|
110
|
-
|
|
111
|
-
### Causation — what a command records **[contract]**
|
|
112
|
-
|
|
113
|
-
A command's **property values** are recorded on the causation of every event it appends, alongside the command's name, so an event says not only which command produced it but what that command was asked to do. The causation is written into the event log and stays there for as long as the events do — a value recorded there cannot be taken back out by changing code.
|
|
114
|
-
|
|
115
|
-
Two markings keep a value off the chain (`[PII]` from Chronicle, `[NotAudited]` from Arc), and both are honored on the property, the declaring type, the positional record parameter, **and the property's type**:
|
|
116
|
-
|
|
117
|
-
| Marking | For | Also does |
|
|
118
|
-
| --- | --- | --- |
|
|
119
|
-
| `[PII]` | personal data | encrypts it in the event, enrolls it in erasure |
|
|
120
|
-
| `[NotAudited]` | a secret that is not personal data — a password or token given as a command input, an API key, a card number | nothing else; it only withholds. A credential (password, token) is never put on an event: store a hash or a reference. A secret the system must retain on an event is also `[Encrypted]` |
|
|
121
|
-
|
|
122
|
-
They are **not interchangeable**: `[PII]` on a password would encrypt it and enroll it in GDPR erasure, which is wrong; `[NotAudited]` on a name does nothing for an erasure request, which is also wrong. An operational secret the system retains on an event (a third-party API key, a company's bank account number) needs **both** `[Encrypted]` (`Cratis.Chronicle.ProtectedValues`, Chronicle 19.32.0+; at rest, no erasure) and `[NotAudited]` (off the chain); either alone leaves a gap. A credential used for authentication is never retained: the command marks it `[NotAudited]` and the event carries only a hash or a reference. Never combine `[PII]` with `[Encrypted]` (`CHR0053`), and neither goes on an event source id (`CHR0034`, `CHR0052`).
|
|
123
|
-
|
|
124
|
-
**Prefer marking the concept**, exactly as with `[PII]` — mark `ApiKey` once and every command taking one is covered:
|
|
125
|
-
|
|
126
|
-
```csharp
|
|
127
|
-
[Encrypted]
|
|
128
|
-
[NotAudited]
|
|
129
|
-
public record ApiKey(string Value) : ConceptAs<string>(Value);
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
`[NotAudited]` on the command type excludes every property at once, which is right when a command exists only to carry secrets. The command is still **named** on the chain either way — what is withheld is the values, never the fact that it ran.
|
|
133
|
-
|
|
134
|
-
`ARCCHR0009` warns on a command property whose *name* reads like a secret and is unmarked. It cannot see a secret whose name does not say so, so a clean build means "nothing obvious was missed", not "no secrets are recorded". For a false positive, **suppress the diagnostic** — marking it `[NotAudited]` would silence the warning by withholding a value you wanted recorded.
|
|
135
|
-
|
|
136
|
-
Values render camel-cased; concepts unwrap to the value they hold; a value that is not set is omitted; a long one is truncated (the causation rides on *every* event the command appends).
|
|
137
|
-
|
|
138
|
-
### `Provide()` — data for `Handle()` **[contract]**
|
|
139
|
-
|
|
140
|
-
`Provide()` runs after authorization and validation, before `Handle()`. Its parameters resolve from DI (like `Handle()`'s); the command instance is `this`. Return one value, or a tuple (Arc binds tuple values to `Handle(...)` parameters by type). Each provided value should be consumed by a `Handle` parameter — an unused one raises the **`ARC0005`** analyzer warning. Use a **named record** when the provided values form a real domain/snapshot concept; a **tuple** when they are just separate inputs to event construction. It may be sync or async.
|
|
141
|
-
|
|
142
|
-
Validators own refusals, including read-model existence: a `CommandValidator<PlaceOrder>` constructor takes the model, using `[LookUpBy(nameof(PlaceOrder.CustomerId))]` if its key differs from the root id. Non-nullable means it must exist; nullable plus a validator rule gives a custom message (see **cratis-arc-command-validation**).
|
|
143
|
-
|
|
144
|
-
Illustrative excerpt: the application supplies `IExchangeRates.GetFor(CustomerId)` returning `Task<Rate?>`, and `OrderPlaced(Rate rate)`. The customer-existence rule belongs in the validator, not this acquisition:
|
|
145
|
-
|
|
146
|
-
```csharp
|
|
147
|
-
[Command]
|
|
148
|
-
public record PlaceOrder(OrderId OrderId, CustomerId CustomerId) : ICanProvideEventSourceId
|
|
149
|
-
{
|
|
150
|
-
public EventSourceId GetEventSourceId() => OrderId;
|
|
151
|
-
|
|
152
|
-
public async Task<Result<Rate, ValidationResult>> Provide(IExchangeRates rates)
|
|
153
|
-
{
|
|
154
|
-
var rate = await rates.GetFor(CustomerId);
|
|
155
|
-
return rate is null ? ValidationResult.Error("No rate data available.") : rate;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
public OrderPlaced Handle(Rate rate) => new(rate);
|
|
159
|
-
}
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
Use `Provide()` for IO/fetched/computed data a valid command needs (explicit-key read-model lookups, external services, snapshots). Only when acquisition itself yields nothing usable may `ValidationResult` / `AuthorizationResult` / `Result<TProvided, ValidationResult>` short-circuit — here, no external rate data, not an ordinary validation rule. Keep IO in `Provide()` and the decision in `Handle()`. Do **not** write a pass-through `Provide()` that only wraps a read model `Handle(...)` could take directly. Pick one rejection owner: validators for existence/preconditions; `Result<TEvent, ValidationResult>` in `Handle()` only for a rule depending on the event decision. Do not duplicate the same rejection.
|
|
163
|
-
|
|
164
|
-
**[convention]** `Provide()` acquires decision inputs, not the writes moved out of `Handle()`; declare those as operations and let Arc execute them. Operations cannot return receipts into the decision — see **cratis-arc-command-operation**.
|
|
165
|
-
|
|
166
|
-
### `Handle()` return shapes **[contract]**
|
|
167
|
-
|
|
168
|
-
Return the event(s) directly — Arc appends them; never inject `IEventLog` to append the primary event. If there is no `await`, return the value directly (no `Task<T>`/`Task.FromResult`).
|
|
169
|
-
|
|
170
|
-
| Return | When |
|
|
171
|
-
| --- | --- |
|
|
172
|
-
| `TEvent` | one event on the implicit stream |
|
|
173
|
-
| `(EventSourceId, TEvent)` | command decides the event source id (tuple order doesn't matter) |
|
|
174
|
-
| `(TResponse, TEvent)` | a response value plus an event |
|
|
175
|
-
| `IEnumerable<object>` | multiple events; `EventForEventSourceId(id, @event)` wrappers for cross-stream |
|
|
176
|
-
| `Result<TEvent, ValidationResult>` | success event or a typed validation error; does not itself guard concurrency |
|
|
177
|
-
| `ICommandOperation` / `CommandOperations` | immediate server-side work after event enrollment, never the client response |
|
|
178
|
-
| `void` | no event |
|
|
179
|
-
|
|
180
|
-
**How Arc picks the response vs. metadata:** for an `(A, B)` tuple, each element is checked — operations are server-consumed, and at most one ordinary element without a response-value handler becomes the `CommandResult<...>` response; if all are server-consumed, there is no response; **more than one un-handled element throws**. A `Result<TSuccess, TError>` has its inner value unwrapped and processed by these same rules (so `Result<(TId, TEvent), ValidationResult>` is processed as a tuple). A `(TEvent, Subject)` tuple's `Subject` is treated as **append metadata** (not a response) and overrides the resolved compliance subject. A `(TIdConcept, TEvent)` tuple opens a new stream — the id concept is the event source for that event.
|
|
181
|
-
|
|
182
|
-
### Stream metadata & DCB concurrency **[contract]**
|
|
183
|
-
|
|
184
|
-
Three attributes scope an append broad→narrow, and each one *also* (only with `concurrency: true`) contributes its dimension to the server-side concurrency check:
|
|
185
|
-
|
|
186
|
-
| Attribute | Meaning |
|
|
187
|
-
| --- | --- |
|
|
188
|
-
| `[EventSourceType("...")]` | the overarching concept the event source *is* (`Account`, `Order`) |
|
|
189
|
-
| `[EventStreamType("...")]` | a concrete process **within** that source type (`Onboarding`, `Transactions`) |
|
|
190
|
-
| `[EventStreamId("...")]` | a marker separating **independent streams** within one stream type (`Monthly`, `2026-06`) |
|
|
191
|
-
|
|
192
|
-
Each attribute always tags the appended events (visible in `EventContext`). **Only when the command also carries `concurrency: true`** does each dimension join the server-side `ConcurrencyScope` (plus the event source id), with the optimistic strategy supplying the expected tail sequence number. A command **without** `concurrency: true` contributes no scope of its own, and the append falls to whatever concurrency strategy the event sequence is configured with — by default the optimistic one, scoped to the event source. So the attribute chooses *which dimensions* bound the check, not whether a check happens at all. Reach for it on high-contention state transitions where a stale read would let two commands both "win" — it narrows the boundary so appends that are genuinely independent stop colliding (concurrency failures surface on `CommandResult`/`AppendResult`). Adopt it deliberately per behavior, not as a blanket default.
|
|
193
|
-
|
|
194
|
-
Read protection `On` is the default from Arc 23: leave `<CratisReadProtection>` unset (the `On` default comes from `Cratis.Arc.Chronicle`'s build props, `Source/DotNET/Chronicle/build/Cratis.Arc.Chronicle.props`; a project not importing them has no default) and never add `[ReadProtection(ReadProtectionMode.On)]` to a command. Opt out only where needed, narrowest first, each with a stated reason: `[Unprotected("why")]` on a read-model parameter, model type or method (one advisory read; the method form covers only raw reads in the body, never injected read-model parameters, and mixing it with protected read-model parameters raises ARCCHR0034, so put it on the parameter); `[Unprotected("why")]` or `[ReadProtection(ReadProtectionMode.Off)]` on one command; project-level `Off` or `Measure` only as a temporary adoption step. For a key computed at runtime, `IDecisionReads.Get<T>(key)` in `Provide` or a validator is a protected read; method-level `[Unprotected]` is only for reads the guard cannot cover (joins, children, other sequences, raw event store, external stores) and its reason names what guards the append. Arc 23 key metadata is strict by default (`CommandReadModelKeysMissing`, `ReadProtection:RequireGeneratedMetadata`, `ProtectedReadModelKeyOptions.Strict`). A project that sets the property keeps its mode. Legacy (Arc 22.106.0 and later 22.x only): the default was `Off`, so set `<CratisReadProtection>On</CratisReadProtection>`; remove it on upgrading to Arc 23.
|
|
195
|
-
Under `On`, a read-model parameter of `Handle()` or of a `CommandValidator<T>`
|
|
196
|
-
constructor is read fresh and guards the append; the state rule goes in the
|
|
197
|
-
validator. Two entities: two parameters, `[LookUpBy(nameof(Cmd.Prop))]` on the
|
|
198
|
-
second, `IEnumerable<EventForEventSourceId>` returned. One stream inside a source:
|
|
199
|
-
a per-stream read model (`[ReadModel, EventStream<TSource>("Stream")]`) on a command
|
|
200
|
-
routed with `[EventSource<TSource>("Stream")]` and `[EventStreamId("{Prop}")]`, or
|
|
201
|
-
`IStreamReads.ForCommand()` in `Provide()` returning `StreamDecision.Append(...)`.
|
|
202
|
-
A deliberate advisory read is `[Unprotected("why")]`. Models must be admitted
|
|
203
|
-
(source-keyed projection with a string or Guid `Id`, or an unfiltered reducer
|
|
204
|
-
without constructor dependencies); joins, children and event-property keys are
|
|
205
|
-
refused. Under `Off` (set explicitly, or the Arc 22 behavior) injection and keyed reads are advisory,
|
|
206
|
-
including in `Handle()`; `[ProtectedDecision]` + `DecisionRead<T>` is the older
|
|
207
|
-
per-command opt-in and still works. Exact returned scopes replace automatic
|
|
208
|
-
`concurrency: true` capture. Refusals: [choosing how a rule holds](../../../skills/cratis-chronicle-decision-reads/references/choosing-how-a-rule-holds.md).
|
|
209
|
-
|
|
210
|
-
`[EventStreamId("{ReportingScopeId}:{Period}")]` resolves command property values
|
|
211
|
-
after validation; concepts supply their underlying values. An interface can
|
|
212
|
-
compute an id too. `AmbiguousEventStreamId` rejects any non-NotSet attribute
|
|
213
|
-
value combined with `ICanProvideEventStreamId`, including a template; pick one.
|
|
214
|
-
`[EventSource<TSource>(stream)]` selects a definition-backed route on commands and
|
|
215
|
-
aggregate roots. `EventRoute`/`IEventRoutes` reuse it; explicit wrapper routing
|
|
216
|
-
wins over command context. `[EventTag]`, `ICanProvideEventTags`, returned
|
|
217
|
-
`EventTags` and discovered `ICanProvideCommandEventTags` add tags to returned
|
|
218
|
-
events. `CompleteStream` runs after commit, not atomically with append, and closes
|
|
219
|
-
stream type/id across the log, not just one source. Read the Arc command skill's
|
|
220
|
-
`references/decisions-and-routing.md` for source-pinned contracts and limitations.
|
|
221
|
-
|
|
222
|
-
### Event-source id resolution order **[contract]**
|
|
223
|
-
|
|
224
|
-
`ICanProvideEventSourceId.GetEventSourceId()` first; otherwise the **first property, in declaration order, that qualifies** — an `EventSourceId`/`EventSourceId<T>`-derived property *or* a `[Key]`-marked one (there is no priority between those two kinds; Arc reports two qualifying properties as `ARCCHR0002` and tells you to implement the interface); otherwise Arc generates a new id. When `ICanProvideEventSourceId` is implemented and returns `null` (or throws), the result is `EventSourceId.Unspecified`, **not** a generated id.
|
|
225
|
-
|
|
226
|
-
⚠️ **Two attributes are spelled `[Key]`.** Chronicle resolves the key from `Cratis.Chronicle.Keys.KeyAttribute`; `System.ComponentModel.DataAnnotations.KeyAttribute` compiles, reads identically, and does **nothing** in an application that uses Chronicle — every command gets a fresh generated event source id and every read model keyed by it resolves to nothing. Arc's analyzer **`ARCCHR0008`** reports the wrong one; if a `using` pulls in the DataAnnotations namespace, check which `[Key]` you have.
|
|
227
|
-
|
|
228
|
-
⚠️ **Injected read models resolve ONLY by the command's resolved event-source id** — not by the read-model type, and not by "the property that looks like its key." If the read model you need is keyed by a **different** value, direct injection silently hands you the **wrong** instance — or, when nothing exists for the command's id, `null` (or for a `[Passive]` projection a **default-valued** instance; see *Existence checks* below) — a correctness bug, not a compile error. The three failure shapes: (1) you need a *referenced other* entity (act on A, check B); (2) the command has **multiple** `EventSourceId<T>`-typed properties → ambiguous resolution (never rely on property order); (3) a create command whose id is generated inside `Handle()`. In all three, read by explicit key: `IReadModels.GetInstanceById<T>((EventSourceId)key)`.
|
|
229
|
-
|
|
230
|
-
### Validators **[contract]**
|
|
231
|
-
|
|
232
|
-
`CommandValidator<TCommand>` (FluentValidation) sits directly below the `[Command]` it validates. **Omit it entirely when there are no rules** — delete an empty subclass. Single-property intrinsic rules belong on `ConceptValidator<T>`, not here. Constructor dependencies (read models, services, identity accessor) are injected and resolved per the command's event-source id.
|
|
233
|
-
|
|
234
|
-
### Authorization **[contract]/[convention]**
|
|
235
|
-
|
|
236
|
-
Apply authorization attributes on the `[Command]` record or query method. **[convention]** never check roles inside `Handle()` with an `if` — express it as an attribute/policy/command-filter at the boundary; command-specific scope rejection belongs in the validator.
|
|
237
|
-
|
|
238
|
-
## Events
|
|
239
|
-
|
|
240
|
-
`[EventType]` records are the schema-bound truth of the system.
|
|
241
|
-
|
|
242
|
-
- **[convention] Plain `[EventType]` for new events, public ones included** — the type name is the id; an explicit id only to retain a persisted id or resolve a cross-package collision, never to change one (application-profile.md item 7, decision 152). Evolve a contract with `generation:` (invoke the **cratis-chronicle-event-type-migration** skill).
|
|
243
|
-
- **[contract] Past-tense, one-purpose names** (`AuthorRegistered`, not `Updated`/`FormSubmitted`) — Chronicle requires past-tense, single-purpose facts. Self-describing without slice context.
|
|
244
|
-
- **[contract] Avoid nullable properties** — Chronicle's analyzer warns on nullable event members; model optional facts as a separate event, or resolve a nullable command input to a non-null sentinel before constructing the event.
|
|
245
|
-
- **[contract] `Handle()` never returns a nullable event or `null` for "nothing to do"** — Arc treats a `null` result as success with nothing appended, so the caller is told a command succeeded that never happened. Missing state or a failed rule is a rejection: return `Result<TEvent, ValidationResult>` with `ValidationResult.Error(...)`, or reject in a validator, not `Provide()`. Optional `ICommandOperation` returns are a separate contract and unaffected.
|
|
246
|
-
- **[contract] Never carry the event-source id** — it's implicit in the event context.
|
|
247
|
-
- **[convention] No `DateTimeOffset`/`DateTime` properties** that duplicate `EventContext.Occurred` — Chronicle records the wall-clock timestamp of every event there. Read it in projections/reducers via `[SetFromContext<T>]` or fluent `.Set(m => m.X).ToEventContextProperty(c => c.Occurred)`. Use `DateOnly` only for a business date the user explicitly supplies.
|
|
248
|
-
- **[convention] Every `[EventType]` has an XML `<summary>`** (Cratis C# doc convention) recording why the event exists and what each value means.
|
|
249
|
-
- **[contract] `[EventType]` lives in its owning slice file** — referenced from other slices via `using`.
|
|
250
|
-
|
|
251
|
-
**Event-design rules (what is and isn't a fact):**
|
|
252
|
-
|
|
253
|
-
- **Events are not read models** — never append events for totals, counts, statuses, search indexes, or dashboards. Project those from source events into read models.
|
|
254
|
-
- **Never duplicate one fact as an aggregate event *plus* a per-item fanout.** If a command fans out per item (one `RequestSentToPartner` per partner), don't also emit an aggregate event carrying the whole list. Keep the fanout as the single source of truth and project any aggregate from it; pick per-item vs. single-with-list event from how consumers read it — never both.
|
|
255
|
-
- **Command rejection normally appends no event.** Validation and business-rule rejections are command results, not facts. Add a rejection/failed event only when the business must audit or react to that failure later.
|
|
256
|
-
- **A settings event records the decision, not the whole blob.** Split composite configuration into one event per concern; a whole-object `…Set` event is last-writer-wins CRUD and turns every new field into a schema change. The tell is a `…Set`/`…Updated` event carrying a full settings record. Judgment-shaped; no gate.
|
|
257
|
-
- **One event name = one meaning.** Don't reuse a vague event for several domain facts; if facts can occur, be absent, or have consumers independently, split them into separate event types.
|
|
258
|
-
- **Never persist clock-relative state.** "Overdue", "expired", "due in 3 days" are true *now* and false later, and a projection only moves when an event arrives — so a projected `IsOverdue` is wrong the moment the clock crosses the line with no event to flip it. Store the **deadline** (a `DateOnly`/`DateTimeOffset` the business supplied) and compute the comparison at the query or UI edge, refreshing when time alone changes the answer. Only when *crossing* the deadline is itself a business fact (a fee is charged, a reminder goes out) does a scheduled process append an event for it.
|
|
259
|
-
|
|
260
|
-
```csharp
|
|
261
|
-
/// <summary>Emitted when an author is registered.</summary>
|
|
262
|
-
/// <param name="Name">The author's display name.</param>
|
|
263
|
-
[EventType]
|
|
264
|
-
public record AuthorRegistered(AuthorName Name);
|
|
265
|
-
```
|
|
266
|
-
|
|
267
|
-
## Read Models and Queries
|
|
268
|
-
|
|
269
|
-
**[contract]** `[ReadModel]` records expose eligible public static methods as queries. Requires Arc 22.121.0 for non-public methods to be excluded even with `[Query]` (ARC0029 warns); older versions also expose eligible internal statics. Keep helpers outside the read model when supporting those versions. Dependencies are plain method parameters (no `[FromServices]`). For application code, start with model-bound mappings, use fluent when the definition needs structure, and choose reducer code when transitions read better as code. For step-by-step creation, invoke the **cratis-chronicle-read-model** skill.
|
|
270
|
-
|
|
271
|
-
Use `[ReadModel(RequireQueryAttribute = true)]` with `[Query]` on intended
|
|
272
|
-
endpoints when folds exist (ARC0026/ARCCHR0019). `[Query]` alone does not hide
|
|
273
|
-
siblings. Keep helpers outside the read model regardless of visibility.
|
|
274
|
-
Requires Arc 22.27.1 for private/protected/compiler-generated methods to be
|
|
275
|
-
excluded; older versions can expose private statics too. Check `dotnet list package`.
|
|
276
|
-
A `CancellationToken` is supplied by Arc; concept arguments come from the caller,
|
|
277
|
-
not DI. Bad GET/QUERY argument conversions return 400. Single-instance MongoDB/EF
|
|
278
|
-
observations emit `default` on absence/deletion/filter exit: guard `hasData` and
|
|
279
|
-
`isReady` in React; see the read-model query reference.
|
|
280
|
-
|
|
281
|
-
### Query return shapes **[contract]**
|
|
282
|
-
|
|
283
|
-
Stay within analyzer-supported shapes: the read model, `T?`, a collection/array/`IQueryable<T>` of it, `Task<...>` of those, `IAsyncEnumerable<T>`, or `ISubject<...>` of read model/collection.
|
|
284
|
-
|
|
285
|
-
- **`IQueryable<TReadModel>`** → Arc pages and sorts it through LINQ. Right for a LINQ-native provider such as Entity Framework Core.
|
|
286
|
-
- **`ISubject<IEnumerable<TReadModel>>` from `collection.Observe(...)`** → the MongoDB way to a paged, sorted list, built on a native `Find` with no LINQ (frontend `useWithPaging` — see the **cratis-arc-query-paging** skill). **[contract]** A query never writes `Skip`/`Take`/`OrderBy` for the client's paging or sorting; Arc applies them. Use one of these two shapes whenever a list can grow.
|
|
287
|
-
- **`ISubject<...>`** → live/observable queries. Return it directly — **never** `Task<ISubject<...>>`.
|
|
288
|
-
- **[contract] Custom paths use `[Path("...")]`** (`PathAttribute`), not ASP.NET `[Route]`. Reserve `[Route]` for controller endpoints (which this convention avoids).
|
|
289
|
-
|
|
290
|
-
```csharp
|
|
291
|
-
[ReadModel]
|
|
292
|
-
[FromEvent<AuthorRegistered>]
|
|
293
|
-
public record Author(AuthorId Id, AuthorName Name)
|
|
294
|
-
{
|
|
295
|
-
public static ISubject<IEnumerable<Author>> AllAuthors(IMongoCollection<Author> collection) => collection.Observe();
|
|
296
|
-
public static Task<Author?> AuthorById(IReadModels readModels, AuthorId id) =>
|
|
297
|
-
readModels.GetInstanceById<Author>((EventSourceId)id);
|
|
298
|
-
}
|
|
299
|
-
```
|
|
300
|
-
|
|
301
|
-
**[convention] Projections over reducers.** A read model is built by a **projection** by default (model-bound attributes, then fluent `IProjectionFor<T>`; in Elixir the `Cratis.Chronicle.Projections` DSL). Reach for a **reducer** only when a projection cannot express the transition (branching on prior state, calculations, guards) and say why in the read model's doc. A projection is declarative, so the kernel can replay, optimize and diagram it; a reducer is code you own and run.
|
|
302
|
-
|
|
303
|
-
**[convention] A read model owns its artifacts.** The read model, its projection (or, by exception, reducer) and its queries live together, in the slice folder of the read model and in one file named for it, not in files named for their technical function (`Queries`, `Reducer`, `Projection`). In Elixir that is one file with the read model's module containing its projection/reducer and its queries as nested modules, the way a command and its events share a file.
|
|
304
|
-
|
|
305
|
-
**[convention] No default values on `[ReadModel]` constructor parameters** — omit `= null`, `= default`, `= default!`, `= 0`, `= false`, `= ""`, `= []`. Chronicle writes the projected value on the first event, so a sentinel default is never correct and hides missing projection wiring. The only permitted defaults are enum variants that represent an explicit initial state and `[SetValue<T>]`-driven `bool` flags. Use `T?` for data genuinely absent before the relevant event fires.
|
|
306
|
-
|
|
307
|
-
**[convention] Read-model boundaries & naming.** Read models are shaped for consumers and command policies, not CRUD-style aggregate DTOs. Split one when it starts mixing unrelated lifecycles — the test is coupling (state that changes for different reasons), not size. The event log is already the canonical history/audit trail, so name a model `AuditLog`/`ActivityLog` only when it genuinely is an audit surface; for curated UI projections prefer names like `Timeline`, `WorkSurface`, `Summary`, `Detail`, or `Policy`. (This is "specialization over reuse" applied to read models.)
|
|
308
|
-
|
|
309
|
-
**[convention] Keep query cost bounded.** Prefer slim, purpose-built projections
|
|
310
|
-
for frequently read summaries rather than repeatedly joining broad collections.
|
|
311
|
-
This is not a one-collection framework restriction. Embed bounded children; keep
|
|
312
|
-
growing histories in separately paged timeline models. Evaluate variants when
|
|
313
|
-
lifecycle shapes diverge, and preserve reducer admission/ordering guards when
|
|
314
|
-
considering a projection conversion. Narrow observable inputs at the source.
|
|
315
|
-
Ordinary MongoDB `Observe` retains its initial set and applies changes; do not
|
|
316
|
-
claim it always re-queries the whole collection per event. Explicit recompute
|
|
317
|
-
callbacks have a different cost. See the **cratis-chronicle-read-model** skill's
|
|
318
|
-
query reference for versioned behavior and composition trade-offs.
|
|
319
|
-
|
|
320
|
-
### Choosing read-model access in command-side code **[convention]**
|
|
321
|
-
|
|
322
|
-
Ladder, first that fits: (1) direct read-model injection — guarded under read protection `On`, advisory under `Off`; keyed by the command's own event-source id, or by `[LookUpBy]`; (2) a `[Passive]` projection; (3) `IReadModels.GetInstanceById<T>((EventSourceId)key)` for a different/derived key; (4) a materialized projection. A lookup *interface* is justified **only** for a genuine non-key search (e.g. find-by-email) — never to wrap a keyed `GetInstanceById`.
|
|
323
|
-
|
|
324
|
-
**[convention] One read model per consumer scenario, and dispatch never reads a UI model.** When a second consumer needs different semantics (board vs list vs count vs control flow), add a projection instead of extending the existing model; a command, reactor or job deciding what to do reads a model built for that decision, never a screen's listing model. The tell is a read model many slices import or one that projects many unrelated slices. Judgment-shaped; no gate.
|
|
325
|
-
|
|
326
|
-
**[contract] Passive state is not sink state.** `IMongoCollection<T>` cannot
|
|
327
|
-
compute a passive read model; any leftover documents are not maintained state.
|
|
328
|
-
Read through Chronicle by key or supported injection. **[convention]** Never
|
|
329
|
-
materialize secret-bearing state just to make a collection query work: project
|
|
330
|
-
safe metadata separately. Count passive types only as inventory, not as a defect;
|
|
331
|
-
evaluate reconstruction frequency, history length, consistency, and security.
|
|
332
|
-
|
|
333
|
-
### Existence checks — what an absent read model actually resolves to **[contract]**
|
|
334
|
-
|
|
335
|
-
`IReadModels.GetInstanceById<T>` is declared `Task<TReadModel>` (non-nullable) yet hands back `default!` when nothing exists, so the compiler gives callers no signal. What "nothing exists" resolves to depends on the **backing** — *not* on whether the model carries `[RemovedWith<T>]`:
|
|
336
|
-
|
|
337
|
-
| Backing | Never created — no matching event for the key | Removed by a `[RemovedWith<T>]` event |
|
|
338
|
-
| --- | --- | --- |
|
|
339
|
-
| Materialized projection or reducer (**the default**) | `null` | `null` — the sink document is deleted |
|
|
340
|
-
| `[Passive]` **projection** | ⚠️ a **default-valued instance**, never `null` | `null` — the computed state is blanked |
|
|
341
|
-
| `[Passive]` **reducer** | `null` | `null` |
|
|
342
|
-
|
|
343
|
-
`[RemovedWith<T>]` is therefore not the axis: a removed instance is `null` on **every** backing. The single non-`null` case is a **`[Passive]` projection that was never created** — Chronicle computes it on demand and seeds the initial state from the read model's schema, which fills every non-nullable, non-`string` property with its type default. (It answers `null` only when *no* property yields a schema default — all of them nullable, `string`/`object`, or an enum whose `0` is not a declared member — which is why the behavior looks inconsistent between models, not an escape hatch to design for.)
|
|
344
|
-
|
|
345
|
-
⚠️ **This is invisible when a status enum's `0` is a real state** ("the state every stream starts in"): absent becomes byte-identical to freshly-created, so a command reads never-invited as already-invited. **Renumbering the enum from `1` is not the fix** — the value is then dropped from the payload and deserializes back to CLR `0` on the client anyway. Carry an explicit existence flag instead: `[SetValue<FirstEvent>(true)] bool Exists`, one `[SetValue<T>]` per event that can be the first for the stream. That is exactly the `[SetValue<T>]`-driven `bool` exception the no-defaults convention above allows for. An explicit `NotSet`/`Unknown` zero member also works, but only because the property stays present and readable; the flag is the robust form. ⚠️ **A spec suite will not catch this** — `CommandScenario`'s read-model harness answers `null` for an unseeded event-source id, which matches production for every row above *except* the passive projection. Cover the absent case by seeding a default-valued instance explicitly, not only `null`.
|
|
346
|
-
|
|
347
|
-
**Injected-parameter nullability is the required/optional switch:** a nullable `TReadModel?` parameter (on a validator, `Provide()`, or `Handle()`) gets `null` injected for a never-created/removed instance — check `is null`. A **non-nullable** `TReadModel` whose instance does not exist is **rejected, not crashed**: Arc raises `ReadModelDoesNotExistForCommand`, which surfaces as a validation failure (HTTP 400) with reason `DependencyUnavailable` (non-nullable = "required, must exist"). The server-fault path (`CannotResolveCommandDependency` / `CannotResolveValidatorDependency`, HTTP 500) is reached only when the dependency is *not* a registered read model or no usable key was resolved — the exact contract is in the **cratis-arc-command** skill's `read-model-injection` reference. ⚠️ Both switches ride on the same resolution, so on a **`[Passive]` projection** neither fires for a never-created instance: the nullable parameter receives a default-valued object and the `is null` guard never runs, and the non-nullable one resolves happily. Check the existence flag there, not nullability. Type by-id accessors you write yourself as `Task<T?>` so callers get the compiler signal Chronicle's own signature withholds.
|
|
348
|
-
|
|
349
|
-
### Observation commands append only changes **[convention]**
|
|
350
|
-
|
|
351
|
-
A command fed by a webhook, poll, sweep, retry or classifier is an *observation*, and looking is not a fact.
|
|
352
|
-
|
|
353
|
-
- Compare with current state and append **nothing** when nothing changed; `Handle()` takes the thing it would change and compares each fact on its own.
|
|
354
|
-
- Compare against something that cannot lag: a `[Passive]` read model read by key, or the stream's own events, never a materialized read model (it trails the log and is bypassed exactly while rebuilding).
|
|
355
|
-
- Never append a tick, a heartbeat, a trigger event for a reactor, a "last looked" timestamp, telemetry or a non-answer ("pending", "could not decide"); use a job, state machine, command operation or `ICommandPipeline`.
|
|
356
|
-
- An event named `…Changed` records a real change; split a broad `…DetailsChanged` into per-fact events.
|
|
357
|
-
- Specify two behaviors per observation command: the same observation twice appends nothing, and a changed observation appends exactly the change.
|
|
358
|
-
|
|
359
|
-
See the **cratis-chronicle-event-modeling** skill (`references/event-log-hygiene.md`).
|
|
360
|
-
|
|
361
|
-
## Projections **[contract]**
|
|
362
|
-
|
|
363
|
-
Projections build read models from **events** (never from other read models). Use the ladder — for adding one to an existing model, invoke the **cratis-chronicle-projection** skill:
|
|
364
|
-
|
|
365
|
-
1. **Model-bound attributes** on the `[ReadModel]`: `[FromEvent<T>]`, `[SetFrom<T>]`, `[SetFromContext<T>]`, `[ChildrenFrom<T>]`, `[RemovedWith<T>]`, `[Nested]`, `[ClearWith<T>]`, counters, `[FromAll]`.
|
|
366
|
-
2. **Fluent `IProjectionFor<T>`** when mappings need structure or the contract should stay attribute-free: joins, composite/constant keys, parent-key extraction, context mapping, `.NotRewindable()`, or supported conditional setters. Declarative metadata only — no DI side effects, no imperative `Define()` body, builder lambdas are member access only.
|
|
367
|
-
3. **Reducer code** for clearer "current state + event → next state" logic — prior-state branches, calculations and guards. A normal choice, not a last resort. Default new .NET reducers to **self-reducing models** with public static `Reduce(event, model? current[, EventContext])`, returning model or `Task<model>` (including nullable results), without a marker. Use separate `IReducerFor<T>` for fold-time DI, replay instance behavior or separation.
|
|
368
|
-
4. **Nominated plain instance class** only when its assembly cannot reference Chronicle; nominate through `ChronicleOptions.ExplicitArtifacts` before creating stores. Use **PDL** for definitions authored outside application code, not as the code-first default.
|
|
369
|
-
|
|
370
|
-
For self models, keep `[ReadModel]`, static `Reduce` methods and queries on one record. Before Arc 22.90.0, use `[ReadModel(RequireQueryAttribute = true)]` and `[Query]`; from Arc 22.90.0, Arc excludes methods taking the model itself from query discovery and Arc.Chronicle claims self models for command injection. Complete marker-free shapes become reducers on upgrade; a competing builder fails with `AmbiguousReadModelBuilder`. Preserve admission/ordering guards when converting and remove the previous builder. See **cratis-chronicle-reducer** for exact signatures, hooks and limits. `[Passive]` belongs on the model; it gives fresh reads, not a concurrency guard — decision reads refuse reducers. Self reduction is .NET-only (Cratis/Chronicle#4851); this does not claim Stage renders it.
|
|
371
|
-
|
|
372
|
-
- **[contract] AutoMap is on by default — never call `.AutoMap()`.** Match property names so AutoMap wires them; diverge with `[SetFrom<T>]` / `.Set().To()` only for genuine name differences. Re-enable `.AutoMap()` only inside a scope disabled with `.NoAutoMap()`.
|
|
373
|
-
- ⚠️ **AutoMap runs per *event* across every event the projection references — it does not defer to your explicit setters.** A property sourced with `[SetFrom<A>]` can still be silently overwritten when some *other* referenced event `B` happens to carry an identically named property (AutoMap wires `B`'s value on top). Fence the property with property-level **`[NoAutoMap]`** (which pairs with the `[SetFrom]`, not replaces it) so only your explicit setter writes it. `[SetFrom]` does **not** imply this — leaving AutoMap on is what allows the common create-then-rename pattern (a later event updating a property by name-match). No colliding event property name means no `[NoAutoMap]` needed. (An event subscribed only via an aggregate like `[Count]` doesn't auto-map its other properties, so it can't collide.) The analyzer **`CHR0025`** surfaces this collision as an *informational* heads-up (not a warning, because either resolution — add `[NoAutoMap]`, or accept the update — can be correct).
|
|
374
|
-
- **[contract] `[Nested]`** projects a single nullable child object; place `[FromEvent<T>]` on the nested type (or property-level `[SetFrom<T>]` when the parent shares the event — declaring class-level `[FromEvent<T>]` on both parent and nested type for the same event is a duplicate-registration startup crash).
|
|
375
|
-
- **[contract] Event-sequence source attributes:** class-level `[EventSequence("name")]`, `[EventLog]`, or `[EventStore("name")]` select where the projection reads from (a named sequence, the explicit default log, or another Chronicle event store / inbox). ⚠️ `[FromEventSequence]` is **removed** — use `[EventSequence("name")]`.
|
|
376
|
-
- **[convention] Counters and aggregates (`[Increment]`, `[Decrement]`, `[Count]`) need clean lifecycle transitions.** They see the event, not the item's previous state, so a close for an already closed item drifts the counter permanently and replay reproduces it. The command that appends the lifecycle event refuses a non-transition and appends nothing; fold the log per event source with the proposed mapping and compare it with the state it summarizes before shipping.
|
|
377
|
-
|
|
378
|
-
## Constraints **[contract]**
|
|
379
|
-
|
|
380
|
-
Append-time invariants enforced by the Chronicle Kernel; Arc converts violations to validation errors on command appends.
|
|
381
|
-
|
|
382
|
-
- **`[Unique]`** on an event property (across event sources) or event class (one per source) — the default.
|
|
383
|
-
- **`[RemoveConstraint("name")]`** on a removal event to release a claimed value.
|
|
384
|
-
- **`IConstraint`** for multi-event, differing property names, case-insensitive (`.IgnoreCasing()`), or custom messages. Declarative metadata only — no DI side effects, member-access lambdas.
|
|
385
|
-
|
|
386
|
-
Group multi-event constraints under a shared name constant (`<Module>ConstraintNames`). Treat violations as validation results — never as thrown exceptions.
|
|
387
|
-
|
|
388
|
-
## Reactors **[contract]**
|
|
389
|
-
|
|
390
|
-
`IReactor` is a marker interface; dispatch is by the first parameter type. Reactors live in Automation slices (reacting to events, calling external systems, returning follow-up commands/events) and in Translation slices that record outside data as our facts. See [reactors.md](./reactors.instructions.md) for full rules, or invoke the **cratis-chronicle-reactor** skill.
|
|
391
|
-
|
|
392
|
-
```csharp
|
|
393
|
-
public Task AuthorRegistered(AuthorRegistered @event, EventContext context) => ...
|
|
394
|
-
```
|
|
395
|
-
|
|
396
|
-
- **Signatures:** the first parameter is the event and drives dispatch; every parameter after it is resolved as a dependency — `EventContext`, a read model, a service, a `ReactorDelivery` — with no limit on how many. Return `Task`, `void`, or a synchronous side-effect return type. Prefer `Task`/async for real side effects, but sync returns are supported.
|
|
397
|
-
- **[convention] `[OnceOnly]`** on any non-idempotent side effect (emails, payments, external writes) — replay re-fires otherwise. It covers **replay only**; a recovered failed partition still re-delivers, so guard that with a `ReactorDelivery` receipt.
|
|
398
|
-
- **Side-effect events:** return them directly as event objects (single `TEvent`, `IEnumerable<object>`, or `Task<...>` thereof) — Chronicle appends them to the triggering event source. To target a different event source/stream, return `EventForEventSourceId(id, @event)` wrappers (the same cross-stream mechanism as a command — see [reactors.md](./reactors.instructions.md)); the wrapper is self-describing, so set the stream type, source type or `Subject` on it when you need full metadata control. Don't inject `IEventLog` for the normal path; reserve it for explicit append-result/wait/options/mixed-target workflows.
|
|
399
|
-
- **Commands from a reactor:** **return** the `[Command]` (or a collection of commands) from a `[OnceOnly]` handler — Arc executes it through the full validation/authorization/handler pipeline and a denied or invalid result fails the partition rather than disappearing. A reactor has no principal, so a `[Roles]`-gated command needs `[ExecuteCommandsAsSystem("<role>")]` on the reactor class. The imperative `ICommandPipeline.Execute(command)` remains available (`[OnceOnly]`, inspect the `CommandResult`, supply your own execution context — see the **cratis-arc-command-execution** skill). Don't reach for `IEventLog` to change state in another slice. Details and the analyzer: [reactors.md](./reactors.instructions.md).
|
|
400
|
-
- **[convention] Stateless, idempotent, read state via Chronicle read models** (`GetInstanceById`), not `IMongoCollection<T>`. Don't throw to "validate" malformed inbound events — that pauses the partition and can quarantine the observer; record an explicit failure/dead-letter event instead.
|
|
401
|
-
|
|
402
|
-
## Compliance (PII)
|
|
403
|
-
|
|
404
|
-
**[contract]** Chronicle encrypts `[PII]`-marked values per subject; decryption is transparent to observers and queries (read models injected into a `CommandValidator<T>` or `Handle()` decrypt transparently under the command's resolved subject before validation/handler logic runs).
|
|
405
|
-
|
|
406
|
-
- Prefer **concept-level `[PII]`** (on the `ConceptAs<T>` type) so the marker travels everywhere automatically; use property-level `[PII]` only when a value is personal in one event context but not everywhere.
|
|
407
|
-
- `[PII]` also keeps the value **off the causation chain** when it is a command property — see [Causation](#causation--what-a-command-records-contract). A retained operational secret that is not personal data needs `[Encrypted]` plus `[NotAudited]` instead; `[PII]` is the wrong tool for it, and a password is never retained at all (store a hash).
|
|
408
|
-
- **`[PII]` is found at any nesting depth, and may mark a whole value object.** A `[PII]` concept inside a value object is encrypted where it sits (siblings stay readable). Marking the **value object type** (or a property typed as one) with `[PII]` classifies every value it holds — Chronicle pushes the marker down to the individual values, so the document keeps its shape and each value is separately encrypted rather than fused into one blob.
|
|
409
|
-
- Projection-backed read models inherit PII lineage automatically — don't add `[PII]` to their properties. Reducer-backed models: a `[PII]`-concept-typed property is detected automatically; add property-level `[PII]` only for a primitive/non-PII-concept property populated from PII source data.
|
|
410
|
-
- ⚠️ **`[PII]` cannot be applied to `EventSourceId`/`EventSourceId<T>`** — Chronicle throws `PIINotSupportedOnEventSourceId` at runtime because the identifier is the encryption-key lookup. If the identifier itself is sensitive, use a random `Guid`-backed surrogate as the event source id and store the sensitive value in a `[PII]` property.
|
|
411
|
-
- **PII inside a list/array element IS encrypted.** The compliance walk descends into nested objects *and* into array elements, so a `[PII]` concept in an `IReadOnlyList<T>` and a `[PII]` member of an element object are both encrypted per element. `[PII]` on the *list property itself* is different: it blob-encrypts the whole collection as one value, protecting it but making per-element values unqueryable — reach for that only when you never need to query inside the collection. For list-valued PII that must stay queryable, prefer a **person-scoped** read model joined at the query edge.
|
|
412
|
-
- ⚠️ **Do not declare a read-model property named `_subject`** — Chronicle reserves that field in MongoDB for internal key tracking. After right-to-erasure key deletion, `[PII]` properties return an **empty** value (no exception is thrown).
|
|
413
|
-
|
|
414
|
-
### Subject resolution **[contract]**
|
|
415
|
-
|
|
416
|
-
The compliance **subject** is the encryption-key identity. It is resolved first-match-wins:
|
|
417
|
-
|
|
418
|
-
| Priority | Mechanism | Resolved by |
|
|
419
|
-
| --- | --- | --- |
|
|
420
|
-
| 1 | `Subject` as a tuple element returned from `Handle()` (computed in the handler) | Arc |
|
|
421
|
-
| 2 | `ICanProvideSubject.GetSubject()` on the command | Arc |
|
|
422
|
-
| 3 | a `Subject`-typed property, or a `[Subject]`-marked property, on the **command** (any other type is converted with `ToString()`) | Arc |
|
|
423
|
-
| 4 | a `[Subject]`-marked property on the **event** being appended | Chronicle client |
|
|
424
|
-
| 5 | otherwise the **event source id** of the append — for a command, whatever its event-source-id resolution produced (`ICanProvideEventSourceId` → `EventSourceId<T>` property → `[Key]`) | Chronicle kernel |
|
|
425
|
-
|
|
426
|
-
So a command whose identity is an `EventSourceId<T>` needs no attribute at all: with nothing marked, that identity is the subject. Mark `[Subject]` only when the person is *not* the stream — and never on the `EventSourceId<T>` itself (`CHR0026`).
|
|
427
|
-
|
|
428
|
-
`ICanProvideSubject` lives in `Cratis.Chronicle.Events` (alongside `ICanProvideEventSourceId`/`ICanProvideEventStreamId`). `[Subject]` is *not* aggregate identity. A managed read-model document has **one** subject — never mix multiple people's PII in one document; split into person-scoped models.
|
|
429
|
-
|
|
430
|
-
### Redaction **[contract]**
|
|
431
|
-
|
|
432
|
-
Redaction is a system-event request that removes payload availability from the event log: it replaces the selected event payload in place, preserves the original sequence slot and event context, and records an **`EventRedacted`** marker. It is **not domain undo** — if business state must change, emit a domain event before/alongside the compliance operation. Rewind/rebuild replayable observers after redaction, and make reactor/projection code that consumes broad streams tolerate (filter or no-op on) `EventRedacted`.
|
|
433
|
-
|
|
434
|
-
## Cross-slice patterns **[convention]**
|
|
435
|
-
|
|
436
|
-
Cross-slice access is **read-only and goes through Chronicle** — inject another slice's read model (validator/`Provide()`/`Handle()`), read by explicit key with `IReadModels.GetInstanceById`, mark a `[Passive]` projection for a current read (a rule that must hold under concurrency needs read protection `On`, a stream decision or a constraint, see the `cratis-chronicle-decision-reads` skill's `references/choosing-how-a-rule-holds.md`), or react to its events. **Never** instantiate or DI another slice's command/handler/service.
|
|
437
|
-
|
|
438
|
-
**[convention] Prompts are content.** In an AI-backed feature, keep prompt bodies as resources (embedded files/templates) assembled by a typed composer, not as string literals in classes; the tell is a class dominated by multi-line prompt text. Judgment-shaped; no gate.
|
|
439
|
-
|
|
440
|
-
**[convention] The third copy of a job shape is the deadline for the abstraction.** Two similar jobs or decision flows are fine; when a third appears, extract the shared template instead of copying again. Judgment-shaped; no gate.
|
|
441
|
-
|
|
442
|
-
**DCB (Dynamic Consistency Boundary):** the boundary is the event state explicitly
|
|
443
|
-
enrolled in guarded decisions, not every model a command reads. Use stream
|
|
444
|
-
reads/exact scopes or read-model parameters under read protection `On`
|
|
445
|
-
(`[ProtectedDecision]` + `DecisionRead<T>` is the older per-command opt-in);
|
|
446
|
-
validator/`Provide()`/`Handle()` injection under `Off` is advisory. Stream-level
|
|
447
|
-
`concurrency: true` scopes are another explicit boundary, not protection for an
|
|
448
|
-
arbitrary snapshot. Specify business decisions with direct `Handle()`/validator
|
|
449
|
-
calls and supplied model state. Follow [specs.scenarios.csharp.md](./specs.scenarios.csharp.instructions.md):
|
|
450
|
-
one cheap assembly-level application-shape admission spec; the platform guard
|
|
451
|
-
matrix belongs only in Arc/Chronicle specs.
|
|
452
|
-
|
|
453
|
-
## Dialogs
|
|
454
|
-
|
|
455
|
-
Frontend commands run through the Cratis dialogs — never a vendor or hand-rolled modal. Use `CommandDialog` (executes a command) from `@cratis/components/CommandDialog` or `Dialog` (data collection) from `@cratis/components/Dialogs`. See [dialogs.md](./dialogs.instructions.md).
|
|
456
|
-
|
|
457
|
-
## See also
|
|
458
|
-
|
|
459
|
-
- [general.md](../../../rules/general.md) — layout, slice types, workflow, quality gates.
|
|
460
|
-
- [application-anatomy.md](./application-anatomy.instructions.md) — how the source tree grows from one project to modules and contracts; the slice stays the unit.
|
|
461
|
-
- [concepts.md](./concepts.instructions.md) — `ConceptAs<T>` / `EventSourceId<T>` full patterns.
|
|
462
|
-
- [reactors.md](./reactors.instructions.md) — reactor signatures and side-effect rules.
|
|
463
|
-
- [specs.md](./specs.instructions.md) — `CommandScenario` / `EventScenario` / `ReadModelScenario` / `ReactorScenario`.
|
|
464
|
-
- skills: **cratis-chronicle-event-modeling**, **cratis-arc-command**, **cratis-chronicle-read-model**, **cratis-fundamentals-concept**, **cratis-chronicle-projection**, **cratis-chronicle-reactor**, **cratis-arc-command-validation**, **cratis-chronicle-event-type-migration**, **cratis-arc-command-execution**, **cratis-arc-query-paging**, **cratis-chronicle-multi-tenancy**.
|
|
18
|
+
`Features/` and `Library.Features.*` in the corpus's Library examples are specific to that example, not the house layout. Use the project's actual namespaces when checking those examples' routes, proxy imports and observer IDs.
|
|
@@ -11,7 +11,7 @@ paths:
|
|
|
11
11
|
Read and use **cratis-documentation-writing** to establish the reader's goal and
|
|
12
12
|
page purpose, then **cratis-engineering-docs-authoring** to draft from product
|
|
13
13
|
evidence. Before writing explanations beside examples, work through
|
|
14
|
-
|
|
14
|
+
that skill's explaining-code reference.
|
|
15
15
|
It shows how a concrete registration or directive can carry the explanation
|
|
16
16
|
without making the page read like a review form. Read a current, well-reviewed
|
|
17
17
|
tutorial in the product or a closely related product before writing, without
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: Browser Operator
|
|
3
|
-
description:
|
|
4
|
-
|
|
5
|
-
scoped UI check or production smoke against a named URL and returns an
|
|
6
|
-
evidence record. Never edits source.
|
|
7
|
-
tools: read, grep, find, bash
|
|
3
|
+
description: Runs one scoped, read-only browser check against a named URL and returns an evidence record. The only agent given browser tools; never edits source.
|
|
4
|
+
tools: read, grep, find, bash, playwright_browser_navigate, playwright_browser_snapshot, playwright_browser_take_screenshot, playwright_browser_close
|
|
8
5
|
readonly: true
|
|
9
6
|
modelTier: scoped
|
|
10
7
|
---
|
|
@@ -12,30 +9,8 @@ modelTier: scoped
|
|
|
12
9
|
|
|
13
10
|
# Browser Operator
|
|
14
11
|
|
|
15
|
-
|
|
12
|
+
The harness grants browser tools, not this file; if none are available, say so and stop. Read the `browser` rule before the first call; if it is not installed, stop and say so. Work within the URL, scope, permit and artifact directory you were handed; if one is missing, ask for it.
|
|
16
13
|
|
|
17
|
-
|
|
14
|
+
Use Bash only for evidence artifacts. Navigate only within the named URL and scope. Save screenshots only under `.ai-work/<task>/browser/`. Never evaluate browser scripts or upload files.
|
|
18
15
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
- Confirm you were given the URL, scope, permit and artifact directory. If any is missing, return one specific question.
|
|
22
|
-
- Treat production as read-only. Do an action that changes production state only when the permit names that exact action.
|
|
23
|
-
- Prefer a staging or local copy for interactive and visual runs.
|
|
24
|
-
- Check for stale tabs and idle browsers first. Use one production tab.
|
|
25
|
-
|
|
26
|
-
## Allowed paths
|
|
27
|
-
|
|
28
|
-
- Write only under `.ai-work/<task>/browser/`, using Bash. Stage uploads there.
|
|
29
|
-
- Never edit repository files. Never copy secrets or tokens into artifacts.
|
|
30
|
-
- If a path guard blocks you, stop and report. Never monkey-patch DOM or file APIs to bypass it.
|
|
31
|
-
|
|
32
|
-
## Human handoff
|
|
33
|
-
|
|
34
|
-
On sign-in, 2FA or CAPTCHA, stop. Return `UI UNVERIFIED — needs human sign-in` and what a human must do. Do not guess credentials.
|
|
35
|
-
|
|
36
|
-
## Report
|
|
37
|
-
|
|
38
|
-
- URL, build or version, environment, timestamp
|
|
39
|
-
- Screenshot path under `.ai-work/`
|
|
40
|
-
- Correlation id
|
|
41
|
-
- What you checked, what you did not, and any blocker
|
|
16
|
+
Return the evidence record that rule defines, what you did not check and any blocker.
|