@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
@@ -0,0 +1,87 @@
1
+ # Issue disposition and audit
2
+
3
+ ## Make the open-issue count go down
4
+
5
+ 1. **Fix before filing.** Fix a small, in-scope finding in the same files and
6
+ risk area as the active change. Do not widen scope to improve the count.
7
+ Review advisories are fixed cheaply inline or dropped, not filed as issues.
8
+ 2. **File only when needed and authorized.** A real defect that cannot be fixed
9
+ now, or a follow-up delivery truly requires, may need an issue. Search open
10
+ and closed issues first, for example
11
+ `gh issue list --repo OWNER/REPO --state all --search "<area> in:title,body"`.
12
+ Reuse an existing issue instead of duplicating it; comment only when that
13
+ effect is authorized and adds necessary context.
14
+ 3. Keep every issue generic: no customer or customer-of-customer names, ever.
15
+ Group related findings into one checklist issue per area. Include concrete,
16
+ testable `## Acceptance criteria`. No speculative hardening, ideas or
17
+ "investigate later" issues. If filing is outside the request, list necessary
18
+ follow-ups in the report instead of creating them.
19
+ 4. **Close what is done**, through the correct delivery mechanism below. Partial
20
+ delivery stays open with exactly what remains. Do not manufacture completion
21
+ or create extra issues merely to move unfinished scope elsewhere.
22
+ 5. Prefer bounded issues that can be finished completely over starting large
23
+ epics. Report completed dispositions, not how many new issues were produced.
24
+
25
+ ## Close with a reason, through the owning mechanism
26
+
27
+ For issue references in the PR body, use `cratis-platform-prepare-release-pr`.
28
+ Before changing disposition, confirm the actual PR state, release
29
+ intent and repository workflow; a merged PR is not proof of a published release.
30
+
31
+ - **Release-action delivery:** for a fully delivered issue, the delivering
32
+ release-note bullet ends with `(#n)`. Verify the workflow enables issue closing and grants `issues: write`. When
33
+ those prerequisites hold, the action closes it at release; do not close it by
34
+ hand. If either is missing, report the gap rather than claiming automation
35
+ will close it. If release is pending, keep that dependency visible.
36
+ - **Manual completion:** only for a `no-release` PR or a repository without
37
+ release-action, and only when the request includes closing. Confirm all scope
38
+ is delivered and no required PR is open, unmerged, reverted or failing. Set
39
+ Done in a new closing comment and close with reason `completed` and a public
40
+ delivery link.
41
+ - **Duplicate or obsolete:** close only with clear evidence and authority. Mark
42
+ a duplicate using `--duplicate-of` and the canonical issue number or public
43
+ URL. For obsolete work, use `--reason "not planned"` and link what superseded
44
+ it in the closing comment. If uncertain, leave it open and report why.
45
+ - **Partial or unauthorized disposition:** leave it open with truthful remaining
46
+ scope or report the proposed disposition. Do not invent follow-up authority.
47
+
48
+ For an authorized manual completion, for example:
49
+
50
+ ```bash
51
+ gh issue close <n> --repo OWNER/REPO --reason completed \
52
+ --comment "Delivered in <public PR URL>. The agreed behavior is available."
53
+ ```
54
+
55
+ No closing keywords are needed in the PR description.
56
+
57
+ ## End-of-work audit
58
+
59
+ List issues touched by this work and reconcile each against its PR and release.
60
+ For example, `gh issue list --repo OWNER/REPO --assignee @me --state open` helps
61
+ find assigned work, but does not replace the list of issues actually touched.
62
+ Check merged PRs for completed work still open; distinguish pending release-action
63
+ closure from an authorized manual disposition. Verify closure through the issue's
64
+ actual state, not an assumption about merging.
65
+
66
+ Leave no issue appearing actively worked without an active writer. For unfinished
67
+ work, post an authorized new Paused or Blocked comment with what remains and what
68
+ it waits for; leave any legacy body status untouched. Reconcile follow-ups
69
+ with existing issues. Perform only authorized mutations; otherwise report the
70
+ proposed changes and the blocker. Summarize completed issues, pending release
71
+ closures and unfinished scope without publishing local paths or harness details.
72
+
73
+ ## How it is proven
74
+
75
+ Read the final title, body, comments and state, for example with
76
+ `gh issue view <n> --repo OWNER/REPO --json title,body,comments,state`. The title,
77
+ description and pre-existing comments are unchanged; new comments match the
78
+ actual PR and release, and any authorized closure is observable. Until
79
+ release-action runs, pending closure is not Done.
80
+
81
+ ## What breaks
82
+
83
+ - Editing existing issue text loses traceability and risks concurrent overwrites.
84
+ - Routine progress comments needlessly notify subscribers; meaningful events do not.
85
+ - Manual closure before release bypasses release-action's delivery contract.
86
+ - Filing every advisory grows the backlog without a necessary delivery.
87
+ - Stopping without a paused or blocked event leaves readers expecting active work.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-engineering-local-cross-repo-verification
3
- description: Use when a lower-layer Cratis fix needs proof in a downstream consumer before its producer PR or release. Not for single-repository checks, released-version pin bumps or shipping.
3
+ description: Use when a downstream consumer must prove an unreleased upstream fix. Not for single-repository checks (use cratis-engineering-ci-gates).
4
4
  license: LICENSE
