@cratis/pi 7.49.0 → 7.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/package/corpus/agents/screenplay-modeler.md +5 -2
  2. package/package/corpus/agents/screenplay-reviewer.md +1 -0
  3. package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +93 -0
  4. package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +4 -0
  5. package/package/corpus/harnesses/copilot/instructions/react.instructions.md +1 -0
  6. package/package/corpus/hooks/README.md +23 -0
  7. package/package/corpus/hooks/scripts/cratis-pattern-scan.sh +1 -1
  8. package/package/corpus/hooks/scripts/cratis-patterns.json +8 -0
  9. package/package/corpus/hooks/scripts/cratis-quality-gate.sh +6 -0
  10. package/package/corpus/hooks/scripts/cratis-slice-scope-report.sh +54 -0
  11. package/package/corpus/prompts/review-skill.prompt.md +6 -8
  12. package/package/corpus/rules/authoring-skills.md +92 -0
  13. package/package/corpus/rules/general.md +1 -0
  14. package/package/corpus/rules/profiles.md +4 -0
  15. package/package/corpus/rules/react.md +1 -0
  16. package/package/corpus/skills/cratis-application-react-specifications/SKILL.md +1 -1
  17. package/package/corpus/skills/cratis-application-slice-conformance/references/build-prompts.md +9 -1
  18. package/package/corpus/skills/cratis-application-slice-conformance/references/checklists.md +4 -1
  19. package/package/corpus/skills/cratis-application-slice-conformance/references/provenance.md +3 -0
  20. package/package/corpus/skills/cratis-application-slice-specifications/LICENSE +4 -0
  21. package/package/corpus/skills/cratis-application-slice-specifications/references/provenance.md +9 -0
  22. package/package/corpus/skills/cratis-application-slice-specifications/references/query-and-decision-scenarios.md +8 -0
  23. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/SKILL.md +23 -29
  24. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authentication.md +7 -7
  25. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authorization.md +34 -32
  26. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authproxy.md +1 -1
  27. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/frontend.md +2 -2
  28. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/local-development.md +3 -3
  29. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/observable-emission-guards.md +8 -6
  30. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/tenancy.md +3 -3
  31. package/package/corpus/skills/cratis-arc-command/SKILL.md +23 -25
  32. package/package/corpus/skills/cratis-arc-command/references/command-result.md +1 -1
  33. package/package/corpus/skills/cratis-arc-command/references/decisions-and-routing.md +9 -9
  34. package/package/corpus/skills/cratis-arc-command/references/generated-values.md +11 -12
  35. package/package/corpus/skills/cratis-arc-command/references/handler-shapes.md +4 -4
  36. package/package/corpus/skills/cratis-arc-command/references/proxy-generation.md +3 -3
  37. package/package/corpus/skills/cratis-arc-command/references/read-model-injection.md +1 -3
  38. package/package/corpus/skills/cratis-arc-command/references/shop-generation.md +11 -14
  39. package/package/corpus/skills/cratis-arc-command-execution/LICENSE +6 -0
  40. package/package/corpus/skills/cratis-arc-command-execution/SKILL.md +17 -19
  41. package/package/corpus/skills/cratis-arc-command-kotlin/SKILL.md +8 -7
  42. package/package/corpus/skills/cratis-arc-command-kotlin/references/read-model-naming.md +2 -2
  43. package/package/corpus/skills/cratis-arc-command-operation/SKILL.md +14 -15
  44. package/package/corpus/skills/cratis-arc-command-operation/references/execution-and-recovery.md +2 -2
  45. package/package/corpus/skills/cratis-arc-command-operation/references/testing.md +7 -8
  46. package/package/corpus/skills/cratis-arc-command-typescript/SKILL.md +14 -11
  47. package/package/corpus/skills/cratis-arc-command-typescript/references/chronicle-events.md +7 -7
  48. package/package/corpus/skills/cratis-arc-command-typescript/references/command-operations.md +4 -4
  49. package/package/corpus/skills/cratis-arc-command-typescript/references/hosting-and-storage.md +11 -7
  50. package/package/corpus/skills/cratis-arc-command-typescript/references/identity-and-introspection.md +4 -2
  51. package/package/corpus/skills/cratis-arc-command-typescript/references/observability-and-host-scopes.md +2 -2
  52. package/package/corpus/skills/cratis-arc-command-typescript/references/proxy-generation.md +3 -3
  53. package/package/corpus/skills/cratis-arc-command-typescript/references/slice-layout.md +1 -1
  54. package/package/corpus/skills/cratis-arc-command-typescript/verification.json +2 -2
  55. package/package/corpus/skills/cratis-arc-command-validation/SKILL.md +10 -14
  56. package/package/corpus/skills/cratis-arc-ef-core-migration/LICENSE +6 -0
  57. package/package/corpus/skills/cratis-arc-ef-core-migration/SKILL.md +9 -10
  58. package/package/corpus/skills/cratis-arc-go/SKILL.md +14 -15
  59. package/package/corpus/skills/cratis-arc-go/references/queries.md +2 -2
  60. package/package/corpus/skills/cratis-arc-hosting/SKILL.md +8 -8
  61. package/package/corpus/skills/cratis-arc-hosting/references/integrations-and-publish.md +11 -11
  62. package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +3 -3
  63. package/package/corpus/skills/cratis-arc-observable-query-http/SKILL.md +13 -13
  64. package/package/corpus/skills/cratis-arc-observable-query-http/verification.json +1 -1
  65. package/package/corpus/skills/cratis-arc-query-kotlin/SKILL.md +2 -3
  66. package/package/corpus/skills/cratis-arc-query-paging/SKILL.md +11 -14
  67. package/package/corpus/skills/cratis-arc-query-typescript/SKILL.md +3 -3
  68. package/package/corpus/skills/cratis-arc-query-typescript/references/storage-observation-and-compliance.md +2 -2
  69. package/package/corpus/skills/cratis-arc-react-page/LICENSE +4 -0
  70. package/package/corpus/skills/cratis-arc-react-page/references/from-screenplay.md +6 -0
  71. package/package/corpus/skills/cratis-arc-react-page/references/provenance.md +9 -0
  72. package/package/corpus/skills/cratis-arc-spring-data-kotlin/SKILL.md +3 -3
  73. package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +3 -3
  74. package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +1 -2
  75. package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +4 -4
  76. package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +19 -22
  77. package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +10 -10
  78. package/package/corpus/skills/cratis-chronicle-client-dotnet/SKILL.md +36 -36
  79. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/additional-surfaces.md +4 -2
  80. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/client-construction.md +1 -1
  81. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/compatibility-check.md +13 -13
  82. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/discovery.md +10 -10
  83. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/hosting.md +10 -10
  84. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/pinned-generation-delivery.md +7 -5
  85. package/package/corpus/skills/cratis-chronicle-client-elixir/SKILL.md +59 -64
  86. package/package/corpus/skills/cratis-chronicle-client-elixir/references/append-api.md +17 -17
  87. package/package/corpus/skills/cratis-chronicle-client-elixir/references/compliance.md +5 -3
  88. package/package/corpus/skills/cratis-chronicle-client-elixir/references/connections.md +15 -11
  89. package/package/corpus/skills/cratis-chronicle-client-elixir/references/event-sources.md +3 -1
  90. package/package/corpus/skills/cratis-chronicle-client-elixir/references/pitfalls.md +4 -4
  91. package/package/corpus/skills/cratis-chronicle-client-elixir/references/projections.md +8 -4
  92. package/package/corpus/skills/cratis-chronicle-client-elixir/references/upgrading.md +19 -19
  93. package/package/corpus/skills/cratis-chronicle-client-elixir/references/variants.md +3 -8
  94. package/package/corpus/skills/cratis-chronicle-client-elixir/verification.json +2 -2
  95. package/package/corpus/skills/cratis-chronicle-client-go/SKILL.md +16 -18
  96. package/package/corpus/skills/cratis-chronicle-client-go/references/projections.md +2 -2
  97. package/package/corpus/skills/cratis-chronicle-client-kotlin/SKILL.md +61 -58
  98. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/connection-lifecycle.md +9 -10
  99. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/discovery-and-registration.md +6 -6
  100. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/event-sources.md +4 -2
  101. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/java-api.md +4 -4
  102. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/options.md +1 -1
  103. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/spring-boot.md +24 -24
  104. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/variants.md +6 -5
  105. package/package/corpus/skills/cratis-chronicle-client-typescript/SKILL.md +26 -20
  106. package/package/corpus/skills/cratis-chronicle-client-typescript/references/read-models-and-projections.md +4 -4
  107. package/package/corpus/skills/cratis-chronicle-client-typescript/references/testing.md +1 -1
  108. package/package/corpus/skills/cratis-chronicle-client-typescript/references/variants.md +4 -3
  109. package/package/corpus/skills/cratis-chronicle-client-typescript/verification.json +2 -2
  110. package/package/corpus/skills/cratis-chronicle-compliance/SKILL.md +9 -9
  111. package/package/corpus/skills/cratis-chronicle-decision-reads/SKILL.md +11 -10
  112. package/package/corpus/skills/cratis-chronicle-decision-reads/references/admission-and-ownership.md +1 -1
  113. package/package/corpus/skills/cratis-chronicle-decision-reads/references/choosing-how-a-rule-holds.md +5 -6
  114. package/package/corpus/skills/cratis-chronicle-event-constraints/SKILL.md +7 -7
  115. package/package/corpus/skills/cratis-chronicle-event-constraints/references/closing-streams.md +1 -1
  116. package/package/corpus/skills/cratis-chronicle-event-modeling/SKILL.md +12 -1
  117. package/package/corpus/skills/cratis-chronicle-event-specifications/SKILL.md +6 -6
  118. package/package/corpus/skills/cratis-chronicle-event-type-migration/SKILL.md +12 -10
  119. package/package/corpus/skills/cratis-chronicle-event-type-migration/references/pinned-generations.md +2 -3
  120. package/package/corpus/skills/cratis-chronicle-hosting/SKILL.md +7 -7
  121. package/package/corpus/skills/cratis-chronicle-hosting/references/operations.md +5 -5
  122. package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +6 -6
  123. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/blocked-tools.md +5 -5
  124. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/deployment.md +9 -10
  125. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +29 -29
  126. package/package/corpus/skills/cratis-chronicle-multi-tenancy/SKILL.md +9 -9
  127. package/package/corpus/skills/cratis-chronicle-projection/SKILL.md +13 -14
  128. package/package/corpus/skills/cratis-chronicle-projection/references/fluent-builder.md +3 -5
  129. package/package/corpus/skills/cratis-chronicle-projection/references/model-bound-attributes.md +2 -4
  130. package/package/corpus/skills/cratis-chronicle-projection/references/variants.md +1 -3
  131. package/package/corpus/skills/cratis-chronicle-reactor/LICENSE +4 -0
  132. package/package/corpus/skills/cratis-chronicle-reactor/references/provenance.md +10 -0
  133. package/package/corpus/skills/cratis-chronicle-reactor/references/slice-delivery-checklist.md +33 -0
  134. package/package/corpus/skills/cratis-chronicle-reactor/references/specifications.md +17 -1
  135. package/package/corpus/skills/cratis-chronicle-read-model/SKILL.md +16 -15
  136. package/package/corpus/skills/cratis-chronicle-read-model/references/queries.md +8 -8
  137. package/package/corpus/skills/cratis-chronicle-reducer/SKILL.md +14 -13
  138. package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +11 -12
  139. package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +6 -6
  140. package/package/corpus/skills/cratis-code-review/SKILL.md +13 -17
  141. package/package/corpus/skills/cratis-components-accessibility/SKILL.md +3 -3
  142. package/package/corpus/skills/cratis-components-common-controls/SKILL.md +15 -15
  143. package/package/corpus/skills/cratis-components-data-surfaces/SKILL.md +29 -29
  144. package/package/corpus/skills/cratis-components-schema-editor/SKILL.md +4 -4
  145. package/package/corpus/skills/cratis-components-schema-editor/references/tree-layout.md +1 -1
  146. package/package/corpus/skills/cratis-components-stepper-command-dialog/SKILL.md +6 -6
  147. package/package/corpus/skills/cratis-components-styling/LICENSE +6 -0
  148. package/package/corpus/skills/cratis-components-styling/SKILL.md +5 -4
  149. package/package/corpus/skills/cratis-components-toolbar/SKILL.md +5 -5
  150. package/package/corpus/skills/cratis-developer-marketing/SKILL.md +2 -2
  151. package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +3 -3
  152. package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +1 -1
  153. package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +4 -4
  154. package/package/corpus/skills/cratis-event-model-diagram/LICENSE +5 -0
  155. package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +6 -1
  156. package/package/corpus/skills/cratis-event-model-diagram/references/provenance.md +9 -0
  157. package/package/corpus/skills/cratis-fundamentals-concept/SKILL.md +19 -24
  158. package/package/corpus/skills/cratis-fundamentals-concept/references/shop-generation.md +10 -10
  159. package/package/corpus/skills/cratis-fundamentals-concept/references/typescript-concepts.md +8 -8
  160. package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +10 -11
  161. package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +18 -18
  162. package/package/corpus/skills/cratis-fundamentals-telemetry/verification.json +1 -1
  163. package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +4 -4
  164. package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +19 -19
  165. package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +27 -27
  166. package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +12 -12
  167. package/package/corpus/skills/cratis-performance-review/SKILL.md +8 -10
  168. package/package/corpus/skills/cratis-release-notes/SKILL.md +1 -1
  169. package/package/corpus/skills/cratis-screenplay-automations-and-translations/LICENSE +5 -0
  170. package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +2 -2
  171. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +24 -0
  172. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/integration-contracts.md +19 -0
  173. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/provenance.md +10 -0
  174. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +1 -1
  175. package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +10 -12
  176. package/package/corpus/skills/cratis-screenplay-discovery/references/divergent-sweep.md +9 -0
  177. package/package/corpus/skills/cratis-screenplay-discovery/references/document-intake.md +123 -0
  178. package/package/corpus/skills/cratis-screenplay-discovery/references/domain-analysis-template.md +1 -12
  179. package/package/corpus/skills/cratis-screenplay-discovery/references/event-naming.md +49 -0
  180. package/package/corpus/skills/cratis-screenplay-discovery/references/facilitation.md +2 -0
  181. package/package/corpus/skills/cratis-screenplay-discovery/references/human-workshop.md +26 -1
  182. package/package/corpus/skills/cratis-screenplay-discovery/references/plotting-and-handoff.md +17 -0
  183. package/package/corpus/skills/cratis-screenplay-discovery/references/provenance.md +5 -1
  184. package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +7 -3
  185. package/package/corpus/skills/cratis-screenplay-event-modeling/references/provenance.md +2 -0
  186. package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +50 -79
  187. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/evidence-table-template.md +39 -4
  188. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/expert-verification.md +15 -1
  189. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/intent-example.md +31 -7
  190. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/interview-findings.md +8 -2
  191. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/loss-report-template.md +4 -0
  192. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/provenance.md +8 -2
  193. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/re-entry-and-passes.md +102 -3
  194. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/side-car-migration.md +3 -1
  195. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/signal-to-intent.md +29 -0
  196. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/ui-observation.md +2 -1
  197. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/verified-sources.md +20 -0
  198. package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +27 -54
  199. package/package/corpus/skills/cratis-screenplay-model-review/references/baseline-comparison.md +9 -0
  200. package/package/corpus/skills/cratis-screenplay-model-review/references/business-questions.md +6 -1
  201. package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +1 -1
  202. package/package/corpus/skills/cratis-screenplay-model-review/references/mode-compliance.md +5 -0
  203. package/package/corpus/skills/cratis-screenplay-model-review/references/model-inventory-report.md +48 -11
  204. package/package/corpus/skills/cratis-screenplay-model-review/references/provenance.md +5 -2
  205. package/package/corpus/skills/cratis-screenplay-model-review/references/quick-self-check.md +20 -0
  206. package/package/corpus/skills/cratis-screenplay-model-review/references/stressor-analysis.md +22 -10
  207. package/package/corpus/skills/cratis-screenplay-model-review/references/verified-sources.md +15 -0
  208. package/package/corpus/skills/cratis-screenplay-model-review/references/walkthrough.md +135 -0
  209. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/LICENSE +5 -0
  210. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/core-rules-digest.md +7 -0
  211. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/per-turn-protocol.md +6 -2
  212. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/phases.md +16 -1
  213. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/provenance.md +21 -0
  214. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +1 -0
  215. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/drift-and-fallback-record.md +7 -30
  216. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/hand-written-changes.md +150 -0
  217. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/provenance.md +2 -2
  218. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/provenance.md +1 -0
  219. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +17 -0
  220. package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +1 -1
  221. package/package/corpus/skills/cratis-screenplay-slice-design/references/command-inventory.md +6 -0
  222. package/package/corpus/skills/cratis-screenplay-slice-design/references/field-lineage.md +9 -1
  223. package/package/corpus/skills/cratis-screenplay-slice-design/references/provenance.md +6 -0
  224. package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +23 -6
  225. package/package/corpus/skills/cratis-screenplay-slice-design/references/review-questions.md +4 -0
  226. package/package/corpus/skills/cratis-screenplay-slice-design/references/slicing.md +69 -0
  227. package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +4 -1
  228. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +0 -7
  229. package/package/corpus/skills/cratis-security-review/SKILL.md +8 -10
  230. package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +18 -16
  231. package/package/corpus/skills/cratis-specification-by-example/SKILL.md +1 -1
  232. package/package/corpus/skills/cratis-specifications-csharp/SKILL.md +26 -29
  233. package/package/corpus/skills/cratis-specifications-csharp/references/application-scenarios.md +8 -8
  234. package/package/corpus/skills/cratis-specifications-csharp/references/csharp-patterns.md +2 -2
  235. package/package/corpus/skills/cratis-specifications-csharp/references/integration-specs.md +6 -4
  236. package/package/corpus/skills/cratis-specifications-csharp/references/shared-lifecycle.md +6 -2
  237. package/package/corpus/skills/cratis-specifications-typescript/SKILL.md +2 -2
  238. package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +4 -4
  239. package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +1 -1
  240. package/package/corpus/skills/guiding-refactoring-with-code-health/SKILL.md +1 -1
  241. package/package/corpus/skills/prioritizing-technical-debt/SKILL.md +1 -1
  242. package/package/corpus/skills/risk-based-testing-with-code-health/SKILL.md +3 -3
  243. package/package/corpus/skills/safeguarding-ai-generated-code/SKILL.md +1 -1
  244. package/package.json +1 -1
