@cratis/pi 8.0.1 → 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-release-notes
3
- description: Use when drafting or reviewing release notes, upgrade guidance or announcements for a specific verified Cratis version. Not for deciding release authority, publishing or selecting a version label.
3
+ description: Use when drafting or reviewing Cratis release notes, migration guidance or a release announcement. Not for choosing release intent or preparing the release PR (use cratis-platform-prepare-release-pr).
4
4
  license: MIT
5
5
  ---
6
6
 
@@ -33,134 +33,16 @@ states only verified facts and never says 'not verified'.
33
33
 
34
34
  Cratis products move together at their seams: the Chronicle kernel and its
35
35
  clients, Arc and Chronicle, Components and Arc. When a change touches a
36
- seam, state supported pairings as facts the reader can act on ('Requires
37
- Chronicle kernel 19.25 or later'). Which pairings were tested, and against
36
+ seam, state supported pairings as facts the reader can act on. Which pairings were tested, and against
38
37
  which branch or commit, is evidence for the PR comment. There is no central
39
38
  compatibility matrix to defer to, so the release note may be the only place
40
39
  a reader learns the supported pairings. Where a measurement drove the change,
41
40
  such as how many deployments hit a failure, give the number; never estimate
42
41
  one to add weight.
43
42
 
44
- ## Write for the right channel
43
+ Use a GitHub release note by default. Choose a durable migration guide when upgrades require a sequence or code changes. Choose an announcement when readers need motivation and a demonstration, not a second changelog. Read [channel guidance](references/channel-guidance.md) for the required structure and issue-reference policy.
45
44
 
46
- - **Exact-version release note (GitHub/PR):** when the workflow publishes the
47
- merged PR description, write it for the reader upgrading. Follow the repository’s PR
48
- template and release policy. For release intent and labels, use
49
- `cratis-platform-prepare-release-pr` from `cratis/engineering`. No development
50
- write-up (no Overview, Verification or Test plan headings; put review notes
51
- and verification details in a PR comment); follow the
52
- [issue reference policy](../cratis-commits-and-pull-requests/references/pr-description.md#issue-references).
53
- Never use `Closes`, `Fixes` or `Refs` before a number (also in bold or a link),
54
- and put no issue reference
55
- inside an HTML comment (release-action removes comments before publishing,
56
- so the issue is silently not closed; a body that is only a comment counts as
57
- empty and GitHub generates the notes); and absolute
58
- `https://` links only. Sections are in
59
- a fixed order (Added, Changed, Fixed, Removed, Security, Deprecated); within
60
- a section, put changes requiring action first, then new capabilities and
61
- fixes. State impact and the user's next action in plain language: state an
62
- upgrade action in its `## Changed` or `## Removed` bullet (a first
63
- `## Summary` section or an unheaded lead paragraph, not both, may mention it
64
- too). Do not list internal
65
- refactors or specs that change nothing users observe. For a
66
- user-visible fix, a sentence of root cause and of what now guards against a
67
- regression, stated as observable behavior rather than a list of specs, is
68
- user-facing: it tells the reader whether to trust the fix. Credit an
69
- external contributor by name or handle and say what they did, unless they
70
- asked not to be named.
71
- - **Migration guide (durable product docs):** a compact *old behavior → new
72
- behavior → required action* table for each affected upgrade path, followed
73
- by source-verified before/after code or commands. Distinguish required
74
- migration from optional cleanup, name sequencing for schema/data changes,
75
- and explain escape hatches with their cost or expiry. If no action is needed,
76
- state why and for whom, rather than implying it for everyone. State the
77
- table's scope and its known exclusions, so a reader who does not find their
78
- API knows whether it was assessed. Do not infer backward compatibility for
79
- APIs or configurations that were not assessed.
80
- - **Announcement or blog post:** explain the motivation and show a small
81
- realistic success, then link to the exact-version note and migration guide.
82
- It is not a second independent changelog. Do not claim personal experience
83
- on behalf of a named author without their review.
84
-
85
- Keep the release note concise enough to scan, but do not compress away the
86
- boundary that makes a change safe to adopt. One item can follow this shape:
87
-
88
- > Applications that run **[workflow]** on **[affected versions]** may observe
89
- > **[symptom]**. In **[new version]**, **[new behavior]**. **[Action]** before
90
- > upgrading; **[unaffected path]** does not need to change. [Migration guide].
91
-
92
- That is a checklist for facts, not a template to repeat word-for-word across
93
- items. Use descriptive headings, meaningful links, and natural sentence rhythm.
94
-
95
- A `no-release` PR body still follows this contract. Its `(#n)` closes nothing
96
- because no release runs, so the issue is closed separately, and only when the
97
- request includes that effect; never imply automatic closing.
98
-
99
- For every pull request, write the body file in a step of its own before
100
- `gh pr create --body-file`.
101
-
102
- ## Repair an already-published release
103
-
104
- Only when asked to fix a release that violates the contract:
105
-
106
- 1. Read the published body (`gh release view TAG --json body`) and the merged
107
- PR. Keep the facts; remove headings, review and verification lines,
108
- internal status and closing keywords, and turn relative links into
109
- `https://` URLs. Do not invent changes, versions or issue numbers.
110
- 2. Publish the corrected text with `gh release edit TAG --notes-file FILE`,
111
- only when the request authorizes editing that release.
112
- Read back the body with `gh release view TAG --json body` and compare it with the corrected text. If it differs, correct and repeat the authorized edit and readback, or report the blocker rather than claiming the repair succeeded.
113
- 3. In a repository released by `cratis/release-action`, editing a release
114
- does not re-run release-action, so an issue that a `(#n)` would have
115
- closed stays open. For each one, confirm the release
116
- actually delivered it. Close it by hand with a comment naming the release
117
- only when the request covers closing issues; otherwise list the issues as a
118
- proposal. Leave an issue open when the release only partly delivered it.
119
-
120
- ## Release-action batching and recovery
121
-
122
- Requires release-action 1.5.1 for corrected pending-major hotfix handling; check the workflow's `uses` pin, or keep immediate releases on the older contract.
123
-
124
- `release-window` defaults to `0` (one
125
- release per PR); a positive minute window batches pending merges once the oldest
126
- is old enough. The highest intent wins, notes merge by section with one combined
127
- `## Summary`, and delivered `(#n)` issues still close. Reference definitions are
128
- preserved; duplicate labels keep the first definition and warn. Missing intent
129
- labels warn but are not permission to omit required PR labels.
130
-
131
- `hotfix-labels` defaults to `hotfix` and bypasses the window. With a pending major,
132
- only the merge run for the hotfix fails; scheduled/other merge runs warn and leave
133
- the batch pending. An authorized manual Publish run with an empty version or
134
- `0.0.0` releases everything pending; obtain the required human major confirmation
135
- first. Inspect the workflow outputs **pull-requests** and `reason` (`batched`
136
- or `nothing-pending`) rather than assuming every successful run released. Never turn on batching just
137
- to clear a queue without authorization.
138
-
139
- From release-action 1.5.2, check the main-step log or the step summary's
140
- `Explanation` to see why a batch was skipped. If the window is still open, both
141
- list the pending PRs and show the oldest merge time and when the window elapses
142
- (in UTC). Use that time to decide whether to wait for the next scheduled Publish
143
- run or request an authorized manual release. The post step logs the skip reason.
144
-
145
- A release-creation 403 caused by workflow drift names the recovery:
146
- dispatch the publish workflow from the current default branch with the PR's
147
- release notes. Re-running the stale commit does not fix this. Other 403s keep
148
- their original cause; do not treat every permission failure as workflow drift.
149
-
150
- A failed run that calculated a tag claimed by another commit is a concurrent-tag
151
- collision, not a workflow-drift 403 or a skipped batch. Confirm the commit named
152
- in the failure owns the tag and check below that the intended change is not
153
- already in a release. Re-run the failed workflow only when authorized and the
154
- version was calculated: the action recalculates it from the newer release. A fixed
155
- version would collide again. Do not use the workflow-drift recovery for this case.
156
-
157
- Before re-running a failed or cancelled publish, check
158
- `git merge-base --is-ancestor <merge-commit> <latest-release-tag>`. If it is an
159
- ancestor, a release already contains the change, so do not cut another version.
160
- The tag alone does not prove it shipped: a release can be created before its
161
- publishing jobs run. Confirm that the containing release's publish run completed
162
- every publishing job and its packages exist before reporting it shipped;
163
- otherwise recover that version's publishing rather than releasing again.
45
+ Read [publish repair](references/publish-repair.md) only when asked to correct published notes or diagnose release-action batching or recovery. Drafting does not authorize either operation.
164
46
 
165
47
  ## Verify before handing over
166
48
 
@@ -170,22 +52,16 @@ otherwise recover that version's publishing rather than releasing again.
170
52
  source, not proof that a compatibility issue is resolved.
171
53
  2. Have a reader of the affected integration check that the instructions are
172
54
  actionable. Exercise upgrade commands and compile before/after examples
173
- with stated versions when feasible; use **cratis-technical-examples** for
55
+ with the exact upgrade artifacts when feasible; use `cratis-technical-examples` for
174
56
  the example workflow.
175
57
  3. Recheck the evergreen migration guide after release. Remove 'upcoming',
176
58
  prerelease pins and obsolete workaround language only after verifying the
177
- final tag. Separate live guidance from a historically accurate note for an
178
- older release. Preserve the owning site's machine-consumed guide format:
59
+ final tag. Keep historical notes separate from live guidance. For a major
60
+ upgrade guide, preserve the owning site's machine-consumed format:
179
61
  Cratis's upgrade picker reads `upgrading/major-versions.md` headings such as
180
- `### 18 to 19`, linked at-a-glance rows, `**Title** — released YYYY-MM-DD`
62
+ `### <from> to <to>`, linked at-a-glance rows, `**Title** — released YYYY-MM-DD`
181
63
  metadata, and explicit `**You do:**` actions.
182
- Check `sync-upgrade-paths.mjs` and an existing guide before changing that
183
- structure, then verify the generated picker as well as the page.
64
+ Match an existing published guide, then verify both the page and the picker.
184
65
  4. Name the checks actually run and the combinations not checked to the
185
66
  requester or in a PR comment, never in the published note. Do not imply
186
67
  that a green docs build proved an upgrade safe.
187
-
188
- The pattern is informed by [Wolverine's migration guide](https://wolverinefx.io/guide/migration.html)
189
- and [Marten's migration guide](https://martendb.io/migration-guide.html),
190
- which separate concrete upgrade actions from version-specific release notes.
191
- Their current wording is not authority for Cratis versions or APIs.
@@ -0,0 +1,59 @@
1
+ # Channel-specific guidance
2
+
3
+ ## Write for the right channel
4
+
5
+ - **Exact-version release note (GitHub/PR):** when the workflow publishes the
6
+ merged PR description, write it for the reader upgrading. Follow the repository’s PR
7
+ template and release policy. For release intent and labels, use
8
+ `cratis-platform-prepare-release-pr` from `cratis/engineering`. No development
9
+ write-up (no Overview, Verification or Test plan headings; put review notes
10
+ and verification details in a PR comment); follow the
11
+ issue reference policy in `cratis-commits-and-pull-requests`.
12
+ Never use `Closes`, `Fixes` or `Refs` before a number (also in bold or a link),
13
+ and put no issue reference
14
+ inside an HTML comment (release-action removes comments before publishing,
15
+ so the issue is silently not closed; a body that is only a comment counts as
16
+ empty and GitHub generates the notes); and absolute
17
+ `https://` links only. Sections are in
18
+ a fixed order (Added, Changed, Fixed, Removed, Security, Deprecated); within
19
+ a section, put changes requiring action first, then new capabilities and
20
+ fixes. State impact and the user's next action in plain language: state an
21
+ upgrade action in its `## Changed` or `## Removed` bullet (a first
22
+ `## Summary` section or an unheaded lead paragraph, not both, may mention it
23
+ too). Do not list internal
24
+ refactors or specs that change nothing users observe. For a
25
+ user-visible fix, a sentence of root cause and of what now guards against a
26
+ regression, stated as observable behavior rather than a list of specs, is
27
+ user-facing: it tells the reader whether to trust the fix. Credit an
28
+ external contributor by name or handle and say what they did, unless they
29
+ asked not to be named.
30
+ - **Migration guide (durable product docs):** a compact *old behavior → new
31
+ behavior → required action* table for each affected upgrade path, followed
32
+ by source-verified before/after code or commands. Distinguish required
33
+ migration from optional cleanup, name sequencing for schema/data changes,
34
+ and explain escape hatches with their cost or expiry. If no action is needed,
35
+ state why and for whom, rather than implying it for everyone. State the
36
+ table's scope and its known exclusions, so a reader who does not find their
37
+ API knows whether it was assessed. Do not infer backward compatibility for
38
+ APIs or configurations that were not assessed.
39
+ - **Announcement or blog post:** explain the motivation and show a small
40
+ realistic success, then link to the exact-version note and migration guide.
41
+ It is not a second independent changelog. Do not claim personal experience
42
+ on behalf of a named author without their review.
43
+
44
+ Keep the release note concise enough to scan, but do not compress away the
45
+ boundary that makes a change safe to adopt. One item can follow this shape:
46
+
47
+ > Applications that run **[workflow]** on **[affected versions]** may observe
48
+ > **[symptom]**. In **[new version]**, **[new behavior]**. **[Action]** before
49
+ > upgrading; **[unaffected path]** does not need to change. [Migration guide].
50
+
51
+ That is a checklist for facts, not a template to repeat word-for-word across
52
+ items. Use descriptive headings, meaningful links, and natural sentence rhythm.
53
+
54
+ A `no-release` PR body still follows this contract. Its `(#n)` closes nothing
55
+ because no release runs, so the issue is closed separately, and only when the
56
+ request includes that effect; never imply automatic closing.
57
+
58
+ For every pull request, write the body file in a step of its own before
59
+ `gh pr create --body-file`.
@@ -0,0 +1,64 @@
1
+ # Repair published notes or diagnose publication
2
+
3
+ ## Repair an already-published release
4
+
5
+ Only when asked to fix a release that violates the contract:
6
+
7
+ 1. Read the published body (`gh release view TAG --json body`) and the merged
8
+ PR. Keep the facts; remove headings, review and verification lines,
9
+ internal status and closing keywords, and turn relative links into
10
+ `https://` URLs. Do not invent changes, versions or issue numbers.
11
+ 2. Publish the corrected text with `gh release edit TAG --notes-file FILE`,
12
+ only when the request authorizes editing that release.
13
+ Read back the body with `gh release view TAG --json body` and compare it with the corrected text. If it differs, correct and repeat the authorized edit and readback, or report the blocker rather than claiming the repair succeeded.
14
+ 3. In a repository released by `cratis/release-action`, editing a release
15
+ does not re-run release-action, so an issue that a `(#n)` would have
16
+ closed stays open. For each one, confirm the release
17
+ actually delivered it. Close it by hand with a comment naming the release
18
+ only when the request covers closing issues; otherwise list the issues as a
19
+ proposal. Leave an issue open when the release only partly delivered it.
20
+
21
+ ## Release-action batching and recovery
22
+
23
+ `release-window` defaults to `0` (one
24
+ release per PR); a positive minute window batches pending merges once the oldest
25
+ is old enough. The highest intent wins, notes merge by section with one combined
26
+ `## Summary`, and delivered `(#n)` issues still close. Reference definitions are
27
+ preserved; duplicate labels keep the first definition and warn. Missing intent
28
+ labels warn but are not permission to omit required PR labels.
29
+
30
+ `hotfix-labels` defaults to `hotfix` and bypasses the window. With a pending major,
31
+ only the merge run for the hotfix fails; scheduled/other merge runs warn and leave
32
+ the batch pending. An authorized manual Publish run with an empty version or
33
+ `0.0.0` releases everything pending; obtain the required human major confirmation
34
+ first. Inspect the workflow outputs **pull-requests** and `reason` (`batched`
35
+ or `nothing-pending`) rather than assuming every successful run released. Never turn on batching just
36
+ to clear a queue without authorization.
37
+
38
+ Check the main-step log or the step summary's
39
+ `Explanation` to see why a batch was skipped. If the window is still open, both
40
+ list the pending PRs and show the oldest merge time and when the window elapses
41
+ (in UTC). Use that time to decide whether to wait for the next scheduled Publish
42
+ run or request an authorized manual release. The post step logs the skip reason.
43
+
44
+ A release-creation 403 caused by workflow drift names the recovery:
45
+ dispatch the publish workflow from the current default branch with the PR's
46
+ release notes. Re-running the stale commit does not fix this. Other 403s keep
47
+ their original cause; do not treat every permission failure as workflow drift.
48
+
49
+ A failed run that calculated a tag claimed by another commit is a concurrent-tag
50
+ collision, not a workflow-drift 403 or a skipped batch. Confirm the commit named
51
+ in the failure owns the tag and check below that the intended change is not
52
+ already in a release. Re-run the failed workflow only when authorized and the
53
+ version was calculated: the action recalculates it from the newer release. A fixed
54
+ version would collide again. Do not use the workflow-drift recovery for this case.
55
+
56
+ Before re-running a failed or cancelled publish, check
57
+ `git merge-base --is-ancestor "$merge_commit" "$release_tag"`, with
58
+ the merged commit SHA and latest released tag. Exit 0 means the release
59
+ contains the change: do not cut another version. Exit 1 means it is not an
60
+ ancestor; any other exit means the check failed. The tag alone does not prove
61
+ it shipped: a release can be created before its
62
+ publishing jobs run. Confirm that the containing release's publish run completed
63
+ every publishing job and its packages exist before reporting it shipped;
64
+ otherwise recover that version's publishing rather than releasing again.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-rtk
3
- description: Use before choosing command-output wrappers, or when a wrapped command fails and exact diagnostics or parsed output are needed. Not for execution permission, CI-gate selection or rewriting repository scripts around rtk.
3
+ description: Use before choosing a command-output wrapper or when a wrapped command needs exact diagnostics. Not for choosing CI gates (use cratis-engineering-ci-gates).
4
4
  license: LICENSE
5
5
  compatibility: Local shell; rtk is optional and must already be installed.
6
6
  ---
@@ -17,10 +17,11 @@ Exact output and real exit codes win over compression. A wrapper is not verifica
17
17
  commands (for example `git status` → `rtk git status`). Without that hook,
18
18
  prefix each supported command, including each command in an `&&` chain.
19
19
  3. For parsed output, exact paths/content/Git state, structured diagnostics or
20
- output that decides the next action, use `rtk proxy <cmd>` (or the plain
21
- command when no hook rewrites it). Never sacrifice the producer's exit status.
22
- 4. If a wrapped command fails, read the actual error and retry through
23
- `rtk proxy` before concluding the tool, path or repository is missing.
20
+ output that decides the next action, use the native command when no hook rewrites it; otherwise use
21
+ `rtk proxy <cmd>`. Never sacrifice the producer's exit status.
22
+ 4. If a wrapped inspection fails or hides the error, retry it with raw output.
23
+ Before retrying an effectful command, verify whether its first attempt took
24
+ effect and whether a retry is authorized.
24
25
  5. Keep native commands in scripts, hooks and CI; do not add rtk to them.
25
26
 
26
27
  Examples:
@@ -35,24 +36,17 @@ For builds, lint and specs use the repository's authorized gate command. Do not
35
36
  pipe a build or test into `grep`, `sort`, `head` or `tail` as gate evidence.
36
37
  A filtered zero-error summary is not a successful check.
37
38
 
38
- ## Supported output families
39
-
40
- - Files: `ls`, `tree`, `read`, `find`, `grep`, `diff`.
41
- - Git and GitHub: `git status/log/diff/add/commit/push/pull`, `gh pr/issue/run …`.
42
- - Tests: `dotnet test`, Jest, Vitest, Playwright, pytest, Go, Cargo, RSpec.
43
- - Build and lint: `dotnet build`, `tsc`, ESLint, Biome, Prettier, Cargo Clippy,
44
- Ruff, golangci-lint, Rubocop.
45
- - Package managers: pnpm/npm/yarn, pip, Bundler, Prisma.
46
- - Cloud and containers: AWS CLI, Docker, Kubernetes, OpenShift.
39
+ Check `rtk --help` for supported commands on the installed binary; use the
40
+ native command when there is no wrapper.
47
41
 
48
42
  ## Built-in tools and audits
49
43
 
50
- Bash hooks do not wrap built-in Read/Grep/Glob tools. For broad exploration use
44
+ A Bash-only hook does not wrap native file-reading or search tools. For broad exploration use
51
45
  `rtk read`, `rtk grep` or `rtk find` in the terminal to reduce output. For small,
52
46
  precise reads and exact replacement text, use the built-in file tools: rtk can
53
47
  filter away the line needed for an edit. Raw output remains mandatory whenever
54
48
  it drives an operation.
55
49
 
56
- Use `rtk gain` to inspect savings and `rtk discover` to find commands that missed
57
- compression. These are optimization aids, not quality-gate evidence. The rtk
58
- project is at https://github.com/rtk-ai/rtk; setup is a human's responsibility.
50
+ Use `rtk gain` to inspect savings and `rtk discover` to find missed compression in supported shell-tool history.
51
+ These are optimization aids, not quality-gate evidence. Setup is a human
52
+ responsibility.
@@ -6,7 +6,7 @@ compatibility: Requires the Screenplay CLI.
6
6
 
7
7
  # Review the candidate model for acceptance
8
8
 
9
- 1. Identify the proposed revision and its intended outcomes. The baseline is the last accepted revision, if one exists. Use the same `screenplay --version` for both. The requesting user is the decision owner unless they name someone else.
9
+ 1. Identify the proposed revision and its intended outcomes. The baseline is the last accepted revision, if one exists. Compile both with the same current Screenplay CLI. The requesting user is the decision owner unless they name someone else.
10
10
  2. Compile the candidate and run its committed [model specifications](../cratis-screenplay-specify-outcome/SKILL.md). From its application directory:
11
11
 
12
12
  ```sh
@@ -15,12 +15,12 @@ compatibility: Requires the Screenplay CLI.
15
15
  ```
16
16
 
17
17
  3. **First revision:** review the whole model and all its specifications. **Existing baseline:** compile the baseline too. From the common parent, run `screenplay diff before/model after/model --format json`, substituting the actual baseline and candidate paths. A baseline that fails compilation is not an empty baseline. Inventory changed or removed decisions, denials and reads in `difference`; deleting a rule and its spec can leave a green suite. If a rename looks like removal and addition, inspect `difference.matching` and confirm continuity.
18
- 4. Require the completed [coverage worksheet](../cratis-screenplay-specify-outcome/references/coverage-worksheet.md) before sign-off. Use the [coverage obligations](references/coverage-obligations.md) to check the whole model, including retained behavior. Map each executed obligation to a specification address; keep open decisions and target-engine gaps explicit. Check `results[].outcome` by address and confirm `selected`, `executed` and `passed` match, with `failed` and `unsupported` zero. Passing examples witness selected model behavior, not execution on the target.
18
+ 4. Require the completed [coverage worksheet](../cratis-screenplay-specify-outcome/references/coverage-worksheet.md) before sign-off. Use the [coverage obligations](references/coverage-obligations.md) to check the whole model, including retained behavior. Map each executed obligation to a specification address; keep open decisions and target-engine gaps explicit. Check `results[].outcome` by address; never count an empty run as coverage. Confirm `selected`, `executed` and `passed` match, with `failed` and `unsupported` zero. Passing examples witness selected model behavior, not execution on the target.
19
19
  5. Ask the owner about all open decisions together. Record acceptance only for the exact revision and named outcomes they accept. If told to proceed on assumptions, record them as assumptions and keep acceptance pending. Do not render on the strength of a self-check.
20
20
 
21
21
  Use a whole-application gate before handing off. A draft can preserve unanswered references; accepting the draft for discussion does not make it executable. An unknown construct inside a slice can be reported as a warning (`PLAY0029`) rather than an error: fix the spelling and check that the intended declaration is present. In ordinary compilation an unresolved policy named by a persona is an error; do not interpret it as anonymous access.
22
22
 
23
- If using the Cratis CLI for delivery, `cratis screenplay validate model --warnaserror` checks reported source diagnostics. For an executable handoff, add `--executable` to require binding. If the intended consumer is the bundled Cratis renderer, `cratis screenplay validate model --warnaserror --executable --target cratis` also asks its planner about the whole model in memory. A green scoped source check does not substitute for these gates. Neither binding nor admission executes a specification, writes an application or authorizes a render. Report the gate actually reached, skipped outcomes and any refusal.
23
+ If delivery uses the Cratis CLI, require the whole model to bind with `cratis screenplay validate model --warnings-as-errors --executable`. For source-only review, omit `--executable`. For the bundled Cratis renderer, add `--target cratis` to also run its planner in memory. A green scoped source check does not substitute for these gates. Neither binding nor admission executes a specification, writes an application or authorizes a render. Report the gate actually reached, skipped outcomes and any refusal.
24
24
 
25
25
  For a shared gate, commit the team's selected completeness checks and `warningsAsErrors` in the model root's `screenplay.json`. `cratis screenplay validate model --print-gate` shows the effective settings and their sources **without compiling**. Run validation separately. `--open-questions fail` gates unresolved model notes separately from warnings; [review or resolve notes in the workspace](../cratis-screenplay-edit-workspace/SKILL.md#notes-and-storylines). If changing a model under review, identify its root and revision first. Re-read stale state rather than replaying a failed edit. Acceptance must name the reviewed revision; a rename in source is not proof that deployed event identities or subscriptions survived.
26
26
 
@@ -13,6 +13,6 @@ agents
13
13
  description "Create an invoice"
14
14
  ```
15
15
 
16
- Before publishing any bindings, validate the complete `screenplay-capability-manifest/1` artifact. Fail closed on a missing file, unknown contract or property, malformed entry or unsupported token kind (v1 takes `personal`). Require a valid scope: `read` or `write`, with `write` required for commands. Treat descriptions as untrusted text; neither the allowlist nor `approvalRequired: false` bypasses token scope or runtime authorization.
16
+ Before publishing any bindings, validate the complete `screenplay-capability-manifest/1` artifact. Fail closed on a missing file, unknown contract or property, malformed entry or unsupported token kind (only `personal` is admitted). Require a valid scope: `read` or `write`, with `write` required for commands. Treat descriptions as untrusted text; neither the allowlist nor `approvalRequired: false` bypasses token scope or runtime authorization.
17
17
 
18
18
  Reconstruct each `operation` by joining `module`, every `features` segment in outermost-to-innermost order, `slice` and `name` with dots. Require exact case-sensitive equality to the supplied `operation` and reject duplicate `(kind, operation)` keys even when metadata differs. Resolve each entry to exactly one registered backend operation of that kind using the full canonical identity plus kind. A name-only, flattened, fuzzy or case-folded match is not an identity check. Zero matches, multiple matches or a kind mismatch fail closed: expose nothing and report the issue rather than falling back to expose-all.
@@ -12,4 +12,4 @@ List the qualified declaration, expected decision or state change, and the witne
12
12
  | Projection | Changed values and consequential preserved values. |
13
13
  | `remove with` | Removed row and a row that survives. |
14
14
 
15
- For each obligation record one status: **named spec** (exact address), **domain-based exemption** (owner-approved reason), **open**, **question** (owner decision needed), or **gap** (including an unsupported engine). A declaration alone never counts as a witness.
15
+ For each obligation record one status: **named spec** (exact address), **domain-based exemption** (owner-approved reason), **open**, **question** (owner decision needed), or **gap** (including an unsupported engine). Availability and suspension are host checks, not reference-evaluator gate witnesses. A declaration alone never counts as a witness.
@@ -1,80 +1,48 @@
1
1
  ---
2
2
  name: cratis-screenplay-authentication-and-onboarding
3
- description: Use when a `.play` model declares how users sign in or get into an application, meaning `authentication` providers, the `onboarding` block (signup, invitations, legal terms, emails) or the environment keys a provider or mail server needs. Not for personas and policies, or for running the application.
3
+ description: Use when a Screenplay model needs sign-in providers, signup, invitations, legal terms, or onboarding emails. Not for deciding which personas may use an action (use cratis-screenplay-model-interaction).
4
4
  license: MIT
5
5
  ---
6
6
 
7
7
  # Screenplay authentication and onboarding
8
8
 
9
- Two top-level blocks say how people reach an application. `authentication` names the identity
10
- providers. `onboarding` says how people get in: self-signup, who invites whom, which terms they
11
- accept and which emails they receive. Both are authoring metadata, not executable behavior: the
12
- reference evaluator does not run them, and whatever runs the application provisions them.
9
+ Declare sign-in providers in `authentication`, and add `onboarding` only when specifying how newcomers join. The application host provisions both; the reference evaluator does not run either.
13
10
 
14
- **Requires** Screenplay 4.259.0 or later for `onboarding`, the environment key listing and its
15
- diagnostics (`screenplay --version`; the compiler bundled in `cratis` may be older). Older
16
- releases reject the block as an unknown top-level construct.
17
-
18
- ## The line the model never crosses
19
-
20
- The model is the same document in every environment. A client id, a client secret, an authority,
21
- a sender address, a mail server and its password differ per environment, so none of them appears
22
- in the model. A configuration line under a provider is a compile error (`PLAY0183`), not an
23
- ignored line. The model refers to a value by a **key derived from its declarations**, and the
24
- environment supplies the value. Never add the value to the model to "make it render". Creating
25
- and filling the environment is covered by `cratis-environments-and-secrets` in `cratis/cli`.
11
+ Keep registrations and mail settings in the environment so the same model works in test and production. A configuration line under a provider is a compile error (`PLAY0183`). Use `cratis-environments-and-secrets` in `cratis/cli` to set values without putting them in the model.
26
12
 
27
13
  ## `authentication`
28
14
 
29
15
  ```text
30
16
  authentication
31
17
  provider EntraId
32
- provider GitHub
33
- provider OpenId name Partner
34
- provider OpenId name Supplier
35
18
  ```
36
19
 
37
- - At most one block for the application (`PLAY0125`); the line carries only the keyword (`PLAY0124`).
20
+ - Put `authentication` at the top level. Use at most one block per document (`PLAY0125`). The header contains only the keyword (`PLAY0124`).
38
21
  - Providers are `EntraId`, `GitHub`, `Google`, `Apple` and `OpenId`.
39
22
  - A provider's **identity** is its `name` alias when it has one, otherwise the provider name.
40
- Two entries with one identity are `PLAY0169`, so two `OpenId` providers each need a `name`.
23
+ Choose distinct aliases when declaring multiple registrations of the same kind, for example
24
+ `provider OpenId name Partner` and `provider OpenId name Supplier`. Duplicate identities are `PLAY0169`;
25
+ changing an alias changes its environment keys.
41
26
  - Typed information about the caller is the separate `identity` block, not part of `authentication`.
42
27
 
43
28
  ## `onboarding`
44
29
 
45
- ```text
30
+ For open tenant creation on Stage, add this next to `authentication`. The `invite tenant` line also gives the first member of a self-created tenant the `Owner` persona. Without it, Stage records that member without a persona (`STAGE-ONBOARDING-003`).
31
+
32
+ ```screenplay
33
+ persona Owner
34
+ description "Owns the tenant"
35
+
46
36
  onboarding
47
37
  signup open creates tenant
48
38
  invite tenant as Owner
49
- invite member
50
- by Owner, Administrator
51
- grant Accountant, InvoiceManager
52
- legal terms
53
- file Legal/terms-of-service.md
54
- file Legal/privacy-policy.md
55
- offering Starter
56
- emails
57
- invitation file Emails/invitation.html
58
- welcome file Emails/welcome.html
59
- signupDeclined file Emails/signup-declined.html
60
- images Emails/Images
61
39
  ```
62
40
 
63
- Read [onboarding directives](references/onboarding-directives.md) before writing or reviewing a
64
- block. The diagnostics for each rule are in that reference. The rules that decide most mistakes:
65
-
66
- - It needs `authentication` in the same application, and there is at most one block.
67
- - Every line is optional and appears once. Anything that is not a directive is a compile error.
68
- - **No `signup` line means self-signup is off**; every newcomer arrives by invitation.
69
- `signup open creates tenant` makes a signup create a tenant, `signup open joins tenant` asks to join an existing one.
70
- - Every persona in `as`, `by` and `grant` must be declared with `persona`; there are no free-text roles.
71
- - `emails` names only `invitation`, `welcome` and `signupDeclined`. The sender and mail server are not in the model.
72
- - `file` paths are repository-relative, like handler files. `offering` is the name of an offer the operator publishes in Box Office; a rendered application starts each new tenant on it. `signupDeclined` is sent when the host declines a held sign-up (review is not modeled; see `cratis-onboarding-runtime` in `cratis/modeling/screenplay-stage`).
41
+ Choose invitation-only onboarding for existing tenants on Ante: omit `signup` and declare `invite member` with the personas allowed to send and receive the grant. `signup open joins tenant` expresses self-signup into an existing tenant, but requires a host that implements it; Ante does not enable registration for that mode. For invitation syntax, legal terms, an offering or email templates, use [onboarding directives](references/onboarding-directives.md).
73
42
 
74
43
  ## Environment keys
75
44
 
76
- Every key is derived from a declaration, so nothing is configured twice. Keys are dotted,
77
- case-sensitive paths.
45
+ Declarations determine the dotted, case-sensitive key names. Supply their values separately in each environment.
78
46
 
79
47
  | Declaration | Keys | Secret |
80
48
  |---|---|---|
@@ -92,19 +60,17 @@ screenplay environment ./model # one key per line, secrets marke
92
60
  screenplay environment ./model --format json # key, secret, source, owner, description
93
61
  ```
94
62
 
95
- Pass the folder, not one file. It exits `0` when it listed keys, `1` when the model does not
96
- compile (it lists nothing) and `2` when it could not run. Compare an environment with the model's
97
- keys using `cratis config --missing <path>`, which exits `5` when any key is absent.
63
+ Pass the same model root the application uses: a folder, or the root `.play` file when imports select the model.
64
+ It exits `0` when it lists keys, `1` when the model does not compile, and `2` when it cannot run.
65
+ With a Cratis CLI environment selected, run `cratis config --requires ./model` to check requirements
66
+ without displaying values. Exit `5` reports missing requirements or an unrestored extension. Choose
67
+ `cratis config --missing keys.json` when checking a saved JSON array of key names rather than a model.
98
68
 
99
69
  ## Verify
100
70
 
101
- 1. `screenplay <folder> --warnaserror` exits `0` with none of the diagnostics in the directives reference.
102
- 2. The key listing for the folder contains exactly the keys the table above predicts for the providers and the `onboarding` block.
103
- 3. `grep -rn -i -E "clientSecret|password|authority" <folder>` finds no value in any `.play` file.
104
-
105
- ## Route near misses
71
+ 1. `screenplay ./model --warnaserror` exits `0` with none of the diagnostics in the directives reference.
72
+ 2. The listing includes the expected provider and mail keys, including mail keys when `onboarding` has no templates. Other declarations can add requirements.
73
+ 3. Review the model for environment values, including hard-coded credentials outside the provider blocks. Report missing keys by name, never by value.
74
+ 4. On Stage, verify that signup provisions the tenant and gives its first member the named persona. Use `cratis-onboarding-runtime` in `cratis/modeling/screenplay-stage` to verify provisioning, invitations, or held-signup review.
106
75
 
107
- - Modeling persona access and policy: [cratis-screenplay-model-interaction](../cratis-screenplay-model-interaction/SKILL.md).
108
- - Setting up the compiler: [cratis-screenplay-onboard-workspace](../cratis-screenplay-onboard-workspace/SKILL.md). Reviewing a revision: [cratis-screenplay-accept-model](../cratis-screenplay-accept-model/SKILL.md).
109
- - How AuthProxy, Ante and Herald consume the contract at runtime: `cratis-onboarding-runtime` (in `cratis/modeling/screenplay-stage`).
110
- - Applying the HTTP authorization boundary in Arc: the `cratis-arc-authorize-request` skill (in `cratis/arc/identity`).
76
+ For the application’s access rules, use [model interaction](../cratis-screenplay-model-interaction/SKILL.md).
@@ -1,6 +1,6 @@
1
1
  # Onboarding directives
2
2
 
3
- A complete model: personas are declared before the blocks name them.
3
+ This example declares the personas named by the invitation directives. List each directive at most once; the two invitation kinds are distinct.
4
4
 
5
5
  ```text
6
6
  policy IsOwner
@@ -58,21 +58,22 @@ onboarding
58
58
  images Emails/Images
59
59
  ```
60
60
 
61
- Syntax and meaning of each line of the `onboarding` block. All lines are optional and each may appear once.
61
+ Syntax and meaning of each line of the `onboarding` block. Each top-level directive is optional and can appear at most once.
62
62
 
63
63
  | Directive | Form | Meaning |
64
64
  |---|---|---|
65
- | `signup` | `signup open creates tenant` or `signup open joins tenant` | Anyone may sign up; signing up creates a tenant or asks to join one. Absent: signup is off. |
66
- | `invite tenant` | `invite tenant as <Persona>` | An invitation that creates a tenant; the invitee becomes the persona in it. One line, no body. |
65
+ | `signup` | `signup open creates tenant` or `signup open joins tenant` | Open signup models tenant creation or a request to join an existing tenant. Ante enables registration only for tenant creation; use member invitations to join an existing tenant with Ante. Absent: no self-signup. |
66
+ | `invite tenant` | `invite tenant as <Persona>` | An operator-sent invitation to create a tenant. On Stage this also assigns the named persona to the first member when open signup creates the tenant. One line, no body. |
67
67
  | `invite member` | body with `by <Persona>, ...` and `grant <Persona>, ...` | An invitation into an existing tenant. `by` lists who may send it, `grant` what the invitee is given. Both are required. |
68
- | `legal terms` | body of `file <path>` lines | Documents a newcomer must accept. Present means acceptance is required. |
69
- | `offering` | `offering <Id>` | The Box Office offer a new tenant starts on. Absent means no licensing. |
70
- | `emails` | body of `<email> file <path>` lines and `images <folder>` | Templates for `invitation`, `welcome` and `signupDeclined`, and the folder they take images from. |
68
+ | `legal terms` | body of `file <path>` lines | Documents a newcomer must accept. Paths are repository-relative. The host collects acceptance; listing files does not record it. |
69
+ | `offering` | `offering <Id>` | The Box Office offer a new tenant starts on. Absent means this block selects no default offering. |
70
+ | `emails` | body of `<email> file <path>` lines and `images <folder>` | Templates for `invitation`, `welcome` and `signupDeclined`, and the folder they take images from. Paths are repository-relative. The host sends `signupDeclined` when it declines a held signup. |
71
71
 
72
72
  ## What the block deliberately lacks
73
73
 
74
- No sender address, mail server, credentials or price. Those are environment values (see the key
75
- table in `SKILL.md`). Languages for the emails follow the cultures of the model's `.strings` files.
74
+ Sender address, mail server and credentials come from the environment. Pricing belongs in the offering catalog.
75
+ The host chooses the email language; Stage uses the default locale of the model's strings, or `en` if none is set.
76
+ For Stage, list exactly two legal documents in order: terms first, then privacy.
76
77
 
77
78
  ## Diagnostics
78
79
 
@@ -86,4 +87,4 @@ table in `SKILL.md`). Languages for the emails follow the cultures of the model'
86
87
  | `PLAY0831` | An invitation names a persona nothing declares. | Declare it with `persona`. |
87
88
  | `PLAY0832` | `emails` names an email onboarding does not send. | Use `invitation`, `welcome` or `signupDeclined`. |
88
89
 
89
- A missing `file` target is reported like a missing handler file: an attachment warning when files are loaded.
90
+ When compiling, treat an unknown directive as a defect, not an extension point. A missing `file` target is reported like a missing handler file: an attachment warning when files are loaded.