@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
@@ -83,7 +83,7 @@ accept as fair.
83
83
 
84
84
  ## Openings that promise something true
85
85
 
86
- Several studies analyzed thousands of historical Upworthy headline experiments. They found
86
+ Several studies analyzed thousands of past Upworthy headline experiments. They found
87
87
  that wording changes clicks, that more concreteness helped vague headlines
88
88
  and hurt ones that were already very concrete, and that linguistic features predicted the
89
89
  winning variant only a little better than chance. Negative words were associated with a
@@ -241,7 +241,7 @@ not what convinced anyone. Report the actual event and its denominator.
241
241
  | Carousels reach more developers and drive adoption | Observed engagement can include slide clicks; adoption not measured |
242
242
  | Founder posts get a fixed reach multiplier | One company's observation, no effect size |
243
243
  | Everyone should post two to five times a week | Observational association, not a prescription |
244
- | Negative or mystery hooks win with engineers | Historical news-site CTR only; not trust or adoption |
244
+ | Negative or mystery hooks win with engineers | Past news-site CTR only; not trust or adoption |
245
245
  | Documentation only matters after the sale | Developers report using docs to learn and onboard |
246
246
  | Stars, impressions, followers or last clicks equal adoption | Different events; report the real one |
247
247
  | Hacker News is a channel for polished promotional replies | Its rules prohibit generated comments and primarily promotional use |
@@ -13,9 +13,9 @@ do not claim the framework requires them.
13
13
 
14
14
  ## Verified product sources
15
15
 
16
- | Package | Version | Purpose |
17
- | --- | --- | --- |
18
- | `Cratis.Fundamentals` | `7.23.0` | DI lifetime attributes and `IInstancesOf<T>` instance resolution |
16
+ | Package | Purpose |
17
+ | --- | --- |
18
+ | `Cratis.Fundamentals` | DI lifetime attributes and `IInstancesOf<T>` instance resolution |
19
19
 
20
20
  ## Route near misses
21
21
 
@@ -281,7 +281,7 @@ Rules:
281
281
  rely on the `IFoo → Foo` convention for a transient, and delete the
282
282
  registration line.
283
283
  - `IInstancesOf<T>` fixes its type set at construction and resolves instances on
284
- each enumeration through the consumer's provider (Fundamentals 7.23.0). Late
284
+ each enumeration through the consumer's provider. Late
285
285
  assemblies do not update that set. A singleton captures the root provider;
286
286
  never use it to enumerate scoped implementations. Resolve a scoped or
287
287
  transient consumer inside a scope instead; follow `csharp.md`'s lifetime rule.
@@ -20,7 +20,7 @@ expensive, and what the contract required instead.
20
20
 
21
21
  ## 1. A swallowed conflict reported as a successful release
22
22
 
23
- *release-action #178.*
23
+ *A release action.*
24
24
 
25
25
  **Boundary.** Publishing a version — the most public effect there is.
26
26
 
@@ -40,7 +40,7 @@ failed. "Caught an exception, carried on" is neither.
40
40
 
41
41
  ## 2. A generator that degrades silently
42
42
 
43
- *Arc #2571, #2564, #2527 — the proxy generator.*
43
+ *Arc — the proxy generator.*
44
44
 
45
45
  **Boundary.** Generating TypeScript proxies from C# sources. The output is what
46
46
  the whole frontend compiles against.
@@ -76,7 +76,7 @@ line at the end of a stream nobody reads.
76
76
 
77
77
  ## 4. A container that stays `Running` after startup threw
78
78
 
79
- *Chronicle #3682.*
79
+ *Chronicle — container startup.*
80
80
 
81
81
  **Boundary.** Process and container lifecycle — the state an orchestrator reads
82
82
  to decide whether to send traffic.
@@ -93,7 +93,7 @@ survives a failed start is not a degraded signal, it is a false one.
93
93
 
94
94
  ## 5. A constraint that only one implementation enforces
95
95
 
96
- *Chronicle #3744 — unique constraints on the SQL and in-memory providers.*
96
+ *Chronicle — unique constraints on the SQL and in-memory providers.*
97
97
 
98
98
  **Boundary.** Persistence, and the invariant the store is supposed to guarantee.
99
99
 
@@ -11,13 +11,13 @@ concepts and Chronicle stream identities separate.
11
11
 
12
12
  ## Verified product sources
13
13
 
14
- This skill is verified against these exact public releases:
14
+ Sources:
15
15
 
16
- | Package | Version | Purpose |
17
- | --- | --- | --- |
18
- | `Cratis.Fundamentals` | `7.24.0` | `ConceptAs<T>`, `IGeneratable<TSelf>`, `IGeneratableInContext<TSelf>`, `GenerationContext` and `GenerateValue` |
19
- | `Cratis.Chronicle` | `18.3.0` | `Cratis.Chronicle.Events.EventSourceId` and `EventSourceId<T>` |
20
- | `@cratis/fundamentals` | `7.23.0` | TypeScript `ConceptAs<T>`, `field`, `Guid`, and JSON conversion |
16
+ | Package | Purpose |
17
+ | --- | --- |
18
+ | `Cratis.Fundamentals` | `ConceptAs<T>`, `IGeneratable<TSelf>`, `IGeneratableInContext<TSelf>`, `GenerationContext` and `GenerateValue` |
19
+ | `Cratis.Chronicle` | `Cratis.Chronicle.Events.EventSourceId` and `EventSourceId<T>` |
20
+ | `@cratis/fundamentals` | TypeScript `ConceptAs<T>`, `field`, `Guid`, and JSON conversion |
21
21
 
