@cratis/pi 8.0.2 → 8.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (486) hide show
  1. package/package/corpus/harnesses/copilot/instructions/ai-distribution.instructions.md +9 -102
  2. package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +3 -5
  3. package/package/corpus/harnesses/copilot/instructions/browser.instructions.md +8 -49
  4. package/package/corpus/harnesses/copilot/instructions/code-health.instructions.md +1 -1
  5. package/package/corpus/harnesses/copilot/instructions/code-quality.csharp.instructions.md +3 -84
  6. package/package/corpus/harnesses/copilot/instructions/code-quality.instructions.md +6 -51
  7. package/package/corpus/harnesses/copilot/instructions/code-quality.typescript.instructions.md +4 -81
  8. package/package/corpus/harnesses/copilot/instructions/codescene.instructions.md +5 -54
  9. package/package/corpus/harnesses/copilot/instructions/components.instructions.md +1 -1
  10. package/package/corpus/harnesses/copilot/instructions/cratis-folder-is-configuration.instructions.md +5 -22
  11. package/package/corpus/harnesses/copilot/instructions/csharp.instructions.md +7 -315
  12. package/package/corpus/harnesses/copilot/instructions/dialogs.instructions.md +1 -1
  13. package/package/corpus/harnesses/copilot/instructions/discoverability.instructions.md +3 -25
  14. package/package/corpus/harnesses/copilot/instructions/documentation-structure-and-formatting.instructions.md +5 -151
  15. package/package/corpus/harnesses/copilot/instructions/documentation.instructions.md +5 -104
  16. package/package/corpus/harnesses/copilot/instructions/editing-cratis-docs.instructions.md +5 -63
  17. package/package/corpus/harnesses/copilot/instructions/efcore.instructions.md +8 -55
  18. package/package/corpus/harnesses/copilot/instructions/efcore.specs.instructions.md +3 -33
  19. package/package/corpus/harnesses/copilot/instructions/elixir.instructions.md +6 -79
  20. package/package/corpus/harnesses/copilot/instructions/exit-codes-and-wrappers.instructions.md +4 -27
  21. package/package/corpus/harnesses/copilot/instructions/framework-dotnet.instructions.md +4 -6
  22. package/package/corpus/harnesses/copilot/instructions/framework.instructions.md +0 -2
  23. package/package/corpus/harnesses/copilot/instructions/frontend-quality.instructions.md +0 -1
  24. package/package/corpus/harnesses/copilot/instructions/frontend-testing.instructions.md +1 -1
  25. package/package/corpus/harnesses/copilot/instructions/github-actions.instructions.md +7 -138
  26. package/package/corpus/harnesses/copilot/instructions/glossary.instructions.md +19 -19
  27. package/package/corpus/harnesses/copilot/instructions/go-engineering.instructions.md +1 -4
  28. package/package/corpus/harnesses/copilot/instructions/go.instructions.md +2 -7
  29. package/package/corpus/harnesses/copilot/instructions/guards-and-fuses.instructions.md +5 -6
  30. package/package/corpus/harnesses/copilot/instructions/java.instructions.md +7 -129
  31. package/package/corpus/harnesses/copilot/instructions/kotlin.instructions.md +8 -165
  32. package/package/corpus/harnesses/copilot/instructions/orleans.instructions.md +5 -98
  33. package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +9 -63
  34. package/package/corpus/harnesses/copilot/instructions/scripting.instructions.md +1 -1
  35. package/package/corpus/harnesses/copilot/instructions/specs.csharp.instructions.md +8 -148
  36. package/package/corpus/harnesses/copilot/instructions/specs.elixir.instructions.md +4 -37
  37. package/package/corpus/harnesses/copilot/instructions/specs.typescript.instructions.md +3 -1
  38. package/package/corpus/harnesses/copilot/instructions/storybook.instructions.md +7 -70
  39. package/package/corpus/harnesses/copilot/instructions/typescript.instructions.md +8 -98
  40. package/package/corpus/harnesses/copilot/instructions/writing-correct-examples.instructions.md +3 -47
  41. package/package/corpus/harnesses/copilot/instructions/writing-cratis-docs.instructions.md +3 -65
  42. package/package/corpus/hooks/README.md +4 -7
  43. package/package/corpus/hooks/scripts/quality-gates.json +3 -5
  44. package/package/corpus/rules/ai-distribution.md +9 -102
  45. package/package/corpus/rules/authoring-skills.md +3 -5
  46. package/package/corpus/rules/browser.md +8 -49
  47. package/package/corpus/rules/code-health-policy.txt +4 -24
  48. package/package/corpus/rules/code-health.md +1 -1
  49. package/package/corpus/rules/code-quality.csharp.md +3 -84
  50. package/package/corpus/rules/code-quality.md +6 -51
  51. package/package/corpus/rules/code-quality.typescript.md +4 -81
  52. package/package/corpus/rules/codescene.md +5 -54
  53. package/package/corpus/rules/components.md +1 -1
  54. package/package/corpus/rules/cratis-folder-is-configuration.md +5 -22
  55. package/package/corpus/rules/csharp.md +7 -315
  56. package/package/corpus/rules/dialogs.md +1 -1
  57. package/package/corpus/rules/discoverability.md +3 -25
  58. package/package/corpus/rules/documentation-structure-and-formatting.md +5 -151
  59. package/package/corpus/rules/documentation.md +5 -104
  60. package/package/corpus/rules/editing-cratis-docs.md +5 -63
  61. package/package/corpus/rules/efcore.md +8 -55
  62. package/package/corpus/rules/efcore.specs.md +3 -33
  63. package/package/corpus/rules/elixir.md +6 -79
  64. package/package/corpus/rules/exit-codes-and-wrappers.md +4 -27
  65. package/package/corpus/rules/framework-dotnet.md +4 -6
  66. package/package/corpus/rules/framework.md +0 -2
  67. package/package/corpus/rules/frontend-quality.md +0 -1
  68. package/package/corpus/rules/frontend-testing.md +1 -1
  69. package/package/corpus/rules/general.md +2 -2
  70. package/package/corpus/rules/github-actions.md +7 -138
  71. package/package/corpus/rules/glossary.md +19 -19
  72. package/package/corpus/rules/go-engineering.md +1 -4
  73. package/package/corpus/rules/go.md +2 -7
  74. package/package/corpus/rules/guards-and-fuses.md +5 -6
  75. package/package/corpus/rules/java.md +7 -129
  76. package/package/corpus/rules/kotlin.md +8 -165
  77. package/package/corpus/rules/orleans.md +5 -98
  78. package/package/corpus/rules/profiles.md +9 -63
  79. package/package/corpus/rules/scripting.md +1 -1
  80. package/package/corpus/rules/specs.csharp.md +8 -148
  81. package/package/corpus/rules/specs.elixir.md +4 -37
  82. package/package/corpus/rules/specs.typescript.md +3 -1
  83. package/package/corpus/rules/storybook.md +7 -70
  84. package/package/corpus/rules/typescript.md +8 -98
  85. package/package/corpus/rules/writing-correct-examples.md +3 -47
  86. package/package/corpus/rules/writing-cratis-docs.md +3 -65
  87. package/package/corpus/skills/cratis-application-growth/SKILL.md +7 -54
  88. package/package/corpus/skills/cratis-application-growth/references/move-and-untangle.md +49 -0
  89. package/package/corpus/skills/cratis-application-growth/references/rename-window.md +12 -14
  90. package/package/corpus/skills/cratis-application-growth/references/stages.md +2 -2
  91. package/package/corpus/skills/cratis-arc-authorize-request/SKILL.md +2 -2
  92. package/package/corpus/skills/cratis-arc-authorize-request/references/csharp.md +3 -3
  93. package/package/corpus/skills/cratis-arc-authorize-request/references/kotlin.md +2 -2
  94. package/package/corpus/skills/cratis-arc-code-analysis-typescript/SKILL.md +10 -43
  95. package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/rule-fixes.md +40 -0
  96. package/package/corpus/skills/cratis-arc-connect-storage/SKILL.md +1 -1
  97. package/package/corpus/skills/cratis-arc-connect-storage/references/csharp.md +1 -1
  98. package/package/corpus/skills/cratis-arc-declare-command/references/csharp.md +4 -4
  99. package/package/corpus/skills/cratis-arc-declare-command/references/go.md +1 -1
  100. package/package/corpus/skills/cratis-arc-declare-command/references/kotlin.md +6 -7
  101. package/package/corpus/skills/cratis-arc-declare-operation/SKILL.md +2 -8
  102. package/package/corpus/skills/cratis-arc-declare-operation/references/csharp.md +1 -1
  103. package/package/corpus/skills/cratis-arc-diagnose-live-query/SKILL.md +1 -1
  104. package/package/corpus/skills/cratis-arc-diagnose-live-query/references/csharp.md +1 -1
  105. package/package/corpus/skills/cratis-arc-expose-mcp-operation/SKILL.md +6 -12
  106. package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/custom-exposure-and-audit.md +4 -0
  107. package/package/corpus/skills/cratis-arc-expose-query/SKILL.md +2 -2
  108. package/package/corpus/skills/cratis-arc-expose-query/references/csharp.md +11 -4
  109. package/package/corpus/skills/cratis-arc-expose-query/references/typescript.md +1 -1
  110. package/package/corpus/skills/cratis-arc-generate-proxies/SKILL.md +2 -2
  111. package/package/corpus/skills/cratis-arc-generate-proxies/references/csharp.md +1 -1
  112. package/package/corpus/skills/cratis-arc-generate-proxies/references/go.md +19 -2
  113. package/package/corpus/skills/cratis-arc-generate-proxies/references/typescript.md +1 -1
  114. package/package/corpus/skills/cratis-arc-host-application/SKILL.md +1 -1
  115. package/package/corpus/skills/cratis-arc-host-application/references/csharp.md +1 -2
  116. package/package/corpus/skills/cratis-arc-host-application/references/elixir.md +2 -2
  117. package/package/corpus/skills/cratis-arc-host-application/references/go.md +5 -1
  118. package/package/corpus/skills/cratis-arc-host-application/references/java.md +1 -1
  119. package/package/corpus/skills/cratis-arc-host-application/references/kotlin.md +1 -1
  120. package/package/corpus/skills/cratis-arc-host-application/references/typescript.md +1 -1
  121. package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +4 -7
  122. package/package/corpus/skills/cratis-arc-invoke-command/SKILL.md +1 -1
  123. package/package/corpus/skills/cratis-arc-invoke-command/references/csharp.md +4 -4
  124. package/package/corpus/skills/cratis-arc-invoke-command/references/typescript.md +1 -1
  125. package/package/corpus/skills/cratis-arc-isolate-tenant/SKILL.md +2 -2
  126. package/package/corpus/skills/cratis-arc-isolate-tenant/references/csharp.md +2 -2
  127. package/package/corpus/skills/cratis-arc-isolate-tenant/references/elixir.md +1 -1
  128. package/package/corpus/skills/cratis-arc-isolate-tenant/references/java.md +1 -1
  129. package/package/corpus/skills/cratis-arc-isolate-tenant/references/kotlin.md +1 -1
  130. package/package/corpus/skills/cratis-arc-isolate-tenant/references/typescript.md +4 -2
  131. package/package/corpus/skills/cratis-arc-migrate-relational-schema/SKILL.md +6 -6
  132. package/package/corpus/skills/cratis-arc-page-query/SKILL.md +3 -3
  133. package/package/corpus/skills/cratis-arc-page-query/references/csharp.md +10 -6
  134. package/package/corpus/skills/cratis-arc-page-query/references/elixir.md +2 -2
  135. package/package/corpus/skills/cratis-arc-page-query/references/java.md +1 -1
  136. package/package/corpus/skills/cratis-arc-page-query/references/kotlin.md +1 -1
  137. package/package/corpus/skills/cratis-arc-react-bind-slice/SKILL.md +2 -2
  138. package/package/corpus/skills/cratis-arc-react-bind-slice/references/csharp.md +1 -1
  139. package/package/corpus/skills/cratis-arc-react-bind-slice/references/kotlin.md +1 -1
  140. package/package/corpus/skills/cratis-arc-react-separate-view-model/SKILL.md +7 -3
  141. package/package/corpus/skills/cratis-arc-react-separate-view-model/references/react-routing-and-messaging.md +1 -1
  142. package/package/corpus/skills/cratis-arc-select-backend-sdk/SKILL.md +2 -2
  143. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/elixir.md +2 -4
  144. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/go.md +2 -2
  145. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/java.md +1 -1
  146. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/kotlin.md +2 -2
  147. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/typescript.md +1 -3
  148. package/package/corpus/skills/cratis-arc-spring-data-kotlin/SKILL.md +13 -51
  149. package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/read-model-naming.md +9 -1
  150. package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/storage-boundaries.md +40 -0
  151. package/package/corpus/skills/cratis-arc-storage-typescript/SKILL.md +19 -64
  152. package/package/corpus/skills/cratis-arc-storage-typescript/references/drizzle.md +62 -0
  153. package/package/corpus/skills/cratis-arc-tenancy-typescript/SKILL.md +24 -55
  154. package/package/corpus/skills/cratis-arc-tenancy-typescript/references/tenant-selection.md +49 -0
  155. package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +13 -31
  156. package/package/corpus/skills/cratis-arc-testing-kotlin/references/jvm-scenario-variants.md +25 -0
  157. package/package/corpus/skills/cratis-arc-testing-typescript/SKILL.md +24 -62
  158. package/package/corpus/skills/cratis-arc-testing-typescript/references/hosts-and-runners.md +51 -0
  159. package/package/corpus/skills/cratis-arc-validate-command/SKILL.md +4 -4
  160. package/package/corpus/skills/cratis-arc-validate-command/references/csharp.md +10 -12
  161. package/package/corpus/skills/cratis-arc-validate-command/references/elixir.md +16 -3
  162. package/package/corpus/skills/cratis-arc-validate-command/references/go.md +19 -2
  163. package/package/corpus/skills/cratis-arc-validate-command/references/java.md +20 -7
  164. package/package/corpus/skills/cratis-arc-validate-command/references/kotlin.md +22 -2
  165. package/package/corpus/skills/cratis-arc-validate-command/references/python.md +8 -2
  166. package/package/corpus/skills/cratis-arc-validate-command/references/typescript.md +22 -2
  167. package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +22 -248
  168. package/package/corpus/skills/cratis-arc-validation-kotlin/references/feature-filters.md +55 -0
  169. package/package/corpus/skills/cratis-arc-validation-kotlin/references/model-validation.md +72 -0
  170. package/package/corpus/skills/cratis-arc-validation-kotlin/references/server-validators.md +86 -0
  171. package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +27 -275
  172. package/package/corpus/skills/cratis-arc-validation-typescript/references/models-and-queries.md +63 -0
  173. package/package/corpus/skills/cratis-arc-validation-typescript/references/rules-and-checks.md +46 -0
  174. package/package/corpus/skills/cratis-arc-validation-typescript/references/server-decisions.md +114 -0
  175. package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +15 -255
  176. package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +13 -6
  177. package/package/corpus/skills/cratis-chronicle-cli-operations/references/inspection.md +75 -0
  178. package/package/corpus/skills/cratis-chronicle-cli-operations/references/project-tooling.md +78 -13
  179. package/package/corpus/skills/cratis-chronicle-cli-operations/references/recovery-and-comparison.md +16 -14
  180. package/package/corpus/skills/cratis-chronicle-connect-application/SKILL.md +1 -1
  181. package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp.md +10 -6
  182. package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir.md +1 -1
  183. package/package/corpus/skills/cratis-chronicle-constrain-append/SKILL.md +2 -2
  184. package/package/corpus/skills/cratis-chronicle-constrain-append/references/csharp.md +8 -8
  185. package/package/corpus/skills/cratis-chronicle-deploy-kernel/SKILL.md +10 -8
  186. package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/storage.md +8 -4
  187. package/package/corpus/skills/cratis-chronicle-evolve-event/SKILL.md +4 -4
  188. package/package/corpus/skills/cratis-chronicle-evolve-event/references/csharp.md +2 -2
  189. package/package/corpus/skills/cratis-chronicle-evolve-event/references/deployed-readers.md +21 -8
  190. package/package/corpus/skills/cratis-chronicle-evolve-event/references/elixir.md +1 -1
  191. package/package/corpus/skills/cratis-chronicle-inspect-observer/SKILL.md +1 -1
  192. package/package/corpus/skills/cratis-chronicle-inspect-observer/references/csharp.md +5 -7
  193. package/package/corpus/skills/cratis-chronicle-inspect-observer/references/elixir.md +3 -3
  194. package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +10 -80
  195. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/blocked-tools.md +2 -2
  196. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/deployment.md +9 -24
  197. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +10 -0
  198. package/package/corpus/skills/cratis-chronicle-project-view/SKILL.md +2 -2
  199. package/package/corpus/skills/cratis-chronicle-project-view/references/csharp.md +7 -6
  200. package/package/corpus/skills/cratis-chronicle-project-view/references/elixir.md +2 -2
  201. package/package/corpus/skills/cratis-chronicle-project-view/references/go.md +6 -0
  202. package/package/corpus/skills/cratis-chronicle-project-view/references/java.md +6 -0
  203. package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin.md +6 -0
  204. package/package/corpus/skills/cratis-chronicle-project-view/references/typescript.md +11 -5
  205. package/package/corpus/skills/cratis-chronicle-protect-decision/SKILL.md +2 -2
  206. package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp.md +4 -4
  207. package/package/corpus/skills/cratis-chronicle-protect-decision/references/elixir.md +2 -2
  208. package/package/corpus/skills/cratis-chronicle-protect-decision/references/go.md +3 -1
  209. package/package/corpus/skills/cratis-chronicle-protect-personal-data/SKILL.md +1 -1
  210. package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/csharp.md +1 -1
  211. package/package/corpus/skills/cratis-chronicle-publish-contract/SKILL.md +1 -1
  212. package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp.md +51 -40
  213. package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir.md +1 -1
  214. package/package/corpus/skills/cratis-chronicle-react-to-fact/SKILL.md +1 -1
  215. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/{occurrences.md → csharp-occurrences.md} +2 -2
  216. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp.md +5 -6
  217. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/go.md +1 -1
  218. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/java.md +1 -1
  219. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/kotlin.md +1 -1
  220. package/package/corpus/skills/cratis-chronicle-record-event/SKILL.md +1 -1
  221. package/package/corpus/skills/cratis-chronicle-record-event/references/csharp.md +21 -19
  222. package/package/corpus/skills/cratis-chronicle-record-event/references/elixir.md +3 -3
  223. package/package/corpus/skills/cratis-chronicle-record-event/references/go.md +1 -1
  224. package/package/corpus/skills/cratis-chronicle-record-event/references/java.md +3 -4
  225. package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin.md +3 -4
  226. package/package/corpus/skills/cratis-chronicle-record-event/references/typescript.md +2 -2
  227. package/package/corpus/skills/cratis-chronicle-reduce-state/SKILL.md +1 -1
  228. package/package/corpus/skills/cratis-chronicle-reduce-state/references/csharp.md +7 -2
  229. package/package/corpus/skills/cratis-chronicle-reduce-state/references/typescript.md +1 -1
  230. package/package/corpus/skills/cratis-chronicle-select-client/SKILL.md +4 -4
  231. package/package/corpus/skills/cratis-chronicle-select-client/references/csharp.md +3 -3
  232. package/package/corpus/skills/cratis-chronicle-select-client/references/elixir.md +2 -6
  233. package/package/corpus/skills/cratis-chronicle-select-client/references/go.md +2 -2
  234. package/package/corpus/skills/cratis-chronicle-select-client/references/java.md +1 -1
  235. package/package/corpus/skills/cratis-chronicle-select-client/references/kotlin.md +1 -5
  236. package/package/corpus/skills/cratis-chronicle-select-client/references/python.md +3 -3
  237. package/package/corpus/skills/cratis-chronicle-select-client/references/typescript.md +2 -2
  238. package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +12 -201
  239. package/package/corpus/skills/cratis-chronicle-web-workbench/references/hosting.md +67 -0
  240. package/package/corpus/skills/cratis-chronicle-web-workbench/references/operations.md +88 -0
  241. package/package/corpus/skills/cratis-ci-pipeline-performance/SKILL.md +8 -4
  242. package/package/corpus/skills/cratis-ci-pipeline-performance/references/build-once-and-shard.md +13 -11
  243. package/package/corpus/skills/cratis-ci-pipeline-performance/references/caching.md +2 -2
  244. package/package/corpus/skills/cratis-ci-pipeline-performance/references/flaky-and-hung-jobs.md +6 -4
  245. package/package/corpus/skills/cratis-ci-pipeline-performance/references/required-checks-and-path-filters.md +20 -61
  246. package/package/corpus/skills/cratis-ci-pipeline-performance/references/security-and-pinning.md +1 -1
  247. package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +15 -26
  248. package/package/corpus/skills/cratis-code-review/SKILL.md +7 -6
  249. package/package/corpus/skills/cratis-commits-and-pull-requests/SKILL.md +1 -1
  250. package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-description.md +1 -1
  251. package/package/corpus/skills/cratis-components-accessibility/SKILL.md +14 -206
  252. package/package/corpus/skills/cratis-components-accessibility/references/control-labels.md +29 -0
  253. package/package/corpus/skills/cratis-components-accessibility/references/focus-and-announcements.md +8 -0
  254. package/package/corpus/skills/cratis-components-build-canvas/SKILL.md +7 -7
  255. package/package/corpus/skills/cratis-components-build-canvas/references/pixi-items.md +1 -1
  256. package/package/corpus/skills/cratis-components-choose-control/SKILL.md +7 -8
  257. package/package/corpus/skills/cratis-components-choose-control/references/collections.md +2 -2
  258. package/package/corpus/skills/cratis-components-choose-control/references/inputs.md +1 -1
  259. package/package/corpus/skills/cratis-components-compose-toolbar/SKILL.md +22 -27
  260. package/package/corpus/skills/cratis-components-compose-toolbar/references/contributed-tools.md +5 -0
  261. package/package/corpus/skills/cratis-components-coordinate-feedback/SKILL.md +19 -25
  262. package/package/corpus/skills/cratis-components-display-list/SKILL.md +26 -19
  263. package/package/corpus/skills/cratis-components-display-list/references/server-query.md +3 -3
  264. package/package/corpus/skills/cratis-components-edit-schema-data/SKILL.md +15 -12
  265. package/package/corpus/skills/cratis-components-edit-schema-data/references/controlled-editor.md +3 -3
  266. package/package/corpus/skills/cratis-components-explore-data/SKILL.md +7 -7
  267. package/package/corpus/skills/cratis-components-host-chat/SKILL.md +7 -7
  268. package/package/corpus/skills/cratis-components-submit-form/SKILL.md +9 -15
  269. package/package/corpus/skills/cratis-components-submit-form/references/confirmation.md +5 -5
  270. package/package/corpus/skills/cratis-components-submit-form/references/wizard.md +3 -3
  271. package/package/corpus/skills/cratis-components-theme-application/SKILL.md +7 -51
  272. package/package/corpus/skills/cratis-components-theme-application/references/palette.md +49 -0
  273. package/package/corpus/skills/cratis-components-theme-application/references/renderer-adapters.md +4 -2
  274. package/package/corpus/skills/cratis-content-length/SKILL.md +34 -46
  275. package/package/corpus/skills/cratis-content-length/references/length-evidence.md +26 -127
  276. package/package/corpus/skills/cratis-developer-marketing/SKILL.md +15 -27
  277. package/package/corpus/skills/cratis-developer-marketing/references/measurement.md +3 -19
  278. package/package/corpus/skills/cratis-developer-marketing/references/playbook-evidence.md +29 -224
  279. package/package/corpus/skills/cratis-discoverability/SKILL.md +11 -4
  280. package/package/corpus/skills/cratis-discoverability/references/package-metadata.md +2 -2
  281. package/package/corpus/skills/cratis-documentation-writing/SKILL.md +4 -3
  282. package/package/corpus/skills/cratis-engineering-ci-gates/SKILL.md +13 -129
  283. package/package/corpus/skills/cratis-engineering-ci-gates/references/gate-operation.md +132 -0
  284. package/package/corpus/skills/cratis-engineering-consolidation-guard/SKILL.md +11 -100
  285. package/package/corpus/skills/cratis-engineering-consolidation-guard/references/ci-required-check.md +55 -40
  286. package/package/corpus/skills/cratis-engineering-consolidation-guard/references/source-verification.md +68 -0
  287. package/package/corpus/skills/cratis-engineering-consolidation-guard/references/verification-details.md +38 -0
  288. package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +14 -65
  289. package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +40 -174
  290. package/package/corpus/skills/cratis-engineering-decision-record/SKILL.md +8 -52
  291. package/package/corpus/skills/cratis-engineering-decision-record/references/decision-pitfalls.md +29 -0
  292. package/package/corpus/skills/cratis-engineering-decision-record/references/decision-scope.md +20 -0
  293. package/package/corpus/skills/cratis-engineering-decision-record/references/record-format.md +3 -4
  294. package/package/corpus/skills/cratis-engineering-docs-authoring/SKILL.md +7 -12
  295. package/package/corpus/skills/cratis-engineering-docs-authoring/references/site-format.md +5 -4
  296. package/package/corpus/skills/cratis-engineering-effect-boundaries/SKILL.md +6 -40
  297. package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +18 -151
  298. package/package/corpus/skills/cratis-engineering-inherited-work/SKILL.md +5 -21
  299. package/package/corpus/skills/cratis-engineering-inherited-work/references/continue-inherited-work.md +19 -0
  300. package/package/corpus/skills/cratis-engineering-issue-design-note/SKILL.md +3 -66
  301. package/package/corpus/skills/cratis-engineering-issue-design-note/references/design-note-format.md +68 -0
  302. package/package/corpus/skills/cratis-engineering-issue-hygiene/SKILL.md +2 -84
  303. package/package/corpus/skills/cratis-engineering-issue-hygiene/references/issue-disposition.md +87 -0
  304. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/SKILL.md +15 -263
  305. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dependency-map.md +3 -3
  306. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/docker-images.md +28 -6
  307. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dotnet-nuget.md +18 -14
  308. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/helper-runbook.md +231 -0
  309. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/other-environments.md +2 -3
  310. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/worked-examples.md +62 -77
  311. package/package/corpus/skills/cratis-engineering-post-mortem/SKILL.md +6 -39
  312. package/package/corpus/skills/cratis-engineering-post-mortem/references/proportionate-follow-up.md +36 -0
  313. package/package/corpus/skills/cratis-engineering-regression-cluster/SKILL.md +4 -4
  314. package/package/corpus/skills/cratis-engineering-release-trains/SKILL.md +8 -134
  315. package/package/corpus/skills/cratis-engineering-release-trains/references/candidate-assembly.md +139 -0
  316. package/package/corpus/skills/cratis-engineering-review-rounds/SKILL.md +3 -100
  317. package/package/corpus/skills/cratis-engineering-review-rounds/references/round-handoffs.md +109 -0
  318. package/package/corpus/skills/cratis-environments-and-secrets/SKILL.md +1 -5
  319. package/package/corpus/skills/cratis-environments-and-secrets/references/environment-file.md +1 -3
  320. package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +11 -116
  321. package/package/corpus/skills/cratis-event-model-diagram/references/frame-patterns.md +93 -0
  322. package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +4 -15
  323. package/package/corpus/skills/cratis-fundamentals-name-value/SKILL.md +8 -8
  324. package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp.md +4 -4
  325. package/package/corpus/skills/cratis-fundamentals-name-value/references/elixir.md +1 -1
  326. package/package/corpus/skills/cratis-fundamentals-name-value/references/go.md +1 -1
  327. package/package/corpus/skills/cratis-fundamentals-name-value/references/java.md +5 -5
  328. package/package/corpus/skills/cratis-fundamentals-name-value/references/kotlin.md +15 -2
  329. package/package/corpus/skills/cratis-fundamentals-name-value/references/python.md +1 -1
  330. package/package/corpus/skills/cratis-fundamentals-name-value/references/typescript.md +1 -1
  331. package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +10 -27
  332. package/package/corpus/skills/cratis-fundamentals-telemetry/references/otlp-export.md +16 -0
  333. package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +26 -188
  334. package/package/corpus/skills/cratis-fundamentals-type-discovery/references/diagnostics.md +14 -0
  335. package/package/corpus/skills/cratis-governed-release-methodology/SKILL.md +7 -5
  336. package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +23 -157
  337. package/package/corpus/skills/cratis-lens-browser-extension/references/troubleshooting.md +139 -0
  338. package/package/corpus/skills/cratis-llm-friendly-documentation/SKILL.md +7 -5
  339. package/package/corpus/skills/cratis-modeling-design-event-model/SKILL.md +2 -4
  340. package/package/corpus/skills/cratis-modeling-design-event-model/references/model-first.md +7 -0
  341. package/package/corpus/skills/cratis-modeling-discover-timeline/SKILL.md +2 -2
  342. package/package/corpus/skills/cratis-modeling-discover-timeline/references/group-and-document-intake.md +1 -1
  343. package/package/corpus/skills/cratis-modeling-review-event-model/SKILL.md +2 -2
  344. package/package/corpus/skills/cratis-modeling-review-event-model/references/implementation-findings.md +2 -2
  345. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/SKILL.md +5 -23
  346. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/compare-evidence.md +20 -0
  347. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/recovery-inputs.md +3 -3
  348. package/package/corpus/skills/cratis-multi-service-local-orchestration/SKILL.md +8 -63
  349. package/package/corpus/skills/cratis-multi-service-local-orchestration/references/aspire.md +52 -0
  350. package/package/corpus/skills/cratis-observability/SKILL.md +1 -1
  351. package/package/corpus/skills/cratis-observability/references/arc-and-chronicle-signals.md +9 -23
  352. package/package/corpus/skills/cratis-observability/references/chronicle-kernel-export.md +3 -14
  353. package/package/corpus/skills/cratis-observability/references/csharp.md +4 -6
  354. package/package/corpus/skills/cratis-observability/references/elixir.md +1 -1
  355. package/package/corpus/skills/cratis-observability/references/troubleshooting.md +4 -5
  356. package/package/corpus/skills/cratis-onboarding-runtime/SKILL.md +1 -4
  357. package/package/corpus/skills/cratis-onboarding-runtime/references/default-offering.md +0 -3
  358. package/package/corpus/skills/cratis-onboarding-runtime/references/sign-up-review.md +0 -4
  359. package/package/corpus/skills/cratis-orchestration-lanes/SKILL.md +7 -49
  360. package/package/corpus/skills/cratis-orchestration-lanes/references/escalation.md +22 -0
  361. package/package/corpus/skills/cratis-orchestration-lanes/references/inbox-and-handover.md +4 -4
  362. package/package/corpus/skills/cratis-orchestration-lanes/references/placeholders.md +1 -1
  363. package/package/corpus/skills/cratis-orchestration-lanes/references/roles.md +12 -0
  364. package/package/corpus/skills/cratis-orchestration-lanes/references/roll-call.md +12 -0
  365. package/package/corpus/skills/cratis-orchestration-lanes/references/worktrees.md +10 -0
  366. package/package/corpus/skills/cratis-orchestration-merge-gates/SKILL.md +14 -13
  367. package/package/corpus/skills/cratis-orchestration-merge-gates/references/merge-queue.md +51 -26
  368. package/package/corpus/skills/cratis-orchestration-merge-gates/references/unattended-guards.md +8 -14
  369. package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +9 -65
  370. package/package/corpus/skills/cratis-orleans-jobs/references/activation-callbacks.md +5 -0
  371. package/package/corpus/skills/cratis-orleans-jobs/references/lifecycle-and-placement.md +11 -7
  372. package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +1 -1
  373. package/package/corpus/skills/cratis-orleans-jobs/references/step-planning.md +27 -0
  374. package/package/corpus/skills/cratis-orleans-jobs/references/storage-and-options.md +35 -0
  375. package/package/corpus/skills/cratis-performance-review/SKILL.md +6 -76
  376. package/package/corpus/skills/cratis-performance-review/references/review-checklist.md +79 -0
  377. package/package/corpus/skills/cratis-platform-configure-environment/SKILL.md +19 -16
  378. package/package/corpus/skills/cratis-platform-contribute-change/SKILL.md +2 -2
  379. package/package/corpus/skills/cratis-platform-deliver-slice/SKILL.md +5 -5
  380. package/package/corpus/skills/cratis-platform-deliver-slice/references/coordinate-slices.md +1 -1
  381. package/package/corpus/skills/cratis-platform-diagnose-slice/SKILL.md +2 -3
  382. package/package/corpus/skills/cratis-platform-prepare-release-pr/SKILL.md +2 -2
  383. package/package/corpus/skills/cratis-platform-start-application/SKILL.md +10 -8
  384. package/package/corpus/skills/cratis-platform-start-application/references/csharp.md +6 -6
  385. package/package/corpus/skills/cratis-platform-start-application/references/java.md +4 -4
  386. package/package/corpus/skills/cratis-platform-start-application/references/kotlin.md +4 -4
  387. package/package/corpus/skills/cratis-platform-verify-service-handoff/SKILL.md +3 -3
  388. package/package/corpus/skills/cratis-release-notes/SKILL.md +9 -133
  389. package/package/corpus/skills/cratis-release-notes/references/channel-guidance.md +59 -0
  390. package/package/corpus/skills/cratis-release-notes/references/publish-repair.md +64 -0
  391. package/package/corpus/skills/cratis-rtk/SKILL.md +12 -18
  392. package/package/corpus/skills/cratis-screenplay-accept-model/SKILL.md +3 -3
  393. package/package/corpus/skills/cratis-screenplay-accept-model/references/capability-consumption.md +1 -1
  394. package/package/corpus/skills/cratis-screenplay-accept-model/references/coverage-obligations.md +1 -1
  395. package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/SKILL.md +25 -59
  396. package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/onboarding-directives.md +11 -10
  397. package/package/corpus/skills/cratis-screenplay-author-extension/SKILL.md +9 -6
  398. package/package/corpus/skills/cratis-screenplay-author-extension/references/consume.md +3 -3
  399. package/package/corpus/skills/cratis-screenplay-author-extension/references/stage-candidate.md +8 -0
  400. package/package/corpus/skills/cratis-screenplay-availability/SKILL.md +20 -167
  401. package/package/corpus/skills/cratis-screenplay-availability/references/complete-example.md +23 -47
  402. package/package/corpus/skills/cratis-screenplay-availability/references/review-checks.md +9 -10
  403. package/package/corpus/skills/cratis-screenplay-availability/references/runtime-ownership.md +26 -23
  404. package/package/corpus/skills/cratis-screenplay-declare-slice/SKILL.md +6 -14
  405. package/package/corpus/skills/cratis-screenplay-declare-slice/references/projection-replay.md +2 -2
  406. package/package/corpus/skills/cratis-screenplay-declare-slice/references/read-identity.md +1 -1
  407. package/package/corpus/skills/cratis-screenplay-edit-workspace/SKILL.md +7 -9
  408. package/package/corpus/skills/cratis-screenplay-edit-workspace/references/model-notes.md +1 -1
  409. package/package/corpus/skills/cratis-screenplay-handoff-slice/SKILL.md +10 -14
  410. package/package/corpus/skills/cratis-screenplay-model-automation/SKILL.md +1 -1
  411. package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-boundaries.md +1 -1
  412. package/package/corpus/skills/cratis-screenplay-model-interaction/SKILL.md +6 -31
  413. package/package/corpus/skills/cratis-screenplay-model-interaction/references/shell-and-data.md +22 -0
  414. package/package/corpus/skills/cratis-screenplay-model-translation/SKILL.md +5 -5
  415. package/package/corpus/skills/cratis-screenplay-onboard-workspace/SKILL.md +5 -5
  416. package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/version-migration.md +4 -4
  417. package/package/corpus/skills/cratis-screenplay-recover-intent/SKILL.md +2 -2
  418. package/package/corpus/skills/cratis-screenplay-recover-intent/references/csharp.md +2 -2
  419. package/package/corpus/skills/cratis-screenplay-recover-intent/references/ground-truth-benchmark.md +1 -1
  420. package/package/corpus/skills/cratis-screenplay-specify-outcome/SKILL.md +4 -75
  421. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/host-body-execution.md +0 -2
  422. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/observable-result.md +85 -1
  423. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/query-rejections.md +1 -1
  424. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +15 -133
  425. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +5 -5
  426. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +4 -12
  427. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +28 -57
  428. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +4 -5
  429. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +13 -20
  430. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/multi-service-models.md +1 -1
  431. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/neighbouring-skills.md +1 -1
  432. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/read-model-keys.md +3 -5
  433. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-id-rules.md +2 -0
  434. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +5 -5
  435. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +82 -71
  436. package/package/corpus/skills/cratis-security-review/SKILL.md +4 -73
  437. package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +24 -13
  438. package/package/corpus/skills/cratis-security-review/references/review-checklist.md +74 -0
  439. package/package/corpus/skills/cratis-session-handoff/SKILL.md +7 -32
  440. package/package/corpus/skills/cratis-session-handoff/references/handoff-template.md +2 -2
  441. package/package/corpus/skills/cratis-session-handoff/references/session-hygiene.md +20 -0
  442. package/package/corpus/skills/cratis-showrunner-herald/SKILL.md +9 -17
  443. package/package/corpus/skills/cratis-showrunner-herald/references/options.md +2 -2
  444. package/package/corpus/skills/cratis-showrunner-herald/references/templates-and-images.md +16 -10
  445. package/package/corpus/skills/cratis-social-feed-post/SKILL.md +9 -162
  446. package/package/corpus/skills/cratis-social-feed-post/references/asset-and-formatting.md +37 -0
  447. package/package/corpus/skills/cratis-social-feed-post/references/editorial-checks.md +40 -0
  448. package/package/corpus/skills/cratis-social-feed-post/references/engagement-evidence.md +39 -150
  449. package/package/corpus/skills/cratis-social-feed-post/references/linkedin-media.md +24 -0
  450. package/package/corpus/skills/cratis-social-feed-post/references/other-channels.md +23 -0
  451. package/package/corpus/skills/cratis-specifications-exercise-backend/SKILL.md +5 -5
  452. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-command-results.md +2 -2
  453. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-query-scenario.md +13 -5
  454. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp.md +7 -4
  455. package/package/corpus/skills/cratis-specifications-exercise-backend/references/elixir.md +1 -1
  456. package/package/corpus/skills/cratis-specifications-exercise-backend/references/go.md +20 -4
  457. package/package/corpus/skills/cratis-specifications-exercise-backend/references/typescript.md +1 -1
  458. package/package/corpus/skills/cratis-specifications-isolate-behavior/SKILL.md +2 -2
  459. package/package/corpus/skills/cratis-specifications-observe-ui/SKILL.md +5 -5
  460. package/package/corpus/skills/cratis-specifications-test-application-ui/SKILL.md +2 -2
  461. package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-command-results.md +2 -2
  462. package/package/corpus/skills/cratis-specifications-test-typescript-behavior/SKILL.md +2 -2
  463. package/package/corpus/skills/cratis-stage-render-slice/SKILL.md +10 -9
  464. package/package/corpus/skills/cratis-stage-run-sandbox/SKILL.md +3 -3
  465. package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-spec-runner.md +7 -6
  466. package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +4 -6
  467. package/package/corpus/skills/cratis-technical-examples/SKILL.md +10 -106
  468. package/package/corpus/skills/cratis-technical-examples/references/csharp-package-checks.md +1 -1
  469. package/package/corpus/skills/cratis-technical-examples/references/source-and-format.md +42 -0
  470. package/package/corpus/skills/cratis-technical-examples/references/typescript-package-checks.md +2 -2
  471. package/package/corpus/skills/cratis-technical-examples/references/verification-scope.md +37 -0
  472. package/package/corpus/skills/cratis-ux-review/SKILL.md +8 -40
  473. package/package/corpus/skills/cratis-ux-review/references/capture-contract.md +24 -0
  474. package/package/corpus/skills/cratis-ux-review/references/checklist.md +1 -1
  475. package/package/corpus/skills/cratis-ux-review/references/report-template.md +2 -1
  476. package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +19 -132
  477. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/ai-tells.md +24 -97
  478. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/author-and-batch.md +23 -0
  479. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/documentation-evidence.md +25 -0
  480. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/interpretation.md +17 -0
  481. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/stock-constructions.md +23 -0
  482. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/voice-guidance.md +8 -29
  483. package/package.json +1 -1
  484. /package/package/corpus/skills/cratis-chronicle-protect-decision/references/{standalone.md → csharp-standalone.md} +0 -0
  485. /package/package/corpus/skills/cratis-engineering-post-mortem/references/{examples/silent-backup-failure.md → silent-backup-failure.md} +0 -0
  486. /package/package/corpus/skills/cratis-engineering-post-mortem/references/{examples/unintended-release-regression.md → unintended-release-regression.md} +0 -0
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-llm-friendly-documentation
3
- description: Use when designing or reviewing llms.txt, Markdown mirrors, bounded documentation exports or retrieval quality. Not for general SEO metadata or a page's human-facing narrative.
3
+ description: Use when designing or reviewing llms.txt, Markdown mirrors, bounded documentation exports or retrieval quality. Not for general search metadata and indexing (use cratis-discoverability).
4
4
  license: MIT