@@ -7,7 +7,7 @@
7
7
  - What the generator extracts for client-side validation
8
8
  - Failure modes
9
9
 
10
- Verified against `Cratis.Arc.ProxyGenerator.Build` `22.75.0`.
10
+ Source: `Cratis.Arc.ProxyGenerator.Build`.
11
11
 
12
12
  ## Wiring
13
13
 
@@ -51,7 +51,7 @@ switches without a declared default are off when absent.
51
51
  | `CratisProxiesSkipIndexGeneration` | `false` | Does not write the per-folder `index.ts` barrels |
52
52
  | `CratisProxiesUseSourceFileAsOutputFile` | `false` | Names the generated file after the C# source file rather than the type |
53
53
  | `CratisProxiesUseProxyFileSuffix` | off | Emits `Name.proxy.ts` and matching barrels; avoids `.ts`/`.tsx` basename collisions |
54
- | `CratisProxiesEmitInterfaces` | off | **Arc ≥ 22.15.0** (the underlying `--emit-interfaces` flag exists from 22.14.0; the MSBuild property from 22.15.0). Emits plain TypeScript `interface`s instead of `@field`-decorated classes — no `@cratis/fundamentals` import in the output. Only for consumers that never reconstruct instances from JSON; command and query proxies need the classes |
54
+ | `CratisProxiesEmitInterfaces` | off | Emits plain TypeScript `interface`s instead of `@field`-decorated classes — no `@cratis/fundamentals` import in the output. Only for consumers that never reconstruct instances from JSON; command and query proxies need the classes. Needs Arc 22.15.0 or later. |
55
55
 