5
5
  compatibility: Bash and git on macOS or Linux; Windows through WSL. Requires the ecosystem tools used by the selected recipe.
6
6
  ---
@@ -19,30 +19,28 @@ PR whose purpose is that consumer bug, rather than publishing just to find out.
19
19
  Also use this loop for:
20
20
 
21
21
  - Consumer-blocking fixes, dependency features, and breaking-change trials.
22
- - Release candidates in their main consumer (Specifications in Fundamentals).
22
+ - Release candidates in their main consumer.
23
23
  - Cross-repository bisects and build/test timing comparisons against lower-layer main.
24
24
  - Chained upgrades (Specifications → Fundamentals → Arc/Chronicle) without releasing each hop.
25
- - Release blockers: trying Specifications in Fundamentals can expose a generator bug before publishing.
26
25
 
27
26
  Prefer a release/preview for trivial changes, external consumers unable to use
28
27
  the local feed, or CI-only behavior this loop cannot reproduce.
29
28
 
30
29
  **Local verification replaces waiting, not shipping.** Other waits a candidate
31
- can avoid are in [cratis-engineering-release-trains](../cratis-engineering-release-trains/SKILL.md).
30
+ can avoid are in `cratis-engineering-release-trains`.
32
31
  After local proof, release
33
32
  the producer through the normal authorized workflow and bump the consumer to the
34
33
  released version. Local feeds, pins and images never go into production or a PR.
35
34
  Single-repository work needs its own regression specs, not this overlay. Released
36
35
  pin updates use ordinary dependency maintenance. For CI changes, follow the
37
36
  `github-actions` rule where installed with an engineering profile. Use
38
- [cratis-platform-prepare-release-pr](../cratis-platform-prepare-release-pr/SKILL.md) for the producer's PR body and label, and
39
- [cratis-release-notes](../cratis-release-notes/SKILL.md) for version announcements.
37
+ `cratis-platform-prepare-release-pr` for the producer's PR body and label, and
38
+ `cratis-release-notes` for version announcements.
40
39
 
41
40
  ## Prepare
42
41
 
43
42
  Execute [scripts/cratis-local-packages.sh](scripts/cratis-local-packages.sh), not
44
- an improvised replacement. Run `bash "$local" <command> --help` for inputs and
45
- errors. Requires bash, git and node for package registry operations; add dotnet for NuGet, Yarn and npm for npm packages, Docker
43
+ an improvised replacement. Run `bash "$local" --help` for syntax, prerequisites, and exit codes. Requires bash, git and node for package registry operations; add dotnet for NuGet, Yarn and npm for npm packages, Docker
46
44
  for images, or the selected language toolchain. Check availability first:
47
45
 
48
46
  ```bash
@@ -54,268 +52,22 @@ git --version
54
52
  command -v dotnet # substitute node/yarn/docker for the selected recipe
55
53
  ```
56
54
 
57
- The helper works with macOS bash 3.2 and Linux; Windows requires WSL. Match kernel
58
- publish RID and image architecture to the consumer daemon: `linux-arm64` and
59
- `arm64`, or `linux-x64` and `amd64`. Do not claim performance equivalence from a
60
- Debug build or across architectures.
55
+ Match the architecture of any locally built image to the test daemon.
61
56
 
62
57
  Check disk space and preserve existing edits in both repositories. Use an isolated
63
58
  worktree when a build regenerates tracked output. Inspect the consumer's own CI
64
59
  commands before choosing the build, regression spec and full gate commands.
65
60
 
66
- ## Copy this checklist
61
+ ## Default: prove the consumer against local producer artifacts
67
62
 