22
22
  Reverify product sources before claiming support for another version.
23
23
 
@@ -79,18 +79,13 @@ Do not assume `string.Empty`, `0`, or `Guid.Empty` is universally invalid.
79
79
 
80
80
  ## Let a concept generate its own value
81
81
 
82
- Check the Cratis.Fundamentals version the project resolves first. Arc first
83
- pinned **7.23.0 in v22.66.0** (also verified at v22.68.0); the older-version
84
- caveat is not a reason to add a direct reference for Arc 22.66.0+ when it already
85
- resolves 7.23.0 or later. Chronicle **v19.50.0** still pins **7.22.0** in
86
- `Directory.Packages.props`. For older Arc or Chronicle-only applications, when
87
- the resolved version is below 7.23.0, add a direct `Cratis.Fundamentals` 7.23.0
88
- or later package reference, or keep the existing `static New()` (without the
82
+ Check the Cratis.Fundamentals version the project resolves first.
83
+
84
+ Requires Cratis.Fundamentals 7.23.0 for `IGeneratable<TSelf>`. Arc 22.66.0 or later already resolves it, so do not add a direct reference there. For an older Arc or a Chronicle-only application whose resolved version is lower, add a direct `Cratis.Fundamentals` package reference at 7.23.0 or later, or keep the existing `static New()` (without the
89
85
  interface) until you can.
90
86
 
91
87
  When the system, not the caller, creates a value, the concept declares how by
92
- implementing `IGeneratable<TSelf>` (`Cratis.Concepts`, Cratis.Fundamentals
93
- 7.23.0 or later). The interface requires `static abstract TSelf New()`, so
88
+ implementing `IGeneratable<TSelf>` (`Cratis.Concepts`). The interface requires `static abstract TSelf New()`, so
94
89
  generic code constrained on `where T : IGeneratable<T>` calls `T.New()` without
95
90
  reflection. Generate a UUID with `GenerateValue`, never with `Guid.NewGuid()` in
96
91
  scattered call sites and never with `System.Random`:
@@ -114,7 +109,7 @@ bits from `RandomNumberGenerator`:
114
109
  millisecond, and clock adjustments can reorder values.
115
110
 
116
111
  Neither helper guarantees uniqueness; a collision is extremely unlikely, not
117
- impossible. Fundamentals **7.24.0** also supplies ULID, TypeID, NanoID and encoded
112
+ impossible. Fundamentals also supplies ULID, TypeID, NanoID and encoded
118
113
  bytes. `IGeneratableInContext<TSelf>` declares static `New(GenerationContext)`
119
114
  for a captured time and portable tenant. Built-ins consume time, not tenant;
120
115
  context is not tenant isolation. Default time is rejected, not replaced with now.
@@ -125,22 +120,22 @@ Sources and the complete shop example: [shop generation](references/shop-generat
125
120
  The shared shop uses CustomerId (`cus_` + ULID), context-aware OrderId (TypeID),
126
121
  InviteCode (NanoID), and secret ApiKey (`Bytes(32)`, `[NotAudited]` in its host).
127
122
  Read [choices, time/tenant context and protection](references/shop-generation.md).
128
- Resolve Fundamentals 7.24.0 before using these newer helpers; the earlier 7.23.0
123
+ Requires Fundamentals 7.24.0 for these newer helpers; the earlier
129
124
  UUID examples remain supported.
130
125
 
131
126
  ## When not to generate
132
127
 
133
128
  Client-supplied identities stay inputs; random generation is not idempotency or
134
129
  gapless numbering. UUIDs are not credentials. Byte generation can create a secret
135
- in 7.24.0, but audit suppression, authorized delivery and hash storage are separate
130
+ in Fundamentals, but audit suppression, authorized delivery and hash storage are separate
136
131
  host responsibilities; never treat randomness as protection.
137
132
 
138
133
  In specifications, construct the concept from a known value
139
134
  (`new <ConceptName>(Guid.Parse("…"))`) and assert against it. Do not seed or
140
- replace the generator. In Arc **22.66.0+**, let a server-owned new identifier
141
- reach `Handle()` through `[GeneratedValue]` rather than calling `New()` inside
135
+ replace the generator. Let a server-owned new identifier
136
+ reach `Handle()` through `[GeneratedValue]` (Requires Arc 22.66.0) rather than calling `New()` inside
142
137
  it; see `cratis-arc-command` for declaration and migration, and
143
- `cratis-specifications-csharp` for named scenario pins (Arc **22.67.0+**).
138
+ `cratis-specifications-csharp` for named scenario pins (Requires Arc 22.67.0).
144
139
  Guide: `/fundamentals/csharp/generating-values/`.
145
140
 
146
141
  ## Create a TypeScript value concept
@@ -221,9 +216,9 @@ untyped `EventSourceId`, and `EventSourceId<T>`. Those operators do not create
221
216
  your derived `<ConceptName>` from `T`, string, or untyped `EventSourceId`.
222
217
  Declare only the derived-type conversions your domain API needs.
223
218
 
224
- String and Guid remain the safest stream-id primitives. At **Chronicle v19.50.0**
225
- (`Source/Clients/DotNET/Events/EventSourceId.cs:148-174`), numeric/date/time ids
226
- and concepts wrapping them convert with invariant culture (since 19.37.3).
219
+ String and Guid remain the safest stream-id primitives. In Chronicle
220
+ (`Source/Clients/DotNET/Events/EventSourceId.cs`), numeric/date/time ids
221
+ and concepts wrapping them convert with invariant culture (Requires Chronicle 19.37.3).
227
222
  `DateTime`, `DateTimeOffset`, `DateOnly`, `TimeOnly` use `"O"`; `TimeSpan` uses
228
223
  `"c"`. Decimal `123.45` stays `"123.45"` even under nb-NO.
229
224
  **Existing streams may have different legacy ids** if written under date/time or
@@ -7,11 +7,11 @@
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
 
14
- At **Fundamentals 7.24.0**, a shop can use CustomerId (`cus_` + ULID) for
14
+ A shop can use CustomerId (`cus_` + ULID) for
15
15
  recognizable time-ordered customer references, OrderId (TypeID) for typed order
16
16
  references, InviteCode (NanoID) for opaque invitation references, and ApiKey
17
17
  (`Bytes(32)`) for a 256-bit credential. UUID remains the ordinary identity choice;
@@ -20,8 +20,8 @@ UUIDv7/ULID/TypeID reveal time and are not monotonic within a millisecond.
20
20
  An invitation reference here is not by itself permission to join the shop; if
21
21
  possession is the authorization mechanism, treat it as a protected credential too.
22
22
 
23
- This complete concept excerpt requires `Cratis.Fundamentals` **7.24.0** and,
24
- for the ApiKey audit attribute, `Cratis.Arc.Chronicle` **22.87.1**. These are
23
+ This complete concept excerpt requires `Cratis.Fundamentals` 7.24.0 or later and,
24
+ for the ApiKey audit attribute, `Cratis.Arc.Chronicle`. These are
25
25
  non-stream references; use `EventSourceId<string>` instead only if a concept
26
26
  actually identifies a Chronicle event source.
27
27
 
@@ -98,13 +98,13 @@ before the Unix epoch. A fixed context fixes the timestamp, not random suffixes.
98
98
  - Never log generated values/captures or seed production randomness. Use known
99
99
  values in specs; test shape/time separately when randomness is the behavior.
100
100
 
101
- ## Verified released sources
101
+ ## Sources
102
102
 
103
- Fundamentals `v7.24.0:Source/DotNET/Fundamentals/Concepts/GenerationContext.cs:6-17`,
104
- `IGeneratableInContext.cs:13-21`, `GenerateValue.TimeOrderedStrings.cs:15-57`,
105
- `GenerateValue.RandomStrings.cs:10-64`; `Documentation/csharp/generating-values.md`.
106
- Arc `v22.87.1:Source/DotNET/Chronicle/Commands/NotAuditedAttribute.cs`,
107
- `CommandCausationValues.cs:94-102` (command/type/property exclusion only, never
103
+ Fundamentals `Source/DotNET/Fundamentals/Concepts/GenerationContext.cs`,
104
+ `IGeneratableInContext.cs`, `GenerateValue.TimeOrderedStrings.cs`,
105
+ `GenerateValue.RandomStrings.cs`; `Documentation/csharp/generating-values.md`.
106
+ Arc `Source/DotNET/Chronicle/Commands/NotAuditedAttribute.cs`,
107
+ `CommandCausationValues.cs` (command/type/property exclusion only, never
108
108
  payload encryption or log protection);
109
109
  `Documentation/backend/csharp/commands/generated-values.md`.
110
110
  The latter attribute belongs to the host integration, not Fundamentals.
@@ -10,12 +10,12 @@
10
10
  - Serialization boundaries
11
11
  - Other typed values
12
12
 
13
- Verified against `@cratis/fundamentals` 7.23.0: `ConceptAs.ts`,
13
+ Source: `@cratis/fundamentals`: `ConceptAs.ts`,
14
14
  `JsonSerializer.ts`, and `Documentation/typescript/concept_as.md` in Fundamentals.
15
15
 
16
16
  ## Declare a concept
17
17
 
18
- The convenient union pattern (7.13.0+) accepts either a concept instance or its
18
+ The convenient union pattern accepts either a concept instance or its
19
19
  underlying primitive. Supply the runtime class, not the union type, to `@field`:
20
20
 
21
21
  ```typescript
@@ -47,7 +47,7 @@ for a string-backed concept; it does not require a different naming pattern.
47
47
 
48
48
  ## Convert non-primitive values
49
49
 
50
- From 7.19.5, `valueType` tells deserialization to convert the inner payload before
50
+ `valueType` tells deserialization to convert the inner payload before
51
51
  constructing the concept. Without it, a Guid wire value remains a string:
52
52
 
53
53
  ```typescript
@@ -72,10 +72,10 @@ class User {
72
72
  Use `JsonSerializer.serialize(instance)` and
73
73
  `JsonSerializer.deserialize(Type, json)` for typed conversion. Concepts serialize
74
74
  to their inner value and deserialize to instances when their runtime class is
75
- supplied as metadata. Collections and maps unwrap concepts too (7.17.0+).
75
+ supplied as metadata. Collections and maps unwrap concepts too.
76
76
 
77
77
  Keep one resolved copy of `@cratis/fundamentals`: duplicate copies trigger a
78
- warning and can cause identity/`instanceof` problems. The 7.23.0 serializer uses
78
+ warning and can cause identity/`instanceof` problems. The serializer uses
79
79
  stable type keys for concepts and converters, but that does not make all
80
80
  cross-copy identity checks safe.
81
81
 
@@ -83,15 +83,15 @@ cross-copy identity checks safe.
83
83
 
84
84
  The root exports `Guid`, `DateOnly`, `TimeOnly`, `TimeSpan`, `ValueMap`, `field`,
85
85
  and `JsonSerializer`. Subpaths `/json`, `/geospatial`, and `/reflection` are
86
- exported too. The package declarations support NodeNext resolution (7.19.6+).
86
+ exported too. The package declarations support NodeNext resolution.
87
87
  Use `JsonSerializer.registerConverter(converter)` for a custom `JsonConverter`
88
88
  instance, rather than replacing the serializer.
89
89
 
90
- `@field` supports legacy and standard decorators (7.18.0+); standard fields need
90
+ `@field` supports legacy and standard decorators; standard fields need
91
91
  decorator metadata support. Load `@cratis/fundamentals/reflection` before defining
92
92
  metadata-dependent types. For arrays, declare the element constructor with
93
93
  `@field(Array, { genericArguments: [Item] })`, where `Item` is the model's runtime
94
- class, not a type alias (7.19.5+).
94
+ class, not a type alias.
95
95
 
96
96
  Dependent Arc/Chronicle peer ranges are not feature guarantees: check the actual
97
97
  resolved Fundamentals version before relying on these version-qualified APIs.
@@ -2,7 +2,7 @@
2
2
  name: cratis-fundamentals-concept-go
3
3
  description: Define named Go domain values with Fundamentals.Go concepts, explicit UUID text and JSON codecs, and scalar recognition. Use when an identity or scalar must not be interchangeable with its primitive. Do not use for C# ConceptAs types, event migration or dependency-injection setup.
4
4
  license: MIT
5
- compatibility: Go 1.26 or later for Fundamentals.Go v0.3.2.
5
+ compatibility: Go 1.26 or later.
6
6
  ---
7
7
 
8
8
  <!-- Copyright (c) Cratis. All rights reserved. -->
@@ -10,8 +10,8 @@ compatibility: Go 1.26 or later for Fundamentals.Go v0.3.2.
10
10
 
11
11
  # Typed domain values in Go
12
12
 
13
- > **Experimental v0:** Fundamentals.Go **v0.3.2**. Companion product guidance
14
- > targets Chronicle.Go **v0.9.1** and Arc.Go **v0.1.1**; minor releases may break APIs.
13
+ > **Experimental v0:** minor releases may break APIs; pin the module version you test against.
14
+ > Companion guidance: Chronicle.Go and Arc.Go.
15
15
 
16
16
  Use a defined type for each domain value, not a type alias that remains
17
17
  interchangeable with every UUID/string. Plain constructors are enough; adopting
@@ -19,17 +19,17 @@ concepts does not require a dependency-injection container.
19
19
 
20
20
  ## Verified product sources
21
21
 
22
- | Product | Tag | Source checked |
23
- | --- | --- | --- |
24
- | Fundamentals.Go (`github.com/cratis/fundamentals.go`) | `v0.3.2` | `concepts/concept.go`, `concepts/uuid.go`, `concepts/uuid_dotnet.go`, `concepts/underlying.go`, `concepts/check_json.go`, `documentation_examples_test.go` |
22
+ | Product | Source checked |
23
+ | --- | --- |
24
+ | Fundamentals.Go (`github.com/cratis/fundamentals.go`) | `concepts/concept.go`, `concepts/uuid.go`, `concepts/uuid_dotnet.go`, `concepts/underlying.go`, `concepts/check_json.go`, `documentation_examples_test.go` |
25
25
 
26
- [Source at v0.3.2](https://github.com/Cratis/Fundamentals.Go/tree/v0.3.2)
27
- is authoritative, not the getting-started page's older v0.3.0 installation pin.
26
+ [Source](https://github.com/Cratis/Fundamentals.Go)
27
+ is authoritative, not an older installation pin on a getting-started page.
28
28
  The root module is standard-library-only and requires Go 1.26.
29
29
 
30
30
  ## Define and encode an identity
31
31
 
32
- Install `github.com/cratis/fundamentals.go@v0.3.2` into a consumer module.
32
+ Install `github.com/cratis/fundamentals.go` at your chosen release into a consumer module.
33
33
  This complete package defines an author identity and its codecs:
34
34
 
35
35
  ```go
@@ -108,5 +108,4 @@ it only when importing that compatibility contract, not for canonical admission.
108
108
  - Compile and round-trip the named value against the pinned module without local replacements.
109
109
  - Verify canonical wire bytes, zero/null policy and failure-atomic decoders.
110
110
  - Check domain invariants separately from scalar recognition.
111
- - Chronicle.Go v0.9.1 and Arc.Go v0.1.1 each require Fundamentals.Go v0.1.0;
112
- this standalone v0.3.2 example is not a demand to upgrade their dependencies.
111
+ - Chronicle.Go and Arc.Go each declare the Fundamentals.Go they require; this standalone example is not a demand to upgrade their dependencies.
@@ -13,19 +13,19 @@ Use this when a service needs measurements and spans, not business facts. Keep e
13
13
 
14
14
  ## Verified product sources
15
15
 
16
- All source locators below are in **Cratis/Fundamentals v7.23.0**. Read the tag, not a sibling checkout's HEAD.
16
+ All source locators below are in **Cratis/Fundamentals**. Read the release you consume, not a sibling checkout's HEAD.
17
17
 
18
- | Package | Version | Source |
19
- | --- | --- | --- |
20
- | `Cratis.Fundamentals` | `7.23.0` | `Source/DotNET/Fundamentals/Metrics/{Counter,Gauge,Histogram}Attribute.cs`, `Traces/SpanAttribute.cs`, `Diagnostics/TagAttribute.cs` |
21
- | `Cratis.Metrics.Roslyn` | `7.23.0` | `Source/DotNET/Metrics.Roslyn/MetricsSourceGenerator.cs:42-130,174-238,285-337,354-406`; `Templates/Metrics.hbs:11-123` |
22
- | `Cratis.OpenTelemetry` | `7.23.0` | `Source/DotNET/OpenTelemetry/OpenTelemetryExtensions.cs:29-180,215-315`; `InstrumentationExtensions.cs:17-31`; `CratisOpenTelemetryOptions.cs:19-34` |
18
+ | Package | Source |
19
+ | --- | --- |
20
+ | `Cratis.Fundamentals` | `Source/DotNET/Fundamentals/Metrics/{Counter,Gauge,Histogram}Attribute.cs`, `Traces/SpanAttribute.cs`, `Diagnostics/TagAttribute.cs` |
21
+ | `Cratis.Metrics.Roslyn` | `Source/DotNET/Metrics.Roslyn/MetricsSourceGenerator.cs`; `Templates/Metrics.hbs` |
22
+ | `Cratis.OpenTelemetry` | `Source/DotNET/OpenTelemetry/OpenTelemetryExtensions.cs`; `InstrumentationExtensions.cs`; `CratisOpenTelemetryOptions.cs` |
23
23
 
24
- Registration evidence: `Source/DotNET/Fundamentals/DependencyInjection/ServiceCollectionExtensions.cs:27-54`. Unkeyed names: `Metrics/UnkeyedMeter.cs:17-23`, `Traces/UnkeyedActivitySource.cs:17-23` under the same Fundamentals source root. Upgrade context: `Documentation/csharp/metrics/roslyn.md` (Exported Metric Names) and `Documentation/csharp/opentelemetry.md`.
24
+ Registration evidence: `Source/DotNET/Fundamentals/DependencyInjection/ServiceCollectionExtensions.cs`. Unkeyed names: `Metrics/UnkeyedMeter.cs`, `Traces/UnkeyedActivitySource.cs` under the same Fundamentals source root. Upgrade context: `Documentation/csharp/metrics/roslyn.md` (Exported Metric Names) and `Documentation/csharp/opentelemetry.md`.
25
25
 
26
26
  ## 1. Declare instrumentation beside its owner
27
27
 
28
- Reference `Cratis.Fundamentals` for runtime types and `Cratis.Metrics.Roslyn` for generation. Use a **static partial class in a namespace**, containing **static partial methods**. The generator's candidate filter requires static classes even for metrics; a merely partial instance class is not enough (`MetricsSourceGenerator.cs:42-53,84-93`). Prefer extension declarations with short, unqualified attribute/type names, as below.
28
+ Reference `Cratis.Fundamentals` for runtime types and `Cratis.Metrics.Roslyn` for generation. Use a **static partial class in a namespace**, containing **static partial methods**. The generator's candidate filter requires static classes even for metrics; a merely partial instance class is not enough (`MetricsSourceGenerator.cs`). Prefer extension declarations with short, unqualified attribute/type names, as below.
29
29
 
30
30
  This declaration file is complete; it assumes the application's existing `ReportWorker` class in `MyApplication.Reports`:
31
31
 
@@ -59,11 +59,11 @@ public static partial class ReportInstrumentation
59
59
  }
60
60
  ```
61
61
 
62
- - The first metric argument is `IMeter<T>` or `IMeterScope<T>`. A counter without a measurement increments by one. The first remaining parameter, in any position, whose type exactly matches the attribute's numeric type is the measurement, not a tag; avoid a second parameter of that type. Gauges and histograms require that measurement (`MetricsSourceGenerator.cs:285-337`).
63
- - Remaining parameters are tags. Metric keys default to parameter names; span keys default to snake_case. `[Tag("key")]` from `Cratis.Diagnostics` overrides either (`:174-185,403`).
64
- - `IMeterScope<T>` merges scope tags with method tags (`Templates/Metrics.hbs:34-38,67-71,96-100`). Do not put credentials, personal payloads or unbounded entity IDs in metric labels; choose bounded categories.
65
- - Name, description and optional UCUM unit are distinct. A duration in seconds uses `"s"` and a measurement in seconds, not milliseconds (`HistogramAttribute.cs:14-29`, template `:109`).
66
- - A span returns `IActivityScope<T>` and takes `IActivitySource<T>` first. Assign the returned scope with `using`; `CRT0001` checks disposal (`ActivityScopeUsingAnalyzer.cs:20`, `Templates/Metrics.hbs:118-122`).
62
+ - The first metric argument is `IMeter<T>` or `IMeterScope<T>`. A counter without a measurement increments by one. The first remaining parameter, in any position, whose type exactly matches the attribute's numeric type is the measurement, not a tag; avoid a second parameter of that type. Gauges and histograms require that measurement (`MetricsSourceGenerator.cs`).
63
+ - Remaining parameters are tags. Metric keys default to parameter names; span keys default to snake_case. `[Tag("key")]` from `Cratis.Diagnostics` overrides either.
64
+ - `IMeterScope<T>` merges scope tags with method tags (`Templates/Metrics.hbs`). Do not put credentials, personal payloads or unbounded entity IDs in metric labels; choose bounded categories.
65
+ - Name, description and optional UCUM unit are distinct. A duration in seconds uses `"s"` and a measurement in seconds, not milliseconds (`HistogramAttribute.cs`, template).
66
+ - A span returns `IActivityScope<T>` and takes `IActivitySource<T>` first. Assign the returned scope with `using`; `CRT0001` checks disposal (`ActivityScopeUsingAnalyzer.cs`, `Templates/Metrics.hbs`).
67
67
 
68
68
  Call-site excerpt inside the existing worker, with injected `IMeter<ReportWorker> meter` and `IActivitySource<ReportWorker> source`:
69
69
 
@@ -96,13 +96,13 @@ builder.AddCratisOpenTelemetry(options =>
96
96
  });
97
97
  ```
98
98
 
99
- `AddCratisOpenTelemetry` extends `IHostApplicationBuilder`. When the host already owns an OpenTelemetry builder, use `services.AddOpenTelemetry().WithCratis(configuration, configure)` instead; `WithCratis` extends `OpenTelemetryBuilder`. Do not add both setups. If the application only wants subscription helpers, `AddCratisInstrumentation()` extends both `TracerProviderBuilder` and `MeterProviderBuilder`, not the service collection (`OpenTelemetryExtensions.cs:29-71`, `InstrumentationExtensions.cs:24-31`).
99
+ `AddCratisOpenTelemetry` extends `IHostApplicationBuilder`. When the host already owns an OpenTelemetry builder, use `services.AddOpenTelemetry().WithCratis(configuration, configure)` instead; `WithCratis` extends `OpenTelemetryBuilder`. Do not add both setups. If the application only wants subscription helpers, `AddCratisInstrumentation()` extends both `TracerProviderBuilder` and `MeterProviderBuilder`, not the service collection (`OpenTelemetryExtensions.cs`, `InstrumentationExtensions.cs`).
100
100
 
101
- Shared setup adds Cratis sources/meters, ASP.NET Core and HTTP client instrumentation, runtime metrics, and scoped/formatted logs. Application callbacks run before DI is built (`OpenTelemetryExtensions.cs:77-180`).
101
+ Shared setup adds Cratis sources/meters, ASP.NET Core and HTTP client instrumentation, runtime metrics, and scoped/formatted logs. Application callbacks run before DI is built (`OpenTelemetryExtensions.cs`).
102
102
 
103
103
  ## 3. Configure export, without baking endpoints or secrets into code
104
104
 
105
- At this tag, OTLP export is **opt-in**: no configured endpoint means no OTLP exporter. Environment values take precedence over configuration keys. Relevant standard keys (`OpenTelemetryExtensions.cs:215-315`):
105
+ OTLP export is **opt-in**: no configured endpoint means no OTLP exporter. Environment values take precedence over configuration keys. Relevant standard keys (`OpenTelemetryExtensions.cs`):
106
106
 
107
107
  | Key | Effect |
108
108
  | --- | --- |
@@ -119,7 +119,7 @@ For HTTP/protobuf, the shared endpoint gains `/v1/traces`, `/v1/metrics` or `/v1
119
119
 
120
120
  ## Upgrade and prove it
121
121
 
122
- - Fundamentals stopped bringing the OpenTelemetry SDK transitively in **7.20.2**; add the explicit telemetry package when migrating a consumer that relied on that dependency (`Documentation/csharp/opentelemetry.md`).
123
- - Regeneration after the **7.20.0** unit correction can rename exported Prometheus metrics: descriptions are now HELP text, not units. Rebuild the consumer and update dashboards/alerts that used the old description-suffixed names (`metrics/roslyn.md`, template `:48-50,80,109`).
122
+ - Fundamentals stopped bringing the OpenTelemetry SDK transitively; add the explicit telemetry package when migrating a consumer that relied on that dependency (`Documentation/csharp/opentelemetry.md`).
123
+ - Regenerating after an upgrade from a Fundamentals older than 7.20.0 can rename exported Prometheus metrics: descriptions are HELP text, not units. Rebuild the consumer and update dashboards/alerts that used the old description-suffixed names (`metrics/roslyn.md`).
124
124
  - Build with analyzers and warnings as errors. Inspect generated implementations for correct measurements/tags and scope disposal. Do not edit generated files.
125
125
  - Exercise one code path with a listener or the configured collector: observe the counter increment, histogram unit/measurement and completed span. A build or `skill-contains` assertion is not proof of export. Check namespace subscriptions, SDK disablement, sampler and endpoint independently before diagnosing the collector.
@@ -10,6 +10,6 @@
10
10
  { "kind": "skill-contains", "value": "typeof(T).FullName" },
11
11
  { "kind": "skill-contains", "value": "AddCratisOpenTelemetry" },
12
12
  { "kind": "skill-contains", "value": "no configured endpoint means no OTLP exporter" },
13
- { "kind": "skill-contains", "value": "descriptions are now HELP text, not units" }
13
+ { "kind": "skill-contains", "value": "descriptions are HELP text, not units" }
14
14
  ]
15
15
  }
@@ -16,9 +16,9 @@ removing one becomes a single-file change.
16
16
 
17
17
  ## Verified product sources
18
18
 
19
- | Package | Version | Purpose |
20
- | --- | --- | --- |
21
- | `Cratis.Fundamentals` | `7.23.0` | `IInstancesOf<T>`, `IImplementationsOf<T>`, `ITypes`, convention bindings and the bundled `Cratis.Fundamentals.TypeDiscovery.Generator` |
19
+ | Package | Purpose |
20
+ | --- | --- |
21
+ | `Cratis.Fundamentals` | `IInstancesOf<T>`, `IImplementationsOf<T>`, `ITypes`, convention bindings and the bundled `Cratis.Fundamentals.TypeDiscovery.Generator` |
22
22
 
23
23
  Reverify against the Cratis Fundamentals repository before claiming support for
24
24
  another version.
@@ -63,7 +63,7 @@ Discovery normally uses compile-time generated providers, not a walk of
63
63
 
64
64
  The host must call `services.AddTypeDiscovery()` to register `ITypes`,
65
65
  `IInstancesOf<>`, and `IImplementationsOf<>`, plus the convention binding setup.
66
- Arc's `AddCratisArc` does this (verified at Arc v22.75.0); a plain host must do it.
66
+ Arc's `AddCratisArc` does this; a plain host must do it.
67
67
  No per-implementation registration is needed when self-binding applies.
68
68
 
69
69
  The Fundamentals NuGet package carries the generator as an analyzer. A project
@@ -17,17 +17,15 @@ the developer points it at. Nothing in it is production tooling.
17
17
 
18
18
  ## Verified product sources
19
19
 
20
- | Source | Version | Purpose |
21
- | --- | --- | --- |
22
- | `Cratis/Lens` `Source/` | `v0.0.1`, manifest `1.0.0` | The extension itself; no newer release |
23
- | `Cratis.Arc.Core` | `22.75.0` | The `/.cratis/*` endpoints, the forwarded-identity contract, and the tenancy header Lens depends on |
20
+ | Source | Purpose |
21
+ | --- | --- |
22
+ | `Cratis/Lens` `Source/` | The extension itself; no newer release |
23
+ | `Cratis.Arc.Core` | The `/.cratis/*` endpoints, the forwarded-identity contract, and the tenancy header Lens depends on |
24
24
 
25
- Behavior was read at Lens `v0.0.1` and `main`; the Source diff is metadata/build
26
- packaging only. The release predates the previously verified `3ee4882` commit.
27
- Arc evidence: [ArcOptions.cs:61–80](https://github.com/Cratis/Arc/blob/v22.75.0/Source/DotNET/Arc.Core/ArcOptions.cs#L61-L80),
28
- [MicrosoftIdentityPlatformAuthenticationHandler.cs:28–40](https://github.com/Cratis/Arc/blob/v22.75.0/Source/DotNET/Arc.Core/Identity/MicrosoftIdentityPlatformAuthenticationHandler.cs#L28-L40),
29
- [IntrospectionOptions.cs](https://github.com/Cratis/Arc/blob/v22.75.0/Source/DotNET/Arc.Core/Introspection/IntrospectionOptions.cs)
30
- and [DiscoveryExposure.cs:102–138](https://github.com/Cratis/Arc/blob/v22.75.0/Source/DotNET/Arc.Core/Introspection/DiscoveryExposure.cs#L102-L138).
25
+ Arc evidence: [ArcOptions.cs](https://github.com/Cratis/Arc/blob/main/Source/DotNET/Arc.Core/ArcOptions.cs),
26
+ [MicrosoftIdentityPlatformAuthenticationHandler.cs](https://github.com/Cratis/Arc/blob/main/Source/DotNET/Arc.Core/Identity/MicrosoftIdentityPlatformAuthenticationHandler.cs),
27
+ [IntrospectionOptions.cs](https://github.com/Cratis/Arc/blob/main/Source/DotNET/Arc.Core/Introspection/IntrospectionOptions.cs)
28
+ and [DiscoveryExposure.cs](https://github.com/Cratis/Arc/blob/main/Source/DotNET/Arc.Core/Introspection/DiscoveryExposure.cs).
31
29
 
32
30
  ⚠️ **There is no published store listing.** Nothing in the Lens repository links
33
31
  a Chrome Web Store, Edge Add-ons, AMO, or App Store entry — the only store URLs
@@ -67,7 +65,7 @@ same three the pull-request workflow runs. There is no lint script.
67
65
 
68
66
  On `main`, `yarn build-package` runs `scripts/build-package.js` and writes zip
69
67
  packages into repo-root `dist/`; the manifest description changed, but the name
70
- is still **Cratis Lens**. At `v0.0.1` the script instead zips to `lens-extension.zip`.
68
+ is still **Cratis Lens**. the script instead zips to `lens-extension.zip`.
71
69
 
72
70
  The code uses the `chrome.*` namespace throughout with no polyfill. The release
73
71
  workflow also packages for Edge, Firefox and Safari, but no cross-browser
@@ -90,20 +88,22 @@ strips client-supplied identity headers.
90
88
  | `GET /.cratis/tenants` | every `ICanProvideTenants`, identity discovery policy | The importable tenant list |
91
89
  | `GET /.cratis/identity-details/schema` | the identity endpoint mapper | The schema-driven editor for a user's `identityDetails` |
92
90
 
93
- At Arc v22.75.0 discovery is anonymous by default **only in Development**.
91
+ Requires Arc 22.45.0 for discovery to be anonymous by default **only in Development**; older versions serve it anonymously everywhere.
92
+
93
+ Discovery is anonymous by default **only in Development**.
94
94
  Against a deployed host Lens needs the user signed in; hosts unable to authenticate
95
95
  omit those routes (404). `Introspection.Enabled` controls catalogs and
96
96
  `IdentityDiscovery` the roster/tenant/schema routes. Forwarded identity switching
97
97
  also needs the explicit host-wide `TrustForwardedIdentityHeaders` opt-in, only
98
98
  behind a header-stripping ingress. Source:
99
- [secure defaults](https://github.com/Cratis/Arc/blob/v22.75.0/Documentation/upgrading/secure-defaults.mdx).
99
+ [secure defaults](https://github.com/Cratis/Arc/blob/main/Documentation/upgrading/secure-defaults.mdx).
100
100
  `MapIntrospectionEndpoints` runs during Arc activation, subject to these settings. The user and tenant
101
101
  routes return whatever the application implements — with **no implementation
102
102
  registered they return an empty list**, and Lens treats a `404` on either as
103
103
  "empty", not "broken". Users and tenants can also be created by hand in Lens's
104
104
  Settings, so an application that provides neither still works.
105
105
 
106
- At Arc `22.75.0`, all five discovery routes are anonymous by default only in
106
+ All five discovery routes are anonymous by default only in
107
107
  **Development**. Elsewhere they require authentication, or are not mapped when
108
108
  the host cannot enforce it. `Cratis:Arc:Introspection` options `Enabled` and
109
109
  `IdentityDiscovery` control mapping; `RequireAuthentication` and `Roles` control
@@ -144,7 +144,7 @@ application needs no change.
144
144
  ⚠️ **`tenantHeaderName` has no user interface.** It is a stored setting with a
145
145
  default and nothing binds it to an input. An application that resolves tenancy
146
146
  by query parameter, claim, subdomain, or a renamed header **cannot be driven by
147
- Lens at manifest `1.0.0` (`3ee4882`)** without editing `chrome.storage.local` by hand. Guidance describing
147
+ Lens** without editing `chrome.storage.local` by hand. Guidance describing
148
148
  a "Tenant Header Name" field on an options page is describing something that
149
149
  does not exist — there is no `options_page` in the manifest at all.
150
150
 
@@ -178,7 +178,7 @@ Pick both on the **Context** tab. Two things then happen, in this order:
178
178
  2. It deletes the Arc identity cookie `.cratis-identity` on the detected base URL
179
179
  and page origins, then reloads every open tab on those origins.
180
180
 
181
- At Arc v22.75.0 the backend neither reads nor writes that legacy identity
181
+ The backend neither reads nor writes that legacy identity
182
182
  cookie. Lens still deletes it for older hosts; reloading clears the frontend's
183
183
  in-memory identity and asks `/.cratis/me` again. Header-based switching requires
184
184
  the host-wide trust opt-in and a suitable development/ingress boundary; the
@@ -206,7 +206,7 @@ query is always `GET`, with `{name}` segments in the route substituted from the
206
206
  path-parameter inputs and the same context headers.
207
207
 
208
208
  ⚠️ **The schema-driven payload form does not receive a schema from
209
- Arc `22.75.0`.** Lens reads an optional property named `schema` off each introspection
209
+ Arc.** Lens reads an optional property named `schema` off each introspection
210
210
  item, and falls back to trying `/.cratis/types/{type}`, `/.cratis/schema/{type}`,
211
211
  `/.cratis/schemas/{type}` and `/.cratis/types?type={type}` in turn. Arc names the
212
212
  property **`payloadSchema`** on a command and **`argumentsSchema`** on a query,
@@ -230,10 +230,10 @@ unwrapped from the first of `data`, `result`, `items`, `results`, `value`,
230
230
  the Settings user/tenant refresh does send both. So an application that puts
231
231
  authentication in front of `/.cratis/commands` and `/.cratis/queries` breaks
232
232
  those tabs while Settings may keep working. This is the default outside
233
- Development at Arc `22.75.0`. Run the app in **Development**, or knowingly set
233
+ Development. Run the app in **Development**, or knowingly set
234
234
  `Cratis:Arc:Introspection:RequireAuthentication=false` on an isolated development
235
235
  host; do not weaken production discovery for Lens.
236
- Evidence: [Lens introspection.ts:100–131](https://github.com/Cratis/Lens/blob/v0.0.1/Source/arc/introspection.ts#L100-L131).
236
+ Evidence: [Lens introspection.ts](https://github.com/Cratis/Lens/blob/main/Source/arc/introspection.ts).
237
237
 
238
238
  Queries are path-parameter GETs only: no query-string arguments, no paging or
239
239
  sorting inputs, and no observable subscription from the popup.