56
56
  ⚠️ `CratisProxiesSkipOutputDeletion` defaults to `true`. Guidance that tells you
57
57
  to set it to `true` "so the generator does not delete your hand-written files"
@@ -60,7 +60,7 @@ is describing the default, not a fix.
60
60
  The generator preserves hand-written `index.ts` exports, and generated files
61
61
  follow the Cratis ESLint configuration. Named concepts live only in the backend
62
62
  model: generated TypeScript erases them to primitives; nullable concept properties
63
- are optional. Source at Arc v22.75.0: `Tools/ProxyGenerator/ConceptMap.cs` and
63
+ are optional. Sources:
64
64
  `Tools/ProxyGenerator.Build/build/Cratis.Arc.ProxyGenerator.Build.targets` under
65
65
  `Source/DotNET`.
66
66
 
@@ -6,9 +6,7 @@
6
6
  - `null` is not always what absence looks like
7
7
  - Which provider owns a read model type
8
8
 
9
- Arc injection verified at **v22.75.0**, with Chronicle dependency 19.39.1;
10
- separate Chronicle absence behavior below retains its original version context.
11
- Source: [read models in commands](https://github.com/Cratis/Arc/blob/v22.75.0/Documentation/backend/csharp/chronicle/read-models/injecting-into-commands.md).
9
+ Source: [read models in commands](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/chronicle/read-models/injecting-into-commands.md).
12
10
  Plain models and keyed reads are advisory, not concurrency guards. For protected
13
11
  reads use [decisions and routing](decisions-and-routing.md): opt into
14
12
  `[ProtectedDecision]` before taking `DecisionRead<T>`; constructor-injected
@@ -7,7 +7,7 @@
7
7
 
8
8
  - Choosing a strategy
9
9
  - When not to generate
10
- - Verified released sources
10
+ - Sources
11
11
 
12
12
  ## Choosing a strategy
13
13
 
@@ -17,8 +17,7 @@ ApiKey is secret `Bytes(32)` with `[NotAudited]`. The concept owns the factory,
17
17
  not a command property or a per-call random implementation.
18
18
 
19
19
  The following complete command declarations depend on those Shop concepts and
20
- `Cratis.Arc.Core` / `Cratis.Arc.Chronicle` **22.87.1**, resolving Fundamentals
21
- **7.24.0**. They allocate response values only, not persisted entities or events;
20
+ `Cratis.Arc.Core` / `Cratis.Arc.Chronicle`. They allocate response values only, not persisted entities or events;
22
21
  they are not production authentication endpoints. Protect any credential-issuing
23
22
  endpoint independently before hosting it.
24
23
 
@@ -55,7 +54,7 @@ public record AllocateApiKey
55
54
  }
56
55
  ```
57
56
 
58
- Arc **22.87.1** supports `IGeneratableInContext<TSelf>`: it maps captured
57
+ Requires Arc 22.83.0 for `IGeneratableInContext<TSelf>`: it maps captured
59
58
  `CommandContext.ReceivedAt` to `Now` and `ITenantIdAccessor.Current` to `Tenant`.
60
59
  NotSet/Default tenants become the zero-GUID default; named tenants retain their
61
60
  identifier. TypeID uses time only; the context carries the tenant but the built-in
@@ -67,7 +66,7 @@ when custom code ignores time; it never reads a replacement UtcNow. Pins bypass
67
66
  generation, not concept validation. Validate-only requests do not allocate or
68
67
  reserve the generated value for a later command.
69
68
 
70
- For a command pipeline specification, these setup calls are released at **22.87.1**:
69
+ For a command pipeline specification, these setup calls are released:
71
70
 
72
71
  ```csharp excerpt
73
72
  using var scenario = new CommandScenario<AllocateOrderId>();
@@ -99,14 +98,12 @@ and captured-time semantics, never one exact random suffix.
99
98
  - Screenplay's generated context and secret execution remain unavailable. A
100
99
  compiled Arc factory does not imply that it can recover or render as `.play`.
101
100
 
102
- ## Verified released sources
101
+ ## Sources
103
102
 