5
5
  ---
6
6
 
@@ -62,10 +62,9 @@ behavior or general model quality.
62
62
  counts as estimates for a named tokenizer or approximation, not universal
63
63
  limits. Split oversized sets instead of silently truncating them.
64
64
  6. Let an assistant that landed on a rendered page find that page's own
65
- Markdown without going back through the index, at a stable URL. Inspect
66
- whether that URL carries rendered prose or raw synchronized MDX, label a
67
- raw mirror honestly, and propose a rendered export as a separate site
68
- change rather than claiming the current mirror provides one.
65
+ Markdown at a stable URL. The Cratis site emits `.md` mirrors from its
66
+ source and strips MDX syntax; that is not proof of parity with rendered
67
+ HTML. Check component content and language choices in the built mirror.
69
68
 
70
69
  Cratis's own consumers are Prompter (the Discord documentation assistant),
71
70
  Chronicle MCP, and developers' coding agents. A page that shows every client
@@ -102,6 +101,9 @@ to make the export smaller.
102
101
  discovery through the site/root index and robots/sitemap policy without
103
102
  claiming that public accessibility guarantees indexing by any AI vendor.
104
103
 
104
+ Use `cratis-discoverability` for general search metadata and
105
+ `cratis-documentation-writing` for the human-facing page structure.
106
+
105
107
  Report the output URLs, what representation they carry, measured scope, and
