@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
@@ -28,31 +28,33 @@ HTTP and never sees this package.
28
28
  | A connection string with no credentials | Silently falls back to the development client credentials |
29
29
  | Shipping the default TLS behavior | `skipTlsValidation` defaults to `true` |
30
30
  | Constructor-injecting without an `artifactActivator` | By default the client constructs the artifact itself |
31
- | Side-effect reactor without `@onceOnly()` | Reactors run again on kernel replay by default since 6.9.0 |
31
+ | Side-effect reactor without `@onceOnly()` | Reactors run again on kernel replay by default |
32
32
  | Reading `result.sequenceNumber` as a number | It is a `bigint` behind `.value` |
33
33
  | A `@globalFor` mapping targeting a property one variant lacks | `GlobalHandlerPropertyNotOnVariant` when the group is built, not a silently skipped mapping |
34
34
  | Expecting a `@globalFor`-only class to appear as a projection | It is never registered on its own; it is merged into its variants |
35
35
 
36
36
  ## Verified product sources
37
37
 
38
- Verified against `Cratis/Chronicle.TypeScript` tag **`v6.51.0`**, reading
38
+ Source: `Cratis/Chronicle.TypeScript`, reading
39
39
  `Source/**` and `Documentation/getting-started.md`, `testing.md`,
40
- `migrate-append-routing.md` and `reactors.md`. Source paths below refer to that tag.
40
+ `migrate-append-routing.md` and `reactors.md`.
41
41
 
42
- | Package | Version | Where |
43
- | --- | --- | --- |
44
- | `@cratis/chronicle` | `6.51.0` | npm; `Source/package.json` carries a `1.0.0` placeholder |
45
- | `@cratis/chronicle.contracts` | `19.31.10` | Client's pinned dependency, not the latest contracts package |
46
- | `@cratis/fundamentals` | `^7.22.4` | **peer dependency** — you install it |
42
+ | Package | Where |
43
+ | --- | --- |
44
+ | `@cratis/chronicle` | npm; `Source/package.json` carries a placeholder version |
45
+ | `@cratis/chronicle.contracts` | Client's pinned dependency, not the latest contracts package |
46
+ | `@cratis/fundamentals` | **peer dependency** — you install it |
47
47
 
48
- > **Do not read the version out of the repository.** `Source/package.json` says
49
- > `1.0.0`; `publish-version.js` overwrites it at publish time. Take the version
48
+ > **Do not read the version out of the repository.** `Source/package.json` carries
49
+ > a placeholder; `publish-version.js` overwrites it at publish time. Take the version
50
50
  > from npm.
51
51
 
52
- **Upgrade the kernel first.** The 5.x→6.0.0 migration changes omitted append
53
- routes and requires compatibility checks (kernel 18.4.1+); registered event
54
- sources introduced in 6.49.0 require kernel 19.30+. Reactors replay by default
55
- since 6.9.0, so review side-effect handlers when upgrading.
52
+ **Upgrade the kernel first.** Reactors replay by default, so review side-effect handlers when
53
+ upgrading.
54
+
55
+ Requires Chronicle kernel 18.4.1 for the contract compatibility check and for omitted append routes.
56
+
57
+ Requires `@cratis/chronicle` 6.49.0, Chronicle kernel 19.30.0 and `@cratis/chronicle.contracts` 19.30.0 for registered event sources.
56
58
 
57
59
  ## Project setup
58
60
 