104
- Arc `v22.87.1:Source/DotNET/Arc.Core/Commands/GeneratedValueResolution.cs:35-79`,
105
- `GeneratedValueFactories.cs:55-124`, `CommandContext.cs:63`;
106
- `Source/DotNET/Testing/Commands/CommandScenarioGeneratedValueExtensions.cs:52-92`;
103
+ `Source/DotNET/Arc.Core/Commands/GeneratedValueResolution.cs`,
104
+ `GeneratedValueFactories.cs`, `CommandContext.cs`;
105
+ `Source/DotNET/Testing/Commands/CommandScenarioGeneratedValueExtensions.cs`;
107
106
  `Source/DotNET/Chronicle/Commands/NotAuditedAttribute.cs`,
108
- `CommandCausationValues.cs:94-102` (command causation exclusion, not event/log protection);
109
- `Documentation/backend/csharp/commands/generated-values.md`;
110
- `Directory.Packages.props` resolves Fundamentals 7.24.0.
111
- Factory/context signatures are source-checked at Fundamentals v7.24.0 in the
112
- linked shop concept reference. This does not update the corpus's global pins.
107
+ `CommandCausationValues.cs` (command causation exclusion, not event/log protection);
108
+ `Documentation/backend/csharp/commands/generated-values.md`.
109
+ Factory/context signatures are in the linked shop concept reference.
@@ -1,2 +1,8 @@
1
1
  Copyright (c) Cratis. All rights reserved.
2
2
  Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+