106
108
  checks actually run. Never count a static file-presence check as proof that an
107
109
  assistant can retrieve the correct answer.
@@ -14,9 +14,7 @@ Start with one outcome someone needs and the request or trigger that starts it.
14
14
  - **Automation:** Which local fact, schedule or application signal calls for follow-up? Name the addressed target and effect: invoke a command if a decision remains, or record an already known fact. For example, a local `DirectoryAuthorSeen` triggers a welcome request for that author, not proof of delivery.
15
15
  - **Translate:** Which vocabulary boundary does the data cross? Inbound, map a stable outside key and meaningful change to a local fact. If the Directory supplies the Library author ID, its first observation of Aster can produce `DirectoryAuthorSeen` on that author's history; an identical observation can succeed without appending. Keep the welcome separate. Outbound, map private `AuthorRegistered` to one public `AuthorPublished` contract, retaining the author's key and name; transport is a separate check.
16
16
 
17
- An `optional` property permits absence on the fact, not a second outcome when the owner expects a different decision. The bundled Cratis renderer can refuse an optional event payload property that source validation accepts. Keep the owner's meaning; choose the correct fact rather than filling a required field with a fabricated value. Name that decision separately. If two facts always follow unconditionally from the same decision, keep them as productions of that decision. Do not invent a reaction between them. For a genuinely conditional follow-up, name the triggering occurrence, state consulted, condition and outcome. Ask “when would this not happen?” to find a refusal or a successful no-op. Ask “could two be in progress?” before choosing a single-instance view.
18
-
19
- When recording the agreed values in Screenplay, a primitive-backed concept names one `Uuid`, `String`, `Int`, `Decimal`, `Bool`, `Date` or `DateTime` value. Use names that distinguish equal-looking IDs with different owners. Mark personal data on the concept with `pii` and document why the classification applies. Identify the person the data concerns separately from the stream address. A classification does not by itself establish lawful use or successful erasure.
17
+ Keep facts that always follow from one decision as productions of that decision. For conditional follow-up, name the trigger, state, condition and outcome. Ask what can be refused, succeed unchanged or overlap before choosing the facts and view.
20
18
 