68
- - [ ] Reproduce the consumer bug and select its regression spec/app action.
69
- - [ ] Read [references/dependency-map.md](references/dependency-map.md) for the chain between the named repositories, generate one stamp, then pack each producer in upstream order.
70
- - [ ] If needed, publish the kernel and assets, then build a matching local image.
71
- - [ ] Run `closure` for the consumer and producers, follow the printed commands, and run its one `verify-pack` after the last pack.
72
- - [ ] Set a task ID (`--task ID` or `CRATIS_LOCAL_TASK`, convention `owner/repo#number`), activate the consumer overlay and select the local image.
73
- - [ ] Run `list` (or `list --json`) to inspect recorded producers, tasks and live consumers.
74
- - [ ] Build the consumer, run its regression specs/app action and required gates.
75
- - [ ] On failure, diagnose, fix the producer, create a distinct stamp and repeat.
76
- - [ ] Run `check` before every consumer commit and push, and on the producer; it must report 0 leaks.
77
- - [ ] Upstream first: a downstream ships only after the upstream has released and its pin is bumped to the released version.
78
- - [ ] Restore overlays, unset environment overrides, and run `check` again.
79
- - [ ] Review `finish --task ID`, mark completed work with `--apply`, then review `clean --expired` (or explicit `--stamp`) targets before applying cleanup.
63
+ 1. Reproduce the regression with released dependencies. Name the consumer check and the inputs it needs before changing resolution.
64
+ 2. Run `bash "$local" closure CONSUMER=PATH PRODUCER=PATH...` with producer names and absolute worktree paths in upstream order. Read [the dependency map](references/dependency-map.md) if planning fails or a repository is missing. Follow the printed stamp, pack, and `verify-pack` commands; require a passing verification after the last pack.
65
+ 3. Apply the planned overlay and restore; run `verify-assets` to confirm the stamp. For an image-only boundary, choose the [image recipe](references/docker-images.md) instead and verify the running tag. For an unmapped package producer, choose the manual pack and verification steps in the runbook.
66
+ 4. Run the original regression and the consumer’s required gates. If it still fails, diagnose before packing a new producer state; do not reuse a stale stamp.
67
+ 5. Run `check` for leaks in both repositories before any commit or push. Restore overlays, unset local selectors, and run `check` again. Review cleanup targets before applying them. Ship upstream first and verify the downstream again with the released pins.
80
68
 