@@ -229,7 +231,9 @@ if (!result.isSuccess) {
229
231
  `concurrencyScope`, `concurrencyScopes`, `eventSource`, and `eventStream`.
230
232
  The reserved legacy `eventSourceId` option does not override the method's id.
231
233
 
232
- **Single `append()` supports routing and subject options.** Since 6.0.0 an
234
+ Requires `@cratis/chronicle` 6.0.0 for omitted append routes.
235
+
236
+ **Single `append()` supports routing and subject options.** An
233
237
  unspecified route is omitted on the wire; the kernel resolves source `Default`,
234
238
  stream type `All`, stream id `Default`. Subject precedence is the explicit option,
235
239
  then the event's `@subject()` property, then its event source id.
@@ -251,7 +255,7 @@ await unitOfWork.commit();
251
255
  ```
252
256
 
253
257
  `ITransactionalEventSequence` returns `Promise<void>`, not an `AppendResult`;
254
- results are on the unit of work. Since 6.51.0 transactional appends retain
258
+ results are on the unit of work. Requires `@cratis/chronicle` 6.51.0 for transactional appends to retain
255
259
  routing, subject, occurrence, tags and concurrency scopes in enrollment order;
256
260
  conflicting scopes for one source throw `ConflictingConcurrencyScopesInUnitOfWork`
257
261
  before enrollment.
@@ -265,7 +269,7 @@ An unmatched name is simply never called. Reactors and reducers also support
265
269
  `@handles(EventType)` on a public instance method: one handler per event;
266
270
  a reactor handler cannot combine it with `@replay`.
267
271
 
268
- **Reactors replay by default since 6.9.0.** Use class `@onceOnly()` (not inherited)
272
+ **Reactors replay by default.** Use class `@onceOnly()` (not inherited)
269
273
  or method `@onceOnly()` for effects that must not run on replay; `@replay(EventType)`
270
274
  provides a separate replay handler. This never prevents failed-partition
271
275
  redelivery or proves exactly-once effects.
@@ -353,10 +357,12 @@ Three consecutive credential rejections cause `RejectedChronicleCredentials`.
353
357
  A failed token request is logged and the call proceeds without a token (allowing
354
358
  an auth-less kernel); tokens come from the selected server, not the first host.
355
359
 
356
- Since 6.43.0 built-in spans use `cratis.chronicle.client.*` and scope
360
+ Requires `@cratis/chronicle` 6.43.0 for the built-in spans below.
361
+
362
+ Built-in spans use `cratis.chronicle.client.*` and scope
357
363
  `Cratis.Chronicle.Client`; metrics use seconds. Legacy millisecond metrics and
358
364
  `chronicle.*` attributes are retired except the retained exact-string
359
- `chronicle.sequence_number`. Historical constants, `ChronicleMetrics`, and
365
+ `chronicle.sequence_number`. The old constants, `ChronicleMetrics`, and
360
366
  `telemetry.spanNames` are deprecated; migrate dashboards.
361
367
 
362
368
  ## Artifact activation
@@ -379,7 +385,7 @@ reactors or read models with `EventScenario`, `ReactorScenario`, or
379
385
  | Registered sources/streams | Root `@eventSource`, repeatable `@eventStream`, `ConcurrencyDimensions`, `store.eventSources`; append `eventSource/eventStream`. Kernel 19.30+; see `Source/eventSources/` |
380
386
  | Named tags | `namedTags` on appends; batches cannot combine them with registered event sources |
381
387
  | Personal data and retained secrets | `@pii`, `@subject`, `store.pii`; `@encrypted` with `EncryptionScope` from `./confidentiality`; release through `readModels.release*`. Never combine PII/encrypted or put either on `eventSourceId` |
382
- | Subject migration | Subject uses `@subject()` since 6.41.1; earlier appended events used the source id for protection keys |
388
+ | Subject migration | Subject uses `@subject()`; events appended before it used the source id for protection keys |
383
389
  | Operational catalogs | `store.observers` (list/remove), `store.patterns`; mutations need authority |
384
390
  | Diagnostics/privacy | `ChronicleOptions.telemetry` and per-client `logger`; source ids are omitted by default, raw/HMAC recording is opt-in |
385
391
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## Read models and projections
5
5
 
6
- Verified at `Cratis/Chronicle.TypeScript` **v6.51.0**:
6
+ Source: `Cratis/Chronicle.TypeScript`:
7
7
  `Source/readModels/IReadModels.ts`, `indexDecorator.ts`,
8
8
  `Source/projections/modelBound/**`, `declarative/**`, and
9
9
  `Source/events/constraints/**`.
@@ -32,7 +32,7 @@ Verified at `Cratis/Chronicle.TypeScript` **v6.51.0**:
32
32
  implementing `IProjectionFor<TReadModel>` with
33
33
  `define(builder: IProjectionBuilderFor<TReadModel>): void`.
34
34
 
35
- Chronicle's `@readModel()` is deprecated since 6.7.0: infer the read model from
35
+ Chronicle's `@readModel()` is deprecated: infer the read model from
36
36
  mappings or the type supplied to projection/reducer registration. A custom id
37
37
  uses `static readonly readModelId = 'custom-id'`. This does **not** deprecate
38
38
  Arc's separate `@readModel()` query marker.
@@ -54,8 +54,8 @@ Arc's separate `@readModel()` query marker.
54
54
 
55
55
  ### Append-time constraints
56
56
 
57
- `@unique()` and repeatable `@removeConstraint(name)` are exported from
58
- `@cratis/chronicle` and `@cratis/chronicle/events` since 6.8.0.
57
+ Requires `@cratis/chronicle` 6.8.0 for `@unique()` and repeatable `@removeConstraint(name)`, exported from
58
+ `@cratis/chronicle` and `@cratis/chronicle/events`.
59
59
  `@unique(name?, message?)` or `@unique({ name, message, eventSequences })`
60
60
  marks a property unique across sources, or a class unique per source.
61
61
  Same-named declarations merge; conflicting scopes throw.
@@ -10,7 +10,7 @@
10
10
  - Materialization — ReadModelScenario
11
11
  - Use kernel-backed tests outside the boundary
12
12
 
13
- Verified at `Cratis/Chronicle.TypeScript` **v6.51.0**:
13
+ Source: `Cratis/Chronicle.TypeScript`:
14
14
  `Source/testing/index.ts`, `EventScenario.ts`, `ReactorScenario.ts`,
15
15
  `ReadModelScenario.ts`, and `Documentation/testing.md`.
16
16
  Import the three scenarios from `@cratis/chronicle/testing`. They share
@@ -1,8 +1,9 @@
1
1
  ## Variants — mutually exclusive read models for one entity's lifecycle
2
2
 
3
- > Available since `@cratis/chronicle` 6.2.0; verified at **v6.51.0**
4
- > (`Source/projections/VariantReclassifier.ts` and model-bound decorators).
5
- > Read models are inferred; use `static readModelId` for a custom id.
3
+ Requires `@cratis/chronicle` 6.2.0 or later.
4
+
5
+ Source: `Source/projections/VariantReclassifier.ts` and model-bound decorators.
6
+ Read models are inferred; use `static readModelId` for a custom id.
6
7
 
7
8
  Some entities do not have one shape for their whole lifetime — a work item is a
8
9
  backlog entry until a pull request exists for it, then it is a pull request
@@ -3,13 +3,13 @@
3
3
  "input": "Append a routed event and specify a TypeScript Chronicle reactor without a kernel.",
4
4
  "fixtures": [],
5
5
  "assertions": [
6
- { "kind": "skill-contains", "value": "tag **`v6.51.0`**" },
6
+ { "kind": "skill-contains", "value": "`Cratis/Chronicle.TypeScript`" },
7
7
  { "kind": "skill-contains", "value": "**Single `append()` supports routing and subject options.**" },
8
8
  { "kind": "skill-contains", "value": "Standard TC39 decorators" },
9
9
  { "kind": "skill-contains", "value": "**A compiled-JS entry defaults to `[]`.**" },
10
10
  { "kind": "skill-contains", "value": "IncompatibleChronicleServer" },
11
11
  { "kind": "skill-contains", "value": "installed package version" },
12
- { "kind": "skill-contains", "value": "**Reactors replay by default since 6.9.0.**" },
12
+ { "kind": "skill-contains", "value": "**Reactors replay by default.**" },
13
13
  { "kind": "skill-contains", "value": "@handles(EventType)" },
14
14
  { "kind": "skill-contains", "value": "Returns **null when absent**", "file": "references/read-models-and-projections.md" },
15
15
  { "kind": "skill-contains", "value": "`@unique()`", "file": "references/read-models-and-projections.md" },
@@ -13,12 +13,12 @@ decide the event shape — the subject is what erasure operates on.
13
13
 
14
14
  ## Verified product sources
15
15
 
16
- This skill is verified against this exact public release:
16
+ Sources:
17
17
 
18
- | Package | Version | Purpose |
19
- | --- | --- | --- |
20
- | `Cratis.Chronicle` | `19.50.1` | `Cratis.Chronicle.Compliance.GDPR`, `Cratis.Chronicle.SubjectAttribute`, `IEventSequence.Redact`, `IReadModels.Release` |
21
- | `Cratis.Chronicle.CodeAnalysis` | `19.50.1` | `CHR0026`, `CHR0034`, `CHR0035`, `CHR0043`, `CHR0046` |
18
+ | Package | Purpose |
19
+ | --- | --- |
20
+ | `Cratis.Chronicle` | `Cratis.Chronicle.Compliance.GDPR`, `Cratis.Chronicle.SubjectAttribute`, `IEventSequence.Redact`, `IReadModels.Release` |
21
+ | `Cratis.Chronicle.CodeAnalysis` | `CHR0026`, `CHR0034`, `CHR0035`, `CHR0043`, `CHR0046` |
22
22
 
23
23
  Reverify product sources before claiming support for another version.
24
24
 
@@ -63,7 +63,7 @@ are `[PII]` for personal data and `[Encrypted]` for retained operational secrets
63
63
  there is no `[Redact]`, `[Erase]`, `[Anonymize]`, or `[Encrypt]` annotation.
64
64
  Redaction is an API call. `[NotAudited]` belongs to Arc, not Chronicle.
65
65
 
66
- `[Encrypted]` (`Cratis.Chronicle.ProtectedValues`, Chronicle 19.32.0+) is a
66
+ `[Encrypted]` (`Cratis.Chronicle.ProtectedValues`) is a
67
67
  security marker, not a compliance category: it encrypts an operational secret
68
68
  (API key, token, a company's bank account number) at rest with no data subject
69
69
  and no erasure. Never put it on a value that is also `[PII]` (analyzer
@@ -161,7 +161,7 @@ What this does and does not do:
161
161
  number/boolean → `0`/`false`; nullable number/boolean → `null`; collection →
162
162
  empty collection; object/value object → empty object. An erased `0`, `false`
163
163
  or empty string is indistinguishable from a genuinely recorded one.
164
- Source at v19.50.0: `Documentation/compliance/erasing-a-subject.mdx`.
164
+ Source: `Documentation/compliance/erasing-a-subject.mdx`.
165
165
  - Appending a new `[PII]` value for an erased subject **fails** with
166
166
  `EncryptionKeyErased`. It does not quietly mint a new key. Call
167
167
  `AllowNewEncryptionKeyFor` deliberately if the subject must be re-enrolled.
@@ -192,14 +192,14 @@ Use redaction for content that should never have been appended. Use key erasure
192
192
  for a subject exercising a right to erasure. They are different mechanisms and
193
193
  one does not imply the other.
194
194
 
195
- Since 19.11.0, redaction also drops retained causation property values, revision
195
+ Requires Chronicle 19.11.0 for redaction to also drop retained causation property values, revision
196
196
  history and content hashes. It does not reach backups, oplogs or events already
197
197
  forwarded elsewhere. Subject erasure does **not** erase causation values: these
198
198
  are not encrypted under the subject key. Kernel configuration
199
199
  `events.causationPropertyRetention = Omit`
200
200
  (`Cratis__Chronicle__Events__CausationPropertyRetention`) prevents **new** retention
201
201
  on appends, forwarding, revisions and redactions; it does not rewrite history.
202
- Source at v19.50.0: `Documentation/hosting/configuration/events.md` and
202
+ Source: `Documentation/hosting/configuration/events.md` and
203
203
  `Documentation/compliance/erasing-a-subject.mdx`.
204
204
 
205
205
  Adding `[PII]` / `[Encrypted]` to an existing generation is accepted with a warning
@@ -23,14 +23,15 @@ use, and the traps. A plain read, a validator read, `Result<,>` and
23
23
 
24
24
  ## Verified product sources
25
25
 
26
- | Product | Version | Sources |
27
- | --- | --- | --- |
28
- | `Cratis.Chronicle` | `19.50.1` | `Source/Clients/DotNET/ReadModels/{IDecisionReads,DecisionReads,DecisionRead,DecisionReadRefusalReason}.cs` |
29
- | `Cratis.Chronicle` transactions | `19.50.1` | `Source/Clients/DotNET/Transactions/{IUnitOfWork,UnitOfWork,DecisionReadCommitOwner,UnitOfWorkLifecyclePolicy}.cs` |
30
- | `Cratis.Chronicle` scope resolution | `19.50.1` | `Source/Clients/DotNET/EventSequences/Concurrency/DefinitionConcurrencyScopeResolver.cs` |
31
-
32
- The client surface began in 19.9.0; stream-scoped reads require the newer kernel
33
- surface added in 19.39.0. Reverify a client/kernel pair rather than disabling
26
+ | Product | Sources |
27
+ | --- | --- |
28
+ | `Cratis.Chronicle` | `Source/Clients/DotNET/ReadModels/{IDecisionReads,DecisionReads,DecisionRead,DecisionReadRefusalReason}.cs` |
29
+ | `Cratis.Chronicle` transactions | `Source/Clients/DotNET/Transactions/{IUnitOfWork,UnitOfWork,DecisionReadCommitOwner,UnitOfWorkLifecyclePolicy}.cs` |
30
+ | `Cratis.Chronicle` scope resolution | `Source/Clients/DotNET/EventSequences/Concurrency/DefinitionConcurrencyScopeResolver.cs` |
31
+
32
+ Requires Chronicle 19.9.0 for decision reads, and a Chronicle 19.39.0 kernel for stream-scoped reads.
33
+
34
+ Reverify a client/kernel pair rather than disabling
34
35
  compatibility checking to force a read through.
35
36
 
36
37
  ## Route the work
@@ -56,7 +57,7 @@ compatibility checking to force a read through.
56
57
  `Admit<T>()` / `AdmitForStream<T>()` check shape **without I/O**, returning
57
58
  `DecisionReadAdmission(IsAdmitted, Reason)`. The model needs an `Id` property
58
59
  (string, or a Guid in lowercase hyphenated form) and an event-source-keyed flat
59
- projection. Reducers, including self-reducing models (19.58.0), are refused with
60
+ projection. Reducers, including self-reducing models, are refused with
60
61
  `Reducer`; a missing `Id` or an unconvertible key refuses with `KeyConversion`. A successful shape check is not
61
62
  runtime read success: definitions, key conversion and fold completion are also
62
63
  checked while reading.
@@ -94,7 +95,7 @@ Enroll the read **before** staging its decision's events through
94
95
  `IsSuccess`, append errors/constraint violations/concurrency violations and
95
96
  `GetDecisionConflicts()`; the latter reports decision conflicts without exposing
96
97
  sequence numbers. On a kernel whose append validators accept an empty batch
97
- (Chronicle v19.59.1 does when a scope carries an actual boundary or expects no matching event), a checked empty
98
+ (a kernel that does so when a scope carries an actual boundary or expects no matching event), a checked empty
98
99
  append validates its scope and writes nothing; a kernel that rejects it surfaces
99
100
  `DecisionReadValidateOnlyNotSupported`, which fails closed. Do not mistake "no
100
101
  event" for "no consistency check", and assert validate-only in an integration
@@ -3,7 +3,7 @@
3
3
 
4
4
  # Admission and commit ownership
5
5
 
6
- Verified at **Cratis/Chronicle v19.50.0**:
6
+ Source: `Cratis/Chronicle`:
7
7
  `Source/Clients/DotNET/ReadModels/DecisionReads.cs`, `DecisionReadRefusalReason.cs`,
8
8
  `Source/Clients/DotNET/Transactions/UnitOfWork.cs`, `DecisionReadCommitOwner.cs`,
9
9
  and `UnitOfWorkLifecyclePolicy.cs`.
@@ -20,8 +20,7 @@ question: **which mechanism makes this rule hold while other writers append at t
20
20
  same time**, and which look correct but do not. Read it before writing a command,
21
21
  validator, endpoint or handler that reads state and then appends.
22
22
 
23
- Verified against Chronicle source at v19.59.1 (decision-read refusals of
24
- self-reducing models since 19.58.0) and Arc main `0986d097a`. Published guides, which
23
+ Checked against the Chronicle and Arc sources. Published guides, which
25
24
  this agrees with:
26
25
  [Chronicle: choosing how a rule holds](/chronicle/dynamic-consistency-boundary/choosing/),
27
26
  [decision reads](/chronicle/read-models/decision-reads/),
@@ -80,7 +79,7 @@ Whatever the backing, a plain read captures no position and enrolls no guard.
80
79
  | Materialized projection or reducer (default) | may lag the log | none |
81
80
  | `[Passive]` projection | fresh at read time | none |
82
81
  | `[Passive]` reducer | fresh at read time | none |
83
- | Self-reducing model (19.58.0) | as its `[Passive]` setting | none |
82
+ | Self-reducing model | as its `[Passive]` setting | none |
84
83
 
85
84
  Passive is fresher, not safer. Capturing the tail yourself before a materialized
86
85
  read does not fix it: the read may be older than the position you captured, and
@@ -95,10 +94,10 @@ A constraint binds every writer, whichever client or service appends, per namesp
95
94
  and per event sequence. It cannot count, sum or test a predicate; it expresses
96
95
  uniqueness (with release on a removal event), create-once and closed streams.
97
96
 
98
- - The claim is settled after the durable append (decision 0005, accepted, not yet
97
+ - The claim is settled after the durable append (not yet
99
98
  implemented in every store). A failed index update is logged and a later duplicate
100
99
  may pass until a reindex. SQL and InMemory stores do not yet settle claims
101
- (#3744 and the decision's gap list). A constraint is the right mechanism, not an
100
+ A constraint is the right mechanism, not an
102
101
  unconditional proof.
103
102
  - Tenants in different namespaces can claim the same value.
104
103
  - `[RemoveConstraint]` releases attribute constraints (`[Unique]` on a property
@@ -138,7 +137,7 @@ stored tail filtered by key, types and route). See the skill's
138
137
  bypass the kernel's serialized append path (duplicate grain activations, direct
139
138
  storage writes) are outside the guard.
140
139
  - **Empty protected commit.** A unit that enrolled a decision read and staged no
141
- events appends an empty batch with the guard scopes. At Chronicle v19.59.1 the kernel
140
+ events appends an empty batch with the guard scopes. The kernel
142
141
  validators (`AppendManyValidator`, `AppendManyForEventSourcesValidator`) accept an
143
142
  empty batch when a scope carries an actual boundary or expects no matching event, and the integration
144
143
  spec `for_ReadModels/when_reading_for_a_decision` shows `AppendMany([], guardedBy:)`
@@ -18,21 +18,21 @@ the mechanism for uniqueness and create-once. It cannot count, sum or test a
18
18
  predicate: capacity and stock rules need a decision read, a stream decision or an
19
19
  aggregate. Read [choosing how a rule holds](../cratis-chronicle-decision-reads/references/choosing-how-a-rule-holds.md)
20
20
  when it is unclear which one a rule needs. Limits: the claim is settled after the
21
- durable append (decision 0005), so a failed index update can let a later duplicate
21
+ durable append, so a failed index update can let a later duplicate
22
22
  through until a reindex; constraints apply per event store namespace and event
23
23
  sequence, so tenants in different namespaces can claim the same value; and a
24
24
  constraint is not re-run when the kernel retries a duplicate sequence number.
25
25
 
26
26
  ## Verified product sources
27
27
 
28
- | Package | Version | Purpose |
29
- | --- | --- | --- |
30
- | `Cratis.Chronicle` (client) | `19.50.1` | uniqueness, stream closing, constraint builders and append results |
31
- | `Cratis.Chronicle` code analysis | `19.50.1` | `CHR0017`, `CHR0018`, `CHR0020` |
32
- | `Cratis.Chronicle.Testing` | `19.50.1` | `EventScenario` and the `IAppendResult` `Should*` assertions |
28
+ | Package | Purpose |
29
+ | --- | --- |
30
+ | `Cratis.Chronicle` (client) | uniqueness, stream closing, constraint builders and append results |
31
+ | `Cratis.Chronicle` code analysis | `CHR0017`, `CHR0018`, `CHR0020` |
32
+ | `Cratis.Chronicle.Testing` | `EventScenario` and the `IAppendResult` `Should*` assertions |
33
33
 
34
34
  Sources: `Source/Clients/DotNET/Events/Constraints/`,
35
- `EventSequences/IEventSequence.cs` and `Source/Clients/Testing/` at v19.50.0.
35
+ `EventSequences/IEventSequence.cs` and `Source/Clients/Testing/`.
36
36
 
37
37
  Reverify against the Chronicle repository before claiming support for another
38
38
  version. Never translate an attribute argument order or an assertion name from
@@ -3,7 +3,7 @@
3
3
 
4
4
  # Closing scope and recovery
5
5
 
6
- Verified at **Cratis/Chronicle v19.50.0**:
6
+ Source: `Cratis/Chronicle`:
7
7
  `Source/Clients/DotNET/EventSequences/{IEventSequence,ClosedStreamScope,CompleteStreamError}.cs`,
8
8
  `Events/Constraints/ClosesStreamAttribute.cs`,
9
9
  `Documentation/closing-streams/` and `Documentation/scenarios/close-the-books.mdx`.
@@ -76,8 +76,16 @@ these are the `Automation` and `Translate` slice types.
76
76
  as input, read state or context (time, caller, tenant). Context comes from the
77
77
  command pipeline or an injected time source, never from the wall clock inside
78
78
  the decision, so a specification can fix it.
79
+ - **Who issues each command**: a named role or an automation, never a generic
80
+ user. Each role's "cannot" becomes authorization plus a denial specification.
81
+ - **Story order**: the flow from its first trigger to every ending, with
82
+ branches and terminal facts named.
83
+ - **Refused transitions**: per state, which commands are refused and by which
84
+ rule (a state-by-command table).
79
85
  - **Events** — past-tense, one-purpose facts. Names must be self-describing:
80
- `<Entity><PastTenseVerb>`, never a bare `Created`.
86
+ `<Entity><PastTenseVerb>`, never a bare `Created`. Name them for one real
87
+ flow with real values. On a generic platform, model a case it handles
88
+ (`HullDamageReported`), not its machinery (`FormSubmitted` with `content`).
81
89
  - **The event-source id for every event.** Events never carry their own
82
90
  event-source id as a payload property; it lives in the event context. Deciding
83
91
  the id *is* deciding the stream boundary.
@@ -221,6 +229,9 @@ remain separately authorized; a ready model authorizes none of them.
221
229
  missing event.
222
230
  - Personal data has a decided subject, and the subject is person-level or the
223
231
  trade-off is surfaced.
232
+ - No data-loading command (`LoadOrders`), UI event (`ButtonClicked`), technical
233
+ event (`ApiCalled`) or recomputed event.
234
+ - Every state has its refusals listed.
224
235
  - The specification outline names the failures, not only the happy path.
225
236
 
226
237
  ## Route near misses
@@ -12,13 +12,13 @@ application's constraints discovered and active.
12
12
 
13
13
  ## Verified product sources
14
14
 
15
- | Package | Version | Purpose |
16
- | --- | --- | --- |
17
- | `Cratis.Chronicle.Testing` | `19.50.1` | `EventScenario`, its `Given`/`When` builders, the `IAppendResult` `Should*` assertions |
18
- | `Cratis.Chronicle` | `19.50.1` | `IEventSequence.Append`/`AppendMany`, `IAppendResult`, `ConstraintViolation` |
15
+ | Package | Purpose |
16
+ | --- | --- |
17
+ | `Cratis.Chronicle.Testing` | `EventScenario`, its `Given`/`When` builders, the `IAppendResult` `Should*` assertions |
18
+ | `Cratis.Chronicle` | `IEventSequence.Append`/`AppendMany`, `IAppendResult`, `ConstraintViolation` |
19
19
 
20
20
  Sources: `Source/Clients/Testing/EventSequences/`, `TestingEventStore.cs`,
21
- and `Source/Clients/DotNET/EventSequences/` at **v19.50.0**.
21
+ and `Source/Clients/DotNET/EventSequences/`.
22
22
 
23
23
  ```bash
24
24
  dotnet add package Cratis.Chronicle.Testing
@@ -71,7 +71,7 @@ in the loaded assemblies — which is what makes a constraint specification work
71
71
  without wiring. Pass an `ICanProvideConstraints` to the single-argument
72
72
  constructor when the specification needs a narrower set.
73
73
 
74
- At v19.50.0 it implements `IDisposable`: dispose in `Destroy()`.
74
+ It implements `IDisposable`: dispose in `Destroy()`.
75
75
  `new EventScenario(sequenceId, eventStore, @namespace)` selects identifiers;
76
76
  constructors also accept per-run `Defaults`. One scenario shares production
77
77
  in-memory storage across its sequences and uses the kernel append grain,
@@ -31,12 +31,12 @@ events.
31
31
 
32
32
  ## Verified product sources
33
33
 
34
- This skill is verified against these exact sources:
34
+ Sources:
35
35
 
36
- | Package | Version | Purpose |
37
- | --- | --- | --- |
38
- | `Cratis.Chronicle` | `19.50.1` | `Cratis.Chronicle.Events` and `Cratis.Chronicle.Events.Migrations` |
39
- | `Cratis.Chronicle.CodeAnalysis` | `19.50.1` | `CHR0012`, `CHR0037`, `CHR0049`, `CHR0050` |
36
+ | Package | Purpose |
37
+ | --- | --- |
38
+ | `Cratis.Chronicle` | `Cratis.Chronicle.Events` and `Cratis.Chronicle.Events.Migrations` |
39
+ | `Cratis.Chronicle.CodeAnalysis` | `CHR0012`, `CHR0037`, `CHR0049`, `CHR0050` |
40
40
 
41
41
  Reverify product sources before claiming support for another version.
42
42
 
@@ -178,7 +178,7 @@ target schema supplies absence/drops undeclared properties. That is a migration
178
178
  fact, not a reason to put nullable facts on newly authored events. Schema `title`
179
179
  is ignored, so renaming a CLR record with a pinned `[EventType("id")]` does not
180
180
  raise `EventTypeSchemaChanged`. A property described only by `default` may gain
181
- `type`/`format` without that error. Source at v19.50.0:
181
+ `type`/`format` without that error. Source:
182
182
  `Documentation/migrations/dotnet-client.mdx` and the kernel event-type schema comparison.
183
183
 
184
184
  ## Step 3 — When the values changed meaning, declare a value map
@@ -235,7 +235,7 @@ dependencies.
235
235
 
236
236
  ## Backfill scope and rollout
237
237
 
238
- At v19.50.0 (`Documentation/migrations/index.md:62-74`), registering a new
238
+ Per `Documentation/migrations/index.md`, registering a new
239
239
  generation starts **add-only** backfill in the **default namespace's event log
240
240
  only**. Other namespaces and sequences are not covered. Existing stored
241
241
  representations remain unchanged; changing a migration alone does not launch
@@ -245,11 +245,13 @@ kernel silo is upgraded**; an old worker can still overwrite content mid-rollout
245
245
 
246
246
  ## Choose the generation an observer receives
247
247
 
248
+ Requires Chronicle 19.41.0 for reactors and reducers, and 19.48.0 for typed materialized projections.
249
+
248
250
  `Compatibility` remains the default. With
249
251
  `ChronicleOptions.EventGenerationDelivery = EventGenerationDelivery.Pinned`,
250
- reactors and reducers receive the generation of their handler's CLR event type
251
- (verified at **19.41.0**). Typed materialized projection clauses receive the
252
- generation they declare (verified at **19.48.0**), including joins, children,
252
+ reactors and reducers receive the generation of their handler's CLR event type.
253
+ Typed materialized projection clauses receive the
254
+ generation they declare, including joins, children,
253
255
  removals, and event-content keys on live, catch-up, and replay.
254
256
 
255
257
  Read [references/pinned-generations.md](references/pinned-generations.md) for
@@ -10,8 +10,7 @@
10
10
  - Verify delivery through a real client
11
11
  - Product sources
12
12
 
13
- Verified against Chronicle **v19.48.0**. Reactor/reducer opt-in shipped in
14
- **19.41.0**; typed materialized projection opt-in shipped in **19.48.0**.
13
+ Requires Chronicle 19.41.0 or later for reactor/reducer opt-in and 19.48.0 or later for typed materialized projection opt-in.
15
14
  Configure `ChronicleOptions.EventGenerationDelivery` before connecting; see
16
15
  [standalone and host examples](../../cratis-chronicle-client-dotnet/references/pinned-generation-delivery.md).
17
16
 
@@ -111,4 +110,4 @@ validates all clauses; `Engine/DefinitionLanguage/ProjectionEventTypeReference.c
111
110
  resolves PDL bare names. `Source/Clients/Testing/ReadModels/ProjectionReadModelProcessor.cs`
112
111
  and `Reactors/ReactorScenario.cs` define the scenario boundary.
113
112
 
114
- See [Chronicle's event type migration documentation](https://github.com/Cratis/Chronicle/blob/v19.48.0/Documentation/concepts/event-type-migrations.mdx#opt-in-to-pinned-observer-delivery).
113
+ See [Chronicle's event type migration documentation](https://github.com/Cratis/Chronicle/blob/main/Documentation/concepts/event-type-migrations.mdx#opt-in-to-pinned-observer-delivery).
@@ -17,7 +17,7 @@ rotating keys, clearing quarantine or deploying to an unnamed environment.
17
17
 
18
18
  ## Verified product sources
19
19
 
20
- Verified at **Cratis/Chronicle v19.50.1**:
20
+ Source: `Cratis/Chronicle`:
21
21
 
22
22
  | Source | Contract |
23
23
  | --- | --- |
@@ -26,7 +26,7 @@ Verified at **Cratis/Chronicle v19.50.1**:
26
26
  | `Documentation/hosting/configuration/health-endpoint.md` | dedicated probe port and exclusive routing |
27
27
  | `Documentation/hosting/configuration/observers.md` | retries, quarantine, definition evolution |
28
28
  | `Source/Kernel/Core/Configuration/{Events,Alerts}.cs` | causation retention and incident metrics |
29
- | `Source/Kernel/Core/Setup/Authentication/AuthenticationService.cs:170-208` | persisted development application |
29
+ | `Source/Kernel/Core/Setup/Authentication/AuthenticationService.cs` | persisted development application |
30
30
 
31
31
  Reverify these sources before recommending another kernel version. This is the
32
32
  operator/kernel surface, not an application-profile layout rule.
@@ -63,10 +63,10 @@ ephemeral OAuth keys. Supply passwords from the approved secret mechanism,
63
63
  never commit them. Every cluster node needs the same certificate ring.
64
64
 
65
65
  The .NET client uses known development credentials when ClientCredentials has
66
- both username and password absent (`ChronicleClient.cs:334-345`,
67
- `Connections/ServiceCollectionExtensions.cs:57-68` at **v19.50.0**). The development
66
+ both username and password absent (`ChronicleClient.cs`,
67
+ `Connections/ServiceCollectionExtensions.cs`). The development
68
68
  kernel creates the application **directly in persistent storage**
69
- (`AuthenticationService.cs:170-208` at **v19.50.0**). Changing to a production
69
+ (`AuthenticationService.cs`). Changing to a production
70
70
  image does not revoke it. Remove the application and any configuration declaration
71
71
  that recreates it before reusing that storage. See **cratis-chronicle-client-dotnet**.
72
72
 
@@ -82,10 +82,10 @@ traffic over h2c; HTTP/1.1 upstream fails. Restrict direct access. With auth ena
82
82
  use an external HTTPS `authentication.authority`: the internal authority and
83
83
  `/connect/token` are unavailable; .NET SDK ClientCredentials cannot use the
84
84
  external authority. Independently obtained bearer tokens and Workbench cookie
85
- login are supported. These claims are at **v19.50.0**,
85
+ login are supported. These claims come from
86
86
  `Documentation/hosting/configuration/tls.md`, "Configuration file"/"TLS behavior".
87
87
 
88
- At **v19.50.0**, the same file's "Trusted reverse proxies" section specifies:
88
+ The same file's "Trusted reverse proxies" section specifies:
89
89
 
90
90
  - `X-Forwarded-For/Proto` is trusted from loopback only by default. Add the
91
91
  **immediate proxy** IP to `forwardedHeaders.knownProxies` or a restricted
@@ -3,7 +3,7 @@
3
3
 
4
4
  # Recovery, retention and upgrades
5
5
 
6
- Verified at **Cratis/Chronicle v19.50.1**:
6
+ Source: `Cratis/Chronicle`:
7
7
  `Documentation/hosting/configuration/{observers,events,clustering}.md`,
8
8
  `Documentation/hosting/production.md`,
9
9
  `Source/Kernel/Core/Configuration/Alerts.cs`, and
@@ -30,21 +30,21 @@ a new catch-up failure stops that step rather than letting other sources proceed
30
30
  Full replay is inactive until completion, then routes to catch-up/live unless
31
31
  quarantined. Partition quarantine stops that partition's automatic retries;
32
32
  observer quarantine suppresses automatic recovery for the whole observer.
33
- Sources at v19.50.1: `Documentation/concepts/observers.mdx`,
33
+ Sources: `Documentation/concepts/observers.mdx`,
34
34
  `Documentation/projections/registration-lifecycle.md`, and
35
35
  `Source/Kernel/Core/Observation/Jobs/{CatchUpObserver,ReplayObserver}.cs`.
36
36
 
37
37
  ### Next-event lookup failures
38
38
 
39
- At **v19.50.1**, Routing keeps the saved position and defers observation when
39
+ Routing keeps the saved position and defers observation when
40
40
  `GetNextSequenceNumberGreaterOrEqualTo` returns a storage error. A watchdog tick
41
41
  retries that deferred routing only while subscribed and not quarantined. Its
42
42
  active-observer lookup also leaves the cursor unchanged on error. Only
43
43
  `GetSequenceNumberError.NotFound` proves there is no relevant event and permits
44
44
  fast-forward. Read failures are not "nothing to handle"; preserve and investigate
45
45
  the warning. Sources: `Source/Kernel/Core/Observation/States/Routing.cs` and
46
- `Observer.Watchdog.cs`. This fixes #4770, not the proposed Ordered Lanes design
47
- or all historical delivery/completion limitations. Do not claim past omissions
46
+ `Observer.Watchdog.cs`. This does not implement the proposed Ordered Lanes design
47
+ or remove every delivery/completion limitation. Do not claim past omissions
48
48
  were repaired automatically.
49
49
 
50
50
  `observers.definitionEvolution` governs projection/reducer changes:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-chronicle-mcp-inspection
3
- description: Inspect a running Chronicle store through MCP using the exact v2.0.0 tool-effect inventory, bounded reads and design-time schema tools. Use when choosing an MCP capability, interpreting redacted output, checking deployment profiles or diagnosing the target context. Job-control tools are effectful, not inspection; unknown tools remain evidence-blocked.
3
+ description: Inspect a running Chronicle store through MCP using the exact tool-effect inventory, bounded reads and design-time schema tools. Use when choosing an MCP capability, interpreting redacted output, checking deployment profiles or diagnosing the target context. Job-control tools are effectful, not inspection; unknown tools remain evidence-blocked.
4
4
  license: MIT
5
5
  ---
6
6
 
@@ -15,12 +15,12 @@ to inspect does not authorize a mutation.
15
15
 
16
16
  ## Verified product sources
17
17
 
18
- | Source | Version | Purpose |
19
- | --- | --- | --- |
20
- | `Cratis/Chronicle.Mcp` | `v2.0.0` | `Source/Tools/**`, `Source/Authorization/ToolCatalog.cs`, deployment profiles and target resolution |
21
- | `Cratis/cli` | `v3.53.1` | `Source/Cli/Commands/Ai/AiMcpHarnesses.cs`, manual rather than corpus-managed Chronicle registration |
18
+ | Source | Purpose |
19
+ | --- | --- |
20
+ | `Cratis/Chronicle.Mcp` | `Source/Tools/**`, `Source/Authorization/ToolCatalog.cs`, deployment profiles and target resolution |
21
+ | `Cratis/cli` | `Source/Cli/Commands/Ai/AiMcpHarnesses.cs`, manual rather than corpus-managed Chronicle registration |
22
22
 
23
- The v2.0.0 surface has **27 tools: 24 read-only and 3 mutating**, plus three
23
+ The surface has **27 tools: 24 read-only and 3 mutating**, plus three
24
24
  prompts. All tools declare `OpenWorld=false`. Annotations corroborate the
25
25
  classification; the implementation owns it. Only `stop_job`, `resume_job` and
26
26
  `delete_job` call mutating RPCs.
@@ -3,15 +3,15 @@
3
3
 
4
4
  # Effectful and unknown Chronicle MCP tools
5
5
 
6
- Hand-maintained classification at **Cratis/Chronicle.Mcp v2.0.0**. These three
6
+ Hand-maintained classification for `Cratis/Chronicle.Mcp`. These three
7
7
  tools are effectful, never `passive-allowed`; unknown subjects are
8
8
  `evidence-blocked`. All three are closed-world and declared idempotent.
9
9
 
10
- | Tool | Effect | Source at v2.0.0 |
10
+ | Tool | Effect | Source |
11
11
  | --- | --- | --- |
12
- | `stop_job` | mutating, non-destructive; stops a job, retains state | [JobTools.cs:160–181](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Jobs/JobTools.cs#L160-L181) |
13
- | `resume_job` | mutating, non-destructive; resumes a Stopped job's remaining steps | [JobTools.cs:190–211](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Jobs/JobTools.cs#L190-L211) |
14
- | `delete_job` | mutating, destructive; removes the job and progress irreversibly | [JobTools.cs:220–241](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Jobs/JobTools.cs#L220-L241) |
12
+ | `stop_job` | mutating, non-destructive; stops a job, retains state | [JobTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Jobs/JobTools.cs) |
13
+ | `resume_job` | mutating, non-destructive; resumes a Stopped job's remaining steps | [JobTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Jobs/JobTools.cs) |
14
+ | `delete_job` | mutating, destructive; removes the job and progress irreversibly | [JobTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Jobs/JobTools.cs) |
15
15
 
16
16
  Only the `Mutation` deployment profile registers these tools, and every call
17
17
  needs a current matching grant. A matching grant is not user confirmation: