@cratis/pi 7.50.0 → 7.51.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (306) hide show
  1. package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +93 -0
  2. package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +4 -0
  3. package/package/corpus/prompts/review-skill.prompt.md +6 -8
  4. package/package/corpus/rules/authoring-skills.md +92 -0
  5. package/package/corpus/rules/general.md +1 -0
  6. package/package/corpus/rules/profiles.md +4 -0
  7. package/package/corpus/skills/cratis-application-react-specifications/SKILL.md +1 -1
  8. package/package/corpus/skills/cratis-application-slice-conformance/SKILL.md +8 -7
  9. package/package/corpus/skills/cratis-application-slice-conformance/references/checklists.md +1 -1
  10. package/package/corpus/skills/cratis-application-slice-conformance/references/provenance.md +2 -2
  11. package/package/corpus/skills/cratis-application-slice-specifications/SKILL.md +15 -19
  12. package/package/corpus/skills/cratis-application-slice-specifications/references/provenance.md +1 -1
  13. package/package/corpus/skills/cratis-application-slice-specifications/references/query-and-decision-scenarios.md +8 -6
  14. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/SKILL.md +23 -29
  15. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authentication.md +7 -7
  16. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authorization.md +34 -32
  17. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authproxy.md +1 -1
  18. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/frontend.md +2 -2
  19. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/local-development.md +3 -3
  20. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/observable-emission-guards.md +8 -6
  21. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/tenancy.md +3 -3
  22. package/package/corpus/skills/cratis-arc-command/SKILL.md +23 -25
  23. package/package/corpus/skills/cratis-arc-command/references/command-result.md +1 -1
  24. package/package/corpus/skills/cratis-arc-command/references/decisions-and-routing.md +9 -9
  25. package/package/corpus/skills/cratis-arc-command/references/generated-values.md +11 -12
  26. package/package/corpus/skills/cratis-arc-command/references/handler-shapes.md +4 -4
  27. package/package/corpus/skills/cratis-arc-command/references/proxy-generation.md +3 -3
  28. package/package/corpus/skills/cratis-arc-command/references/read-model-injection.md +1 -3
  29. package/package/corpus/skills/cratis-arc-command/references/shop-generation.md +11 -14
  30. package/package/corpus/skills/cratis-arc-command-execution/LICENSE +6 -0
  31. package/package/corpus/skills/cratis-arc-command-execution/SKILL.md +17 -19
  32. package/package/corpus/skills/cratis-arc-command-kotlin/SKILL.md +8 -7
  33. package/package/corpus/skills/cratis-arc-command-kotlin/references/read-model-naming.md +2 -2
  34. package/package/corpus/skills/cratis-arc-command-operation/SKILL.md +14 -15
  35. package/package/corpus/skills/cratis-arc-command-operation/references/execution-and-recovery.md +2 -2
  36. package/package/corpus/skills/cratis-arc-command-operation/references/testing.md +7 -8
  37. package/package/corpus/skills/cratis-arc-command-typescript/SKILL.md +14 -11
  38. package/package/corpus/skills/cratis-arc-command-typescript/references/chronicle-events.md +7 -7
  39. package/package/corpus/skills/cratis-arc-command-typescript/references/command-operations.md +4 -4
  40. package/package/corpus/skills/cratis-arc-command-typescript/references/hosting-and-storage.md +11 -7
  41. package/package/corpus/skills/cratis-arc-command-typescript/references/identity-and-introspection.md +4 -2
  42. package/package/corpus/skills/cratis-arc-command-typescript/references/observability-and-host-scopes.md +2 -2
  43. package/package/corpus/skills/cratis-arc-command-typescript/references/proxy-generation.md +3 -3
  44. package/package/corpus/skills/cratis-arc-command-typescript/references/slice-layout.md +1 -1
  45. package/package/corpus/skills/cratis-arc-command-typescript/verification.json +2 -2
  46. package/package/corpus/skills/cratis-arc-command-validation/SKILL.md +10 -14
  47. package/package/corpus/skills/cratis-arc-ef-core-migration/LICENSE +6 -0
  48. package/package/corpus/skills/cratis-arc-ef-core-migration/SKILL.md +9 -10
  49. package/package/corpus/skills/cratis-arc-go/SKILL.md +14 -15
  50. package/package/corpus/skills/cratis-arc-go/references/queries.md +2 -2
  51. package/package/corpus/skills/cratis-arc-hosting/SKILL.md +8 -8
  52. package/package/corpus/skills/cratis-arc-hosting/references/integrations-and-publish.md +11 -11
  53. package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +3 -3
  54. package/package/corpus/skills/cratis-arc-observable-query-http/SKILL.md +13 -13
  55. package/package/corpus/skills/cratis-arc-observable-query-http/verification.json +1 -1
  56. package/package/corpus/skills/cratis-arc-query-kotlin/SKILL.md +2 -3
  57. package/package/corpus/skills/cratis-arc-query-paging/SKILL.md +11 -14
  58. package/package/corpus/skills/cratis-arc-query-typescript/SKILL.md +3 -3
  59. package/package/corpus/skills/cratis-arc-query-typescript/references/storage-observation-and-compliance.md +2 -2
  60. package/package/corpus/skills/cratis-arc-react-page/SKILL.md +10 -14
  61. package/package/corpus/skills/cratis-arc-react-page/references/dialogs.md +4 -2
  62. package/package/corpus/skills/cratis-arc-react-page/references/from-screenplay.md +7 -7
  63. package/package/corpus/skills/cratis-arc-react-page/references/provenance.md +2 -2
  64. package/package/corpus/skills/cratis-arc-react-page/references/queries-and-commands.md +1 -1
  65. package/package/corpus/skills/cratis-arc-react-page/verification.json +0 -2
  66. package/package/corpus/skills/cratis-arc-spring-data-kotlin/SKILL.md +3 -3
  67. package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +3 -3
  68. package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +1 -2
  69. package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +4 -4
  70. package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +19 -22
  71. package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +10 -10
  72. package/package/corpus/skills/cratis-chronicle-client-dotnet/SKILL.md +36 -36
  73. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/additional-surfaces.md +4 -2
  74. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/client-construction.md +1 -1
  75. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/compatibility-check.md +13 -13
  76. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/discovery.md +10 -10
  77. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/hosting.md +10 -10
  78. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/pinned-generation-delivery.md +7 -5
  79. package/package/corpus/skills/cratis-chronicle-client-elixir/SKILL.md +59 -64
  80. package/package/corpus/skills/cratis-chronicle-client-elixir/references/append-api.md +17 -17
  81. package/package/corpus/skills/cratis-chronicle-client-elixir/references/compliance.md +5 -3
  82. package/package/corpus/skills/cratis-chronicle-client-elixir/references/connections.md +15 -11
  83. package/package/corpus/skills/cratis-chronicle-client-elixir/references/event-sources.md +3 -1
  84. package/package/corpus/skills/cratis-chronicle-client-elixir/references/pitfalls.md +4 -4
  85. package/package/corpus/skills/cratis-chronicle-client-elixir/references/projections.md +8 -4
  86. package/package/corpus/skills/cratis-chronicle-client-elixir/references/upgrading.md +19 -19
  87. package/package/corpus/skills/cratis-chronicle-client-elixir/references/variants.md +3 -8
  88. package/package/corpus/skills/cratis-chronicle-client-elixir/verification.json +2 -2
  89. package/package/corpus/skills/cratis-chronicle-client-go/SKILL.md +16 -18
  90. package/package/corpus/skills/cratis-chronicle-client-go/references/projections.md +2 -2
  91. package/package/corpus/skills/cratis-chronicle-client-kotlin/SKILL.md +61 -58
  92. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/connection-lifecycle.md +9 -10
  93. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/discovery-and-registration.md +6 -6
  94. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/event-sources.md +4 -2
  95. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/java-api.md +4 -4
  96. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/options.md +1 -1
  97. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/spring-boot.md +24 -24
  98. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/variants.md +6 -5
  99. package/package/corpus/skills/cratis-chronicle-client-typescript/SKILL.md +26 -20
  100. package/package/corpus/skills/cratis-chronicle-client-typescript/references/read-models-and-projections.md +4 -4
  101. package/package/corpus/skills/cratis-chronicle-client-typescript/references/testing.md +1 -1
  102. package/package/corpus/skills/cratis-chronicle-client-typescript/references/variants.md +4 -3
  103. package/package/corpus/skills/cratis-chronicle-client-typescript/verification.json +2 -2
  104. package/package/corpus/skills/cratis-chronicle-compliance/SKILL.md +9 -9
  105. package/package/corpus/skills/cratis-chronicle-decision-reads/SKILL.md +11 -10
  106. package/package/corpus/skills/cratis-chronicle-decision-reads/references/admission-and-ownership.md +1 -1
  107. package/package/corpus/skills/cratis-chronicle-decision-reads/references/choosing-how-a-rule-holds.md +5 -6
  108. package/package/corpus/skills/cratis-chronicle-event-constraints/SKILL.md +7 -7
  109. package/package/corpus/skills/cratis-chronicle-event-constraints/references/closing-streams.md +1 -1
  110. package/package/corpus/skills/cratis-chronicle-event-specifications/SKILL.md +6 -6
  111. package/package/corpus/skills/cratis-chronicle-event-type-migration/SKILL.md +12 -10
  112. package/package/corpus/skills/cratis-chronicle-event-type-migration/references/pinned-generations.md +2 -3
  113. package/package/corpus/skills/cratis-chronicle-hosting/SKILL.md +7 -7
  114. package/package/corpus/skills/cratis-chronicle-hosting/references/operations.md +5 -5
  115. package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +6 -6
  116. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/blocked-tools.md +5 -5
  117. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/deployment.md +9 -10
  118. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +29 -29
  119. package/package/corpus/skills/cratis-chronicle-multi-tenancy/SKILL.md +9 -9
  120. package/package/corpus/skills/cratis-chronicle-projection/SKILL.md +13 -14
  121. package/package/corpus/skills/cratis-chronicle-projection/references/fluent-builder.md +3 -5
  122. package/package/corpus/skills/cratis-chronicle-projection/references/model-bound-attributes.md +2 -4
  123. package/package/corpus/skills/cratis-chronicle-projection/references/variants.md +1 -3
  124. package/package/corpus/skills/cratis-chronicle-reactor/SKILL.md +15 -19
  125. package/package/corpus/skills/cratis-chronicle-reactor/references/provenance.md +1 -1
  126. package/package/corpus/skills/cratis-chronicle-reactor/references/specifications.md +10 -8
  127. package/package/corpus/skills/cratis-chronicle-read-model/SKILL.md +16 -15
  128. package/package/corpus/skills/cratis-chronicle-read-model/references/queries.md +8 -8
  129. package/package/corpus/skills/cratis-chronicle-read-model-specifications/SKILL.md +7 -7
  130. package/package/corpus/skills/cratis-chronicle-read-model-specifications/references/provenance.md +3 -3
  131. package/package/corpus/skills/cratis-chronicle-reducer/SKILL.md +14 -13
  132. package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +11 -12
  133. package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +6 -6
  134. package/package/corpus/skills/cratis-code-review/SKILL.md +13 -17
  135. package/package/corpus/skills/cratis-components-accessibility/SKILL.md +3 -3
  136. package/package/corpus/skills/cratis-components-common-controls/SKILL.md +15 -15
  137. package/package/corpus/skills/cratis-components-data-surfaces/SKILL.md +29 -29
  138. package/package/corpus/skills/cratis-components-schema-editor/SKILL.md +4 -4
  139. package/package/corpus/skills/cratis-components-schema-editor/references/tree-layout.md +1 -1
  140. package/package/corpus/skills/cratis-components-stepper-command-dialog/SKILL.md +6 -6
  141. package/package/corpus/skills/cratis-components-styling/LICENSE +6 -0
  142. package/package/corpus/skills/cratis-components-styling/SKILL.md +5 -4
  143. package/package/corpus/skills/cratis-components-toolbar/SKILL.md +5 -5
  144. package/package/corpus/skills/cratis-developer-marketing/SKILL.md +2 -2
  145. package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +3 -3
  146. package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +1 -1
  147. package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +4 -4
  148. package/package/corpus/skills/cratis-fundamentals-concept/SKILL.md +19 -24
  149. package/package/corpus/skills/cratis-fundamentals-concept/references/shop-generation.md +10 -10
  150. package/package/corpus/skills/cratis-fundamentals-concept/references/typescript-concepts.md +8 -8
  151. package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +10 -11
  152. package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +18 -18
  153. package/package/corpus/skills/cratis-fundamentals-telemetry/verification.json +1 -1
  154. package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +4 -4
  155. package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +19 -19
  156. package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +27 -27
  157. package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +12 -12
  158. package/package/corpus/skills/cratis-performance-review/SKILL.md +8 -10
  159. package/package/corpus/skills/cratis-release-notes/SKILL.md +1 -1
  160. package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +30 -28
  161. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +8 -8
  162. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/cases-to-specify.md +4 -4
  163. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/effects-and-idempotency.md +3 -1
  164. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/provenance.md +1 -14
  165. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/public-events-and-direction.md +6 -4
  166. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +5 -6
  167. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +11 -12
  168. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translate-example.md +3 -3
  169. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translation-patterns.md +2 -2
  170. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +22 -20
  171. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +1 -1
  172. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/invocation-identity.md +9 -10
  173. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/refusals-and-redelivery.md +1 -1
  174. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/specifying-triggers-and-clock.md +3 -4
  175. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/verification.json +0 -4
  176. package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +16 -15
  177. package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +17 -17
  178. package/package/corpus/skills/cratis-screenplay-command-surface/references/context.md +8 -8
  179. package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +8 -12
  180. package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +31 -29
  181. package/package/corpus/skills/cratis-screenplay-command-surface/references/inline-events.md +5 -5
  182. package/package/corpus/skills/cratis-screenplay-command-surface/references/operations.md +2 -2
  183. package/package/corpus/skills/cratis-screenplay-command-surface/references/policy-persona-seed.md +3 -3
  184. package/package/corpus/skills/cratis-screenplay-command-surface/references/shop-generation.md +10 -10
  185. package/package/corpus/skills/cratis-screenplay-command-surface/references/validate-rules.md +9 -7
  186. package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +2 -5
  187. package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +14 -15
  188. package/package/corpus/skills/cratis-screenplay-discovery/references/facilitation.md +1 -1
  189. package/package/corpus/skills/cratis-screenplay-discovery/references/personas-and-causes.md +1 -1
  190. package/package/corpus/skills/cratis-screenplay-discovery/references/plotting-and-handoff.md +2 -2
  191. package/package/corpus/skills/cratis-screenplay-discovery/references/provenance.md +3 -3
  192. package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +13 -17
  193. package/package/corpus/skills/cratis-screenplay-event-modeling/references/naming-primitives.md +2 -2
  194. package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +2 -2
  195. package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +11 -12
  196. package/package/corpus/skills/cratis-screenplay-event-modeling/references/provenance.md +2 -2
  197. package/package/corpus/skills/cratis-screenplay-event-modeling/verification.json +0 -4
  198. package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +1 -1
  199. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/evidence-table-template.md +4 -4
  200. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md +34 -21
  201. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generated-recovery.md +18 -12
  202. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/prologue-safety.md +7 -7
  203. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/provenance.md +1 -1
  204. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/rule-modeling.md +4 -4
  205. package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +24 -29
  206. package/package/corpus/skills/cratis-screenplay-model-authoring/references/choosing-generation.md +1 -2
  207. package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +44 -51
  208. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +31 -36
  209. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +56 -63
  210. package/package/corpus/skills/cratis-screenplay-model-authoring/references/model-notes.md +11 -10
  211. package/package/corpus/skills/cratis-screenplay-model-authoring/references/property-links.md +15 -15
  212. package/package/corpus/skills/cratis-screenplay-model-authoring/references/release-baseline.md +25 -21
  213. package/package/corpus/skills/cratis-screenplay-model-authoring/references/screen-authoring-workflow.md +16 -31
  214. package/package/corpus/skills/cratis-screenplay-model-authoring/verification.json +5 -4
  215. package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +1 -1
  216. package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +3 -3
  217. package/package/corpus/skills/cratis-screenplay-model-review/references/provenance.md +3 -4
  218. package/package/corpus/skills/cratis-screenplay-model-review/references/public-keys-and-routes.md +1 -1
  219. package/package/corpus/skills/cratis-screenplay-model-review/references/report-template.md +7 -5
  220. package/package/corpus/skills/cratis-screenplay-model-review/references/worked-example.md +2 -2
  221. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +11 -12
  222. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/code-reading-and-tokens.md +2 -2
  223. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/identity-and-edits.md +1 -1
  224. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/opt-in.md +8 -10
  225. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/provenance.md +6 -6
  226. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/stop-or-assume.md +2 -2
  227. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/verdicts-and-modes.md +1 -1
  228. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +3 -3
  229. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/worked-example.md +1 -1
  230. package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +11 -22
  231. package/package/corpus/skills/cratis-screenplay-projections/references/pdl-grammar.md +1 -1
  232. package/package/corpus/skills/cratis-screenplay-projections/verification.json +0 -1
  233. package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +16 -29
  234. package/package/corpus/skills/cratis-screenplay-read-surface/references/equality-filters.md +14 -18
  235. package/package/corpus/skills/cratis-screenplay-read-surface/references/guarded-actions.md +5 -7
  236. package/package/corpus/skills/cratis-screenplay-read-surface/references/named-keys.md +6 -6
  237. package/package/corpus/skills/cratis-screenplay-read-surface/references/provenance.md +1 -1
  238. package/package/corpus/skills/cratis-screenplay-read-surface/verification.json +1 -2
  239. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +18 -19
  240. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/delivery-protocol.md +2 -2
  241. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md +6 -6
  242. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/provenance.md +4 -4
  243. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +5 -6
  244. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/worked-example.md +2 -3
  245. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +1 -1
  246. package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +13 -15
  247. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-design.md +1 -1
  248. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-example.md +2 -2
  249. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/provenance.md +4 -6
  250. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +4 -4
  251. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-examples.md +3 -3
  252. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +11 -9
  253. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/view-and-story-specs.md +5 -5
  254. package/package/corpus/skills/cratis-screenplay-scenario-coverage/verification.json +0 -1
  255. package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +12 -14
  256. package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +4 -4
  257. package/package/corpus/skills/cratis-screenplay-slice-design/references/rule-layers.md +6 -4
  258. package/package/corpus/skills/cratis-screenplay-slice-design/references/slicing.md +4 -2
  259. package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +1 -1
  260. package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +37 -40
  261. package/package/corpus/skills/cratis-screenplay-specifications/references/actions-beyond-commands.md +10 -15
  262. package/package/corpus/skills/cratis-screenplay-specifications/references/child-ordering.md +14 -12
  263. package/package/corpus/skills/cratis-screenplay-specifications/references/concept-rules.md +1 -1
  264. package/package/corpus/skills/cratis-screenplay-specifications/references/examples-and-routes.md +9 -10
  265. package/package/corpus/skills/cratis-screenplay-specifications/references/generated-fixtures.md +5 -6
  266. package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +8 -9
  267. package/package/corpus/skills/cratis-screenplay-specifications/references/source-notes.md +13 -16
  268. package/package/corpus/skills/cratis-screenplay-specifications/references/whitespace-rules.md +15 -13
  269. package/package/corpus/skills/cratis-screenplay-specifications/verification.json +4 -9
  270. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +29 -29
  271. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +18 -15
  272. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +16 -15
  273. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +1 -1
  274. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +19 -17
  275. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/provenance.md +3 -3
  276. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +1 -1
  277. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +2 -2
  278. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +2 -3
  279. package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +2 -0
  280. package/package/corpus/skills/cratis-screenplay-toolchain/references/pdl-example.md +1 -1
  281. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +0 -28
  282. package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +21 -26
  283. package/package/corpus/skills/cratis-screenplay-ui-composition/references/guarded-interactions.md +3 -3
  284. package/package/corpus/skills/cratis-screenplay-ui-composition/references/provenance.md +1 -1
  285. package/package/corpus/skills/cratis-screenplay-ui-composition/references/response-continuations.md +10 -10
  286. package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +23 -30
  287. package/package/corpus/skills/cratis-screenplay-ui-composition/references/worked-flow.md +4 -5
  288. package/package/corpus/skills/cratis-screenplay-ui-composition/verification.json +1 -5
  289. package/package/corpus/skills/cratis-security-review/SKILL.md +8 -10
  290. package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +18 -16
  291. package/package/corpus/skills/cratis-specification-by-example/SKILL.md +1 -1
  292. package/package/corpus/skills/cratis-specifications-csharp/SKILL.md +26 -29
  293. package/package/corpus/skills/cratis-specifications-csharp/references/application-scenarios.md +8 -8
  294. package/package/corpus/skills/cratis-specifications-csharp/references/csharp-patterns.md +2 -2
  295. package/package/corpus/skills/cratis-specifications-csharp/references/integration-specs.md +6 -4
  296. package/package/corpus/skills/cratis-specifications-csharp/references/shared-lifecycle.md +6 -2
  297. package/package/corpus/skills/cratis-specifications-typescript/SKILL.md +2 -2
  298. package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +4 -4
  299. package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +1 -1
  300. package/package/corpus/skills/guiding-refactoring-with-code-health/SKILL.md +1 -1
  301. package/package/corpus/skills/prioritizing-technical-debt/SKILL.md +1 -1
  302. package/package/corpus/skills/risk-based-testing-with-code-health/SKILL.md +3 -3
  303. package/package/corpus/skills/safeguarding-ai-generated-code/SKILL.md +1 -1
  304. package/package.json +1 -1
  305. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/product-sources.md +0 -15
  306. package/package/corpus/skills/cratis-screenplay-model-authoring/references/provenance.md +0 -13
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Contents
4
4
 
5
- - Versions differ — check the one you run
5
+ - Version requirements
6
6
  - Attributes
7
7
  - Composition and precedence
8
8
  - Named policies
@@ -15,35 +15,37 @@
15
15
  - The principal and system actors
16
16
  - Protected decisions and validators
17
17
 
18
- Verified against `Cratis.Arc.Core` and `Cratis.Arc` `22.75.0`. Everything below
19
- describes that version and is in `Cratis.Arc.Authorization` unless stated.
18
+ Source: `Cratis.Arc.Core` and `Cratis.Arc`. Everything below is in `Cratis.Arc.Authorization` unless stated.
20
19
 
21
- ## Versions differ — check the one you run
20
+ ## Version requirements
22
21
 
23
- Authorization changed a lot between the version this skill used to pin
24
- (`22.16.0`) and `22.41.1`. Advice that is right for one range is wrong for
25
- another.
22
+ Authorization capabilities arrived over time. Advice that is right for a recent Arc is wrong for an older one, so check the Arc you run (`dotnet list package`).
26
23
 
27
- | Version | Behavior |
28
- | --- | --- |
29
- | through `22.20.0` (includes `22.16.0`) | Only Arc's own attributes count, and only `Roles` is evaluated: `Policy` and `AuthenticationSchemes` are read by nothing, so `[Authorize(Policy = "…")]` enforces nothing. Microsoft's `[Authorize]`/`[AllowAnonymous]` are **not** enforced on model-bound commands and read models (Arc's ASP.NET evaluators bind to Arc's same-named attributes), so a command protected only with Microsoft's attribute is open to every caller. Only the first attribute or evaluator that answers is used. |
30
- | `22.21.0` | Microsoft's `[Authorize]`/`[AllowAnonymous]` are enforced on the ASP.NET Core host. Every stacked requirement applies (AND). Anonymous plus restricted on one member is rejected as ambiguous. Roles are still the only requirement evaluated. |
31
- | `22.23.0` | Named policies and `AuthenticationSchemes` are evaluated (`IAuthorizationPolicy`, `AddArcAuthorizationPolicy<T>`, ASP.NET Core policies). |
32
- | `22.26.0` | `Cratis:Arc:Introspection` options. |
33
- | `22.30.0` | `IFallbackAuthorizationEvaluator` and `AuthorizationPolicyContext.ReceivedAt`. |
34
- | `22.31.0` | Opt-in policy evaluation for unauthenticated callers. |
35
- | `22.31.2` | Identity/declaration continuity rechecked around policy evaluation. |
36
- | `22.43.0` | Forwarded identity headers require host-wide trust opt-in. |
37
- | `22.44.2` | Guest-policy endpoints reachable over HTTP, including with authenticated fallback. |
38
- | `22.45.0` | Discovery anonymous only in Development by default. |
39
- | `22.46.0` | Identity cookie no longer read or written by the backend. |
40
- | `22.51.0` | `IdentityDiscovery` controls users/tenants/details schema separately. |
41
- | `22.39.0` | Protected decisions arrive; the validator boundary at the end of this page is verified at `22.41.1`. |
42
-
43
- If you are on a version before `22.21.0`, either upgrade, or use only Arc's
44
- attributes with roles and treat everything else as unenforced. Do not write a
45
- policy-protected endpoint on a version before `22.23.0`. The rest of this page
46
- is `22.75.0` behavior.
24
+ Requires Arc 22.21.0 for Microsoft's `[Authorize]`/`[AllowAnonymous]` enforcement on the ASP.NET Core host; every stacked requirement applies (AND), and anonymous plus restricted on one member is rejected as ambiguous.
25
+
26
+ Requires Arc 22.23.0 for named policies and `AuthenticationSchemes` (`IAuthorizationPolicy`, `AddArcAuthorizationPolicy<T>`, ASP.NET Core policies).
27
+
28
+ Requires Arc 22.26.0 for the `Cratis:Arc:Introspection` options.
29
+
30
+ Requires Arc 22.30.0 for `IFallbackAuthorizationEvaluator` and `AuthorizationPolicyContext.ReceivedAt`.
31
+
32
+ Requires Arc 22.31.0 for opt-in policy evaluation for unauthenticated callers.
33
+
34
+ Requires Arc 22.39.0 for protected decisions.
35
+
36
+ Requires Arc 22.51.0 for `IdentityDiscovery`, which controls the users/tenants/details schema separately.
37
+
38
+ On an Arc older than 22.21.0 only Arc's own attributes count, and only `Roles` is evaluated: `Policy` and `AuthenticationSchemes` are read by nothing, so `[Authorize(Policy = "…")]` enforces nothing, and Microsoft's `[Authorize]`/`[AllowAnonymous]` are **not** enforced on model-bound commands and read models (a command protected only with Microsoft's attribute is open to every caller). Either upgrade, or use only Arc's attributes with roles and treat everything else as unenforced. Do not write a policy-protected endpoint on an Arc older than 22.23.0.
39
+
40
+ Requires Arc 22.31.2 for identity and declaration continuity to be rechecked around policy evaluation.
41
+
42
+ Requires Arc 22.43.0 for forwarded identity headers to need a host-wide trust opt-in; older versions trust them from any caller.
43
+
44
+ Requires Arc 22.44.2 for guest-policy endpoints to be reachable over HTTP, including with an authenticated fallback.
45
+
46
+ Requires Arc 22.45.0 for discovery to be anonymous only in Development; older versions serve it anonymously everywhere.
47
+
48
+ Requires Arc 22.46.0 for the backend to neither read nor write the identity cookie.
47
49
 
48
50
  ## Attributes
49
51
 
@@ -58,7 +60,7 @@ There is **no** `[Policy]`, `[Scopes]` or `[Claims]` attribute in Arc.
58
60
  With `Cratis.Arc` (ASP.NET Core host), Arc's pipeline **also enforces Microsoft's**
59
61
  `[Authorize]` and `[AllowAnonymous]` on model-bound commands and read models,
60
62
  including their policies and schemes, over mapped HTTP and hub subscriptions
61
- (`22.21.0` and later). The two families can be mixed. Arc's own attributes are
63
+ (from Arc 22.21.0). The two families can be mixed. Arc's own attributes are
62
64
  the portable choice: they are enforced on every Arc host, whereas on the
63
65
  standalone Core host nothing reads Microsoft's. `RolesAttribute` derives from
64
66
  **Arc's** `AuthorizeAttribute`, never Microsoft's.
@@ -148,10 +150,10 @@ opt-in:
148
150
  - Only a declaration made **entirely** of opted-in policies, with no roles and no
149
151
  schemes, can evaluate guests. Roles and schemes always require authentication.
150
152
 
151
- Since 22.44.2, guest-policy endpoints accept unauthenticated callers on both HTTP
153
+ Guest-policy endpoints accept unauthenticated callers on both HTTP
152
154
  hosts, even with an authenticated fallback policy, when every declared policy
153
155
  opts in. Test through the real HTTP host, not only the in-process verdict.
154
- Source at v22.75.0: `Documentation/backend/csharp/introspection/index.md` and the
156
+ Source: `Documentation/backend/csharp/introspection/index.md` and the
155
157
  host authorization specs under `Source/DotNET`.
156
158
 
157
159
  ⚠️ Because a method replaces its type, a method-level guest policy on a read model
@@ -326,5 +328,5 @@ state-dependent permission and ownership rules in `Provide()` or `Handle()` usin
326
328
  guidance. Arc constructs/certifies discoverable parameterless validators;
327
329
  factory-supplied or altered rules fail closed. Keep static/service-locator state
328
330
  out of them too: certification is not proof of input purity. Validators that
329
- read decision state are tracked in Arc#2831.
330
- Source: [Arc v22.75.0 protected validator boundary](https://github.com/Cratis/Arc/blob/v22.75.0/Documentation/backend/csharp/chronicle/read-models/injecting-into-commands.md).
331
+ read decision state are a known limitation.
332
+ Source: [protected validator boundary](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/chronicle/read-models/injecting-into-commands.md).
@@ -1,6 +1,6 @@
1
1
  # Cratis AuthProxy as the trusted ingress
2
2
 
3
- Verified against Cratis AuthProxy `v2.30.5` (container image `cratis/authproxy`) and its documentation. AuthProxy is a reverse proxy that authenticates callers (OpenID Connect, JWT) and forwards the result to a backend in exactly the header contract Arc reads. It is the ingress the rest of this skill asks for. Other ingresses (Azure Container Apps or App Service EasyAuth, your own gateway) work if they meet the same four obligations; this page is specific to AuthProxy.
3
+ Source: Cratis AuthProxy (container image `cratis/authproxy`) and its documentation. AuthProxy is a reverse proxy that authenticates callers (OpenID Connect, JWT) and forwards the result to a backend in exactly the header contract Arc reads. It is the ingress the rest of this skill asks for. Other ingresses (Azure Container Apps or App Service EasyAuth, your own gateway) work if they meet the same four obligations; this page is specific to AuthProxy.
4
4
 
5
5
  ## What it does to the headers
6
6
 
@@ -7,7 +7,7 @@
7
7
  - `RequireRole`
8
8
  - MVVM
9
9
 
10
- Verified against `@cratis/arc` and `@cratis/arc.react` `22.75.0`.
10
+ Source: `@cratis/arc` and `@cratis/arc.react`.
11
11
 
12
12
  ## `@cratis/arc/identity`
13
13
 
@@ -45,7 +45,7 @@ interface IIdentity<TDetails = object> {
45
45
  Only a 404 enables the warned legacy-cookie fallback; a cookie never overrides
46
46
  401/403. Stop reading `.cratis-identity` in application code. Neither the memory
47
47
  cache nor the legacy fallback is an authorization boundary.
48
- Source: [Arc v22.75.0 IdentityProvider.ts](https://github.com/Cratis/Arc/blob/v22.75.0/Source/JavaScript/Arc/identity/IdentityProvider.ts).
48
+ Source: [IdentityProvider.ts](https://github.com/Cratis/Arc/blob/main/Source/JavaScript/Arc/identity/IdentityProvider.ts).
49
49
 
50
50
  ## `@cratis/arc.react/identity`
51
51
 
@@ -1,6 +1,6 @@
1
1
  # Running with an identity locally
2
2
 
3
- Verified against `Cratis.Arc.Core` and `Cratis.Arc` `22.75.0`.
3
+ Source: `Cratis.Arc.Core` and `Cratis.Arc`.
4
4
 
5
5
  ## What Arc does not give you
6
6
 
@@ -28,11 +28,11 @@ public record User(ClientPrincipal MicrosoftIdentity, object Details);
28
28
  public interface ICanProvideUsers { Task<IEnumerable<User>> Provide(); }
29
29
  ```
30
30
 
31
- At **v22.75.0**, both follow `Introspection.IdentityDiscovery` and discovery
31
+ Both follow `Introspection.IdentityDiscovery` and discovery
32
32
  access settings: anonymous by default only in Development, authenticated elsewhere,
33
33
  or unmapped (404) if the host cannot authenticate. Return development fixtures,
34
34
  not production users or tenants.
35
- Source: [secure defaults](https://github.com/Cratis/Arc/blob/v22.75.0/Documentation/upgrading/secure-defaults.mdx).
35
+ Source: [secure defaults](https://github.com/Cratis/Arc/blob/main/Documentation/upgrading/secure-defaults.mdx).
36
36
 
37
37
  ## Supplying an identity locally
38
38
 
@@ -9,7 +9,7 @@
9
9
  - Cost
10
10
  - What a guard does not protect
11
11
 
12
- Verified against `Cratis.Arc.Core` `22.75.0` (`Cratis.Arc.Queries`).
12
+ Source: `Cratis.Arc.Core` (`Cratis.Arc.Queries`).
13
13
 
14
14
  Authorization for an observable query runs **once, when the subscription is
15
15
  established**. It decides whether the caller may obtain the live stream. It does
@@ -42,9 +42,11 @@ public class SessionMustStillBeActive(ISessions sessions) : IGuardObservableQuer
42
42
  Arc API, and never an always-true stub.
43
43
 
44
44
  It runs on **every emission** of **every subscription**, on **every transport**:
45
- the multiplexed hub, WebSocket and SSE. Since 22.69.1 it also runs with
46
- read-model interceptors on plain HTTP snapshots, waits and long polls.
47
- Source: [Arc v22.75.0 ObservableQueryHttp.cs](https://github.com/Cratis/Arc/blob/v22.75.0/Source/DotNET/Arc.Core/Queries/ObservableQueryHttp.cs).
45
+ the multiplexed hub, WebSocket and SSE.
46
+
47
+ Requires Arc 22.69.1 for guards and read-model interceptors on plain HTTP snapshots, waits and long polls; on an older Arc those requests are not guarded.
48
+
49
+ Source: [ObservableQueryHttp.cs](https://github.com/Cratis/Arc/blob/main/Source/DotNET/Arc.Core/Queries/ObservableQueryHttp.cs).
48
50
 
49
51
  ## Verdicts
50
52
 
@@ -106,9 +108,9 @@ a failure.
106
108
 
107
109
  ## What a guard does not protect
108
110
 
109
- - Plain HTTP **is** guarded at v22.75.0: suppression returns 202 until an allowed
111
+ - Plain HTTP **is** guarded (Requires Arc 22.69.1; older versions leave it unguarded): suppression returns 202 until an allowed
110
112
  emission (or the wait deadline), denial returns unauthorized with no data.
111
- Before 22.69.1 that path was unguarded. Keep safe data selection and initial
113
+ Keep safe data selection and initial
112
114
  authorization on every query regardless of transport.
113
115
  - A guard is not a substitute for the subscription-time declaration: the
114
116
  `[Authorize]`/`[Roles]`/policy on the read model still decides who may subscribe.
@@ -9,7 +9,7 @@
9
9
  - Development listing
10
10
  - Where the boundary is
11
11
 
12
- Verified against `Cratis.Arc.Core` `22.75.0`. Types are in `Cratis.Arc.Tenancy`.
12
+ Source: `Cratis.Arc.Core`. Types are in `Cratis.Arc.Tenancy`.
13
13
 
14
14
  Arc tenancy is **request-scoped tenant resolution**. It answers "which tenant is
15
15
  this request for". It is not Chronicle's tenant namespace isolation, and it does
@@ -77,7 +77,7 @@ Arc for .NET has no tenancy-required switch. Empty header/query resolution
77
77
  becomes `NotSet`; Chronicle's `TenantNamespaceResolver` maps `IsDefault` (both
78
78
  `NotSet` and `Default`) to its default namespace. Refuse unresolved tenants in
79
79
  application authorization when required; resolution alone is not isolation.
80
- Sources at Arc v22.75.0: `Arc.Core/Tenancy/TenancyOptions.cs` and
80
+ Sources: `Arc.Core/Tenancy/TenancyOptions.cs` and
81
81
  `Chronicle/Tenancy/TenantNamespaceResolver.cs` under `Source/DotNET`.
82
82
  Compare against `TenantId.NotSet` explicitly, or use
83
83
  `CurrentTenantIdIsNotSet.ThrowIfNotSet(...)`, wherever an unresolved tenant must
@@ -100,7 +100,7 @@ created after beginning it.
100
100
  The endpoint follows `Introspection.IdentityDiscovery` and discovery access:
101
101
  anonymous only in Development by default, authenticated elsewhere, or unmapped
102
102
  when the host cannot authenticate. Return development fixtures only.
103
- Source: [Arc v22.75.0 secure defaults](https://github.com/Cratis/Arc/blob/v22.75.0/Documentation/upgrading/secure-defaults.mdx).
103
+ Source: [secure defaults](https://github.com/Cratis/Arc/blob/main/Documentation/upgrading/secure-defaults.mdx).
104
104
 
105
105
  ## Where the boundary is
106
106
 
@@ -24,27 +24,23 @@ or a combination.
24
24
 
25
25
  ## Verified product sources
26
26
 
27
- | Package | Version | Purpose |
28
- | --- | --- | --- |
29
- | `Cratis.Arc.Core` | `22.75.0` | `Cratis.Arc.Commands.ModelBound.CommandAttribute`, `CommandResult`, `CommandValidator<T>` |
30
- | `Cratis.Arc.Chronicle` | `22.75.0` | event append handling, `Cratis.Arc.Chronicle.Commands.NotAuditedAttribute` |
31
- | `Cratis.Arc.ProxyGenerator.Build` | `22.75.0` | `CratisProxiesOutputPath` MSBuild integration |
32
- | `Cratis.Fundamentals` | `7.23.0` | `Cratis.Monads.Result<TResult, TError>` |
33
- | `Cratis.Chronicle` | `18.3.0` | `EventTypeAttribute`, `EventForEventSourceId`, `ICanProvideEventSourceId` |
34
- | `@cratis/arc` | `22.75.0` | `ICommand`, `CommandResult`, `ValidationResult` |
35
-
36
- > Arc surface rechecked at v22.75.0, including the source-pinned references below.
37
- > Arc's package dependency is Chronicle 19.39.1 / Fundamentals 7.23.0; separately
38
- > version-qualified Chronicle/Fundamentals claims retain their own verification.
39
-
40
- Fundamentals rechecked at v7.23.0 in
41
- [`Result<TResult, TError>`](https://github.com/Cratis/Fundamentals/blob/v7.23.0/Source/DotNET/Fundamentals/Monads/Result%7BTResult,TError%7D.cs):
27
+ | Package | Purpose |
28
+ | --- | --- |
29
+ | `Cratis.Arc.Core` | `Cratis.Arc.Commands.ModelBound.CommandAttribute`, `CommandResult`, `CommandValidator<T>` |
30
+ | `Cratis.Arc.Chronicle` | event append handling, `Cratis.Arc.Chronicle.Commands.NotAuditedAttribute` |
31
+ | `Cratis.Arc.ProxyGenerator.Build` | `CratisProxiesOutputPath` MSBuild integration |
32
+ | `Cratis.Fundamentals` | `Cratis.Monads.Result<TResult, TError>` |
33
+ | `Cratis.Chronicle` | `EventTypeAttribute`, `EventForEventSourceId`, `ICanProvideEventSourceId` |
34
+ | `@cratis/arc` | `ICommand`, `CommandResult`, `ValidationResult` |
35
+
36
+
37
+ Fundamentals:
38
+ [`Result<TResult, TError>`](https://github.com/Cratis/Fundamentals/blob/main/Source/DotNET/Fundamentals/Monads/Result%7BTResult,TError%7D.cs):
42
39
  success is first, error second, with implicit conversions from both types.
43
40
 
44
- Reverify before claiming support for another version. Arc without Chronicle is a
41
+ Arc without Chronicle is a
45
42
  supported setup; everything on this page that appends events needs Chronicle.
46
- Operation guidance below is rechecked at **Arc v22.75.0**; see
47
- `cratis-arc-command-operation` for its source and recovery contract.
43
+ See `cratis-arc-command-operation` for the operation source and recovery contract.
48
44
 
49
45
  ## Declare the command
50
46
 
@@ -172,20 +168,22 @@ public record Transfer(<AccountId> From, <AccountId> To, <Money> Amount)
172
168
 
173
169
  ## Generate a server-owned new identifier
174
170
 
175
- **Arc 22.66.0+**: replace local `New()` with a `[GeneratedValue]` Handle parameter,
171
+ Requires Arc 22.66.0 for `[GeneratedValue]`.
172
+
173
+ Replace local `New()` with a `[GeneratedValue]` Handle parameter,
176
174
  never a request property. Use a non-nullable self-generatable concept and a unique,
177
175
  case-sensitive generated name. Return the value explicitly if the caller needs it.
178
176
  Read [generated values](references/generated-values.md) for Provide/DI boundaries,
179
- validation/captures, ARC0022–ARC0025, migration and named pins; newer context
180
- factories are version-qualified in the shop reference below.
177
+ validation/captures, ARC0022–ARC0025, migration and named pins; context
178
+ factories are covered in the shop reference below.
181
179
 
182
180
  ## Choosing a strategy
183
181
 
184
182
  Use the [threaded shop example](references/shop-generation.md): CustomerId
185
183
  (`cus_` + ULID), context-aware TypeID OrderId, NanoID InviteCode and secret
186
- `Bytes(32)` ApiKey. Arc 22.87.1 resolves Fundamentals 7.24.0 and passes captured
187
- received time/tenant to context factories; released Clock/Tenant scenario setup
188
- is shown there. Earlier version-qualified examples above remain unchanged.
184
+ `Bytes(32)` ApiKey. Context factories receive captured
185
+ received time/tenant (Requires Arc 22.83.0); Clock/Tenant scenario setup
186
+ is shown there.
189
187
 
190
188
  ## When not to generate
191
189
 
@@ -272,7 +270,7 @@ property is added.
272
270
  | Marking | Use for | Effect |
273
271
  | --- | --- | --- |
274
272
  | `[PII]` (Chronicle) | personal data | encrypted in the event and enrolled in erasure; already withheld from causation |
275
- | `[Encrypted]` (Chronicle, `Cratis.Chronicle.ProtectedValues`, 19.32.0+) | an operational secret the system retains — a third-party API key, a company's bank account number | encrypted at rest on the event, no erasure; does not withhold it from causation |
273
+ | `[Encrypted]` (Chronicle, `Cratis.Chronicle.ProtectedValues`) | an operational secret the system retains — a third-party API key, a company's bank account number | encrypted at rest on the event, no erasure; does not withhold it from causation |
276
274
  | `[NotAudited]` (Arc Chronicle) | the same operational secret, and any credential given as a command input | withheld from causation, nothing else |
277
275
 
278
276
  A retained operational secret needs **both** `[Encrypted]` and `[NotAudited]`; either alone leaves a gap. A credential used for authentication (password, token) is marked `[NotAudited]` on the command and reaches an event only as a hash or a reference, never encrypted. Never combine `[PII]` with `[Encrypted]` (`CHR0053`).
@@ -7,7 +7,7 @@
7
7
  - Client side
8
8
  - Executing with a severity
9
9
 
10
- Verified against `Cratis.Arc.Core` and `@cratis/arc` **v22.75.0**.
10
+ Source: `Cratis.Arc.Core` and `@cratis/arc`.
11
11
  Sources: `Source/DotNET/Arc.Core/Commands/CommandResult.cs`,
12
12
  `CommandValidationResults.cs` and `Source/JavaScript/Arc/commands/Command.ts`.
13
13
 
@@ -6,12 +6,12 @@
6
6
  - Definition-backed routes and templates
7
7
  - Tags and completion
8
8
  - Decision specifications
9
- - Sources at v22.75.0
9
+ - Sources
10
10
 
11
11
  <!-- Copyright (c) Cratis. All rights reserved. -->
12
12
  <!-- Licensed under the MIT license. See LICENSE file in the project root for full license information. -->
13
13
 
14
- Verified at **Arc v22.75.0**. These features require `Cratis.Arc.Chronicle`.
14
+ Source: Arc. These features require `Cratis.Arc.Chronicle`.
15
15
 
16
16
  ## Pick the guarded read
17
17
 
@@ -78,7 +78,7 @@ ARCCHR0017/0018 check invalid templates/properties. On reactors the value is
78
78
  literal, not a command template. `AmbiguousEventStreamId` rejects a non-NotSet
79
79
  attribute value combined with `ICanProvideEventStreamId`, **including templates**.
80
80
  Choose the attribute or the interface, not both. Source:
81
- [EventStreamIdTemplate.cs](https://github.com/Cratis/Arc/blob/v22.75.0/Source/DotNET/Chronicle/Commands/EventStreamIdTemplate.cs).
81
+ [EventStreamIdTemplate.cs](https://github.com/Cratis/Arc/blob/main/Source/DotNET/Chronicle/Commands/EventStreamIdTemplate.cs).
82
82
 
83
83
  `IEventRoutes.For<TSource>(stream).WithStreamId(value)` resolves an `EventRoute`;
84
84
  `IStreamReads.Stream(id, route)` guards that route, while `StreamType(id, route)`
@@ -116,10 +116,10 @@ route, and that an independent route is not over-guarded.
116
116
  `DecisionReadAdmissions.ShouldAdmitDecisionReadsIn(assembly)` checks projection
117
117
  admission in assembly-level specs.
118
118
 
119
- ## Sources at v22.75.0
119
+ ## Sources
120
120
 
121
- - [Stream decisions](https://github.com/Cratis/Arc/blob/v22.75.0/Documentation/backend/csharp/chronicle/commands/stream-decisions.md)
122
- - [Protected read-model decisions and limitations](https://github.com/Cratis/Arc/blob/v22.75.0/Documentation/backend/csharp/chronicle/read-models/injecting-into-commands.md)
123
- - [Concurrency and templates](https://github.com/Cratis/Arc/blob/v22.75.0/Documentation/backend/csharp/chronicle/commands/concurrency.md)
124
- - [Event tags](https://github.com/Cratis/Arc/blob/v22.75.0/Documentation/backend/csharp/chronicle/commands/event-tags.md)
125
- - [Completing streams](https://github.com/Cratis/Arc/blob/v22.75.0/Documentation/backend/csharp/chronicle/commands/completing-streams.md)
121
+ - [Stream decisions](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/chronicle/commands/stream-decisions.md)
122
+ - [Protected read-model decisions and limitations](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/chronicle/read-models/injecting-into-commands.md)
123
+ - [Concurrency and templates](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/chronicle/commands/concurrency.md)
124
+ - [Event tags](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/chronicle/commands/event-tags.md)
125
+ - [Completing streams](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/chronicle/commands/completing-streams.md)
@@ -14,13 +14,15 @@
14
14
 
15
15
  ## Declare the value and command
16
16
 
17
- Generated parameters arrived in Arc **22.66.0**, scenario pinning in **22.67.0**,
18
- and analyzers in **22.68.0**. The examples and behavior here are verified at
19
- **v22.68.0**, which pins Fundamentals **7.23.0**.
17
+ Requires Arc 22.66.0 for generated parameters.
18
+
19
+ Requires Arc 22.67.0 for scenario pinning.
20
+
21
+ Requires Arc 22.68.0 for the ARC0022–ARC0025 analyzers.
20
22
 
21
23
  For the current threaded example, read [shop commands](shop-generation.md) and
22
24
  [shop concepts](../../cratis-fundamentals-concept/references/shop-generation.md).
23
- Those declarations are separately verified at Arc 22.87.1 / Fundamentals 7.24.0:
25
+ Those declarations show:
24
26
  CustomerId (`cus_` + ULID), context-aware TypeID OrderId, NanoID InviteCode and
25
27
  secret bytes ApiKey. They allocate responses, not events or persisted entities.
26
28
  For a real Chronicle stream identity use `EventSourceId<T>`; return `(id, event)`
@@ -66,7 +68,7 @@ ordinary response, event and compliance contracts.
66
68
 
67
69
  ## Analyzer diagnostics
68
70
 
69
- Arc v22.75.0 reports these at compile time; none has a code fix. Runtime
71
+ Arc reports these at compile time; none has a code fix. Runtime
70
72
  handler-construction checks remain for declarations compiled without analyzers.
71
73
 
72
74
  | Diagnostic | Severity | Fix |
@@ -117,17 +119,14 @@ Published guides:
117
119
  [ARC0024](/arc/backend/csharp/code-analysis/arc0024/),
118
120
  [ARC0025](/arc/backend/csharp/code-analysis/arc0025/).
119
121
 
120
- Source rechecked at **Arc v22.75.0** (generation/pinning APIs unchanged since
121
- the prior verification): `Source/DotNET/Arc.Core/Commands/ModelBound/GeneratedValueAttribute.cs`,
122
+ Source: `Source/DotNET/Arc.Core/Commands/ModelBound/GeneratedValueAttribute.cs`,
122
123
  `Commands/GeneratedValueParameters.cs`, `GeneratedValueFactories.cs`,
123
124
  `CommandHandlerArgumentResolver.cs`, `GeneratedValueResolution.cs`;
124
125
  `Source/DotNET/Arc.Core.CodeAnalysis/DiagnosticDescriptors.cs`; and
125
126
  `Source/DotNET/Testing/Commands/CommandScenarioGeneratedValueExtensions.cs`.
126
127
 
127
- The older 22.75.0 baseline has no contextual generation beyond Fundamentals
128
- 7.23.0 UUID helpers. Arc **22.87.1** separately supports received-time/tenant
129
- context and Fundamentals 7.24.0's additional strategies; [sources and Clock/Tenant
130
- setup](shop-generation.md). Neither tag supplies a native freshness/collision
131
- allocator or a pattern contract. Screenplay 4.147.0+ separately admits concept `generate`
128
+ Contextual generation (received time and tenant) and Fundamentals' additional strategies need a newer Arc; [sources and Clock/Tenant
129
+ setup](shop-generation.md). Arc does not supply a native freshness/collision
130
+ allocator or a pattern contract. Screenplay separately admits concept `generate`
132
131
  strategies and freshness; see `cratis-screenplay-command-surface/references/generated-values-and-responses.md`
133
132
  for that language contract and Stage's explicit scopes, not native Arc freshness support.
@@ -9,8 +9,7 @@
9
9
  - Cross-stream appends
10
10
  - Failure shapes
11
11
 
12
- Verified against `Cratis.Arc.Core` and `Cratis.Arc.Chronicle` **v22.75.0**
13
- (Chronicle dependency 19.39.1). Sources: `Source/DotNET/Arc.Core/Commands/CommandPipeline.cs`,
12
+ Source: `Cratis.Arc.Core` and `Cratis.Arc.Chronicle`. Sources: `Source/DotNET/Arc.Core/Commands/CommandPipeline.cs`,
14
13
  `CommandOperationExecution.cs` and `Source/DotNET/Chronicle/Commands/CommandContextExtensions.cs`.
15
14
  Read [decisions and routing](decisions-and-routing.md) for guarded reads,
16
15
  stream templates, tags and post-commit completion.
@@ -137,8 +136,9 @@ public IEnumerable<object> Handle() =>
137
136
  `EventStreamId` init members when the target stream is not the default.
138
137
  Explicit wrapper routing wins over command-context routing in every return shape.
139
138
 
140
- A command that always appends through a Chronicle event source definition (Arc 22.49.0
141
- and later, definitions from Chronicle 19.30.0) declares it with
139
+ Requires Arc 22.49.0 and Chronicle 19.30.0 for event source definitions on commands.
140
+
141
+ A command that always appends through a Chronicle event source definition declares it with
142
142
  `[EventSource<TSource>(stream)]` from `Cratis.Arc.Chronicle.Commands`; the definition
143
143
  supplies the event source type and validates the optional stream name:
144
144
 
@@ -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.