21
19
  ## Test the decision with the owner
22
20
 
@@ -28,6 +26,6 @@ Turn feedback into a contrasting example before changing the rule. [Review one s
28
26
 
29
27
  **Code-first by default.** Take accepted examples directly to deliver the slice (`cratis-platform-deliver-slice` skill in `cratis/application`): declare the event type, implement the Arc decision, project and query the view, and connect the UI as applicable. No `.play` file, export, handoff or Stage required.
30
28
 
31
- **Model-first only** when the `general` rule (Approval is not execution) selects it after checking opt-in and frozen status. Use the skills from `cratis/screenplay` to open the workspace (`cratis-screenplay-onboard-workspace` skill). Declare commands, facts and views (`cratis-screenplay-declare-slice` skill) as needed; for interactive work, bind the gesture, form or read (`cratis-screenplay-model-interaction` skill). For system work, model the local reaction (`cratis-screenplay-model-automation` skill) or boundary translation (`cratis-screenplay-model-translation` skill) without inventing a screen. Specify the outcome (`cratis-screenplay-specify-outcome` skill), obtain acceptance for the exact revision (`cratis-screenplay-accept-model` skill), then hand off the slice (`cratis-screenplay-handoff-slice` skill). For changes, revise and recheck (`cratis-screenplay-edit-workspace` skill) before seeking acceptance again. With separate authorization, render with Stage (`cratis-stage-render-slice` skill in `cratis/stage`) or implement manually (`cratis-platform-deliver-slice` skill in `cratis/application`).
29
+ **Choose model-first delivery when** the `general` rule in `cratis/application` selects it after checking opt-in and frozen status. Use the [Screenplay handoff steps](references/model-first.md).
32
30
 
33
31
  **Hand over:** slice name and kind, intent or trigger, addressed identity, field origins, event type and payload where applicable, read result or follow-up, agreed contrasting examples, dependent slices, owner and remaining assumptions. Acceptance records a domain decision, not permission to execute. On either path, verify the event schema, target identity and observable outcome on the authorized target, not just generated files or model results.
@@ -0,0 +1,7 @@
1
+ # Specify an accepted Screenplay handoff
2
+
3
+ Use the skills from `cratis/screenplay` to open the workspace (`cratis-screenplay-onboard-workspace` skill). Declare commands, facts and views (`cratis-screenplay-declare-slice` skill) as needed; for interactive work, bind the gesture, form or read (`cratis-screenplay-model-interaction` skill). For system work, model the local reaction (`cratis-screenplay-model-automation` skill) or boundary translation (`cratis-screenplay-model-translation` skill) without inventing a screen. Specify the outcome (`cratis-screenplay-specify-outcome` skill), obtain acceptance for the exact revision (`cratis-screenplay-accept-model` skill), then hand off the slice (`cratis-screenplay-handoff-slice` skill). For changes, revise and recheck (`cratis-screenplay-edit-workspace` skill) before seeking acceptance again. With separate authorization, render with Stage (`cratis-stage-render-slice` skill in `cratis/stage`) or implement manually (`cratis-platform-deliver-slice` skill in `cratis/application`).
4
+
5
+ Screenplay `optional` permits absence on the fact. A render plan can refuse a property shape the model accepts. Verify Stage target support with a read-only render check; do not invent a required value or change an agreed rule to get a plan.
6
+
7
+ When recording the agreed values in Screenplay, a primitive-backed concept names one `Uuid`, `String`, `Int`, `Decimal`, `Bool`, `Date` or `DateTime` value. Use names that distinguish equal-looking IDs with different owners. Mark personal data on the concept with `pii` and document why the classification applies. Identify the person the data concerns separately from the stream address. A classification does not by itself establish lawful use or successful erasure.
@@ -11,11 +11,11 @@ If the starting point is code, [trace existing behavior](../cratis-modeling-trac
11
11
  2. **Collect facts before ordering them.** Ask what became true during that instance. Write candidate facts in the past tense: “author registered,” not “register author.” Keep questions separate. Broaden the account only when another fact or outcome distinguishes a path that matters to the owner.
12
12
  3. **Put the facts in story order.** Ask which earlier fact made each later step possible. Mark independent steps that can overlap or happen in either order. Where outcomes differ, note the condition that selects the branch, or mark it unknown. Story order implies neither a single transaction nor guaranteed order across histories.
13
13
  4. **Fill in what happened between facts.** What did the person know or see, what did they request, and what did they see next? If nobody acted, name the trigger, such as a schedule or an outside notification. Distinguish the request from its outcome: pressing a button does not establish a business fact.
14
- 5. **Locate each fact.** Name the business boundary that owns its meaning and the specific instance whose history changes (the event source ID). The caller need not be that instance. Look for changes in vocabulary or decision authority, not database tables, pages or reporting lines. One storyline can cross several features.
14
+ 5. **Locate each fact.** Name the business boundary that owns its meaning and the specific instance whose history changes (the event source ID). The caller need not be that instance. Keep personal identifiers out of the history address; use a stable surrogate when necessary. Look for changes in vocabulary or decision authority, not database tables, pages or reporting lines. One storyline can cross several features.
15
15
 
16
16
  Before calling the story complete, ask what else can start it, who can change their mind, what can fail or time out, and what happens on a repeat or after the apparent end. For each material branch, record a fact, a question, a deliberate exclusion or why it cannot occur. Separate stated rules from inference and assumptions. Preserve thresholds and deadlines verbatim with their source; present contradictions to the owner rather than averaging them.
17
17
 
18
- For a multi-person workshop or a tender/policy package, use [group and document intake](references/group-and-document-intake.md) before the handoff.
18
+ **Choose workshop intake when** several participants must reconcile their accounts. **Choose document intake when** a tender or policy package supplies the evidence. Use [group and document intake](references/group-and-document-intake.md) before the handoff.
19
19
 
20
20
  ## Read back the timeline
21
21
 
@@ -1,5 +1,5 @@
1
1
  # Group and document intake
2
2
 
3
- **Workshop:** Name a facilitator to guide the rounds, a scribe to record facts and unresolved questions, and a decision owner to resolve them. Before comparing accounts, ask participants who performed or received the work to note independently what changed in the same instance. If accounts differ, ask for an instance that distinguishes them. Use the timeline steps: facts first, then order, then triggers, information and exceptions. At the end of each round, play it back to the decision owner; correct it or log the disagreement with an owner and next question. Keep one running unresolved list rather than treating silence as agreement.
3
+ **Workshop:** Name a facilitator to guide the rounds, a scribe to record facts and unresolved questions, and a decision owner to resolve them. Before comparing accounts, ask participants who performed or received the work to note independently what changed in the same instance. If accounts differ, ask for an instance that distinguishes them. Use the timeline steps: facts first, then order, then triggers, information and exceptions. At the end of each round, read the timeline back to the decision owner; correct it or log the disagreement with an owner and next question. Keep one running unresolved list rather than treating silence as agreement.
4
4
 
5
5
  **Document package:** Make a fact ledger for a tender, policy or requirements package. Give each fact an ID, a document and section locator, and certainty (**stated**, **inferred** or **assumed**). Follow the discovery guidance on verbatim thresholds; link contradictory rows by ID. Before design handoff give every row a disposition: **modeled in** (name the timeline step or slice), **excluded deliberately** (record the owner's reason), or **open** (name the decision needed and owner). Distinguish who must comply from who enforces the obligation: a bidder must submit by noon, but if the external portal closes submissions, do not invent a local refusal without an agreed application rule.
@@ -16,6 +16,6 @@ Report findings in order of consequence. Name the affected element, distinguish
16
16
 
17
17
  > **RegisterAuthor — blank name accepted.** The agreed example requires refusal with no append. The form blocks submission, but the supplied server request result and event history show a blank name accepted and recorded. A caller outside the form can therefore register an unnamed author. Keep the form feedback; enforce the name rule on the server command (`cratis-arc-validate-command` skill in `cratis/arc`).
18
18
 
19
- If intent, guard or destination is unknown, ask one question that would settle it. A suspicious name alone is not a finding. If nothing consequential emerges, report “no findings in the examined path” and name what was not examined. A review does not confer acceptance: report without editing, running mutations or requiring new specifications.
19
+ If intent, guard or destination is unknown, ask one question that would settle it. A suspicious name alone is not a finding. If nothing consequential emerges, report “no findings in the examined path” and name what was not examined. A review does not confer acceptance: report findings without making changes. Recommend an executable contrasting example when evidence is missing, but obtain approval before implementing or running a mutation.
20
20
 
21
- If the question is what still works when a dependency or business condition changes, run the optional [read-only resilience review](references/resilience-review.md).
21
+ **Choose a resilience review when** the question is what still works when a dependency or business condition changes. Run the [read-only resilience review](references/resilience-review.md).
@@ -6,7 +6,7 @@
6
6
 
7
7
  **One copy left.** Two borrowers can each see one copy in a display query. If their appends do not check for intervening stock changes, both can take it. Inspect the read used to decide, its key, the events that change availability and the guard actually applied at commit:
8
8
 
9
- - In Arc/.NET with Chronicle, an eligible read-model parameter in a command validator constructor or handler can protect the decision under effective read protection `On`. Check that the read is not marked unprotected. If it guards the right book and stock-changing events, using a read model is not a defect.
9
+ - In Arc/.NET with Chronicle, an eligible read-model parameter in a command validator constructor or command handler can protect the decision under effective read protection `On`. Check that the read is not marked unprotected. If it guards the right book and stock-changing events, using a read model is not a defect.
10
10
  - In standalone Chronicle, even a passive read alone is not a guard. Bind the stock decision to the append (`cratis-chronicle-protect-decision` skill in `cratis/chronicle`) so a competing change refuses the borrowing. If the guard is not visible, ask which append guard covers this book before reporting a race.
11
11
  - If the actual rule is uniqueness or creation at most once, use an append-time kernel constraint (`cratis-chronicle-constrain-append` skill in `cratis/chronicle`). A successful preflight check cannot reserve the value.
12
12
 
@@ -14,7 +14,7 @@
14
14
 
15
15
  **Rebuilding the list sends a welcome.** If the mapping that reconstructs the Authors view calls the mail service, rebuilding that answer can contact authors again. Keep the projection responsible for the view (`cratis-chronicle-project-view` skill in `cratis/chronicle`); put the intentional external effect in a reaction to the committed fact (`cratis-chronicle-react-to-fact` skill in `cratis/chronicle`).
16
16
 
17
- **Retry sends a second welcome.** The receiver accepts the first request, but the handler fails before recording success. `OnceOnly` controls replay, not ordinary recovery; a fresh request ID on recovery also hides the duplicate from the receiver. If only one welcome is intended, reuse a stable delivery identity (`cratis-chronicle-react-to-fact` skill in `cratis/chronicle`) that the receiver deduplicates, or record a receipt atomically with the effect. Writing a receipt after a separate external call leaves the same failure window.
17
+ **Retry sends a second welcome.** The receiver accepts the first request, but the handler fails before recording success. `OnceOnly` skips delivery during replay, not ordinary recovery; a fresh request ID on recovery also hides the duplicate from the receiver. If only one welcome is intended, reuse a stable delivery identity (`cratis-chronicle-react-to-fact` skill in `cratis/chronicle`) that the receiver deduplicates, or record a receipt atomically with the effect. Writing a receipt after a separate external call leaves the same failure window.
18
18
 
19
19
  ## Will stored history still mean what it did?
20
20
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-modeling-trace-existing-behavior
3
- description: Use when an existing application with source or shipped evidence needs a candidate event model, or its behavior must be compared with an agreed model. Not for inferring intent from a recording.
3
+ description: Use when an existing application with source or shipped evidence needs a candidate event model, or its behavior must be compared with an accepted baseline. Not for recovering candidate Screenplay intent from recordings (use cratis-screenplay-recover-intent).
4
4
  ---
5
5
 
6
6
  # Trace one journey through existing code
@@ -9,10 +9,9 @@ Let the user choose a journey with a start and a result, such as a librarian reg
9
9
 
10
10
  ## Choose the mode
11
11
 
12
- - **Reconstruct current behavior.** Without an agreed baseline, trace the journey as implemented. Propose candidate slices and business facts separately from the implementation. Do not claim that anything changed since an earlier revision.
13
- - **Compare with a baseline.** Identify the accepted examples or the named model revision, its acceptance status and the code revision being inspected. Note any included uncommitted changes. Compare the same actor, inputs, address and outcome on each side. If the actual code change range is known, use it to focus inspection, then follow affected callers and consumers beyond the diff. A difference does not decide which side should change.
14
-
15
- - **Reconstruct without source.** When shipped artifacts or captured interface evidence are all that is available, use [black-box intake and rebuild replay](references/blackbox-intake.md).
12
+ - **Default: reconstruct current behavior.** Without an agreed baseline, trace the journey as implemented. Propose candidate slices and business facts separately from the implementation. Do not claim that anything changed since an earlier revision.
13
+ - **Choose baseline comparison when** an accepted description exists. Identify the accepted examples or the named model revision, its acceptance status and the code revision being inspected. Note any included uncommitted changes. Compare the same actor, inputs, address and outcome on each side. If the actual code change range is known, use it to focus inspection, then follow affected callers and consumers beyond the diff. A difference does not decide which side should change.
14
+ - **Choose black-box reconstruction when** only shipped artifacts or captured interface evidence are available. Use [black-box intake and rebuild replay](references/blackbox-intake.md).
16
15
 
17
16
  On a later pass, [resume from a recorded evidence watermark](references/resuming-a-trace.md). Only when replacing the legacy system incrementally, use [side-car migration](references/side-car-migration.md).
18
17
 
@@ -25,25 +24,8 @@ On a later pass, [resume from a recorded evidence watermark](references/resuming
25
24
 
26
25
  Stay within the authorized system and material. A reconstruction from public material is plausible, not proof of the private workflow. Inspect statically before proposing a run; a live write needs separate approval for the target and action. Do not bypass access controls to fill an evidence gap.
27
26
 
28
- | Signal | What to trace before naming the slice |
29
- | --- | --- |
30
- | One gesture sends several requests or updates several tables | Find the decisions and transaction boundaries. Neither request count nor table count tells you how many business facts occurred. |
31
- | Generic update route | Compare its callers: correcting a spelling and transferring ownership may have different actors, rules and outcomes. |
32
- | A successful submission | Look for the actual uniqueness or duplicate-request rule. One success proves neither. Distinguish authenticated identity from editable form data. |
33
- | Mock or seeded row | Treat the test as a hypothesis. Find the production path that could produce this state before proposing any history as `given`. |
34
-
35
- Match the evidence to the enforcement point. Preserve the observed refusal text in `then error` for a `validate` or `require` rule; for authorization use `authorize` and `then denied`. A unique index is a candidate for an append-time constraint: find **every** fact that sets or changes the value before writing the rule. After acceptance, compare only the bounded revision or traffic interval in question. Reopen a slice when the command, message, access rule, fact or returned field changed. Moving unchanged logic into a new file changes the evidence location, not necessarily the model.
27
+ For ambiguous signals, enforcement points or a worked baseline comparison, use [compare evidence](references/compare-evidence.md).
36
28
 
37
29
  If static inspection leaves a gap and the owner proposes a generator or captured traffic, [check what the recovery tool may run or disclose](references/recovery-inputs.md) first.
38
30
 
39
- ## Example: compare Library registration and listing
40
-
41
- Suppose the agreed examples require registration for Aster and refusal for a blank name. Use one table by slice and example. Mark each comparison **matched**, **changed** (different outcomes), **missing from model**, **missing from implementation** or **unverified**. In reconstruction, replace the baseline and status with candidate meaning; there is nothing to match against.
42
-
43
- | Slice / example | Baseline | Finding |
44
- |---|---|---|
45
- | RegisterAuthor / librarian submits Aster | Record registration for author ID `11111111-1111-4111-8111-111111111111` | Matched by inspection: the handler returns `AuthorRegistered` with `Name = Aster` for that ID; the command pipeline appends it. |
46
- | ListAuthors / read after registration | Show Aster under the same ID | Matched by inspection: the projection keys the row by event source and takes the name from the payload. Observed in the supplied screen result: Aster is visible, not the ID. |
47
- | RegisterAuthor / blank name | Refuse; no registration | Unverified: the handler has no guard. Check the validator registered for this entry point or an existing request-level example; a handler-only test bypasses that decision. |
48
-
49
31
  Take disputed intent to [timeline discovery](../cratis-modeling-discover-timeline/SKILL.md). Ask the requester, or their named decision owner, one batch of unresolved questions. If asked to proceed provisionally, state which outcomes remain unaccepted. Take confirmed changes to [slice design](../cratis-modeling-design-event-model/SKILL.md). Neither passing examples nor your judgment grant acceptance; an agreed example is not authorization to execute.
@@ -0,0 +1,20 @@
1
+ # Match the evidence to the decision
2
+
3
+ | Signal | What to trace before naming the slice |
4
+ | --- | --- |
5
+ | One gesture sends several requests or updates several tables | Find the decisions and transaction boundaries. Neither request count nor table count tells you how many business facts occurred. |
6
+ | Generic update route | Compare its callers: correcting a spelling and transferring ownership may have different actors, rules and outcomes. |
7
+ | A successful submission | Look for the actual uniqueness or duplicate-request rule. One success proves neither. Distinguish authenticated identity from editable form data. |
8
+ | Mock or seeded row | Treat the test as a hypothesis. Find the production path that could produce this state before proposing any history as `given`. |
9
+
10
+ Match the evidence to the enforcement point. Preserve the observed refusal text in `then error` for a `validate` or `require` rule; for authorization use `authorize` and `then denied`. A unique index is a candidate for an append-time constraint: find **every** fact that sets or changes the value before writing the rule. After acceptance, compare only the bounded revision or traffic interval in question. Reopen a slice when the command, message, access rule, fact or returned field changed. Moving unchanged logic into a new file changes the evidence location, not necessarily the model.
11
+
12
+ ## Example: compare Library registration and listing
13
+
14
+ Suppose the agreed examples require registration for Aster and refusal for a blank name. Use one table by slice and example. Mark each comparison **matched**, **changed** (different outcomes), **missing from model**, **missing from implementation** or **unverified**. In reconstruction, replace the baseline and status with candidate meaning; there is nothing to match against.
15
+
16
+ | Slice / example | Baseline | Finding |
17
+ |---|---|---|
18
+ | RegisterAuthor / librarian submits Aster | Record registration for author ID `11111111-1111-4111-8111-111111111111` | Matched by inspection: the handler returns `AuthorRegistered` with `Name = Aster` for that ID; the command pipeline appends it. |
19
+ | ListAuthors / read after registration | Show Aster under the same ID | Matched by inspection: the projection keys the row by event source and takes the name from the payload. Observed in the supplied screen result: Aster is visible, not the ID. |
20
+ | RegisterAuthor / blank name | Refuse; no registration | Unverified: the handler has no guard. Check the validator registered for this entry point or an existing request-level example; a handler-only test bypasses that decision. |
@@ -1,11 +1,11 @@
1
1
  # Recover a draft without trusting the tool's guesses
2
2
 
3
- **Recovering from source?** Use a trusted checkout. `cratis screenplay generate` evaluates the project; analyzing a project is not the same as reading text. MSBuild targets can execute and the intermediate output can change. Review the project, target imports, destination and intended provider first. Do not run an unfamiliar project's build graph to investigate it. For a trusted project at `src/Library/Library.csproj`, an example invocation is `cratis screenplay generate src/Library/Library.csproj --provider auto --file recovered.play` with approval to create that file. Detection covers Arc, Marten and Marten with Wolverine; resolve competing matches with the owner. An explicit `--provider` is not an isolation boundary for the adapters inside the selected provider. Inspect the generator diagnostics alongside the output. For each unrepresented rule or protection, record the original evidence and how the draft differs. Failure to bind is not permission to drop a rule, and an inferred name is not the vocabulary owner's decision.
3
+ **Recovering from source?** Use a trusted checkout. `cratis screenplay generate` evaluates the project; analyzing a project is not the same as reading text. MSBuild targets can execute and the intermediate output can change. Review the project, target imports, destination and intended provider first. Do not run an unfamiliar project's build graph to investigate it. For a trusted project at `src/Library/Library.csproj`, an example invocation is `cratis screenplay generate src/Library/Library.csproj --file recovered.play` with approval to create that file. Detection covers Arc, Marten and Marten with Wolverine; resolve competing matches with the owner. An explicit `--provider` is not an isolation boundary for the adapters inside the selected provider. Inspect the generator diagnostics alongside the output. For each unrepresented rule or protection, record the original evidence and how the draft differs. Failure to bind is not permission to drop a rule, and an inferred name is not the vocabulary owner's decision.
4
4
 
5
5
  **Walking a running system to recover a Screenplay model?** Use the “Recover from a running system” in `cratis-screenplay-recover-intent` (`cratis/screenplay`).
6
6
 
7
- **Recovering from observations?** Agree the service, tables, interval, data owner, environment and retention before requesting a capture. For production capture or cleanup DDL, propose the action and hand off to the authorized operator under the shared `operational-safety.md` rule. Prefer synthetic traffic. Do not point an extractor at a shared database with permission to configure change capture just to see what happens. Have the DBA review replication and cleanup and limit access to the intended tables. Keep connection strings out of committed configuration. Allowlist just the needed telemetry attributes; full URLs and SQL text can disclose customer data even when no body is captured. Avoid recording secrets in the first place rather than relying on later redaction.
7
+ **Recovering from observations?** Agree the service, tables, interval, data owner, environment and retention before requesting a capture. For production capture or cleanup DDL, propose the exact action and target, then hand it to the authorized operator to review, approve, and execute. Prefer synthetic traffic. Do not point an extractor at a shared database with permission to configure change capture just to see what happens. Have the DBA review replication and cleanup and limit access to the intended tables. Keep connection strings out of committed configuration. Allowlist just the needed telemetry attributes; full URLs and SQL text can disclose customer data even when no body is captured. Avoid recording secrets in the first place rather than relying on later redaction.
8
8
 
9
- For an already approved local capture folder named `captures`, `cratis prologue interpret ./captures --no-llm` interprets without sending evidence to a model. Without that flag, a local setting or global provider can select model refinement. Before allowing that path, review the effective provider, endpoint, model, exact evidence and destination with the owner. A provider notice is disclosure, not consent. Inspect the resulting file locally. Correlated writes suggest a sequence, not an authorization rule or proven reason for a change. Trace reads and user-visible fields back to screens and query handlers. Mark guesses and take them to the model owner before implementation.
9
+ Default to local, heuristics-only interpretation. For an already approved local capture folder named `captures`, `cratis prologue interpret ./captures --no-llm` interprets without sending evidence to a model. **Choose model refinement only when** local interpretation cannot answer the agreed question and the owner authorizes disclosure. Without `--no-llm`, a local setting or global provider can select it. Before allowing that path, review the effective provider, endpoint, model, exact evidence and destination with the owner. A provider notice is disclosure, not consent. Inspect the resulting file locally. Correlated writes suggest a sequence, not an authorization rule or proven reason for a change. Trace reads and user-visible fields back to screens and query handlers. Mark guesses and take them to the model owner before implementation.
10
10
 
11
11
  For a later pass, include the loss table from [resuming a trace](resuming-a-trace.md).
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-multi-service-local-orchestration
3
- description: Use when laying out or locally running several Cratis services with Aspire or Compose, or diagnosing a wrong local kernel or store. Not for service-contract design or production kernel hosting.
3
+ description: Use when laying out or locally running several Cratis services with Aspire or Compose, or diagnosing a wrong local kernel or store. Not for deploying the Chronicle kernel to production (use cratis-chronicle-deploy-kernel).
4
4
  license: MIT
5
5
  ---
6
6
 
@@ -49,68 +49,13 @@ Shop/
49
49
  Both need the same five decisions per service: kernel address, store name,
50
50
  read-model database, startup order and a health endpoint.
51
51
 
52
- ## Aspire AppHost
52
+ ## Default: Aspire AppHost
53
53
 
54
- Add the `Cratis.Chronicle.Aspire` package to the AppHost only. `AddCratisChronicle`
55
- runs the development image in run mode (bundled MongoDB, self-signed TLS, the
56
- well-known development client) and the production image in publish mode.
57
-
58
- ```csharp
59
- // AppHost/Program.cs
60
- using Aspire.Hosting.ApplicationModel;
61
- using Cratis.Chronicle.Aspire;
62
-
63
- var builder = DistributedApplication.CreateBuilder(args);
64
-
65
- var mongo = builder.AddCratisChronicleMongoDB();
66
- var chronicle = builder.AddCratisChronicle("chronicle", c => c.WithMongoDB(mongo));
67
- var grpc = chronicle.GetEndpoint("grpc");
68
-
69
- // The development client id and secret come from the AppHost's own configuration,
70
- // never from literals in source.
71
- const string scheme = "chronicle://";
72
- var chronicleClient = builder.Configuration["Chronicle:Client"];
73
- var chronicleSecret = builder.Configuration["Chronicle:Secret"];
74
-
75
- AddService<Projects.Ordering>("ordering", "Ordering");
76
- AddService<Projects.Billing>("billing", "Billing");
77
-
78
- builder.Build().Run();
79
-
80
- void AddService<TProject>(string name, string eventStore)
81
- where TProject : IProjectMetadata, new() =>
82
- builder.AddProject<TProject>(name)
83
- .WithEnvironment("Cratis__Chronicle__ConnectionString",
84
- $"{scheme}{chronicleClient}:{chronicleSecret}@{grpc.Property(EndpointProperty.HostAndPort)}")
85
- .WithEnvironment("Cratis__Chronicle__EventStore", eventStore)
86
- .WithEnvironment("Cratis__MongoDB__Server", mongo.Resource.ConnectionStringExpression)
87
- .WithEnvironment("Cratis__MongoDB__Database", eventStore)
88
- .WaitFor(chronicle);
89
- ```
90
-
91
- Rules behind each line:
92
-
93
- - **Set `Cratis__Chronicle__ConnectionString` explicitly.** `WithReference(chronicle)`
94
- supplies the resource's connection string as `ConnectionStrings__chronicle`, a
95
- setting the Chronicle client does not read; it binds `Cratis:Chronicle` and
96
- otherwise falls back to `localhost:35000`. A service that appears to work with
97
- only `WithReference` is reaching a kernel on port 35000 by accident.
98
- - **Set `Cratis__Chronicle__EventStore` per service.** It is required, and it is the
99
- origin name the other services' contracts use.
100
- - **MongoDB must be a replica set.** `AddCratisChronicleMongoDB()` starts a
101
- single-node replica set and hands back a connection string with
102
- `directConnection=true`. Aspire's own `AddMongoDB` is a standalone server:
103
- Chronicle's observers and observable queries then silently do nothing.
104
- - **Point Arc's read models at the same server.** Each service's `Cratis:MongoDB`
105
- `Server` is the replica set and `Database` is the service's event-store name,
106
- the pairing the Stage-rendered scaffold uses.
107
- - **`WaitFor(chronicle)`** orders startup; the client also reconnects on its own.
108
- - The development client and secret are for a local kernel only. Publish mode
109
- selects the production image, which needs storage, a TLS certificate and an
110
- encryption certificate. Use [cratis-chronicle-deploy-kernel](../cratis-chronicle-deploy-kernel/SKILL.md) for production deployment.
111
-
112
- To reach the kernel at a fixed address (the CLI default, a browser bookmark), pin
113
- the host port: `chronicle.WithEndpoint("grpc", endpoint => endpoint.Port = 35000);`.
54
+ Add the Chronicle Aspire package to the AppHost. Use one local kernel and one
55
+ MongoDB replica set with a distinct event store and read-model database for
56
+ each service. Each service references the shared kernel through Aspire.
57
+ Read [the Aspire AppHost example](references/aspire.md) for the wiring and for
58
+ choosing a slim image, a named resource, or a fixed host port.
114
59
 
115
60
  ## Docker Compose
116
61
 
@@ -171,6 +116,6 @@ pinned port, use the host port the dashboard shows for the `grpc` endpoint.
171
116
  ## Route near misses
172
117
 
173
118
  - Contracts and subscriptions: the `cratis-chronicle-publish-contract` skill (in `cratis/chronicle`). Verifying delivery: the `cratis-platform-verify-service-handoff` skill (in `cratis/application/arc-chronicle`).
174
- - Kernel storage, TLS, certificates, clustering and production images: [cratis-chronicle-deploy-kernel](../cratis-chronicle-deploy-kernel/SKILL.md).
119
+ - Kernel storage, TLS, certificates, clustering and production images: `cratis-chronicle-deploy-kernel`.
175
120
  - Bootstrapping one Arc service: the `cratis-arc-host-application` skill (in `cratis/arc`); with Chronicle, use the `cratis-chronicle-connect-application` skill (in `cratis/chronicle/client-dotnet`).
176
121
  - Rendering a service from its model: the `cratis-stage-render-slice` skill (in `cratis/stage`).
@@ -0,0 +1,52 @@
1
+ # Aspire AppHost
2
+
3
+ Add the `Cratis.Chronicle.Aspire` package to the AppHost only. `AddCratisChronicle`
4
+ runs the development image in run mode (bundled MongoDB, self-signed TLS, the
5
+ well-known development client) and the production image in publish mode.
6
+
7
+ ```csharp
8
+ // AppHost/Program.cs
9
+ using Aspire.Hosting;
10
+ using Aspire.Hosting.ApplicationModel;
11
+ using Cratis.Chronicle.Aspire;
12
+
13
+ var builder = DistributedApplication.CreateBuilder(args);
14
+
15
+ var mongo = builder.AddCratisChronicleMongoDB();
16
+ var chronicle = builder.AddCratisChronicle(configure: c => c.WithMongoDB(mongo))
17
+ .WithImageTag("latest-development-slim");
18
+
19
+ AddService<Projects.Ordering>("ordering", "Ordering");
20
+ AddService<Projects.Billing>("billing", "Billing");
21
+
22
+ builder.Build().Run();
23
+
24
+ void AddService<TProject>(string name, string eventStore)
25
+ where TProject : IProjectMetadata, new() =>
26
+ builder.AddProject<TProject>(name)
27
+ .WithReference(chronicle)
28
+ .WithEnvironment("Cratis__Chronicle__EventStore", eventStore)
29
+ .WithEnvironment("Cratis__MongoDB__Server", mongo.Resource.ConnectionStringExpression)
30
+ .WithEnvironment("Cratis__MongoDB__Database", eventStore)
31
+ .WaitFor(chronicle);
32
+ ```
33
+
34
+ Rules behind each line:
35
+
36
+ - **Use `WithReference(chronicle)` and call `builder.AddCratisChronicle()` in each service.** The default client binding reads `ConnectionStrings:chronicle`, which Aspire fills with its assigned host and port. Remove stale `Cratis:Chronicle:ConnectionString` settings that otherwise override the reference. For a differently named resource, use `builder.AddCratisChronicleUsingConnectionString("events")` for an `events` resource. That name does not select the event store.
37
+ - **Set `Cratis__Chronicle__EventStore` per service to match its contract origin.**
38
+ A .NET host can derive an unspecified store from the program identifier or
39
+ entry assembly name, but a shared kernel and cross-store subscriptions need
40
+ the stable names agreed by the services.
41
+ - **MongoDB must be a replica set.** `AddCratisChronicleMongoDB()` starts a
42
+ single-node replica set and hands back a connection string with
43
+ `directConnection=true`. Aspire's own `AddMongoDB` is a standalone server:
44
+ Chronicle's observers and observable queries then silently do nothing.
45
+ - **Point Arc's read models at the same server.** Each service's `Cratis:MongoDB`
46
+ `Server` is the replica set and `Database` is the service's event-store name,
47
+ the pairing the Stage-rendered scaffold uses.
48
+ - **`WaitFor(chronicle)`** orders startup; the client also reconnects on its own.
49
+ - The development credentials and explicit slim image tag are local-only. Remove the image tag override when using Aspire publish mode so it selects the production image; configure production storage and certificates separately. Use `cratis-chronicle-deploy-kernel` for production deployment.
50
+
51
+ To reach the kernel at a fixed address (the CLI default, a browser bookmark), pin
52
+ the host port: `chronicle.WithEndpoint("grpc", endpoint => endpoint.Port = 35000);`.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-observability
3
- description: Use when an application or kernel must export traces, metrics and logs across services or change published telemetry. Not for inspecting a Chronicle observer checkpoint.
3
+ description: Use when an application or kernel must export traces, metrics and logs across services or change published telemetry. Not for inspecting a Chronicle observer checkpoint (use cratis-chronicle-inspect-observer).
4
4
  compatibility: An OpenTelemetry-compatible collector and access to the application's runtime configuration.
5
5
  ---
6
6
 
@@ -39,30 +39,16 @@ Arc records at most 1,000 distinct command types or query names per metric and f
39
39
 
40
40
  Activity source: `Cratis.Chronicle.Client`. Registration: `AddCratisOpenTelemetry` covers it through `Cratis.*`. Without it, `AddCratisChronicleInstrumentation()` (package `Cratis.Chronicle.AspNetCore`, namespace `Cratis.Chronicle.AspNetCore.OpenTelemetry`) or `AddSource("Cratis.Chronicle.Client")` is required, in the same tracing configuration as the exporter.
41
41
 
42
- | Legacy span (default) | Convention span (`Telemetry:SpanNames=Convention`) |
42
+ | Span | Scope attributes |
43
43
  | --- | --- |
44
- | `client.event_sequence.append` | `cratis.chronicle.client.event_sequence.append` |
45
- | `client.event_sequence.append_many` | `cratis.chronicle.client.event_sequence.append_many` |
46
- | `client.unit_of_work.commit`, `client.unit_of_work.rollback` | `cratis.chronicle.client.unit_of_work.commit`, `...rollback` |
47
- | `client.reactor.handle` | `cratis.chronicle.client.reactor.handle` |
48
- | `client.reducer.handle` | `cratis.chronicle.client.reducer.handle` |
44
+ | `client.event_sequence.append` | `event_store_name`, `namespace_name`, `event_sequence_id`, `event_source_type`, `event_source_id` (when traced) |
45
+ | `client.event_sequence.append_many` | `event_store_name`, `namespace_name`, `event_sequence_id` |
46
+ | `client.reactor.handle` | `event_store_name`, `namespace_name`, `event_sequence_id`, `reactor_id` |
47
+ | `client.reducer.handle` | `event_store_name`, `namespace_name`, `event_sequence_id`, `reducer_id` |
48
+ | `client.unit_of_work.commit`, `client.unit_of_work.rollback` | `correlation_id` |
49
49
 
50
- The option form is `ChronicleTelemetryOptions.SpanNames = ClientSpanNames.Convention`. Failed append and handle operations set Error status and `error.type` without messages. Append spans carry `cratis.chronicle.append.outcome`: `success`, `error`, `concurrency_violation` or `constraint_violation`.
50
+ Failed append and handle operations set Error status and `error.type` without messages. Append spans carry `cratis.chronicle.append.outcome`: `success`, `error`, `concurrency_violation` or `constraint_violation`.
51
51
 
52
- Attributes per span and mode (legacy keys are always set; the shared keys are added only in Convention mode):
52
+ Join Arc command and client append spans by trace id. Search the Arc command by `cratis.correlation_id` or the unit-of-work spans by `correlation_id`. Append and observer spans do not carry that attribute; find observers by store, namespace, sequence and observer identifier.
53
53
 
54
- | Span | Legacy keys (both modes) | Added in Convention mode |
55
- | --- | --- | --- |
56
- | append | `event_store_name`, `namespace_name`, `event_sequence_id`, `event_source_type`, `event_source_id` (when traced) | `cratis.event_store.name`, `cratis.event_store.namespace`, `cratis.event_sequence.id`, `cratis.event_source.type`, `cratis.event_source.id` (when traced) |
57
- | append_many | `event_store_name`, `namespace_name`, `event_sequence_id` | the three matching shared keys |
58
- | reactor handle | `event_store_name`, `namespace_name`, `event_sequence_id`, `reactor_id` | shared store, namespace and sequence keys, `cratis.observer.id`, `cratis.observer.type=reactor` |
59
- | reducer handle | same with `reducer_id` | same with `cratis.observer.type=reducer` |
60
- | unit of work commit and rollback | `correlation_id` | `cratis.correlation_id` |
61
-
62
- So in Legacy mode (the default) no client span carries a shared key, and in either mode only the unit-of-work commit and rollback spans carry a correlation id; append, reactor and reducer spans never do. Correlate as follows: Arc command spans carry `cratis.correlation_id` and the client append sits in the same trace, so join them by trace id; the commit or rollback span carries the id under `correlation_id` (Legacy) or `cratis.correlation_id` (Convention); observer spans carry no correlation id, so identify them by observer id and store, namespace and sequence, not by correlation.
63
-
64
- Kernel spans call the event source id `cratis.eventsource.id`; client spans use `event_source_id`. Both follow their own exposure setting.
65
-
66
- ## Naming modes
67
-
68
- Legacy names stay the default. Legacy keys are deprecated for removal in the next major version, so build new dashboards on convention names where the mode is available, and use `Both` only as a temporary migration mode.
54
+ Kernel spans call the event source id `cratis.eventsource.id`; client spans use `event_source_id`. Configure identifier exposure separately on the client and kernel.
@@ -7,24 +7,13 @@ The kernel is configured separately from the application: application telemetry
7
7
 
8
8
  ## Export
9
9
 
10
- The kernel's own setup (`AddChronicleTelemetry`) adds an OTLP exporter per signal only when a common OTLP endpoint (`OTEL_EXPORTER_OTLP_ENDPOINT` or `OTEL_EXPORTER_OTLP:Endpoint`) or the per-signal endpoint is set. The kernel host calls it without a service name, so the resource `service.name` defaults to `Chronicle`. The setup applies that name after the SDK defaults, so `OTEL_SERVICE_NAME` does not change it. Tell kernel telemetry apart from the application's by that name, and confirm in your backend. The kernel subscribes to the `Cratis.Chronicle` activity source and to the `Cratis.Chronicle`, `Cratis.Chronicle.Federation`, `Microsoft.Orleans` and `Grpc.AspNetCore.Server` meters.
10
+ Configure `OTEL_EXPORTER_OTLP_ENDPOINT` on the kernel for the chosen collector, then confirm `service.name=Chronicle` in the backend. The kernel subscribes to `Cratis.Chronicle`, `Microsoft.Orleans`, and `Grpc.AspNetCore.Server` meters and to the `Cratis.Chronicle` activity source. Outbound gRPC tracing is opt-in (`Cratis__Chronicle__Telemetry__GrpcClientTracing=true`). The kernel's per-instrument cardinality limit is 500; look for overflow before assuming that a missing scope has no data.
11
11
 
12
- ## Options under `Telemetry`
13
-
14
- Set through configuration or the environment form `Cratis__Chronicle__Telemetry__<Option>`.
15
-
16
- | Option | Default | Effect |
17
- | --- | --- | --- |
18
- | `MetricNames` | `Legacy` | `Convention` publishes `cratis.chronicle.*` names; `Both` publishes both sets temporarily and raises volume |
19
- | `OrleansTracing` | `false` | Orleans runtime and grain-call spans; very high volume |
20
- | `GrpcClientTracing` | `false` | Outbound gRPC client spans; opt in only when needed |
21
- | `MetricSeriesLimit` | `500` | Series per instrument before folding to `otel.metric.overflow=true` |
22
- | `EventSourceIdTracing` | `Hashed` | `Raw`, `Hashed` or `Omitted` for `cratis.eventsource.id` |
23
- | `EventSourceIdHashKey` | generated per process | At least 32 characters when `Hashed` is chosen explicitly; share with clients to correlate |
12
+ Event source ids are sent as `cratis.eventsource.id` by default (`Raw`). If the backend does not need those ids, set `Cratis__Chronicle__Telemetry__EventSourceIdTracing=Omitted`. Choose `Hashed` when the same id must remain searchable without exposing its raw value. Supply `Cratis__Chronicle__Telemetry__EventSourceIdHashKey` from a secret store (at least 32 characters); use the same key in each client and kernel that must agree. These options do not redact logs.
24
13
 
25
14
  ## Observer failure metrics
26
15
 
27
- Counters on the `Cratis.Chronicle` meter (legacy names): `chronicle-observer-partitions-failed`, `chronicle-observer-partition-retry-attempts`, `chronicle-observer-partitions-quarantined`, `chronicle-observer-quarantined`. Each carries only `EventStore`, `Namespace`, `ObserverId` and `EventSequenceId`, never a partition or event source id. A healthy observer has no series until its first failure, so alert on increase and never depend on seeing a `0` first. Prometheus names depend on backend translation: check the exposed name before writing a query.
16
+ Counters on the `Cratis.Chronicle` meter: `chronicle-observer-partitions-failed`, `chronicle-observer-partition-retry-attempts`, `chronicle-observer-partitions-quarantined`, `chronicle-observer-quarantined`. Each carries only `EventStore`, `Namespace`, `ObserverId` and `EventSequenceId`, never a partition or event source id. A healthy observer has no series until its first failure, so alert on increase and never depend on seeing a `0` first. Prometheus names depend on backend translation: check the exposed name before writing a query.
28
17
 
29
18
  ## Local viewer
30
19
 
@@ -17,7 +17,7 @@ The single entry point is `AddCratisOpenTelemetry` from the `Cratis.OpenTelemetr
17
17
  ```csharp
18
18
  using Cratis.OpenTelemetry;
19
19
 
20
- builder.AddCratisOpenTelemetry(options => options.ServiceName = "orders-api");
20
+ builder.AddCratisOpenTelemetry();
21
21
  ```
22
22
 
23
23
  `builder` is the host's `IHostApplicationBuilder` (a `WebApplicationBuilder` or a worker host builder). Call it once, before building the host.
@@ -51,21 +51,19 @@ Read `references/dotnet-setup-and-options.md` when you need the option table, en
51
51
  | `Cratis.Chronicle.Client` | Client spans for append, unit of work, reactor and reducer handling |
52
52
  | `Cratis.Chronicle` | Kernel spans and meters |
53
53
 
54
- Read `references/arc-and-chronicle-signals.md` when you need span, attribute and metric names or the legacy versus convention naming switches.
55
-
56
- Chronicle emits **legacy** names by default (client spans `client.event_sequence.append`, kernel metric names unchanged). `Telemetry:SpanNames=Convention` (client) and `Telemetry:MetricNames=Convention` or `Both` (kernel) opt into the `cratis.chronicle.*` names. Dashboards and alerts must use whichever mode is active; never sum a legacy and a convention series.
54
+ Use the emitted span, attribute and metric names in [Arc and Chronicle signals](arc-and-chronicle-signals.md) when checking dashboards.
57
55
 
58
56
  ## Trace boundaries
59
57
 
60
58
  - A command reaching the Chronicle client and its append calls are one trace; the client propagates trace context over gRPC.
61
59
  - Observer, reactor and reducer processing is **not** guaranteed to sit under the command's trace. Do not expect observer spans inside the trace of the command that caused them.
62
- - Correlation is partial. Arc spans and the unit-of-work commit and rollback client spans carry the correlation id (`cratis.correlation_id`; the commit span uses `correlation_id` in Legacy mode). Append, reactor and reducer spans carry none in either mode, and observer spans cannot be joined to the command by id: find them by observer id, store, namespace and sequence. The only baggage key is `cratis.correlation_id`. Exact attributes per mode are in `references/arc-and-chronicle-signals.md`.
60
+ - Correlation is partial. Arc spans and the unit-of-work commit and rollback client spans carry the correlation id (`cratis.correlation_id` on Arc, `correlation_id` on the unit of work). Append, reactor and reducer spans carry none, and observer spans cannot be joined to the command by id: find them by observer id, store, namespace and sequence. The only baggage key is `cratis.correlation_id`. Exact attributes are in `references/arc-and-chronicle-signals.md`.
63
61
 
64
62
  ## Never record
65
63
 
66
64
  The rule lists the contract. The practical traps:
67
65
 
68
- - Event source ids: the .NET client's `EventSourceIdTracing` defaults to `Raw`, so ids reach the backend unchanged. Choose `Hashed` (needs `Telemetry:EventSourceIdHashKey` of at least 32 characters from a secret store) or `Omitted` unless the id is known to be non-personal. The kernel defaults to `Hashed` with a per-process random key when none is set, so kernel hashes correlate only within one process. Set client and kernel separately, with the same key to correlate. These options do not redact logs.
66
+ - Event source ids: the .NET client's `EventSourceIdTracing` defaults to `Raw`, so ids reach the backend unchanged. Choose `Hashed` (needs `Telemetry:EventSourceIdHashKey` of at least 32 characters from a secret store) or `Omitted` unless the id is known to be non-personal. The kernel also defaults to `Raw`. Set client and kernel separately, with the same key to correlate. These options do not redact logs.
69
67
  - Failed append and handle spans carry `error.type`, not exception messages. Do the same in your own spans; `IncludeExceptionDetails` is off by default, keep it off in production.
70
68
  - No command, event, query or read model payloads, tokens or identity values in span attributes, metric tags, baggage or resource attributes. Tenant is never a resource attribute or baggage.
71
69
  - Metric tags are bounded categories, never ids.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Add the OpenTelemetry SDK and exporter in the application when traces must leave the process; the Chronicle client API dependency alone does not export them. Configure the resource service name and the `:trace_context` propagator. For append duration, attach one handler to `[:cratis, :chronicle, :client, :append, :stop]` with `:telemetry.attach/4`. Read `measurements.duration` in native time units and convert it with `System.convert_time_unit/3`. A stop can carry `error: true`; count it separately rather than treating every stop as success.
4
4
 
5
- Record a bounded outcome and duration, not event contents or source IDs. `[:chronicle, :observer, :lag]` is a different event; an append duration is not delivery lag. Append a synthetic event inside an active span, then find the corresponding kernel span under the same trace. The outbound interceptor propagates W3C trace context for the calling process. If the trace breaks, check that the application started an SDK, the exporter is configured and the active context reached the process making the call. On the kernel side, the built-in meter subscriptions are `Cratis.Chronicle`, `Cratis.Chronicle.Federation`, `Microsoft.Orleans` and `Grpc.AspNetCore.Server`. On the Elixir side, `Cratis.Chronicle.Client` is the span scope, not a meter to attach with `:telemetry`.
5
+ Record a bounded outcome and duration, not event contents or source IDs. `[:chronicle, :observer, :lag]` is a different event; an append duration is not delivery lag. Append a synthetic event inside an active span, then find the corresponding kernel span under the same trace. The outbound interceptor propagates W3C trace context for the calling process. If the trace breaks, check that the application started an SDK, the exporter is configured and the active context reached the process making the call. See [Chronicle kernel export](chronicle-kernel-export.md) for kernel meter subscriptions. On the Elixir side, `Cratis.Chronicle.Client` is the span scope, not a meter to attach with `:telemetry`.
6
6
 
7
7
  Apply the same `:start`, `:stop` and `:exception` handling to `[:cratis, :chronicle, :client, :reactor, :handle, ...]` and `[:cratis, :chronicle, :client, :reducer, :reduce, ...]`; a returned error can set `error: true` on `:stop`. Keep `cratis.event_source.id` off (the default): it can identify a person. The opt-in is `config :cratis_chronicle, trace_event_source_id: true`; use it only when the privacy policy permits the attribute.
8
8
 
@@ -8,17 +8,16 @@ Check in this order for any missing signal: SDK not disabled, source subscribed,
8
8
  | Symptom | Check |
9
9
  | --- | --- |
10
10
  | No Chronicle client spans | `Cratis.Chronicle.Client` is subscribed in the same tracing setup as the exporter (`AddCratisOpenTelemetry` does it via `Cratis.*`); an operation actually ran; the kernel's `Cratis.Chronicle` source does not enable client spans |
11
- | No kernel spans or metrics | The kernel is configured separately; it exports only when an OTLP endpoint env var is set on the kernel process; `OrleansTracing` and `GrpcClientTracing` are off by default |
11
+ | No kernel spans or metrics | The kernel is configured separately; set its OTLP endpoint and verify collector reachability; outbound gRPC client tracing is opt-in |
12
12
  | No export at all | No endpoint set (export is opt-in); `OTEL_SDK_DISABLED=true`; `OTEL_*_EXPORTER` set without `otlp`; sampler records nothing or parent was unsampled |
13
13
  | Application's own meter or source is silent | It is outside `Cratis.*`; subscribe it with `ConfigureTracing` / `ConfigureMetrics` (see `cratis-fundamentals-telemetry` in `cratis/fundamentals`) |
14
14
  | Observer or reactor spans not under the command trace | Expected: observer spans carry no correlation id. Find them by observer id, event store, namespace and sequence; see `arc-and-chronicle-signals.md` |
15
- | Search on correlation id finds only commit spans | Only unit-of-work commit and rollback spans carry it: key `correlation_id` in Legacy mode, `cratis.correlation_id` in Convention mode. Arc spans carry `cratis.correlation_id`. Append and observer spans never do |
15
+ | Search on correlation id finds only commit spans | Only unit-of-work commit and rollback spans carry it: key `correlation_id`. Arc spans carry `cratis.correlation_id`. Append and observer spans never do |
16
16
  | Duplicate spans or metrics | Both `AddCratisOpenTelemetry` and `UseOtlpExporter()` / `AddOtlpExporter()`, or both `AddCratisOpenTelemetry` and `WithCratis`; keep one |
17
- | Dashboard shows old names after enabling convention | Legacy and convention series are distinct; update queries; do not sum them |
18
17
  | Metric series stop growing or show `otel.metric.overflow=true` | SDK series limit reached; a tag is unbounded or the limit is too low. Arc `_other` is a separate 1,000-name cap |
19
18
  | Wrong `service.name` | Something set it in code or the environment; `OTEL_SERVICE_NAME` wins for applications. The kernel always reports `Chronicle` |
20
- | Personal ids or payloads in spans | Event source id mode is `Raw` (client default): choose `Hashed` or `Omitted`; remove the offending custom attribute; logs are not covered by these options, redact before formatting |
21
- | Hashed ids do not match between client and kernel | Different keys, or the kernel generated a per-process key; configure the same 32-plus character key in both |
19
+ | Personal ids or payloads in spans | Event source id mode is `Raw` by default: choose `Hashed` or `Omitted`; remove the offending custom attribute; logs are not covered by these options, redact before formatting |
20
+ | Hashed ids do not match between client and kernel | Check that both are in `Hashed` mode and configure the same 32-plus character key in both |
22
21
  | Startup fails on telemetry configuration | Invalid OTLP endpoint, or `Hashed` chosen without a long enough key |
23
22
 
24
23
  ## Renaming signals
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-onboarding-runtime
3
- description: Use when running or deploying the onboarding of a Screenplay application, meaning configuring the application's Ante from the onboarding contract or declaring a Showrunner Stage Manager `Performance` that runs the application with its AuthProxy and Ante. Not for authoring the model or for Ante used by a host product.
3
+ description: Use when configuring or deploying the onboarding runtime of a Screenplay application. Not for authoring onboarding in the Screenplay model (use cratis-screenplay-authentication-and-onboarding).
4
4
  license: MIT
5
5
  ---
6
6
 
@@ -19,9 +19,6 @@ Nobody writes the equivalent `Ante:*` or `Cratis:AuthProxy:*` keys by hand for a
19
19
  application. The model supplies structure (providers, personas, invitation types, legal files);
20
20
  the **environment** supplies every value and secret (`cratis-environments-and-secrets` in `cratis/cli`).
21
21
 
22
- **Requires** Ante 1.5.0 or later for `Ante:Onboarding:*`, AuthProxy 2.40.0 or later for
23
- `Cratis:AuthProxy:Application`, and Showrunner 1.11.0 or later for the `Performance` resource.
24
-
25
22
  ## Who owns what
26
23
 
27
24
  Ante owns token signing, the lobby, local acceptance, legal terms presented from files, and the
@@ -1,8 +1,5 @@
1
1
  # Default offering
2
2
 
3
- Requires Showrunner 1.13.0 or later (`Cratis.Showrunner.BoxOffice`) for `DefaultOffering`,
4
- `IDefaultOffering` and an event store taken from the host. Older releases have neither.
5
-
6
3
  A product that sells itself starts a new tenant on its default offering without waiting for the
7
4
  operator. The product decides, the operator is told, and a later operator decision replaces it.
8
5
 
@@ -1,9 +1,5 @@
1
1
  # Sign-up review
2
2
 
3
- Requires Ante 1.6.0 or later (`Ante:Registration:Review`, `RegistrationReview` in the onboarding
4
- contract). Older releases complete every sign-up without a decision and publish neither event
5
- below.
6
-
7
3
  Review is off by default and changes nothing while off. Turn it on when a person must be approved
8
4
  before an organization is created.
9
5