81
- ### 1. Stamp
82
-
83
- ```bash
84
- stamp=$(bash "$local" stamp "$producer")
85
- ```
86
-
87
- Format: `<next-patch>-local.<12-digit-UTC-minute>.g<sha7>`, based on the highest reachable
88
- `vX.Y.Z` tag. Next-patch prereleases sort above the existing release; arbitrary
89
- `0.0.0-local` versions can violate transitive minimums and cause **NU1605**
90
- downgrades. Confirm tags cover the consumer's released constraints. With no tag,
91
- the helper warns and falls back to a base that must be checked before proceeding.
92
- The `g` prefix keeps even an all-digit SHA nonnumeric in SemVer.
93
- On `release/5.0`, use `stamp --base-version 5.0.0 "$producer"` (also with `--train`);
94
- the strict SemVer core overrides tag discovery verbatim. Ensure it meets consumer minima.
95
- Use the identical stamp for packages and images. A changed build needs a distinct
96
- stamp; do not overwrite a cached version (the minute and commit determine it).
97
-
98
- ### 2. Build and pack
99
-
100
- Run the producer's CI-equivalent build/specs first. NuGet packing builds in Release:
101
-
102
- ```bash
103
- bash "$local" pack-nuget "$producer" "$stamp" path/to/producer.slnx
104
- ```
105
-
106
- For npm, complete the repository build before
107
- `bash "$local" pack-npm "$producer" "$stamp"`. Pass: nonzero package count and
108
- exit `0`. Inspect package dependencies: every locally changed dependency ID must
109
- resolve to the stamp, not a published fallback. Chronicle's client solution filter
110
- can omit `Cratis.Chronicle.CodeAnalysis`; pack its code-analysis package project
111
- separately. The package IDs a producer should ship are listed in
112
- [dependency-map.tsv](scripts/dependency-map.tsv); `closure CONSUMER=PATH PRODUCER=PATH...` prints
113
- the stamp, every overlay, one `pack-*` command per map row (with its `--property` arguments) and
114
- ONE `verify-pack` for the whole plan (see [references/dependency-map.md](references/dependency-map.md)).
115
- Run the printed commands in order. A successful pack alone does not prove dependency closure;
116
- `verify-pack` does. After successful packing, the helper atomically records package IDs,
117
- producer worktree, branch and HEAD in `FEED/stamps/STAMP/record.json` (mode `0600`).
118
- Pass `--task ID` to `pack-*` and `use-*`, or set `CRATIS_LOCAL_TASK`; without either,
119
- the recorded task is null. IDs match `^[A-Za-z0-9][A-Za-z0-9._#:/-]{0,127}$` and
120
- are JSON values, never paths. Prefer `owner/repo#number`.
121
-
122
- ### 3. Build an image when needed
123
-
124
- Follow the kernel recipe below before building; it needs published binaries and
125
- Workbench `wwwroot`. From the producer root, for the selected architecture:
126
-
127
- ```bash
128
- docker build -f Docker/DevelopmentSlim/Dockerfile \
129
- -t "cratis/chronicle:$stamp-development-slim" .
130
- docker image inspect "cratis/chronicle:$stamp-development-slim"
131
- ```
132
-
133
- Pass: build exits `0` and inspection shows the expected tag and architecture.
134
- Never push these images. Testcontainers uses a local image when the selected tag
135
- exists in its daemon; ensure the test process uses that same daemon.
136
-
137
- ### 4. Use in the consumer
138
-
139
- ```bash
140
- bash "$local" use-nuget "$consumer" "$stamp" Cratis.Chronicle
141
- # Source the absolute session/env path printed by use-nuget.
142
- # For npm instead: bash "$local" use-npm "$consumer" "$stamp"
143
- export CHRONICLE_KERNEL_VERSION="$stamp" # Studio integration specs, if used
144
- ```
145
-
146
- Pass: the helper reports overridden IDs and restore resolves them to local
147
- artifacts. To isolate NuGet downloads per worktree, set the optional
148
- `NUGET_PACKAGES` export printed by `use-nuget` before restore and keep it set through
149
- `clean`; see [versions and cache](references/dotnet-nuget.md#versions-and-cache).
150
- Follow any printed `--configfile` instruction. Run Yarn install after
151
- `use-npm`; it adds file-tarball resolutions, not links to source folders.
152
-
153
- For independent NuGet producer versions, explicitly opt in with
154
- `verify-pack --composition FILE`, `use-nuget CONSUMER --composition FILE
155
- [--pin-transitive]`, then `verify-assets CONSUMER --composition FILE`. See the
156
- [manifest and native-validation workflow](references/dotnet-nuget.md#mixed-version-compositions-opt-in).
157
- No producer is rebuilt; restore before changing a composition or an active legacy overlay.
158
-
159
- ### 5. Build and exercise the consumer
160
-
161
- From the consumer root, with the printed NuGet environment sourced:
162
-
163
- ```bash
164
- dotnet build path/to/consumer.slnx -c Release -warnaserror
165
- ./<integration-project-dir>/bin/Release/<TFM>/<AssemblyName> <runner-specific-filter>
166
- ```
167
-
168
- Resolve the integration project's actual built spec entrypoint and filter syntax
169
- from its test runner and repository workflow; without apphost use `dotnet <TargetPath.dll>`. Only VSTest uses `dotnet test <project> -c Release
170
- --no-build --filter '<regression>'`. Keep the sourced local NuGet environment.
171
- Substitute the repository's actual commands; for frontend fixes run build, lint,
172
- specs and the previously broken UI action. Pass: the reproducing spec/action now
173
- succeeds, at least one intended filtered spec actually ran, and the consumer's
174
- required CI-equivalent gates pass. Zero matched tests is not proof. Studio local
175
- Debug builds skip analyzers: pass its full-build switch when matching CI. Read the recipe
176
- for that switch. On failure, change the producer and repeat with a distinct stamp;
177
- do not request a release to debug the next round.
178
-
179
- ### 6. Check before commit or push
180
-
181
- ```bash
182
- bash "$local" check "$consumer"
183
- bash "$local" check "$producer"
184
- ```
185
-
186
- Pass: exit `0`, reported file count, `0 leaks`. The scan examines added/changed
187
- tracked lines against HEAD (or `--staged`) plus non-ignored untracked file contents.
188
- It detects stamped local versions, the configured feed path, NuGet overlay/source
189
- properties, package-version updates and local npm file/link/portal references.
190
- It does not inspect committed history, ignored files, active shell variables or
191
- all resolved dependencies. A clean diff can report zero files; it is not proof
192
- that the overlay was inactive. Inspect actual resolution and restore explicitly.
193
-
194
- ### 7. Restore
195
-
196
- ```bash
197
- bash "$local" restore "$consumer"
198
- unset DirectoryPackagesPropsPath RestoreAdditionalProjectSources CHRONICLE_KERNEL_VERSION
199
- bash "$local" check "$consumer"
200
- ```
201
-
202
- Pass: restoration exits `0`, local overlay files are removed and `check` reports
203
- `0 leaks`. npm restore accepts overlay-only resolutions and local tarball lockfile
204
- entries after Yarn install; unrelated edits are refused with backups retained.
205
- Review conflicts and restore only overlay changes manually, then retry. Never
206
- overwrite unrelated work. Reinstall released npm dependencies
207
- and clear image/compose/Gradle selection too. Check the producer for codegen drift;
208
- Workbench builds can regenerate tracked proxies. Prefer a throwaway worktree, or
209
- use `git checkout -- <generated-path>` only after proving those edits are disposable
210
- build output, not pre-existing work.
211
-
212
- ### 8. Clean
213
-
214
- `list [--json] [--stamp STAMP]` is a lock-free, read-only inventory, including legacy
215
- artifacts without records. It shows producer ownership, task state, live/total consumers
216
- and age, plus recorded state. Invalid records appear as `invalid` rows (JSON includes
217
- `error`); listing continues and exits `1`. `use-*` records each consumer, including every
218
- composition member stamp. `restore` restores overlays first, then updates only those
219
- stamps' consumer entries; an invalid selected record warns with its path and exits `1`.
220
- A registry-write failure after activation warns and exits `1`, keeping the overlay for restoration.
221
-
222
- ```bash
223
- bash "$local" list
224
- bash "$local" finish --task owner/repo#number
225
- bash "$local" finish --task owner/repo#number --apply
226
- ```
227
-
228
- `finish` is dry-run by default, marks task completion only, and succeeds with a message
229
- if no record names the task and all records are valid. It warns and skips invalid records
230
- without rewriting them, continues with valid matches, and exits `1` if any were skipped.
231
- It never restores consumers or cleans packages automatically.
232
-
233
- ```bash
234
- bash "$local" clean "$consumer" --stamp "$stamp"
235
- # Review listed subjects and stop task-owned containers first.
236
- bash "$local" clean "$consumer" --stamp "$stamp" --apply
237
- ```
238
-
239
- `clean --stamp STAMP` validates only that stamp's record; default clean and `--all`
240
- validate all selected records. An invalid selected record refuses cleanup (`2`).
241
-
242
- Use `clean --expired` for retention-based cleanup, then add `--apply` after review.
243
- It keeps unrecorded stamps, active compositions and live manifest/overlay references
244
- (in registered sessions or recorded consumer worktrees). Otherwise, a stamp expires
245
- when every non-null producing task is finished (at least one required), all recorded
246
- consumers are gone (at least one required), or a real release at or above its base exists,
247
- in that order. Offline evidence is NuGet `.nupkg.metadata` in the shared or registered
248
- private caches; npm has no offline release check. `--online` opts into NuGet/npm
249
- registry checks with a 10-second timeout; failures provide no evidence. Each stamp
250
- prints `expired STAMP: REASON` or `kept STAMP: REASON`; kept stamps succeed (`0`).
251
- `list --json` reports the same offline decision in `expiry:{expired,reasons,kept}`.
252
- `--expired` cannot combine with `--stamp` or `--all`. It retains the same lock, fuse
253
- and dry-run default. Applying also prunes gone consumers and missing session registrations.
254
-
255
- Pass: expected subjects listed, then removed without force. Cleanup covers local
256
- feed packages, NuGet version folders, discoverable Yarn cache entries, local image
257
- tags, stamp record directories and registered sessions; unresolved npm backups block it. Missing Docker/Yarn
258
- probes are reported as skipped cleanup, not proof those stores are empty. Default
259
- fuse: 500 subjects; investigate an unexpectedly large list instead of raising it.
260
- NuGet cleanup scans the active shared cache and every registered private cache.
261
- It removes only recognized local/train version folders. Missing or mismatched
262
- private-cache markers, symlinks and paths outside the consumer's Git directory
263
- refuse the entire request. `restore` keeps private caches. After restoring overlays
264
- and removing live stamps, use `clean "$consumer" --private-cache` to review whole-cache
265
- removal, then add `--apply` to remove the marked cache and its session registration.
266
- Prefer `--stamp` to `--all`. Legacy cleanup refuses the entire request (exit `2`,
267
- also in dry-run) for registered live overlay/manifest references; it reports kept
268
- stamps and paths. Restore/remove references, then retry. This is not an ownership
269
- registry; unregistered consumers need manual review. To retire a hand-rolled
270
- `-local.N` feed, restore released pins/sources and switch to helper stamps; review
271
- old artifacts separately because `clean` does not recognize them. See
272
- [migration](references/dotnet-nuget.md#retire-a-hand-rolled-feed).
273
-
274
- ## Configuration and results
275
-
276
- The trusted shell config `${XDG_CONFIG_HOME:-$HOME/.config}/cratis/local-packages.env`
277
- is sourced before defaults. Do not put credentials in it. Environment settings:
278
-
279
- | Setting | Default / purpose |
280
- | --- | --- |
281
- | `CRATIS_LOCAL_FEED` | `${XDG_CACHE_HOME:-$HOME/.cache}/cratis/local-feed`; outside tracked files |
282
- | `CRATIS_LOCAL_SESSION_DIR` | `<absolute-git-dir>/cratis-local`; per-worktree overlays/backups |
283
- | `NUGET_PACKAGES` | `$HOME/.nuget/packages`; active cache scanned by `clean` |
284
- | `CRATIS_LOCAL_TASK` | Optional task ID, convention `owner/repo#number`; `--task ID` on pack/use/finish overrides it |
285
- | `CRATIS_LOCAL_PRIVATE_CACHE` | `0`; `1` opts `use-nuget` into a marked worktree cache, also available with `--private-cache` |
286
- | `CRATIS_LOCAL_CLEAN_MAX` | `500`; cleanup subject fuse |
287
- | `CRATIS_LOCAL_RUN` | Optional executable wrapper receiving `build <label> -- <command...>` |
288
-
289
- If the environment has a build queue wrapper, set `CRATIS_LOCAL_RUN` to its absolute
290
- executable path. The helper wraps pack steps only; run other heavy builds, image
291
- builds and container specs through that environment's wrapper separately. No queue
292
- wrapper is required by the corpus. Global `--dry-run` prints mutations while still
293
- doing read-only discovery.
294
-
295
- Helper exit codes: `0` success, `1` findings/failed operation, `2` cannot run or
296
- invalid input. Neither `1` nor `2` is a pass. After script changes, execute
297
- `bash "$local" --self-test`; pass requires printed passed/skipped counts and exit
298
- `0`. Registry tests require node; npm overlay/restore tests use the inherited PATH. Real packing
299
- is not exercised by this hermetic self-test. Report any unrun ecosystem checks.
300
-
301
- ## Why the local loop
302
-
303
- A release chain runs producer PR, producer CI and publication, then a consumer
304
- pin bump and consumer CI, with hand-offs between each step. For a Chronicle fix
305
- consumed by Studio that is roughly 15–25 minutes of publishing, a bump pull
306
- request and another 20–30 minutes of consumer CI, and in practice hours of
307
- latency between them. A fix that turns out not to work repeats all of it.
308
-
309
- The local loop for the same chain, in run time: packing the client packages
310
- about 1–2 minutes, publishing the kernel a few minutes, building the image
311
- seconds with a warm layer cache, building the consumer's spec project about
312
- 6 minutes, and an integration spec class seconds to minutes. Every iteration
313
- stays local. A shared build queue adds its own waiting time on top; that is
314
- machine load, not part of the loop.
315
-
316
- The loop also surfaces incompatibilities before anything ships: a consumer that
317
- does not yet supply what a newer kernel requires at startup fails here, in
318
- minutes, instead of after a release and a pin bump.
69
+ Read [the helper runbook](references/helper-runbook.md) for exact commands,
70
+ pass signals, environment configuration, cleanup, and safe recovery.
319
71
 
320
72
  ## Conditional recipes
321
73
 
@@ -65,9 +65,9 @@ order, or a planned pack without `ids` or `pack` rows.
65
65
  local image.
66
66
  - A repository you did not name keeps its released version: Stage reaches Arc, Chronicle
67
67
  reaches Orleans. A binary break through that hop is a finding about the consumer's pins.
68
- - The current Screenplay rows list only npm IDs although Stage and Studio consume its NuGet
69
- packages; `closure` exits 2 for them until the map has the Screenplay NuGet `ids`. Read the
70
- IDs from the producer's publish workflow and add them first.
68
+ - The shipped Screenplay rows omit NuGet IDs. For Stage or Studio, use the
69
+ [Screenplay recipe](worked-examples.md#screenplay--stage-and-studio-nuget-and-npm)
70
+ to supply the inventory in a scratch map before planning.
71
71
 
72
72
  ## Extend it
73
73
 
@@ -3,6 +3,12 @@
3
3
 
4
4
  # Docker images
5
5
 
6
+ ## Contents
7
+
8
+ - Chronicle kernel
9
+ - Consumer selection
10
+ - Stop, restore, clean
11
+
6
12
  ## Chronicle kernel
7
13
 
8
14
  Use the producer's current Dockerfile as the source for build inputs. For
@@ -12,9 +18,9 @@ assets must exist before `docker build`. From the Chronicle root:
12
18
  ```bash
13
19
  # Native arm64 daemon; use linux-x64 and out/x64 for an amd64 daemon.
14
20
  dotnet publish Source/Kernel/Server/Server.csproj -c Release -r linux-arm64 \
15
- -p:PublishReadyToRun=true -p:DefineConstants=DEVELOPMENT \
21
+ -p:PublishReadyToRun=true -p:DisableProxyGenerator=true -p:DefineConstants=DEVELOPMENT \
16
22
  -o Source/Kernel/Server/out/arm64 \
17
- "-p:Version=$stamp" "-p:PackageVersion=$stamp"
23
+ "-p:Version=$stamp"
18
24
  cd Source/Workbench
19
25
  yarn install --immutable
20
26
  yarn build
@@ -56,10 +62,26 @@ tag without a registry push. Inspect its logs to confirm that tag was started;
56
62
  a custom pull policy may override local reuse. The image must be in the daemon
57
63
  the test process actually uses, not merely another Docker context.
58
64
 
59
- Chronicle Aspire hosting follows the package version for kernel image selection:
60
- consume the stamped Aspire package too, and ensure its selected image suffix
61
- exists locally. Inspect the generated resource/image configuration rather than
62
- assuming Studio's environment override applies to Aspire.
65
+ For an Aspire AppHost, the default tag is `latest-development` in run mode
66
+ and `latest` in publish mode. Installing a stamped Aspire package changes
67
+ neither. For a local-only run, build the bundled development image, export
68
+ `CHRONICLE_LOCAL_IMAGE_TAG="$stamp-development"`, and chain the explicit
69
+ override onto the existing Chronicle registration in an isolated worktree:
70
+
71
+ ```csharp
72
+ var localTag = Environment.GetEnvironmentVariable("CHRONICLE_LOCAL_IMAGE_TAG")
73
+ ?? throw new InvalidOperationException("Set CHRONICLE_LOCAL_IMAGE_TAG for this run.");
74
+
75
+ builder.AddCratisChronicle().WithImageTag(localTag);
76
+ ```
77
+
78
+ Keep any existing resource name and configuration. Use `-development-slim`
79
+ only when the AppHost already supplies an external MongoDB replica set. In the
80
+ test daemon, check `docker inspect --type container --format '{{.Config.Image}} {{.Image}}' "$container"`,
81
+ where `container` identifies the running Chronicle container. Require the
82
+ stamped tag and the expected local image ID (from `docker image inspect`)
83
+ before counting the run as proof. Restore the scratch-only AppHost change and
84
+ unset `CHRONICLE_LOCAL_IMAGE_TAG` after verification.
63
85
 
64
86
  Kotlin consumers with the kernel-image Gradle option can pass the full local tag:
65
87
 
@@ -1,7 +1,4 @@
1
1
  <!-- Copyright (c) Cratis. All rights reserved. -->
2
-
3
- Before running the commands, set `scratch` to an absolute path under the repository’s ignored `.ai-work` directory. Create it first and confirm it is ignored; never run the commands with `scratch` unset.
4
-
5
2
  <!-- Licensed under the MIT license. See LICENSE file in the project root for full license information. -->
6
3
 
7
4
  # .NET and NuGet
@@ -17,6 +14,8 @@ Before running the commands, set `scratch` to an absolute path under the reposit
17
14
  - Non-CPM escape
18
15
  - Restoration and drift
19
16
 
17
+ Before running the commands, set `scratch` to an absolute path under the repository’s ignored `.ai-work` directory. Create it first and confirm it is ignored; never run the commands with `scratch` unset.
18
+
20
19
  ## CPM overlay
21
20
 
22
21
  Execute the helper from the entry point. `pack-nuget PRODUCER STAMP TARGET...`
@@ -117,13 +116,13 @@ NuGet XML rewriter. An incomplete mapping or existing `cratis-local` key is refu
117
116
 
118
117
  ## Versions and cache
119
118
 
120
- Generate a fresh stamp with the helper, not `0.0.0-local`. The next-patch prerelease
119
+ Generate a fresh stamp with the helper, not a hand-written low prerelease. The next-patch prerelease
121
120
  must sort above the versions required transitively or NuGet may report NU1605.
122
121
  A stale highest tag or dependency with a newer minimum needs investigation, not a
123
122
  warning suppression. The suffix is `-local.<12-digit-UTC-minute>.g<sha7>`; the `g` prefix makes an
124
123
  all-digit SHA unambiguously nonnumeric in SemVer. Dirty edits are not encoded.
125
124
  Wait for a distinct UTC minute or commit before repacking changed contents.
126
- On a major-version branch, use `bash "$local" stamp --base-version 5.0.0 "$producer"`
125
+ On a release branch whose intended base differs from the inferred base, use `bash "$local" stamp --base-version "$base" "$producer"`
127
126
  (also with `--train`). It accepts only a SemVer core without leading zeros,
128
127
  prerelease or metadata and uses it verbatim; no patch increment is added.
129
128
  An explicit base still must meet the consumer's minimum.
@@ -184,22 +183,28 @@ targets; never rename old packages into a helper stamp or clear a whole shared c
184
183
  ## Mixed-version compositions (opt-in)
185
184
 
186
185
  Use a composition when products have independent local versions. It never packs
187
- or rebuilds producers. Write a tab-separated `composition.tsv` in the ignored scratch folder:
186
+ or rebuilds producers. For example, Studio consumes `Cratis.Chronicle.AspNetCore`.
187
+ Start a tab-separated `composition.tsv` in the ignored scratch folder with the
188
+ local packages you intend it to exercise:
188
189
 
189
190
  ```text
190
191
  # Separate fields with literal tabs.
191
- producer Chronicle 22.138.1-local.202610240544.gd1ad215 /absolute/worktree/Chronicle
192
- producer Screenplay 0.2.2-local.202610240544.g91916a3 /absolute/worktree/Screenplay
193
- producer Stage 0.1.18-local.202610240544.g524bdce /absolute/worktree/Stage
194
- package Chronicle Cratis.Chronicle.InProcess
192
+ producer Chronicle <chronicle-stamp> /absolute/worktree/Chronicle
193
+ producer Screenplay <screenplay-stamp> /absolute/worktree/Screenplay
194
+ producer Stage <stage-stamp> /absolute/worktree/Stage
195
+ package Chronicle Cratis.Chronicle.AspNetCore
195
196
  package Screenplay Cratis.Screenplay
196
197
  package Stage Cratis.Stage
197
198
  ```
198
199
 
199
200
  Each producer needs a valid local/train stamp, an existing absolute Git worktree
200
201
  root and at least one package. Paths identify where packages came from; they do not authenticate the artifacts. Package IDs have one owner, case-insensitively.
201
- Declare the complete local dependency closure. Only blank lines and lines starting
202
- with `#` are ignored. No npm rows or implicit merging with an active overlay.
202
+ Before applying the example, add a row for each additional package on a local
203
+ edge, reading dependencies and ranges from the actual nuspecs. For example, if
204
+ AspNetCore was packed against the stamped Chronicle client and Connections
205
+ packages, add those IDs under `Chronicle`. Keep released edges released.
206
+ Only blank lines and lines starting with `#` are ignored. No npm rows or implicit
207
+ merging with an active overlay.
203
208
 
204
209
  ```bash
205
210
  composition="$scratch/composition.tsv" # scratch is the path to the ignored scratch folder
@@ -230,8 +235,7 @@ loads its `NuGet.Versioning.dll`: `NuGetVersion.TryParse`, `VersionRange.TryPars
230
235
  and `VersionRange.Satisfies` supply native semantics, never a range approximation.
231
236
  Its `NuGet.Frameworks.dll` supplies `NuGetFramework.Parse` and
232
237
  `FrameworkReducer.GetNearest` for selecting the applicable dependency group.
233
- Nuspec XML is parsed structurally, across dependency groups. For example,
234
- `[22.136.4,23.0.0)` admits the selected Chronicle prerelease above. Missing/corrupt
238
+ Nuspec XML is parsed structurally, across dependency groups. The selected prerelease must satisfy the actual range recorded by the producer. Missing/corrupt
235
239
  packages, mismatched metadata, malformed/incompatible ranges and undeclared local
236
240
  dependencies fail. Nothing is rebuilt to make a range pass.
237
241