4
+ This skill's guidance on redelivery against a refusing command draws on ideas from the
5
+ Eventmodelers Build-Kits skills by Martin Dilger and Nebulit GmbH
6
+ (https://github.com/Nebulit-GmbH/Eventmodelers-Build-Kits; https://nebulit.de), used with the
7
+ explicit consent of Martin Dilger and Nebulit GmbH. The adapted material remains credited to
8
+ Martin Dilger and Nebulit GmbH.
@@ -14,18 +14,14 @@ recovery; calling `Handle()` directly only returns their declarations.
14
14
 
15
15
  ## Verified product sources
16
16
 
17
- | Package | Version | Purpose |
18
- | --- | --- | --- |
19
- | `Cratis.Arc.Core` | `22.75.0` | `Cratis.Arc.Commands.ICommandPipeline`, `CommandResult`, `ValidationResultSeverity` |
20
- | `Cratis.Arc.Chronicle` | `22.75.0` | analyzer `ARCCHR0006` for reactor replay |
21
-
22
- > Arc execution/severity and returned-reactor effects rechecked at v22.75.0.
23
- > Arc's Chronicle dependency is 19.39.1; older source-pinned transaction/operation
24
- > sections below remain explicitly version-qualified.
17
+ | Package | Purpose |
18
+ | --- | --- |
19
+ | `Cratis.Arc.Core` | `Cratis.Arc.Commands.ICommandPipeline`, `CommandResult`, `ValidationResultSeverity` |
20
+ | `Cratis.Arc.Chronicle` | analyzer `ARCCHR0006` for reactor replay |
25
21
 
26
- Reverify before claiming support for another version. Operation execution,
27
- nesting restrictions, and backend recovery members below are verified at
28
- **Arc v22.75.0**; see `cratis-arc-command-operation` for sources and limits.
22
+ Operation execution,
23
+ nesting restrictions, and backend recovery members below are described in
24
+ `cratis-arc-command-operation`, which lists sources and limits.
29
25
 
30
26
  ## When this is the wrong tool
31
27
 
@@ -46,7 +42,7 @@ it records a failed compensator. Compose operation declarations instead.
46
42
 
47
43
  > **Reactors have a declarative alternative.** With the Arc Chronicle integration a
48
44
  > reactor handler can **return** the `[Command]` or a stable collection mixing
49
- > commands, registered events and `EventForEventSourceId`. At v22.75.0 events
45
+ > commands, registered events and `EventForEventSourceId`. events
50
46
  > append first; append rejection stops all commands, and the first failed command
51
47
  > stops the rest. Earlier effects stay committed, so retries need idempotency.
52
48
  > A denied or invalid result fails the partition instead of being
@@ -54,7 +50,7 @@ it records a failed compensator. Compose operation declarations instead.
54
50
  > principal for those returned commands. That attribute does **not** cover manual
55
51
  > `Execute` calls — the form below needs its own execution context. See the
56
52
  > **cratis-chronicle-reactor** skill. `[ExecuteCommandsAsSystem]` no longer leaks
57
- > the system actor into the caller (fixed in 22.72.0). A reactor may also return
53
+ > the system actor into the caller (fixed). A reactor may also return
58
54
  > `CompleteStream` directly; it cannot mix completion with events in a collection.
59
55
 
60
56
  ```csharp
@@ -126,10 +122,10 @@ Neither choice makes external service writes atomic. Immediate event appends
126
122
  and explicit early commits also do not become rollbackable merely because a
127
123
  command later fails; do not use them as an undocumented batch-isolation trick.
128
124
 
129
- Checked against **Arc v22.49.0**
130
- ([transactional commands](https://github.com/Cratis/Arc/blob/v22.49.0/Documentation/backend/csharp/chronicle/commands/transactional-commands.md),
131
- [transaction scope](https://github.com/Cratis/Arc/blob/v22.49.0/Source/DotNET/Chronicle/Commands/TransactionalCommandScope.cs),
132
- [ambient context](https://github.com/Cratis/Arc/blob/v22.49.0/Source/DotNET/Chronicle/Commands/CommandTransaction.cs)).
125
+ Described in
126
+ ([transactional commands](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/chronicle/commands/transactional-commands.md),
127
+ [transaction scope](https://github.com/Cratis/Arc/blob/main/Source/DotNET/Chronicle/Commands/TransactionalCommandScope.cs),
128
+ [ambient context](https://github.com/Cratis/Arc/blob/main/Source/DotNET/Chronicle/Commands/CommandTransaction.cs)).
133
129
  Specify a later child's rejection and the actual persisted events: none for an
134
130
  atomic returned batch, only completed independent items for separate commands.
135
131
 
@@ -149,7 +145,7 @@ levels are `Unknown = 0`, `Information = 1`, `Warning = 2`, `Error = 3`.
149
145
  and information/warnings are filtered off. An attributed command uses
150
146
  `[BlockOnValidationSeverity(...)]` as its inclusive blocking floor; `Unknown`
151
147
  also blocks. Caller thresholds can tighten, never loosen, that floor.
152
- Source at Arc v22.75.0: `Arc.Core/Commands/CommandValidationResults.cs`.
148
+ Source: `Arc.Core/Commands/CommandValidationResults.cs`.
153
149
  - With an `allowedSeverity`, anything **strictly greater** blocks. Passing
154
150
  `Warning` lets warnings through onto the result while errors still block.
155
151
 
@@ -188,13 +184,15 @@ command again. `ARCCHR0006` warns when a reactor handler invokes
188
184
  `ICommandPipeline.Execute` without saying what replay should do. Mark the
189
185
  handler `[OnceOnly]` so it is skipped during replay.
190
186
 
191
- ⚠️ `[OnceOnly]` is **replay exclusion, not deduplication**. There is no ledger
187
+ ⚠️ `[OnceOnly]` is **replay exclusion, not deduplication**. There is no record
192
188
  of events a handler has already seen: recovering a failed partition re-delivers
193
189
  the event as an ordinary observation, and a `[OnceOnly]` handler runs again.
194
190
  Make the executed command idempotent regardless — and when replay exclusion is
195
191
  the wrong tool, suppress the diagnostic with a justification rather than
196
192
  mis-marking it to silence the warning.
197
193
 
194
+ Recovery can redeliver the trigger even with `[OnceOnly]`, and a command whose own "already done" rule refuses the repeat then fails the partition. Read the [reactor slice delivery checklist](../cratis-chronicle-reactor/references/slice-delivery-checklist.md) to decide how the reactor handles that refusal.
195
+
198
196
  ## Common mistakes
199
197
 
200
198
  | Mistake | Why it hurts |
@@ -13,8 +13,7 @@ there is no controller or handler class to write by hand.
13
13
 
14
14
  ## Verified product sources
15
15
 
16
- Verified against `Arc.Kotlin` at tag **`v7.7.0`**: JDK 17, Gradle 8.14.4,
17
- Kotlin 2.4.20, KSP 2.3.12, Spring Boot 4.1.1, JUnit Jupiter 6.1.3.
16
+ Source: `Arc.Kotlin`.
18
17
  Sources include `ArcSymbolProcessor.kt`, `GradlePlugin/ArcExtension.kt` and
19
18
  `Integrations/Cratis`/`Integrations/Chronicle` publishing blocks. Use a released
20
19
  version from Maven Central, not the local `0.0.0-SNAPSHOT`.
@@ -24,7 +23,7 @@ version from Maven Central, not the local `0.0.0-SNAPSHOT`.
24
23
  | `io.cratis:arc` | `io.cratis.arc.artifacts.Command`, `CommandKey`, `FromServices` |
25
24
  | `io.cratis:arc-ksp` | the KSP processor that generates the command handler |
26
25
  | `io.cratis:arc-spring-boot-starter` | Spring Boot auto-configuration, the command pipeline host |
27
- | `io.cratis:cratis` | recommended single dependency for an event-sourced app: Arc, Spring Boot wiring and Chronicle integration (`7.5.0+`) |
26
+ | `io.cratis:cratis` | recommended single dependency for an event-sourced app: Arc, Spring Boot wiring and Chronicle integration |
28
27
  | `io.cratis:arc-chronicle-spring-boot-starter` | explicit alternative to `cratis`, same Arc version |
29
28
  | `io.cratis:arc-testing` | in-process command and query scenarios (test scope) |
30
29
  | `io.cratis:arc-spring-data-jpa`, `io.cratis:arc-spring-data-mongodb` | Spring Data read-model integrations |
@@ -32,13 +31,15 @@ version from Maven Central, not the local `0.0.0-SNAPSHOT`.
32
31
  | `io.cratis:arc-observability-spring-boot-starter`, `io.cratis:arc-openapi-spring-boot-starter` | optional observability and OpenAPI |
33
32
  | `io.cratis.arc` Gradle plugin | applies Kotlin/JVM + KSP, adds the dependencies, configures the module name and proxy output |
34
33
 
34
+ Requires Arc.Kotlin 7.5.0 for the single `io.cratis:cratis` dependency.
35
+
35
36
  Arc.Kotlin has no Chronicle dependency by default. Add the optional Chronicle
36
37
  integration only when a command should append a returned event or read a
37
38
  Chronicle read model; without it, `handle()` returns an ordinary response value.
38
39
  For that setup prefer `implementation("io.cratis:cratis:<version>")` over the
39
- Arc-only starter in the example below. Arc `7.7.0` brings Chronicle.Kotlin
40
- `6.10.0` transitively; its compatibility gate uses kernel `19.21.1` (19.x).
41
- The standalone Chronicle `6.13.0` client needs `19.30.0`; do not assume that
40
+ Arc-only starter in the example below. Arc brings a compatible Chronicle.Kotlin
41
+ transitively, and its compatibility gate names the kernels it accepts. The standalone
42
+ Chronicle client can need a newer kernel; do not assume that
42
43
  latest/latest is a verified Arc integration pair.
43
44
 
44
45
  Java applications still need Kotlin and KSP on the build — Arc generates Kotlin
@@ -277,7 +278,7 @@ A value from `provide` still takes precedence over this injection. A missing
277
278
  model leaves the dependency unresolved rather than silently falling through to
278
279
  another store; an invalid key or unavailable store fails the command.
279
280
 
280
- Collection naming is shared with Arc's MongoDB integration in `7.7.0`.
281
+ Collection naming is shared with Arc's MongoDB integration.
281
282
  Read [references/read-model-naming.md](references/read-model-naming.md) when
282
283
  upgrading an existing projection or overriding its storage collection name.
283
284
 
@@ -3,9 +3,9 @@
3
3
 
4
4
  # Share Arc and Chronicle collection names
5
5
 
6
- Verified at `Arc.Kotlin v7.7.0`: `ChronicleArcAutoConfiguration.arcReadModelNamingPolicy`,
6
+ Source: `Arc.Kotlin`: `ChronicleArcAutoConfiguration.arcReadModelNamingPolicy`,
7
7
  its Kotlin/Java conformance tests and `Documentation/guides/read-model-naming.mdx`.
8
- The integration depends on Chronicle.Kotlin `6.10.0`.
8
+ The integration depends on Chronicle.Kotlin.
9
9
 
10
10
  With the MongoDB integration present, one Arc `NamingPolicy` bean is adapted
11
11
  into Chronicle's `ReadModelNamingPolicy`. Chronicle's starter passes it to the
@@ -17,20 +17,19 @@ Chronicle is not required.
17
17
 
18
18
  ## Verified product sources
19
19
 
20
- | Package / source assembly | Verified version | Purpose |
21
- | --- | --- | --- |
22
- | `Cratis.Arc.Core` | `22.75.0` | `Cratis.Arc.Commands`: operation declarations, pipeline, scopes, recovery observations |
23
- | `Cratis.Arc.Core.CodeAnalysis` / `Cratis.Arc.Core.Generators` | `22.75.0` | ARC0016–ARC0018 and typed invocation; generator ships inside Core, not as a standalone package |
24
- | `Cratis.Arc.ProxyGenerator` | `22.75.0` | Excludes operations and batches from the client response |
25
- | `Cratis.Arc.Testing` | `22.75.0` | `Cratis.Arc.Testing.Commands.CommandScenario<TCommand>` and operation assertions |
26
- | `Cratis.Arc.Chronicle` / `Cratis.Arc.Chronicle.Testing` | `22.75.0` | Deferred event commitment and real in-process constraint-rejection specs |
27
-
28
- Rechecked at **Arc v22.75.0**; operation/recovery sources and the linked lessons
29
- are unchanged since the prior 22.48.1 verification.
30
- [Operation docs](https://github.com/Cratis/Arc/blob/v22.75.0/Documentation/backend/csharp/commands/operations/index.md),
31
- [execution reference](https://github.com/Cratis/Arc/blob/v22.75.0/Documentation/backend/csharp/commands/operations/reference.md),
20
+ | Package / source assembly | Purpose |
21
+ | --- | --- |
22
+ | `Cratis.Arc.Core` | `Cratis.Arc.Commands`: operation declarations, pipeline, scopes, recovery observations |
23
+ | `Cratis.Arc.Core.CodeAnalysis` / `Cratis.Arc.Core.Generators` | ARC0016–ARC0018 and typed invocation; generator ships inside Core, not as a standalone package |
24
+ | `Cratis.Arc.ProxyGenerator` | Excludes operations and batches from the client response |
25
+ | `Cratis.Arc.Testing` | `Cratis.Arc.Testing.Commands.CommandScenario<TCommand>` and operation assertions |
26
+ | `Cratis.Arc.Chronicle` / `Cratis.Arc.Chronicle.Testing` | Deferred event commitment and real in-process constraint-rejection specs |
27
+
28
+ Sources:
29
+ [Operation docs](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/commands/operations/index.md),
30
+ [execution reference](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/commands/operations/reference.md),
32
31
  `Source/DotNET/Arc.Core/Commands/`, the analyzer/generator, and the testing
33
- sources. Reverify for other versions. These are C# APIs, not the separate
32
+ sources. These are C# APIs, not the separate
34
33
  Arc for TypeScript server API.
35
34
 
36
35
  ## Choose the boundary
@@ -55,7 +54,7 @@ state before `Handle()`; returning operations does not make hidden I/O pure.
55
54
  Use an immutable record implementing `ICommandOperation`. Business data belongs
56
55
  in properties; services belong in method parameters. This example reuses the
57
56
  application-owned `ReservationId`, `SeatId`, and `ISeatReservations` from Arc's
58
- [reservation example](https://github.com/Cratis/Arc/blob/v22.48.1/Documentation/backend/csharp/commands/operations/implementing.md).
57
+ [reservation example](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/commands/operations/implementing.md).
59
58
  The provider's `Reserve` and `Cancel` methods return `Task`; they are not Arc APIs.
60
59
 
61
60
  ```csharp
@@ -266,7 +265,7 @@ migration. Provider tests must separately prove ownership and idempotency.
266
265
  - Calling an existing command: `cratis-arc-command-execution`.
267
266
  - Reliable reactions to committed facts: `cratis-chronicle-reactor`.
268
267
  - Specialized framework return-value interpretation: Arc's
269
- [response value handlers](https://github.com/Cratis/Arc/blob/v22.48.1/Documentation/backend/csharp/commands/response-value-handlers.md).
268
+ [response value handlers](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/commands/response-value-handlers.md).
270
269
 
271
270
  ## Verify
272
271
 
@@ -12,8 +12,8 @@
12
12
  - Supported scopes
13
13
  - Troubleshooting
14
14
 
15
- Rechecked at **Arc v22.75.0** (operation/recovery sources unchanged since 22.48.1), against the
16
- [product reference](https://github.com/Cratis/Arc/blob/v22.75.0/Documentation/backend/csharp/commands/operations/reference.md)
15
+ Checked against the
16
+ [product reference](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/commands/operations/reference.md)
17
17
  and `Source/DotNET/Arc.Core/Commands/`. Types below are in
18
18
  `Cratis.Arc.Commands`. Start with [the skill](../SKILL.md) to choose the boundary.
19
19
 
@@ -9,15 +9,14 @@
9
9
  - Extend the failure coverage
10
10
  - Migrate an existing service-backed Handle
11
11
 
12
- Rechecked at **Arc v22.75.0**; operation assertions and these lessons are unchanged
13
- since 22.48.1. These class excerpts follow the product's
14
- [standalone lesson](https://github.com/Cratis/Arc/blob/v22.75.0/Documentation/backend/csharp/testing/command-operations.md)
15
- and [Chronicle rejection lesson](https://github.com/Cratis/Arc/blob/v22.75.0/Documentation/backend/csharp/testing/command-operations-with-chronicle.md).
12
+ These class excerpts follow the product's
13
+ [standalone lesson](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/testing/command-operations.md)
14
+ and [Chronicle rejection lesson](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/testing/command-operations-with-chronicle.md).
16
15
  See "Observe and test on the backend" in SKILL.md.
17
16
 
18
17
  The standalone examples reuse `ReservationId`, `SeatId`, `ISeatReservations`,
19
18
  `ReserveSeat`, `BookSeat`, `SeatReservation`, and `BookSeats` from the
20
- [application declarations](https://github.com/Cratis/Arc/blob/v22.48.1/Documentation/backend/csharp/commands/operations/implementing.md).
19
+ [application declarations](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/commands/operations/implementing.md).
21
20
  Add these imports to each standalone spec file (and its own namespace):
22
21
 
23
22
  ```csharp
@@ -220,7 +219,7 @@ public class when_the_organization_is_already_onboarding : Specification, IAsync
220
219
 
221
220
  Seed the constraint in the **event log** through `EventScenario.Given`, not only
222
221
  in a read-model dictionary. This follows the maintained
223
- [real-rejection spec](https://github.com/Cratis/Arc/blob/v22.48.1/Source/DotNET/Chronicle.Specs/Commands/for_CommandScenario/operations/when_a_real_constraint_rejects_the_commit.cs).
222
+ [real-rejection spec](https://github.com/Cratis/Arc/blob/main/Source/DotNET/Chronicle.Specs/Commands/for_CommandScenario/operations/when_a_real_constraint_rejects_the_commit.cs).
224
223
  It proves known non-commit and eligible compensation with the in-process store,
225
224
  not uncertain remote acknowledgments or the external provider's durability.
226
225
 
@@ -237,7 +236,7 @@ not uncertain remote acknowledgments or the external provider's durability.
237
236
  - Missing/throwing compensation: `Incomplete`, `NotAvailable`/`Failed`, exact
238
237
  `UncompensatedCount`/`FailedCompensationCount`, and remaining callbacks attempted.
239
238
 
240
- Arc's [failure recipes](https://github.com/Cratis/Arc/blob/v22.48.1/Documentation/backend/csharp/testing/command-operation-failures.md)
239
+ Arc's [failure recipes](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/testing/command-operation-failures.md)
241
240
  contain the full cases. Run `dotnet test <Your.Specs.csproj>`; assert behavior,
242
241
  not just command success. These corpus excerpts are source-checked, not compiled
243
242
  by the corpus text-verification gate. Test provider ownership, repeated finalized
@@ -245,7 +244,7 @@ requests, conflicting keys, and delayed creates at the provider integration boun
245
244
 
246
245
  ## Migrate an existing service-backed Handle
247
246
 
248
- Follow the [migration recipe](https://github.com/Cratis/Arc/blob/v22.48.1/Documentation/backend/csharp/commands/operations/migrating.md):
247
+ Follow the [migration recipe](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/commands/operations/migrating.md):
249
248
 
250
249
  1. Separate acquired inputs, decision, and service writes. Preserve the input,
251
250
  endpoint, and response; move the write into an operation and return it with
@@ -17,8 +17,8 @@ Arc supplies the route, body binding, validation, authorization, and the
17
17
  `@cratis/arc.express`, `@cratis/arc.fastify`, `@cratis/arc.hono`,
18
18
  `@cratis/arc.testing`, `@cratis/arc.mongodb`, `@cratis/arc.drizzle`,
19
19
  `@cratis/arc.chronicle`, `@cratis/cratis`, `@cratis/arc.proxygenerator` and
20
- `@cratis/eslint-plugin-arc-core` are an unpublished source preview (0.x
21
- manifests; GitHub pre-releases v0.1.0–v0.57.2). The API may still change. `npm install @cratis/arc.core` fails.
20
+ `@cratis/eslint-plugin-arc-core` are an unpublished source preview (0.x
21
+ manifests, GitHub pre-releases). The API may still change. `npm install @cratis/arc.core` fails.
22
22
  - **`@cratis/arc` is a different package.** `@cratis/arc`, `@cratis/arc.react` and
23
23
  `@cratis/arc.react.mvvm` are the published **client** runtime, built from
24
24
  `Cratis/Arc`. Generated proxies import them in the frontend. The server packages
@@ -29,11 +29,12 @@ Arc supplies the route, body binding, validation, authorization, and the
29
29
 
30
30
  ## Verified product sources
31
31
 
32
- Verified against `Cratis/Arc.TypeScript` tag **v0.57.2** (GitHub pre-release;
33
- server manifests 0.57.2), reading package exports, `Documentation/**`, and
34
- `Samples/Tasks` / `Samples/Library`. Unreleased main/0.58.0 behavior is excluded.
35
- Chronicle SDK: peer `^6.29.0`, built against/sample pin `6.35.0`;
36
- Fundamentals peer `^7.19.6`, Library pin `7.22.0`. The Chronicle integration
32
+ Source: `Cratis/Arc.TypeScript` (source preview), reading package exports, `Documentation/**`, and
33
+ `Samples/Tasks` / `Samples/Library`. Behavior on the development branch is excluded.
34
+
35
+ Requires the Chronicle SDK peer `^6.29.0`, Fundamentals peer `^7.19.6`, `@opentelemetry/api` `^1.9.0` and (optional, for RxJS observable queries) `rxjs` `^7.8.2`.
36
+
37
+ The Chronicle integration
37
38
  needs Node 22.19+, `zod ^4.1`, `rxjs ^7.8.2`, and an optional
38
39
  `@cratis/arc.testing` peer for scenarios.
39
40
 
@@ -68,11 +69,11 @@ version ranges; npm does not, and the tarball then fails to install. A
68
69
  - Node.js 22.19 or later (the core runs on 22; the workspace build needs 22.19;
69
70
  24 LTS is recommended).
70
71
  - ES modules only: `"type": "module"` in `package.json`.
71
- - Peer dependencies of `@cratis/arc.core`: `@cratis/fundamentals` `^7.19.6`,
72
- `@opentelemetry/api` `^1.9.0`; `rxjs` `^7.8.2` is an optional peer, needed for
72
+ - Peer dependencies of `@cratis/arc.core`: `@cratis/fundamentals`,
73
+ `@opentelemetry/api`; `rxjs` is an optional peer, needed for
73
74
  RxJS observable queries.
74
75
  - TypeScript: the repository and proxy generator use TypeScript 6
75
- (`typescript@npm:@typescript/typescript6@^6.0.2`, command `tsc6`).
76
+ (`typescript@npm:@typescript/typescript6`, command `tsc6`).
76
77
 
77
78
  ```json
78
79
  {
@@ -138,7 +139,9 @@ await app.run({ port: Number(process.env.PORT ?? 3000) });
138
139
  `discover()` refuses a folder containing the entry point; use `Features/`.
139
140
  `Cratis:Arc:Development: true` is local-only.
140
141
 
141
- ### Secure discovery defaults (0.56.0+)
142
+ ### Secure discovery defaults
143
+
144
+ Requires Arc for TypeScript 0.56.0 for these defaults.
142
145
 
143
146
  Outside **Development**, catalogs, identity discovery and `/openapi.json` require
144
147
  authentication; without it they are unmapped with a warning. Explicitly requiring
@@ -11,11 +11,11 @@
11
11
  - Reactors that return commands
12
12
  - Specify it without a kernel
13
13
 
14
- Verified against `Cratis/Arc.TypeScript` tag **v0.57.2** (GitHub pre-release): `Documentation/chronicle/**`,
14
+ Source: `Cratis/Arc.TypeScript` (source preview): `Documentation/chronicle/**`,
15
15
  `Documentation/testing/chronicle.md`, `Source/Chronicle/index.ts`, and
16
16
  `Samples/Library`. `@cratis/arc.chronicle` is **experimental** and, like every
17
17
  package in the repository, not published to npm. `@cratis/chronicle` (the SDK)
18
- is published; the integration peers `^6.29.0` and is built against 6.35.0.
18
+ is published; the integration peers it and needs SDK 6.29.0 or later.
19
19
 
20
20
  ## Register the integration
21
21
 
@@ -91,7 +91,7 @@ sample's `UniqueAuthorName` does).
91
91
 
92
92
  Appending and projecting are separate: immediate queries may be stale. Prefer
93
93
  observable reads. `completionTimeoutMs` waits for observers, but Chronicle waits
94
- for **every** observer on the log (Cratis/Chronicle#4132); an observer that does
94
+ for **every** observer on the log; an observer that does
95
95
  not handle the event can make every command time out with 500.
96
96
 
97
97
  - A constraint or concurrency rejection answers 400 with a validation result
@@ -118,7 +118,7 @@ A Chronicle reactor (from `@cratis/chronicle/reactors`) may return an Arc
118
118
  `@command()` instance, or a non-empty array of only commands; Arc runs each
119
119
  through the full command pipeline. Handlers are matched by camelCase event-class
120
120
  method name, receive parsed JSON content (not a class instance), and run on
121
- replay by default since SDK 6.9.0 — mark effects `@onceOnly()`, and keep returned
121
+ replay by default — mark effects `@onceOnly()`, and keep returned
122
122
  commands safe to repeat after a failed-partition re-delivery. Reactor authoring
123
123
  itself is `cratis-chronicle-client-typescript`.
124
124
 
@@ -130,7 +130,7 @@ Preview `withChronicle({ ..., activateArtifactsInScopes: true })` on an Arc-owne
130
130
  client resolves reactors/reducers through Arc DI, one scope per delivered batch,
131
131
  with the Chronicle namespace as tenant and no principal. Existing registrations
132
132
  win; otherwise discovered reactors/reducers are registered scoped. The SDK
133
- activator API arrived in 6.17.0; this integration requires its 6.29.0 peer minimum.
133
+ activator API is required for this; the integration requires the SDK 6.29.0 peer minimum.
134
134
  For a caller-owned client, supply `chronicleArtifactActivator(...)` as
135
135
  `artifactActivator` and `reactorCommandResultHandler(...)` as
136
136
  `reactorResultHandler`, then opt in to `activateArtifactsInScopes`. Build Arc
@@ -160,8 +160,8 @@ await scenario.dispose();
160
160
  - Pass the command, its event types, validators and read-model types to
161
161
  `for(...)`; the in-memory log refuses an unregistered event type.
162
162
  - `givenReadModel(Type, id, instance, tenant?)` pins state;
163
- `scenario.given.forEventSource(id, tenant?).events(...)` seeds reducer history
164
- (SDK >=6.14.0) and projections (>=6.19.0) through SDK `ReadModelScenario`.
163
+ `scenario.given.forEventSource(id, tenant?).events(...)` seeds reducer history
164
+ (SDK 6.14.0 or later) and projections (6.19.0 or later) through SDK `ReadModelScenario`.
165
165
  `.readModel(instance)` pins state on the same given builder.
166
166
  - `shouldHaveAppendedEvent` does not check count or order — assert
167
167
  `appendedEvents` when either matters.
@@ -10,7 +10,7 @@
10
10
  - Recovery follows commit facts
11
11
  - Chronicle aggregates (experimental)
12
12
 
13
- Verified at `Cratis/Arc.TypeScript` **v0.57.2** (source preview, not on npm):
13
+ Source: `Cratis/Arc.TypeScript` (source preview, not on npm):
14
14
  `Source/Core/commands/CommandOperation.ts`, operation execution/recovery code,
15
15
  `Source/Chronicle/ChronicleCommandScope.ts`, `commandAggregate.ts`,
16
16
  `Documentation/commands/operations/reference.md`, and
@@ -88,9 +88,9 @@ failure/budget expiry, and unknown commit facts.
88
88
  With Chronicle, `tuple(event, operation)` stages the event, executes the operation,
89
89
  then completes the append scope before deciding compensation. Known append
90
90
  rejection compensates; unknown/partial acknowledgment does not claim rollback.
91
- The tagged `Documentation/commands/operations/index.md` still says events and
91
+ `Documentation/commands/operations/index.md` can say events and
92
92
  operations cannot combine; `ChronicleCommandScope.ts` and the live integration
93
- specs establish the supported combination at this tag.
93
+ specs establish the supported combination.
94
94
 
95
95
  There is no distributed transaction, automatic retry, durable recovery journal
96
96
  or crash recovery. Compensation success is not proof an external effect was
@@ -111,4 +111,4 @@ tail is captured at load and appended as an exact concurrency scope; another
111
111
  append to the route rejects the entire batch. Projection reads may lag this
112
112
  rehydrated state. Use ChronicleKernelScenario for aggregate/concurrency specs,
113
113
  not the in-memory scenario. Registered event-source-definition routing for Arc
114
- commands/aggregates is **not** part of v0.57.2.
114
+ commands/aggregates is **not** supported.
@@ -10,7 +10,7 @@
10
10
  - Observable-query WebSockets from a dev server
11
11
  - Storage integrations
12
12
 
13
- Verified against `Cratis/Arc.TypeScript` tag **v0.57.2** (GitHub pre-release): `Documentation/overview.md`, `hosts/**`,
13
+ Source: `Cratis/Arc.TypeScript` (source preview): `Documentation/overview.md`, `hosts/**`,
14
14
  `mongodb/getting-started.md`, `sql/getting-started.md`,
15
15
  `chronicle/registration-options.md`, and the `Express`, `Fastify`, `Hono`,
16
16
  `MongoDB`, `Drizzle` and `Chronicle` package exports. None of these packages is
@@ -35,13 +35,15 @@ await builder.discover(new URL('./Features/', import.meta.url));
35
35
  export const arc = await builder.build();
36
36
  ```
37
37
 
38
+ Requires the peers `express` `^5.0.0`, `fastify` `^5.0.0`, `hono` `^4.0.0` and (optional) `@hono/node-server` `^1.19.11` for the matching adapters.
39
+
38
40
  | Host | Package and entry point | Framework peer |
39
41
  | --- | --- | --- |
40
42
  | Standalone Node host | `@cratis/arc.core`: `app.run()` or `app.start()` | none |
41
43
  | Your own `node:http`/`node:https` server | `@cratis/arc.core`: `createArcNodeHandler(server)` | none |
42
- | Express 5 | `@cratis/arc.express`: `app.use(cratisArc(arc))` | `express` `^5.0.0` |
43
- | Fastify 5 | `@cratis/arc.fastify`: `app.register(cratisArc, { arc })` | `fastify` `^5.0.0` |
44
- | Hono 4 | `@cratis/arc.hono`: `app.use(cratisArc(arc))`; Node: `serveCratisArc` | `hono` `^4.0.0`; optional `@hono/node-server` `^1.19.11` |
44
+ | Express 5 | `@cratis/arc.express`: `app.use(cratisArc(arc))` | `express` |
45
+ | Fastify 5 | `@cratis/arc.fastify`: `app.register(cratisArc, { arc })` | `fastify` |
46
+ | Hono 4 | `@cratis/arc.hono`: `app.use(cratisArc(arc))`; Node: `serveCratisArc` | `hono`; optional `@hono/node-server` |
45
47
  | Fetch API host | `@cratis/arc.core/fetch`: `app.fetch(request)` | none |
46
48
 
47
49
  Every adapter dispatches only exact raw-path matches on a fixed internal origin
@@ -168,11 +170,13 @@ ArcApplication.createBuilder({ query: { allowedOrigins: ['http://127.0.0.1:5173'
168
170
  Arc requires no database and no event store. Each integration is optional and
169
171
  adds a builder method when imported; the exported function form is equivalent.
170
172
 
173
+ Requires the peers `mongodb` `^6.21.0`, `drizzle-orm` `^0.45.0`, `rxjs` `^7.8.2` and `@cratis/chronicle` `^6.29.0` for the matching integrations.
174
+
171
175
  | Integration | Register | Inject |
172
176
  | --- | --- | --- |
173
- | MongoDB (`@cratis/arc.mongodb`, peer `mongodb` `^6.21.0`) | `import '@cratis/arc.mongodb'; builder.withMongoDB({ client, databaseNameResolver, readModels: [TaskRecord] })` or `withMongoDB(builder, options)` | `service(mongoCollection(TaskRecord))` in `@query`, or `@inject(mongoCollection(TaskRecord))`; `commandReadModel(TaskRecord)` in commands |
174
- | SQL through Drizzle (`@cratis/arc.drizzle`, peers `drizzle-orm` `^0.45.0` and `rxjs` `^7.8.2`) | `import '@cratis/arc.drizzle'; builder.withDrizzle({ dialect: DrizzleDialect.SQLite, database, readModels: [{ type: TaskRecord, table: tasks }] })` | `service(drizzleReadModel(TaskRecord))` for read-only query handles; `@inject(drizzleDatabase<SQLJsDatabase>())` for a writable handle in commands; `commandReadModel(TaskRecord)` |
175
- | Chronicle (`@cratis/arc.chronicle`, experimental, peer `@cratis/chronicle` `^6.29.0`) | `import '@cratis/arc.chronicle'; builder.withChronicle({ connectionString, eventStore })` or `withChronicle(builder, options)` | Commands return events; queries take `service(ChronicleReadModels)`; `commandReadModel(Type)` |
177
+ | MongoDB (`@cratis/arc.mongodb`, peer `mongodb`) | `import '@cratis/arc.mongodb'; builder.withMongoDB({ client, databaseNameResolver, readModels: [TaskRecord] })` or `withMongoDB(builder, options)` | `service(mongoCollection(TaskRecord))` in `@query`, or `@inject(mongoCollection(TaskRecord))`; `commandReadModel(TaskRecord)` in commands |
178
+ | SQL through Drizzle (`@cratis/arc.drizzle`, peers `drizzle-orm` and `rxjs`) | `import '@cratis/arc.drizzle'; builder.withDrizzle({ dialect: DrizzleDialect.SQLite, database, readModels: [{ type: TaskRecord, table: tasks }] })` | `service(drizzleReadModel(TaskRecord))` for read-only query handles; `@inject(drizzleDatabase<SQLJsDatabase>())` for a writable handle in commands; `commandReadModel(TaskRecord)` |
179
+ | Chronicle (`@cratis/arc.chronicle`, experimental, peer `@cratis/chronicle`) | `import '@cratis/arc.chronicle'; builder.withChronicle({ connectionString, eventStore })` or `withChronicle(builder, options)` | Commands return events; queries take `service(ChronicleReadModels)`; `commandReadModel(Type)` |
176
180
 
177
181
  - **MongoDB**: list every injected model in `readModels`; a model left out has
178
182
  no collection token. `@key()` marks the field stored as `_id` (otherwise a
@@ -3,7 +3,7 @@
3
3
 
4
4
  # Identity, authorization and discovery access
5
5
 
6
- Verified at `Cratis/Arc.TypeScript` **v0.57.2** (GitHub pre-release, not on npm):
6
+ Source: `Cratis/Arc.TypeScript` (GitHub pre-release, not on npm):
7
7
  `Source/Core/authentication/**`, `identity/**`, `introspection/**`,
8
8
  `Documentation/core/authentication.md`, `authorization.md`,
9
9
  `Documentation/identity/**`, `hosts/native-principal.md`, and
@@ -61,7 +61,9 @@ published React identity hooks can display it, but server protection still
61
61
  belongs on every operation. Local users/tenants are development fixtures, not
62
62
  production credentials; keep simulated identities on loopback hosts.
63
63
 
64
- ## Secure introspection defaults (0.56.0+)
64
+ ## Secure introspection defaults
65
+
66
+ Requires Arc for TypeScript 0.56.0 for these defaults.
65
67
 
66
68
  `/.cratis/commands`, `/.cratis/queries`, `/.cratis/identity-details/schema`,
67
69
  `/.cratis/users`, `/.cratis/tenants`, and `/openapi.json` are anonymous only in
@@ -3,7 +3,7 @@
3
3
 
4
4
  # Observability and trusted host scopes
5
5
 
6
- Verified at `Cratis/Arc.TypeScript` **v0.57.2** (source preview):
6
+ Source: `Cratis/Arc.TypeScript` (source preview):
7
7
  `Source/Core/execution/WellKnownTelemetryNames.ts`, `observability.ts`,
8
8
  `runInScope.ts`, `RunInScopeOptions.ts`, and `Documentation/observability.md`.
9
9
 
@@ -12,7 +12,7 @@ Verified at `Cratis/Arc.TypeScript` **v0.57.2** (source preview):
12
12
  is `success`, `validation`, `authorization`, `append_rejected`, `cancelled`,
13
13
  `error`. `cratis.arc.query.transport` distinguishes query transports.
14
14
  - Core exports `WellKnownTelemetryNames`, `OperationOutcome`, `QueryTransport`;
15
- `@opentelemetry/api ^1.9.0` is a peer. Instrumentation caps command/query names
15
+ `@opentelemetry/api` is a peer. Instrumentation caps command/query names
16
16
  at 1,000 to bound cardinality. Do not add raw user/tenant keys to metric names.
17
17
  - `cratis.arc.operation.duration` and the `query_name` attribute are deprecated;
18
18
  migrate dashboards to command/query-specific names.
@@ -1,6 +1,6 @@
1
1
  ## Generate metadata and proxies
2
2
 
3
- Verified at `Cratis/Arc.TypeScript` **v0.57.2** (source preview):
3
+ Source: `Cratis/Arc.TypeScript` (source preview):
4
4
  `Source/Tools/ProxyGenerator/parseSourceOptions.ts`,
5
5
  `Documentation/proxy-generation/getting-started.md`, and sample generator scripts.
6
6
 
@@ -36,8 +36,8 @@ process.exitCode = result.status ?? 1;
36
36
  (`--api-prefix`, `--segments-to-skip`, `--root-namespace`) to the server's
37
37
  `generatedApis` options, or proxies call URLs the server does not serve.
38
38
  - Generated proxies import the **published** `@cratis/arc` and
39
- `@cratis/arc.react` (docs/sample pins **22.45.0**) plus `@cratis/fundamentals`;
40
- the UI samples pin `@cratis/components` 4.23.0. Compile in strict `Bundler`
39
+ `@cratis/arc.react` plus `@cratis/fundamentals`;
40
+ the UI samples use `@cratis/components`. Compile in strict `Bundler`
41
41
  resolution with `skipLibCheck: false`, `experimentalDecorators: true`, and
42
42
  import `reflect-metadata` once in the frontend entry. These published client
43
43
  declarations do not support NodeNext consumer compilation. Consuming proxies
@@ -1,6 +1,6 @@
1
1
  ## Lay out the slice
2
2
 
3
- Verified at `Cratis/Arc.TypeScript` **v0.57.2**:
3
+ Source: `Cratis/Arc.TypeScript`:
4
4
  `Samples/Library/Features/Authors/Registration` and sample generator scripts.
5
5
 
6
6
  House convention (not a runtime requirement): one folder per behavior, one