@cratis/pi 8.0.2 → 8.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (486) hide show
  1. package/package/corpus/harnesses/copilot/instructions/ai-distribution.instructions.md +9 -102
  2. package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +3 -5
  3. package/package/corpus/harnesses/copilot/instructions/browser.instructions.md +8 -49
  4. package/package/corpus/harnesses/copilot/instructions/code-health.instructions.md +1 -1
  5. package/package/corpus/harnesses/copilot/instructions/code-quality.csharp.instructions.md +3 -84
  6. package/package/corpus/harnesses/copilot/instructions/code-quality.instructions.md +6 -51
  7. package/package/corpus/harnesses/copilot/instructions/code-quality.typescript.instructions.md +4 -81
  8. package/package/corpus/harnesses/copilot/instructions/codescene.instructions.md +5 -54
  9. package/package/corpus/harnesses/copilot/instructions/components.instructions.md +1 -1
  10. package/package/corpus/harnesses/copilot/instructions/cratis-folder-is-configuration.instructions.md +5 -22
  11. package/package/corpus/harnesses/copilot/instructions/csharp.instructions.md +7 -315
  12. package/package/corpus/harnesses/copilot/instructions/dialogs.instructions.md +1 -1
  13. package/package/corpus/harnesses/copilot/instructions/discoverability.instructions.md +3 -25
  14. package/package/corpus/harnesses/copilot/instructions/documentation-structure-and-formatting.instructions.md +5 -151
  15. package/package/corpus/harnesses/copilot/instructions/documentation.instructions.md +5 -104
  16. package/package/corpus/harnesses/copilot/instructions/editing-cratis-docs.instructions.md +5 -63
  17. package/package/corpus/harnesses/copilot/instructions/efcore.instructions.md +8 -55
  18. package/package/corpus/harnesses/copilot/instructions/efcore.specs.instructions.md +3 -33
  19. package/package/corpus/harnesses/copilot/instructions/elixir.instructions.md +6 -79
  20. package/package/corpus/harnesses/copilot/instructions/exit-codes-and-wrappers.instructions.md +4 -27
  21. package/package/corpus/harnesses/copilot/instructions/framework-dotnet.instructions.md +4 -6
  22. package/package/corpus/harnesses/copilot/instructions/framework.instructions.md +0 -2
  23. package/package/corpus/harnesses/copilot/instructions/frontend-quality.instructions.md +0 -1
  24. package/package/corpus/harnesses/copilot/instructions/frontend-testing.instructions.md +1 -1
  25. package/package/corpus/harnesses/copilot/instructions/github-actions.instructions.md +7 -138
  26. package/package/corpus/harnesses/copilot/instructions/glossary.instructions.md +19 -19
  27. package/package/corpus/harnesses/copilot/instructions/go-engineering.instructions.md +1 -4
  28. package/package/corpus/harnesses/copilot/instructions/go.instructions.md +2 -7
  29. package/package/corpus/harnesses/copilot/instructions/guards-and-fuses.instructions.md +5 -6
  30. package/package/corpus/harnesses/copilot/instructions/java.instructions.md +7 -129
  31. package/package/corpus/harnesses/copilot/instructions/kotlin.instructions.md +8 -165
  32. package/package/corpus/harnesses/copilot/instructions/orleans.instructions.md +5 -98
  33. package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +9 -63
  34. package/package/corpus/harnesses/copilot/instructions/scripting.instructions.md +1 -1
  35. package/package/corpus/harnesses/copilot/instructions/specs.csharp.instructions.md +8 -148
  36. package/package/corpus/harnesses/copilot/instructions/specs.elixir.instructions.md +4 -37
  37. package/package/corpus/harnesses/copilot/instructions/specs.typescript.instructions.md +3 -1
  38. package/package/corpus/harnesses/copilot/instructions/storybook.instructions.md +7 -70
  39. package/package/corpus/harnesses/copilot/instructions/typescript.instructions.md +8 -98
  40. package/package/corpus/harnesses/copilot/instructions/writing-correct-examples.instructions.md +3 -47
  41. package/package/corpus/harnesses/copilot/instructions/writing-cratis-docs.instructions.md +3 -65
  42. package/package/corpus/hooks/README.md +4 -7
  43. package/package/corpus/hooks/scripts/quality-gates.json +3 -5
  44. package/package/corpus/rules/ai-distribution.md +9 -102
  45. package/package/corpus/rules/authoring-skills.md +3 -5
  46. package/package/corpus/rules/browser.md +8 -49
  47. package/package/corpus/rules/code-health-policy.txt +4 -24
  48. package/package/corpus/rules/code-health.md +1 -1
  49. package/package/corpus/rules/code-quality.csharp.md +3 -84
  50. package/package/corpus/rules/code-quality.md +6 -51
  51. package/package/corpus/rules/code-quality.typescript.md +4 -81
  52. package/package/corpus/rules/codescene.md +5 -54
  53. package/package/corpus/rules/components.md +1 -1
  54. package/package/corpus/rules/cratis-folder-is-configuration.md +5 -22
  55. package/package/corpus/rules/csharp.md +7 -315
  56. package/package/corpus/rules/dialogs.md +1 -1
  57. package/package/corpus/rules/discoverability.md +3 -25
  58. package/package/corpus/rules/documentation-structure-and-formatting.md +5 -151
  59. package/package/corpus/rules/documentation.md +5 -104
  60. package/package/corpus/rules/editing-cratis-docs.md +5 -63
  61. package/package/corpus/rules/efcore.md +8 -55
  62. package/package/corpus/rules/efcore.specs.md +3 -33
  63. package/package/corpus/rules/elixir.md +6 -79
  64. package/package/corpus/rules/exit-codes-and-wrappers.md +4 -27
  65. package/package/corpus/rules/framework-dotnet.md +4 -6
  66. package/package/corpus/rules/framework.md +0 -2
  67. package/package/corpus/rules/frontend-quality.md +0 -1
  68. package/package/corpus/rules/frontend-testing.md +1 -1
  69. package/package/corpus/rules/general.md +2 -2
  70. package/package/corpus/rules/github-actions.md +7 -138
  71. package/package/corpus/rules/glossary.md +19 -19
  72. package/package/corpus/rules/go-engineering.md +1 -4
  73. package/package/corpus/rules/go.md +2 -7
  74. package/package/corpus/rules/guards-and-fuses.md +5 -6
  75. package/package/corpus/rules/java.md +7 -129
  76. package/package/corpus/rules/kotlin.md +8 -165
  77. package/package/corpus/rules/orleans.md +5 -98
  78. package/package/corpus/rules/profiles.md +9 -63
  79. package/package/corpus/rules/scripting.md +1 -1
  80. package/package/corpus/rules/specs.csharp.md +8 -148
  81. package/package/corpus/rules/specs.elixir.md +4 -37
  82. package/package/corpus/rules/specs.typescript.md +3 -1
  83. package/package/corpus/rules/storybook.md +7 -70
  84. package/package/corpus/rules/typescript.md +8 -98
  85. package/package/corpus/rules/writing-correct-examples.md +3 -47
  86. package/package/corpus/rules/writing-cratis-docs.md +3 -65
  87. package/package/corpus/skills/cratis-application-growth/SKILL.md +7 -54
  88. package/package/corpus/skills/cratis-application-growth/references/move-and-untangle.md +49 -0
  89. package/package/corpus/skills/cratis-application-growth/references/rename-window.md +12 -14
  90. package/package/corpus/skills/cratis-application-growth/references/stages.md +2 -2
  91. package/package/corpus/skills/cratis-arc-authorize-request/SKILL.md +2 -2
  92. package/package/corpus/skills/cratis-arc-authorize-request/references/csharp.md +3 -3
  93. package/package/corpus/skills/cratis-arc-authorize-request/references/kotlin.md +2 -2
  94. package/package/corpus/skills/cratis-arc-code-analysis-typescript/SKILL.md +10 -43
  95. package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/rule-fixes.md +40 -0
  96. package/package/corpus/skills/cratis-arc-connect-storage/SKILL.md +1 -1
  97. package/package/corpus/skills/cratis-arc-connect-storage/references/csharp.md +1 -1
  98. package/package/corpus/skills/cratis-arc-declare-command/references/csharp.md +4 -4
  99. package/package/corpus/skills/cratis-arc-declare-command/references/go.md +1 -1
  100. package/package/corpus/skills/cratis-arc-declare-command/references/kotlin.md +6 -7
  101. package/package/corpus/skills/cratis-arc-declare-operation/SKILL.md +2 -8
  102. package/package/corpus/skills/cratis-arc-declare-operation/references/csharp.md +1 -1
  103. package/package/corpus/skills/cratis-arc-diagnose-live-query/SKILL.md +1 -1
  104. package/package/corpus/skills/cratis-arc-diagnose-live-query/references/csharp.md +1 -1
  105. package/package/corpus/skills/cratis-arc-expose-mcp-operation/SKILL.md +6 -12
  106. package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/custom-exposure-and-audit.md +4 -0
  107. package/package/corpus/skills/cratis-arc-expose-query/SKILL.md +2 -2
  108. package/package/corpus/skills/cratis-arc-expose-query/references/csharp.md +11 -4
  109. package/package/corpus/skills/cratis-arc-expose-query/references/typescript.md +1 -1
  110. package/package/corpus/skills/cratis-arc-generate-proxies/SKILL.md +2 -2
  111. package/package/corpus/skills/cratis-arc-generate-proxies/references/csharp.md +1 -1
  112. package/package/corpus/skills/cratis-arc-generate-proxies/references/go.md +19 -2
  113. package/package/corpus/skills/cratis-arc-generate-proxies/references/typescript.md +1 -1
  114. package/package/corpus/skills/cratis-arc-host-application/SKILL.md +1 -1
  115. package/package/corpus/skills/cratis-arc-host-application/references/csharp.md +1 -2
  116. package/package/corpus/skills/cratis-arc-host-application/references/elixir.md +2 -2
  117. package/package/corpus/skills/cratis-arc-host-application/references/go.md +5 -1
  118. package/package/corpus/skills/cratis-arc-host-application/references/java.md +1 -1
  119. package/package/corpus/skills/cratis-arc-host-application/references/kotlin.md +1 -1
  120. package/package/corpus/skills/cratis-arc-host-application/references/typescript.md +1 -1
  121. package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +4 -7
  122. package/package/corpus/skills/cratis-arc-invoke-command/SKILL.md +1 -1
  123. package/package/corpus/skills/cratis-arc-invoke-command/references/csharp.md +4 -4
  124. package/package/corpus/skills/cratis-arc-invoke-command/references/typescript.md +1 -1
  125. package/package/corpus/skills/cratis-arc-isolate-tenant/SKILL.md +2 -2
  126. package/package/corpus/skills/cratis-arc-isolate-tenant/references/csharp.md +2 -2
  127. package/package/corpus/skills/cratis-arc-isolate-tenant/references/elixir.md +1 -1
  128. package/package/corpus/skills/cratis-arc-isolate-tenant/references/java.md +1 -1
  129. package/package/corpus/skills/cratis-arc-isolate-tenant/references/kotlin.md +1 -1
  130. package/package/corpus/skills/cratis-arc-isolate-tenant/references/typescript.md +4 -2
  131. package/package/corpus/skills/cratis-arc-migrate-relational-schema/SKILL.md +6 -6
  132. package/package/corpus/skills/cratis-arc-page-query/SKILL.md +3 -3
  133. package/package/corpus/skills/cratis-arc-page-query/references/csharp.md +10 -6
  134. package/package/corpus/skills/cratis-arc-page-query/references/elixir.md +2 -2
  135. package/package/corpus/skills/cratis-arc-page-query/references/java.md +1 -1
  136. package/package/corpus/skills/cratis-arc-page-query/references/kotlin.md +1 -1
  137. package/package/corpus/skills/cratis-arc-react-bind-slice/SKILL.md +2 -2
  138. package/package/corpus/skills/cratis-arc-react-bind-slice/references/csharp.md +1 -1
  139. package/package/corpus/skills/cratis-arc-react-bind-slice/references/kotlin.md +1 -1
  140. package/package/corpus/skills/cratis-arc-react-separate-view-model/SKILL.md +7 -3
  141. package/package/corpus/skills/cratis-arc-react-separate-view-model/references/react-routing-and-messaging.md +1 -1
  142. package/package/corpus/skills/cratis-arc-select-backend-sdk/SKILL.md +2 -2
  143. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/elixir.md +2 -4
  144. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/go.md +2 -2
  145. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/java.md +1 -1
  146. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/kotlin.md +2 -2
  147. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/typescript.md +1 -3
  148. package/package/corpus/skills/cratis-arc-spring-data-kotlin/SKILL.md +13 -51
  149. package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/read-model-naming.md +9 -1
  150. package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/storage-boundaries.md +40 -0
  151. package/package/corpus/skills/cratis-arc-storage-typescript/SKILL.md +19 -64
  152. package/package/corpus/skills/cratis-arc-storage-typescript/references/drizzle.md +62 -0
  153. package/package/corpus/skills/cratis-arc-tenancy-typescript/SKILL.md +24 -55
  154. package/package/corpus/skills/cratis-arc-tenancy-typescript/references/tenant-selection.md +49 -0
  155. package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +13 -31
  156. package/package/corpus/skills/cratis-arc-testing-kotlin/references/jvm-scenario-variants.md +25 -0
  157. package/package/corpus/skills/cratis-arc-testing-typescript/SKILL.md +24 -62
  158. package/package/corpus/skills/cratis-arc-testing-typescript/references/hosts-and-runners.md +51 -0
  159. package/package/corpus/skills/cratis-arc-validate-command/SKILL.md +4 -4
  160. package/package/corpus/skills/cratis-arc-validate-command/references/csharp.md +10 -12
  161. package/package/corpus/skills/cratis-arc-validate-command/references/elixir.md +16 -3
  162. package/package/corpus/skills/cratis-arc-validate-command/references/go.md +19 -2
  163. package/package/corpus/skills/cratis-arc-validate-command/references/java.md +20 -7
  164. package/package/corpus/skills/cratis-arc-validate-command/references/kotlin.md +22 -2
  165. package/package/corpus/skills/cratis-arc-validate-command/references/python.md +8 -2
  166. package/package/corpus/skills/cratis-arc-validate-command/references/typescript.md +22 -2
  167. package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +22 -248
  168. package/package/corpus/skills/cratis-arc-validation-kotlin/references/feature-filters.md +55 -0
  169. package/package/corpus/skills/cratis-arc-validation-kotlin/references/model-validation.md +72 -0
  170. package/package/corpus/skills/cratis-arc-validation-kotlin/references/server-validators.md +86 -0
  171. package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +27 -275
  172. package/package/corpus/skills/cratis-arc-validation-typescript/references/models-and-queries.md +63 -0
  173. package/package/corpus/skills/cratis-arc-validation-typescript/references/rules-and-checks.md +46 -0
  174. package/package/corpus/skills/cratis-arc-validation-typescript/references/server-decisions.md +114 -0
  175. package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +15 -255
  176. package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +13 -6
  177. package/package/corpus/skills/cratis-chronicle-cli-operations/references/inspection.md +75 -0
  178. package/package/corpus/skills/cratis-chronicle-cli-operations/references/project-tooling.md +78 -13
  179. package/package/corpus/skills/cratis-chronicle-cli-operations/references/recovery-and-comparison.md +16 -14
  180. package/package/corpus/skills/cratis-chronicle-connect-application/SKILL.md +1 -1
  181. package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp.md +10 -6
  182. package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir.md +1 -1
  183. package/package/corpus/skills/cratis-chronicle-constrain-append/SKILL.md +2 -2
  184. package/package/corpus/skills/cratis-chronicle-constrain-append/references/csharp.md +8 -8
  185. package/package/corpus/skills/cratis-chronicle-deploy-kernel/SKILL.md +10 -8
  186. package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/storage.md +8 -4
  187. package/package/corpus/skills/cratis-chronicle-evolve-event/SKILL.md +4 -4
  188. package/package/corpus/skills/cratis-chronicle-evolve-event/references/csharp.md +2 -2
  189. package/package/corpus/skills/cratis-chronicle-evolve-event/references/deployed-readers.md +21 -8
  190. package/package/corpus/skills/cratis-chronicle-evolve-event/references/elixir.md +1 -1
  191. package/package/corpus/skills/cratis-chronicle-inspect-observer/SKILL.md +1 -1
  192. package/package/corpus/skills/cratis-chronicle-inspect-observer/references/csharp.md +5 -7
  193. package/package/corpus/skills/cratis-chronicle-inspect-observer/references/elixir.md +3 -3
  194. package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +10 -80
  195. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/blocked-tools.md +2 -2
  196. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/deployment.md +9 -24
  197. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +10 -0
  198. package/package/corpus/skills/cratis-chronicle-project-view/SKILL.md +2 -2
  199. package/package/corpus/skills/cratis-chronicle-project-view/references/csharp.md +7 -6
  200. package/package/corpus/skills/cratis-chronicle-project-view/references/elixir.md +2 -2
  201. package/package/corpus/skills/cratis-chronicle-project-view/references/go.md +6 -0
  202. package/package/corpus/skills/cratis-chronicle-project-view/references/java.md +6 -0
  203. package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin.md +6 -0
  204. package/package/corpus/skills/cratis-chronicle-project-view/references/typescript.md +11 -5
  205. package/package/corpus/skills/cratis-chronicle-protect-decision/SKILL.md +2 -2
  206. package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp.md +4 -4
  207. package/package/corpus/skills/cratis-chronicle-protect-decision/references/elixir.md +2 -2
  208. package/package/corpus/skills/cratis-chronicle-protect-decision/references/go.md +3 -1
  209. package/package/corpus/skills/cratis-chronicle-protect-personal-data/SKILL.md +1 -1
  210. package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/csharp.md +1 -1
  211. package/package/corpus/skills/cratis-chronicle-publish-contract/SKILL.md +1 -1
  212. package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp.md +51 -40
  213. package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir.md +1 -1
  214. package/package/corpus/skills/cratis-chronicle-react-to-fact/SKILL.md +1 -1
  215. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/{occurrences.md → csharp-occurrences.md} +2 -2
  216. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp.md +5 -6
  217. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/go.md +1 -1
  218. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/java.md +1 -1
  219. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/kotlin.md +1 -1
  220. package/package/corpus/skills/cratis-chronicle-record-event/SKILL.md +1 -1
  221. package/package/corpus/skills/cratis-chronicle-record-event/references/csharp.md +21 -19
  222. package/package/corpus/skills/cratis-chronicle-record-event/references/elixir.md +3 -3
  223. package/package/corpus/skills/cratis-chronicle-record-event/references/go.md +1 -1
  224. package/package/corpus/skills/cratis-chronicle-record-event/references/java.md +3 -4
  225. package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin.md +3 -4
  226. package/package/corpus/skills/cratis-chronicle-record-event/references/typescript.md +2 -2
  227. package/package/corpus/skills/cratis-chronicle-reduce-state/SKILL.md +1 -1
  228. package/package/corpus/skills/cratis-chronicle-reduce-state/references/csharp.md +7 -2
  229. package/package/corpus/skills/cratis-chronicle-reduce-state/references/typescript.md +1 -1
  230. package/package/corpus/skills/cratis-chronicle-select-client/SKILL.md +4 -4
  231. package/package/corpus/skills/cratis-chronicle-select-client/references/csharp.md +3 -3
  232. package/package/corpus/skills/cratis-chronicle-select-client/references/elixir.md +2 -6
  233. package/package/corpus/skills/cratis-chronicle-select-client/references/go.md +2 -2
  234. package/package/corpus/skills/cratis-chronicle-select-client/references/java.md +1 -1
  235. package/package/corpus/skills/cratis-chronicle-select-client/references/kotlin.md +1 -5
  236. package/package/corpus/skills/cratis-chronicle-select-client/references/python.md +3 -3
  237. package/package/corpus/skills/cratis-chronicle-select-client/references/typescript.md +2 -2
  238. package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +12 -201
  239. package/package/corpus/skills/cratis-chronicle-web-workbench/references/hosting.md +67 -0
  240. package/package/corpus/skills/cratis-chronicle-web-workbench/references/operations.md +88 -0
  241. package/package/corpus/skills/cratis-ci-pipeline-performance/SKILL.md +8 -4
  242. package/package/corpus/skills/cratis-ci-pipeline-performance/references/build-once-and-shard.md +13 -11
  243. package/package/corpus/skills/cratis-ci-pipeline-performance/references/caching.md +2 -2
  244. package/package/corpus/skills/cratis-ci-pipeline-performance/references/flaky-and-hung-jobs.md +6 -4
  245. package/package/corpus/skills/cratis-ci-pipeline-performance/references/required-checks-and-path-filters.md +20 -61
  246. package/package/corpus/skills/cratis-ci-pipeline-performance/references/security-and-pinning.md +1 -1
  247. package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +15 -26
  248. package/package/corpus/skills/cratis-code-review/SKILL.md +7 -6
  249. package/package/corpus/skills/cratis-commits-and-pull-requests/SKILL.md +1 -1
  250. package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-description.md +1 -1
  251. package/package/corpus/skills/cratis-components-accessibility/SKILL.md +14 -206
  252. package/package/corpus/skills/cratis-components-accessibility/references/control-labels.md +29 -0
  253. package/package/corpus/skills/cratis-components-accessibility/references/focus-and-announcements.md +8 -0
  254. package/package/corpus/skills/cratis-components-build-canvas/SKILL.md +7 -7
  255. package/package/corpus/skills/cratis-components-build-canvas/references/pixi-items.md +1 -1
  256. package/package/corpus/skills/cratis-components-choose-control/SKILL.md +7 -8
  257. package/package/corpus/skills/cratis-components-choose-control/references/collections.md +2 -2
  258. package/package/corpus/skills/cratis-components-choose-control/references/inputs.md +1 -1
  259. package/package/corpus/skills/cratis-components-compose-toolbar/SKILL.md +22 -27
  260. package/package/corpus/skills/cratis-components-compose-toolbar/references/contributed-tools.md +5 -0
  261. package/package/corpus/skills/cratis-components-coordinate-feedback/SKILL.md +19 -25
  262. package/package/corpus/skills/cratis-components-display-list/SKILL.md +26 -19
  263. package/package/corpus/skills/cratis-components-display-list/references/server-query.md +3 -3
  264. package/package/corpus/skills/cratis-components-edit-schema-data/SKILL.md +15 -12
  265. package/package/corpus/skills/cratis-components-edit-schema-data/references/controlled-editor.md +3 -3
  266. package/package/corpus/skills/cratis-components-explore-data/SKILL.md +7 -7
  267. package/package/corpus/skills/cratis-components-host-chat/SKILL.md +7 -7
  268. package/package/corpus/skills/cratis-components-submit-form/SKILL.md +9 -15
  269. package/package/corpus/skills/cratis-components-submit-form/references/confirmation.md +5 -5
  270. package/package/corpus/skills/cratis-components-submit-form/references/wizard.md +3 -3
  271. package/package/corpus/skills/cratis-components-theme-application/SKILL.md +7 -51
  272. package/package/corpus/skills/cratis-components-theme-application/references/palette.md +49 -0
  273. package/package/corpus/skills/cratis-components-theme-application/references/renderer-adapters.md +4 -2
  274. package/package/corpus/skills/cratis-content-length/SKILL.md +34 -46
  275. package/package/corpus/skills/cratis-content-length/references/length-evidence.md +26 -127
  276. package/package/corpus/skills/cratis-developer-marketing/SKILL.md +15 -27
  277. package/package/corpus/skills/cratis-developer-marketing/references/measurement.md +3 -19
  278. package/package/corpus/skills/cratis-developer-marketing/references/playbook-evidence.md +29 -224
  279. package/package/corpus/skills/cratis-discoverability/SKILL.md +11 -4
  280. package/package/corpus/skills/cratis-discoverability/references/package-metadata.md +2 -2
  281. package/package/corpus/skills/cratis-documentation-writing/SKILL.md +4 -3
  282. package/package/corpus/skills/cratis-engineering-ci-gates/SKILL.md +13 -129
  283. package/package/corpus/skills/cratis-engineering-ci-gates/references/gate-operation.md +132 -0
  284. package/package/corpus/skills/cratis-engineering-consolidation-guard/SKILL.md +11 -100
  285. package/package/corpus/skills/cratis-engineering-consolidation-guard/references/ci-required-check.md +55 -40
  286. package/package/corpus/skills/cratis-engineering-consolidation-guard/references/source-verification.md +68 -0
  287. package/package/corpus/skills/cratis-engineering-consolidation-guard/references/verification-details.md +38 -0
  288. package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +14 -65
  289. package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +40 -174
  290. package/package/corpus/skills/cratis-engineering-decision-record/SKILL.md +8 -52
  291. package/package/corpus/skills/cratis-engineering-decision-record/references/decision-pitfalls.md +29 -0
  292. package/package/corpus/skills/cratis-engineering-decision-record/references/decision-scope.md +20 -0
  293. package/package/corpus/skills/cratis-engineering-decision-record/references/record-format.md +3 -4
  294. package/package/corpus/skills/cratis-engineering-docs-authoring/SKILL.md +7 -12
  295. package/package/corpus/skills/cratis-engineering-docs-authoring/references/site-format.md +5 -4
  296. package/package/corpus/skills/cratis-engineering-effect-boundaries/SKILL.md +6 -40
  297. package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +18 -151
  298. package/package/corpus/skills/cratis-engineering-inherited-work/SKILL.md +5 -21
  299. package/package/corpus/skills/cratis-engineering-inherited-work/references/continue-inherited-work.md +19 -0
  300. package/package/corpus/skills/cratis-engineering-issue-design-note/SKILL.md +3 -66
  301. package/package/corpus/skills/cratis-engineering-issue-design-note/references/design-note-format.md +68 -0
  302. package/package/corpus/skills/cratis-engineering-issue-hygiene/SKILL.md +2 -84
  303. package/package/corpus/skills/cratis-engineering-issue-hygiene/references/issue-disposition.md +87 -0
  304. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/SKILL.md +15 -263
  305. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dependency-map.md +3 -3
  306. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/docker-images.md +28 -6
  307. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dotnet-nuget.md +18 -14
  308. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/helper-runbook.md +231 -0
  309. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/other-environments.md +2 -3
  310. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/worked-examples.md +62 -77
  311. package/package/corpus/skills/cratis-engineering-post-mortem/SKILL.md +6 -39
  312. package/package/corpus/skills/cratis-engineering-post-mortem/references/proportionate-follow-up.md +36 -0
  313. package/package/corpus/skills/cratis-engineering-regression-cluster/SKILL.md +4 -4
  314. package/package/corpus/skills/cratis-engineering-release-trains/SKILL.md +8 -134
  315. package/package/corpus/skills/cratis-engineering-release-trains/references/candidate-assembly.md +139 -0
  316. package/package/corpus/skills/cratis-engineering-review-rounds/SKILL.md +3 -100
  317. package/package/corpus/skills/cratis-engineering-review-rounds/references/round-handoffs.md +109 -0
  318. package/package/corpus/skills/cratis-environments-and-secrets/SKILL.md +1 -5
  319. package/package/corpus/skills/cratis-environments-and-secrets/references/environment-file.md +1 -3
  320. package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +11 -116
  321. package/package/corpus/skills/cratis-event-model-diagram/references/frame-patterns.md +93 -0
  322. package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +4 -15
  323. package/package/corpus/skills/cratis-fundamentals-name-value/SKILL.md +8 -8
  324. package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp.md +4 -4
  325. package/package/corpus/skills/cratis-fundamentals-name-value/references/elixir.md +1 -1
  326. package/package/corpus/skills/cratis-fundamentals-name-value/references/go.md +1 -1
  327. package/package/corpus/skills/cratis-fundamentals-name-value/references/java.md +5 -5
  328. package/package/corpus/skills/cratis-fundamentals-name-value/references/kotlin.md +15 -2
  329. package/package/corpus/skills/cratis-fundamentals-name-value/references/python.md +1 -1
  330. package/package/corpus/skills/cratis-fundamentals-name-value/references/typescript.md +1 -1
  331. package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +10 -27
  332. package/package/corpus/skills/cratis-fundamentals-telemetry/references/otlp-export.md +16 -0
  333. package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +26 -188
  334. package/package/corpus/skills/cratis-fundamentals-type-discovery/references/diagnostics.md +14 -0
  335. package/package/corpus/skills/cratis-governed-release-methodology/SKILL.md +7 -5
  336. package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +23 -157
  337. package/package/corpus/skills/cratis-lens-browser-extension/references/troubleshooting.md +139 -0
  338. package/package/corpus/skills/cratis-llm-friendly-documentation/SKILL.md +7 -5
  339. package/package/corpus/skills/cratis-modeling-design-event-model/SKILL.md +2 -4
  340. package/package/corpus/skills/cratis-modeling-design-event-model/references/model-first.md +7 -0
  341. package/package/corpus/skills/cratis-modeling-discover-timeline/SKILL.md +2 -2
  342. package/package/corpus/skills/cratis-modeling-discover-timeline/references/group-and-document-intake.md +1 -1
  343. package/package/corpus/skills/cratis-modeling-review-event-model/SKILL.md +2 -2
  344. package/package/corpus/skills/cratis-modeling-review-event-model/references/implementation-findings.md +2 -2
  345. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/SKILL.md +5 -23
  346. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/compare-evidence.md +20 -0
  347. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/recovery-inputs.md +3 -3
  348. package/package/corpus/skills/cratis-multi-service-local-orchestration/SKILL.md +8 -63
  349. package/package/corpus/skills/cratis-multi-service-local-orchestration/references/aspire.md +52 -0
  350. package/package/corpus/skills/cratis-observability/SKILL.md +1 -1
  351. package/package/corpus/skills/cratis-observability/references/arc-and-chronicle-signals.md +9 -23
  352. package/package/corpus/skills/cratis-observability/references/chronicle-kernel-export.md +3 -14
  353. package/package/corpus/skills/cratis-observability/references/csharp.md +4 -6
  354. package/package/corpus/skills/cratis-observability/references/elixir.md +1 -1
  355. package/package/corpus/skills/cratis-observability/references/troubleshooting.md +4 -5
  356. package/package/corpus/skills/cratis-onboarding-runtime/SKILL.md +1 -4
  357. package/package/corpus/skills/cratis-onboarding-runtime/references/default-offering.md +0 -3
  358. package/package/corpus/skills/cratis-onboarding-runtime/references/sign-up-review.md +0 -4
  359. package/package/corpus/skills/cratis-orchestration-lanes/SKILL.md +7 -49
  360. package/package/corpus/skills/cratis-orchestration-lanes/references/escalation.md +22 -0
  361. package/package/corpus/skills/cratis-orchestration-lanes/references/inbox-and-handover.md +4 -4
  362. package/package/corpus/skills/cratis-orchestration-lanes/references/placeholders.md +1 -1
  363. package/package/corpus/skills/cratis-orchestration-lanes/references/roles.md +12 -0
  364. package/package/corpus/skills/cratis-orchestration-lanes/references/roll-call.md +12 -0
  365. package/package/corpus/skills/cratis-orchestration-lanes/references/worktrees.md +10 -0
  366. package/package/corpus/skills/cratis-orchestration-merge-gates/SKILL.md +14 -13
  367. package/package/corpus/skills/cratis-orchestration-merge-gates/references/merge-queue.md +51 -26
  368. package/package/corpus/skills/cratis-orchestration-merge-gates/references/unattended-guards.md +8 -14
  369. package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +9 -65
  370. package/package/corpus/skills/cratis-orleans-jobs/references/activation-callbacks.md +5 -0
  371. package/package/corpus/skills/cratis-orleans-jobs/references/lifecycle-and-placement.md +11 -7
  372. package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +1 -1
  373. package/package/corpus/skills/cratis-orleans-jobs/references/step-planning.md +27 -0
  374. package/package/corpus/skills/cratis-orleans-jobs/references/storage-and-options.md +35 -0
  375. package/package/corpus/skills/cratis-performance-review/SKILL.md +6 -76
  376. package/package/corpus/skills/cratis-performance-review/references/review-checklist.md +79 -0
  377. package/package/corpus/skills/cratis-platform-configure-environment/SKILL.md +19 -16
  378. package/package/corpus/skills/cratis-platform-contribute-change/SKILL.md +2 -2
  379. package/package/corpus/skills/cratis-platform-deliver-slice/SKILL.md +5 -5
  380. package/package/corpus/skills/cratis-platform-deliver-slice/references/coordinate-slices.md +1 -1
  381. package/package/corpus/skills/cratis-platform-diagnose-slice/SKILL.md +2 -3
  382. package/package/corpus/skills/cratis-platform-prepare-release-pr/SKILL.md +2 -2
  383. package/package/corpus/skills/cratis-platform-start-application/SKILL.md +10 -8
  384. package/package/corpus/skills/cratis-platform-start-application/references/csharp.md +6 -6
  385. package/package/corpus/skills/cratis-platform-start-application/references/java.md +4 -4
  386. package/package/corpus/skills/cratis-platform-start-application/references/kotlin.md +4 -4
  387. package/package/corpus/skills/cratis-platform-verify-service-handoff/SKILL.md +3 -3
  388. package/package/corpus/skills/cratis-release-notes/SKILL.md +9 -133
  389. package/package/corpus/skills/cratis-release-notes/references/channel-guidance.md +59 -0
  390. package/package/corpus/skills/cratis-release-notes/references/publish-repair.md +64 -0
  391. package/package/corpus/skills/cratis-rtk/SKILL.md +12 -18
  392. package/package/corpus/skills/cratis-screenplay-accept-model/SKILL.md +3 -3
  393. package/package/corpus/skills/cratis-screenplay-accept-model/references/capability-consumption.md +1 -1
  394. package/package/corpus/skills/cratis-screenplay-accept-model/references/coverage-obligations.md +1 -1
  395. package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/SKILL.md +25 -59
  396. package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/onboarding-directives.md +11 -10
  397. package/package/corpus/skills/cratis-screenplay-author-extension/SKILL.md +9 -6
  398. package/package/corpus/skills/cratis-screenplay-author-extension/references/consume.md +3 -3
  399. package/package/corpus/skills/cratis-screenplay-author-extension/references/stage-candidate.md +8 -0
  400. package/package/corpus/skills/cratis-screenplay-availability/SKILL.md +20 -167
  401. package/package/corpus/skills/cratis-screenplay-availability/references/complete-example.md +23 -47
  402. package/package/corpus/skills/cratis-screenplay-availability/references/review-checks.md +9 -10
  403. package/package/corpus/skills/cratis-screenplay-availability/references/runtime-ownership.md +26 -23
  404. package/package/corpus/skills/cratis-screenplay-declare-slice/SKILL.md +6 -14
  405. package/package/corpus/skills/cratis-screenplay-declare-slice/references/projection-replay.md +2 -2
  406. package/package/corpus/skills/cratis-screenplay-declare-slice/references/read-identity.md +1 -1
  407. package/package/corpus/skills/cratis-screenplay-edit-workspace/SKILL.md +7 -9
  408. package/package/corpus/skills/cratis-screenplay-edit-workspace/references/model-notes.md +1 -1
  409. package/package/corpus/skills/cratis-screenplay-handoff-slice/SKILL.md +10 -14
  410. package/package/corpus/skills/cratis-screenplay-model-automation/SKILL.md +1 -1
  411. package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-boundaries.md +1 -1
  412. package/package/corpus/skills/cratis-screenplay-model-interaction/SKILL.md +6 -31
  413. package/package/corpus/skills/cratis-screenplay-model-interaction/references/shell-and-data.md +22 -0
  414. package/package/corpus/skills/cratis-screenplay-model-translation/SKILL.md +5 -5
  415. package/package/corpus/skills/cratis-screenplay-onboard-workspace/SKILL.md +5 -5
  416. package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/version-migration.md +4 -4
  417. package/package/corpus/skills/cratis-screenplay-recover-intent/SKILL.md +2 -2
  418. package/package/corpus/skills/cratis-screenplay-recover-intent/references/csharp.md +2 -2
  419. package/package/corpus/skills/cratis-screenplay-recover-intent/references/ground-truth-benchmark.md +1 -1
  420. package/package/corpus/skills/cratis-screenplay-specify-outcome/SKILL.md +4 -75
  421. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/host-body-execution.md +0 -2
  422. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/observable-result.md +85 -1
  423. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/query-rejections.md +1 -1
  424. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +15 -133
  425. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +5 -5
  426. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +4 -12
  427. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +28 -57
  428. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +4 -5
  429. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +13 -20
  430. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/multi-service-models.md +1 -1
  431. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/neighbouring-skills.md +1 -1
  432. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/read-model-keys.md +3 -5
  433. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-id-rules.md +2 -0
  434. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +5 -5
  435. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +82 -71
  436. package/package/corpus/skills/cratis-security-review/SKILL.md +4 -73
  437. package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +24 -13
  438. package/package/corpus/skills/cratis-security-review/references/review-checklist.md +74 -0
  439. package/package/corpus/skills/cratis-session-handoff/SKILL.md +7 -32
  440. package/package/corpus/skills/cratis-session-handoff/references/handoff-template.md +2 -2
  441. package/package/corpus/skills/cratis-session-handoff/references/session-hygiene.md +20 -0
  442. package/package/corpus/skills/cratis-showrunner-herald/SKILL.md +9 -17
  443. package/package/corpus/skills/cratis-showrunner-herald/references/options.md +2 -2
  444. package/package/corpus/skills/cratis-showrunner-herald/references/templates-and-images.md +16 -10
  445. package/package/corpus/skills/cratis-social-feed-post/SKILL.md +9 -162
  446. package/package/corpus/skills/cratis-social-feed-post/references/asset-and-formatting.md +37 -0
  447. package/package/corpus/skills/cratis-social-feed-post/references/editorial-checks.md +40 -0
  448. package/package/corpus/skills/cratis-social-feed-post/references/engagement-evidence.md +39 -150
  449. package/package/corpus/skills/cratis-social-feed-post/references/linkedin-media.md +24 -0
  450. package/package/corpus/skills/cratis-social-feed-post/references/other-channels.md +23 -0
  451. package/package/corpus/skills/cratis-specifications-exercise-backend/SKILL.md +5 -5
  452. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-command-results.md +2 -2
  453. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-query-scenario.md +13 -5
  454. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp.md +7 -4
  455. package/package/corpus/skills/cratis-specifications-exercise-backend/references/elixir.md +1 -1
  456. package/package/corpus/skills/cratis-specifications-exercise-backend/references/go.md +20 -4
  457. package/package/corpus/skills/cratis-specifications-exercise-backend/references/typescript.md +1 -1
  458. package/package/corpus/skills/cratis-specifications-isolate-behavior/SKILL.md +2 -2
  459. package/package/corpus/skills/cratis-specifications-observe-ui/SKILL.md +5 -5
  460. package/package/corpus/skills/cratis-specifications-test-application-ui/SKILL.md +2 -2
  461. package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-command-results.md +2 -2
  462. package/package/corpus/skills/cratis-specifications-test-typescript-behavior/SKILL.md +2 -2
  463. package/package/corpus/skills/cratis-stage-render-slice/SKILL.md +10 -9
  464. package/package/corpus/skills/cratis-stage-run-sandbox/SKILL.md +3 -3
  465. package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-spec-runner.md +7 -6
  466. package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +4 -6
  467. package/package/corpus/skills/cratis-technical-examples/SKILL.md +10 -106
  468. package/package/corpus/skills/cratis-technical-examples/references/csharp-package-checks.md +1 -1
  469. package/package/corpus/skills/cratis-technical-examples/references/source-and-format.md +42 -0
  470. package/package/corpus/skills/cratis-technical-examples/references/typescript-package-checks.md +2 -2
  471. package/package/corpus/skills/cratis-technical-examples/references/verification-scope.md +37 -0
  472. package/package/corpus/skills/cratis-ux-review/SKILL.md +8 -40
  473. package/package/corpus/skills/cratis-ux-review/references/capture-contract.md +24 -0
  474. package/package/corpus/skills/cratis-ux-review/references/checklist.md +1 -1
  475. package/package/corpus/skills/cratis-ux-review/references/report-template.md +2 -1
  476. package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +19 -132
  477. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/ai-tells.md +24 -97
  478. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/author-and-batch.md +23 -0
  479. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/documentation-evidence.md +25 -0
  480. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/interpretation.md +17 -0
  481. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/stock-constructions.md +23 -0
  482. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/voice-guidance.md +8 -29
  483. package/package.json +1 -1
  484. /package/package/corpus/skills/cratis-chronicle-protect-decision/references/{standalone.md → csharp-standalone.md} +0 -0
  485. /package/package/corpus/skills/cratis-engineering-post-mortem/references/{examples/silent-backup-failure.md → silent-backup-failure.md} +0 -0
  486. /package/package/corpus/skills/cratis-engineering-post-mortem/references/{examples/unintended-release-regression.md → unintended-release-regression.md} +0 -0
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-engineering-effect-boundaries
3
- description: Use when publication, persistence, generation or propagation could partially fail while reporting success. Not for ordinary style questions or specification authoring.
3
+ description: Use when publication, persistence, generation or propagation might report success after a partial failure. Not for grouping recurring regressions (use cratis-engineering-regression-cluster).
4
4
  license: LICENSE
5
5
  ---
6
6
 
@@ -16,12 +16,8 @@ The contract:
16
16
  > no defaulting to success on an unknown outcome. A degraded operation must fail
17
17
  > the operation, surface the delta, or emit an explicit degraded-mode signal.
18
18
 
19
- Silent failure is the dominant recurring bug archetype across Cratis. The
20
- 2026-08-24 organization-wide review found one disease with six manifestations,
21
- in the release action, the Arc proxy generator, Stage, the Chronicle container
22
- host, Chronicle constraint enforcement, and corpus propagation. They are written
23
- out in [failure-archetypes.md](references/failure-archetypes.md); read them
24
- before deciding that your case is different.
19
+ Read [failure archetypes](references/failure-archetypes.md) when diagnosing a
20
+ publication, generator, renderer, startup, storage, or fan-out failure.
25
21
 
26
22
  ## When you need this
27
23
 
@@ -82,35 +78,6 @@ before deciding that your case is different.
82
78
  confirm the operation fails, the delta appears, or the degraded signal fires.
83
79
  A boundary whose failure path was never executed is not known to have one.
84
80
 
85
- ## What breaks
86
-
87
- Every item below is a real Cratis defect, not an illustration. Detail and issue
88
- references are in [failure-archetypes.md](references/failure-archetypes.md).
89
-
90
- - **A swallowed conflict reported as a successful release.** The release action
91
- caught a 422 from a concurrent publish and reported the release as done. The
92
- version was never published, and the only artifact that said so was a caught
93
- exception nobody saw.
94
- - **A generator that degrades silently.** The Arc proxy generator emitted fewer
95
- proxies than its inputs implied and exited zero. The failure shows up much
96
- later as a missing TypeScript type, far from the generator that dropped it.
97
- - **A renderer that quietly renders less.** Stage produced degraded output on a
98
- path that reported success, so the difference between correct output and
99
- partial output was invisible at the boundary that produced it.
100
- - **A container that stays `Running` after startup threw.** The Chronicle host
101
- reported healthy while the thing it hosts had already failed to start, so the
102
- orchestrator kept routing to it.
103
- - **A constraint that only one implementation enforces.** Chronicle unique
104
- constraints were not enforced on the SQL and in-memory storage providers.
105
- Every specification exercising them passed while proving nothing.
106
- - **A fan-out that succeeded 29 times out of 36 and said "done".** Corpus
107
- propagation aggregated per-target results into a single success, so seven
108
- repositories silently did not receive the change.
109
-
110
- The shared symptom: **the failure is discovered downstream, by someone who
111
- cannot see the boundary that caused it.** That is what makes this archetype
112
- expensive rather than merely annoying.
113
-
114
81
  ## How it is proven
115
82
 
116
83
  - **The failure path was executed.** Name the planted defect and the observed
@@ -119,10 +86,9 @@ expensive rather than merely annoying.
119
86
  - **Counts appear on success.** The clean run reports how many subjects it
120
87
  attempted and how many succeeded. A bare "OK" cannot be distinguished from a
121
88
  run over an empty set.
122
- - **Exit codes carry the verdict.** `0` ran clean, `1` found defects, `2` could
123
- not run. A wrapper that exits `0` because the wrapper finished has thrown the
124
- child's verdict away; check the child's status and, in a pipeline, the status
125
- of every stage.
89
+ - **Exit codes carry the verdict.** Propagate the wrapped command’s status. For a
90
+ new verifier, distinguish clean, findings, and could not run; document the
91
+ codes. A pipeline must not hide a failed stage.
126
92
  - **The degraded signal is asserted, not just emitted.** A specification reads
127
93
  the delta or the degraded-mode field and fails when it is absent.
128
94
  - **Sibling implementations are covered by the same specification.** The test
@@ -1,151 +1,18 @@
1
- # The six cited failure archetypes
2
-
3
- ## Contents
4
-
5
- - 1. A swallowed conflict reported as a successful release
6
- - 2. A generator that degrades silently
7
- - 3. A renderer that quietly renders less
8
- - 4. A container that stays `Running` after startup threw
9
- - 5. A constraint that only one implementation enforces
10
- - 6. A fan-out that succeeded 29 times out of 36 and said "done"
11
- - What the six have in common
12
-
13
- These are the six manifestations the 2026-08-24 Cratis organization-wide review
14
- identified as one disease: silent failure on an effect boundary. Each is a real,
15
- tracked defect. Read them as the shape of the mistake, not as a list of fixed
16
- bugs — the same shape keeps reappearing in new code.
17
-
18
- For each: what the boundary was, what the code did, why the failure was
19
- expensive, and what the contract required instead.
20
-
21
- ## 1. A swallowed conflict reported as a successful release
22
-
23
- *A release action.*
24
-
25
- **Boundary.** Publishing a version — the most public effect there is.
26
-
27
- **What happened.** A concurrent publish made the registry return HTTP 422. The
28
- action caught it and continued, and the run reported the release as successful.
29
-
30
- **Why it was expensive.** The one artifact that recorded the truth was an
31
- exception nobody saw. Everything downstream — release notes, subscriber pins,
32
- the assumption that the version existed — was built on a success that had not
33
- happened. Nothing later in the pipeline re-checked the registry, because a
34
- successful publish is normally proof enough.
35
-
36
- **What the contract required.** A 422 on publish is an outcome that must be
37
- classified, not caught. Either the version already exists and is byte-identical
38
- (report it as already-published, explicitly), or it does not and the publish
39
- failed. "Caught an exception, carried on" is neither.
40
-
41
- ## 2. A generator that degrades silently
42
-
43
- *Arc — the proxy generator.*
44
-
45
- **Boundary.** Generating TypeScript proxies from C# sources. The output is what
46
- the whole frontend compiles against.
47
-
48
- **What happened.** The generator produced fewer proxies than its inputs implied
49
- and still exited zero.
50
-
51
- **Why it was expensive.** The symptom appears far from the cause: a missing
52
- TypeScript type in a component, at a point where nobody is thinking about the
53
- generator. The natural first hypothesis is that the frontend is wrong.
54
-
55
- **What the contract required.** A generator that consumed N inputs and emitted
56
- fewer than N artifacts reports the delta and fails, or names the skipped inputs
57
- and why. Reporting the count on success is what makes the shortfall visible at
58
- all: "generated 41 of 41" and "generated 38 of 41" have to read differently.
59
-
60
- ## 3. A renderer that quietly renders less
61
-
62
- *Stage #53.*
63
-
64
- **Boundary.** Rendering output that someone will look at and act on.
65
-
66
- **What happened.** A degraded rendering path produced partial output while
67
- reporting success.
68
-
69
- **Why it was expensive.** Partial output looks like output. There is no error to
70
- search for and no count to compare, so the difference between correct and
71
- degraded is invisible at exactly the boundary that produced it.
72
-
73
- **What the contract required.** A renderer that could not render something says
74
- so in its result — a degraded-mode signal the caller has to handle, not a log
75
- line at the end of a stream nobody reads.
76
-
77
- ## 4. A container that stays `Running` after startup threw
78
-
79
- *Chronicle — container startup.*
80
-
81
- **Boundary.** Process and container lifecycle — the state an orchestrator reads
82
- to decide whether to send traffic.
83
-
84
- **What happened.** Startup threw, and the container remained in `Running`.
85
-
86
- **Why it was expensive.** The orchestrator believed the reported state and kept
87
- routing to a host that had never finished starting. The failure surfaces as
88
- inexplicable behavior in callers rather than as a failed start.
89
-
90
- **What the contract required.** Process state follows the work. If startup
91
- failed, the process exits non-zero or reports unhealthy. A liveness state that
92
- survives a failed start is not a degraded signal, it is a false one.
93
-
94
- ## 5. A constraint that only one implementation enforces
95
-
96
- *Chronicle — unique constraints on the SQL and in-memory providers.*
97
-
98
- **Boundary.** Persistence, and the invariant the store is supposed to guarantee.
99
-
100
- **What happened.** Unique constraints were not enforced on the SQL and in-memory
101
- storage providers, while the primary provider enforced them.
102
-
103
- **Why it was expensive.** This is the worst variant, because it does not fail —
104
- it makes specifications pass vacuously. Every test written against the
105
- in-memory provider proved that duplicate writes were accepted, and read as
106
- proof that the constraint worked. The gap only appears in the one environment
107
- nobody tests against by default.
108
-
109
- **What the contract required.** An alternate implementation of an interface
110
- matches the primary one's *semantics*, not just its signature. Where it cannot,
111
- it throws rather than silently accepting. The specification that proves the
112
- constraint runs against every implementation.
113
-
114
- **Another way a store can pass vacuously.** In Chronicle's `GetWindow`, absent
115
- filters and `EventSourceId.Unspecified`, `EventSourceType.Default`,
116
- `EventStreamType.All`, `EventStreamId.Default` or an empty event-type set leave
117
- the corresponding dimension unrestricted. Testing only for a non-null value
118
- can turn a sentinel into a filter that returns no rows. Seed events with ordinary
119
- IDs and types and run the same spec against every provider: absent filters and
120
- explicit unrestricted values must return the same expected events.
121
-
122
- ## 6. A fan-out that succeeded 29 times out of 36 and said "done"
123
-
124
- *The retired corpus propagation.*
125
-
126
- **Boundary.** Propagating content into other repositories — an effect in 36
127
- places at once.
128
-
129
- **What happened.** Per-target results were aggregated into a single overall
130
- success. Seven repositories did not receive the change, and the aggregate said
131
- nothing about it.
132
-
133
- **Why it was expensive.** Nobody knew which seven. Recovering meant re-deriving
134
- the target list and comparing every repository by hand, long after the run's
135
- own record of what happened had been lost to log rotation.
136
-
137
- **What the contract required.** Attempted, succeeded, and failed are three
138
- separate numbers, all three in the returned result and the summary line. A
139
- fan-out that cannot name its failures has not reported its outcome. "29 of 36"
140
- is not a success with a footnote; on an effect boundary it is a failure.
141
-
142
- ## What the six have in common
143
-
144
- - The failing code **caught something and continued**, or **mapped an
145
- unmodelled outcome onto success**.
146
- - The success signal was **produced by the layer that failed**, so no later
147
- check re-derived it.
148
- - The cost was paid **downstream, by someone who could not see the boundary**.
149
- - In the two worst cases (2 and 5) the defect made verification itself
150
- meaningless: a green generator run and a green specification suite that were
151
- both measuring nothing.
1
+ # Failure archetypes at effect boundaries
2
+
3
+ Use the matching row to choose a failure injection. Assert the result at the
4
+ boundary, not just a later symptom. Keep the positive case as well so an
5
+ operation that always fails cannot pass the specification.
6
+
7
+ | Boundary | Choose this probe when | Required observation |
8
+ | --- | --- | --- |
9
+ | Publication | A remote write can conflict or fail after another step succeeds | Inject a conflict or rejection; success requires independently verified publication. Otherwise report failure or the exact incomplete state. |
10
+ | Generator | Some expected outputs can be skipped | Omit or reject one input; reconcile expected and generated artifacts and surface the missing output. An empty input selection cannot prove generation worked. |
11
+ | Renderer | A fallback can omit or substitute content | Trigger the fallback; assert the caller gets either failure or a typed degraded outcome distinguishing it from complete output. |
12
+ | Host startup | A dependency or hosted service can fail to start | Make startup throw; assert the host does not report ready. Verify readiness after a clean start as a separate case. |
13
+ | Storage | Multiple implementations expose the same operation | Run the same constraint specification against every provider. A provider that cannot honor the operation must fail explicitly, not return an empty success. |
14
+ | Fan-out | Some writes can succeed while others fail or time out | Fail one target and lose the outcome of another; preserve target identity and distinguish attempted, successful, failed, and indeterminate counts in the result. |
15
+
16
+ An optional output is not a partial failure when the contract calls it optional
17
+ and the caller can observe its absence. Do not quietly reclassify an expected
18
+ output as optional to make a failing check pass.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-engineering-inherited-work
3
- description: Use when picking up a branch, pull request or agent thread that someone else started, or deciding whether a stale one should still be finished, reworked or dropped. Not for writing a handoff note, folding branches or claiming an issue.
3
+ description: Use when deciding whether to continue, replace or stop an existing branch or pull request. Not for checking that restored commits survived a fold (use cratis-engineering-consolidation-guard).
4
4
  license: MIT
5
5
  ---
6
6
 
@@ -21,7 +21,7 @@ This skill decides and verifies. It reuses the neighbors instead of restating th
21
21
  - Treat any uncommitted change in the worktree you find as someone else's. Work in a separate worktree when it is dirty or in use.
22
22
  - Picking up work authorizes reading, verifying and recommending. It does not by itself authorize pushing to another person's branch, merging, closing or changing the base. When the user's request does not clearly cover an effect, recommend it and ask.
23
23
  - Closing someone else's pull request is such an effect. Recommend closing with evidence; do not close it unless the user's request or an applicable policy authorizes it.
24
- - Fetch before reading: the source branch, the base branch and any branch the work relates to. A stale local ref gives a wrong verdict.
24
+ - Fetch the source, base, and related refs before comparing; if the branch is gone, resolve the PR head ref or recorded commit before judging what it contains.
25
25
 
26
26
  ## 1. Record what was inherited
27
27
 
@@ -54,31 +54,15 @@ Never call work current because Git reports no conflicts. Age alone is not evide
54
54
 
55
55
  | Disposition | When | Next step |
56
56
  |---|---|---|
57
- | **Continue** | The goal still stands and the implementation is still the right shape | Merge the base in, resolve, verify, push as a new commit |
57
+ | **Continue** | The goal still stands and the implementation is still the right shape | Merge the base in, resolve, and verify; push only if authorized |
58
58
  | **Rework** | The goal stands but the implementation would preserve the wrong design | Describe the smallest credible rewrite; stop before building it unless asked |
59
59
  | **Obsolete** | Superseded, already on the base, directionally wrong or no longer worth its cost | Cite concrete evidence and stop; ask before closing anything |
60
60
 
61
61
  Decide before changing anything. Be willing to say Obsolete. If a conflict reveals a product or architecture disagreement, return here and reconsider the disposition rather than guessing through it.
62
62
 
63
- ## 5. Take over a continued item
63
+ If the disposition is continue, follow [takeover and attribution](references/continue-inherited-work.md) before writing or delivering changes.
64
64
 
65
- Take responsibility for finishing the goal, not for defending the existing implementation.
66
-
67
- 1. **Continue where the user or policy says.** Default to a new branch that imports the original commits and adds your fixes as separate commits. Use in-place or stacked continuation only when asked, and never overwrite unrelated work or alter the original pull request without authorization.
68
- 2. **Bring the base in by merge.** Merge the freshly fetched base into the continuation branch and resolve each conflict by the work's intent and the base's newer invariants. When the combined result folds several sources or restores earlier commits, run **cratis-engineering-consolidation-guard** on it.
69
- 3. **Re-check claimed results.** Do not carry a "tests pass", "fixed" or "verified" claim forward. Reproduce the original failure, run the checks yourself through the repository's gates, and exercise the realistic workflow. Mocked green specs do not prove the user experience; state what stays unverified.
70
- 4. **Reconcile earlier review findings.** For every open or resolved review thread, decide: fixed in the current head, still open, or no longer applicable, with the commit or reason. Plan the next review pass with **cratis-engineering-review-rounds**; do not restart whole-change review for a delta.
71
- 5. **Recheck the source.** The original pull request may have gained commits while you worked. Fetch it again before reporting and merge or reconcile what arrived.
72
- 6. **Keep the issue truthful.** Claim, post meaningful events as new comments and close only as authorized following **cratis-engineering-issue-hygiene**; never edit existing issue text. Record the handoff state with **cratis-session-handoff** when the work will continue elsewhere.
73
-
74
- ## 6. Preserve contributor credit
75
-
76
- - Keep original commits with their authorship and any co-author trailers; merge, never squash, so each contributor's commits stay in history.
77
- - Credit the original contributors in the pull request description and link the original pull request.
78
- - Use verified identities. Never guess an email address. Model attribution does not replace credit to a human contributor.
79
- - If the delivery path forces a squash, say so before it happens and ask; do not choose it silently.
80
-
81
- ## 7. Report
65
+ ## Report
82
66
 
83
67
  Lead with the disposition and reason. Then give, separating observed facts from judgment:
84
68
 
@@ -0,0 +1,19 @@
1
+ # Continuing inherited work
2
+
3
+ ## 5. Take over a continued item
4
+
5
+ Take responsibility for finishing the goal, not for defending the existing implementation.
6
+
7
+ 1. **Continue where the user or policy says.** Default to a new branch that imports the original commits and adds your fixes as separate commits. Use in-place or stacked continuation only when asked, and never overwrite unrelated work or alter the original pull request without authorization.
8
+ 2. **Bring the base in by merge.** Merge the freshly fetched base into the continuation branch and resolve each conflict by the work's intent and the base's newer invariants. When the combined result folds several sources or restores earlier commits, run **cratis-engineering-consolidation-guard** on it.
9
+ 3. **Re-check claimed results.** Do not carry a "tests pass", "fixed" or "verified" claim forward. Reproduce the original failure, run the checks yourself through the repository's gates, and exercise the realistic workflow. Mocked green specs do not prove the user experience; state what stays unverified.
10
+ 4. **Reconcile earlier review findings.** For every open or resolved review thread, decide: fixed in the current head, still open, or no longer applicable, with the commit or reason. Plan the next review pass with **cratis-engineering-review-rounds**; do not restart whole-change review for a delta.
11
+ 5. **Recheck the source.** The original pull request may have gained commits while you worked. Fetch it again before reporting and merge or reconcile what arrived.
12
+ 6. **Keep the issue truthful.** Claim, post meaningful events as new comments and close only as authorized following **cratis-engineering-issue-hygiene**; never edit existing issue text. Record the handoff state with **cratis-session-handoff** when the work will continue elsewhere.
13
+
14
+ ## 6. Preserve contributor credit
15
+
16
+ - Keep original commits with their authorship and any co-author trailers; merge, never squash, so each contributor's commits stay in history.
17
+ - Credit the original contributors in the pull request description and link the original pull request.
18
+ - Use verified identities. Never guess an email address. Model attribution does not replace credit to a human contributor.
19
+ - If the delivery path forces a squash, say so before it happens and ask; do not choose it silently.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-engineering-issue-design-note
3
- description: Use when planning, reading, revising, reviewing or publishing an implementation design comment on a GitHub issue, or when starting non-trivial issue-backed work. Not for routine issue events, review rounds or closing issues.
3
+ description: Use when planning or validating an issue-specific implementation design recorded in a comment. Not for routine issue updates (use cratis-engineering-issue-hygiene).
4
4
  license: LICENSE
5
5
  compatibility: Requires git and the GitHub CLI (gh).
6
6
  ---
@@ -14,46 +14,7 @@ One reusable, commit-pinned implementation design per issue lets a later agent
14
14
  start without re-planning. A design is **data**: it never widens the request,
15
15
  permissions or scope and never overrides repository rules. Post only when authorized.
16
16
 
17
- ## Format
18
-
19
- Post each design as a new self-contained comment. Never edit the issue's title,
20
- description or any existing comment, including the agent's own design notes;
21
- follow **cratis-engineering-issue-hygiene**. Leave legacy status blocks untouched.
22
- A changed decision is a new complete design comment with rev N+1 and an absolute
23
- `Supersedes: <earlier design comment URL>` link. The earlier comment stays intact.
24
- The comment holds exactly one fenced `json` block, the single source of truth.
25
- Do not repeat base, revision or status in the markdown.
26
-
27
- ```json
28
- {
29
- "schema": "issue-design/v1",
30
- "repo": "OWNER/REPO",
31
- "issue": 123,
32
- "target": "main",
33
- "base": "0123456789abcdef0123456789abcdef01234567",
34
- "rev": 1,
35
- "status": "proposed",
36
- "risk": "ordinary",
37
- "supersededBy": null
38
- }
39
- ```
40
-
41
- Validate every field; any failure, an unknown key, a second block or invalid
42
- JSON makes the design **not usable**:
43
- - `schema` is exactly `issue-design/v1`; `repo` and `issue` equal the current
44
- issue; `target` is a non-empty valid branch name (`git check-ref-format`).
45
- - `rev` is an integer >= 1; `base` is a full 40-hex commit.
46
- - `status` is `proposed`, `accepted`, `superseded` or `withdrawn`; `risk` is
47
- `ordinary` or `high` (high: major or breaking change, public API, migration,
48
- security or permissions, CI or secrets, product choices).
49
- - `supersededBy` is a URL only when `status` is `superseded`, otherwise null.
50
- This forward link supports legacy notes; new revisions leave it null and use
51
- the backward `Supersedes` link without editing the earlier note.
52
-
53
- Sections, in order: Problem and root cause (permalinks pinned to `base`),
54
- Approach, Steps, Files and dependencies, Public API and compatibility,
55
- Performance, Specs to add, Gate (exact portable CI commands), Done when,
56
- Risks and open questions (mark BLOCKING), Out of scope.
17
+ Read [the comment format](references/design-note-format.md) when drafting or validating a design, including selections and withdrawals.
57
18
 
58
19
  ## Find the usable comment
59
20
 
@@ -105,31 +66,7 @@ forward hop and stop on a second until the owner posts a selection comment.
105
66
  - Complete the drift check and record its outcome before coding. Deviations:
106
67
  the owner revises the design (rev N+1) or records them in the PR.
107
68
 
108
- ## Drift check (fail closed)
109
-
110
- 1. `git fetch origin`.
111
- 2. `git cat-file -e <base>^{commit}`.
112
- 3. `git merge-base --is-ancestor <base> origin/<target>`, and the same for the
113
- synced work `HEAD`.
114
- 4. List the full, unscoped `git diff --find-renames --name-status <base> origin/<target>`
115
- and `<base> HEAD`, plus `--stat`. Then read the content diffs
116
- (`git diff --find-renames <base> origin/<target> -- <paths>`) of everything
117
- relevant: named files and renames, dependencies and lockfiles, contracts,
118
- config, CI workflows. Re-read the issue and linked issues and PRs updated
119
- since the design.
120
- 5. Inspect dirty work explicitly: `git status`, `git diff --cached`, `git diff`
121
- and the relevant untracked files that `git status` lists. `HEAD` does not
122
- cover dirty work; if it cannot be inspected, stop.
123
- 6. Outcome before coding: any change to a design assumption, even if no named
124
- file was touched, means revalidate the affected steps and have the owner
125
- publish rev N+1. An unknown or unrelated base, missing reference, unrelated
126
- lineage or open BLOCKING item means stop. A material revision resets
127
- `status` to `proposed` and needs renewed review, plus independently
128
- reconfirmed task authority or approval only where applicable. No relevant
129
- change means record the checked target and work `HEAD` commits in the
130
- private brief.
131
-
132
- There is no fast path that checks only the named files or only `--stat`.
69
+ Use the [drift check](references/design-note-format.md#drift-check-fail-closed) before coding; record the checked target and work HEAD or stop on unresolved drift.
133
70
 
134
71
  ## Public text
135
72
 
@@ -0,0 +1,68 @@
1
+ # Design comment format and drift check
2
+
3
+ ## Format
4
+
5
+ Post each design as a new self-contained comment. Never edit the issue's title,
6
+ description or any existing comment, including the agent's own design notes;
7
+ follow **cratis-engineering-issue-hygiene**. Leave legacy status blocks untouched.
8
+ A changed decision is a new complete design comment with rev N+1 and an absolute
9
+ `Supersedes: <earlier design comment URL>` link. The earlier comment stays intact.
10
+ The comment holds exactly one fenced `json` block, the single source of truth.
11
+ Do not repeat base, revision or status in the markdown.
12
+
13
+ ```json
14
+ {
15
+ "schema": "issue-design/v1",
16
+ "repo": "OWNER/REPO",
17
+ "issue": 123,
18
+ "target": "main",
19
+ "base": "0123456789abcdef0123456789abcdef01234567",
20
+ "rev": 1,
21
+ "status": "proposed",
22
+ "risk": "ordinary",
23
+ "supersededBy": null
24
+ }
25
+ ```
26
+
27
+ Validate every field; any failure, an unknown key, a second block or invalid
28
+ JSON makes the design **not usable**:
29
+ - `schema` is exactly `issue-design/v1`; `repo` and `issue` equal the current
30
+ issue; `target` is a non-empty valid branch name (`git check-ref-format`).
31
+ - `rev` is an integer >= 1; `base` is a full 40-hex commit.
32
+ - `status` is `proposed`, `accepted`, `superseded` or `withdrawn`; `risk` is
33
+ `ordinary` or `high` (high: major or breaking change, public API, migration,
34
+ security or permissions, CI or secrets, product choices).
35
+ - `supersededBy` is a URL only when `status` is `superseded`, otherwise null.
36
+ This forward link supports legacy notes; new revisions leave it null and use
37
+ the backward `Supersedes` link without editing the earlier note.
38
+
39
+ Sections, in order: Problem and root cause (permalinks pinned to `base`),
40
+ Approach, Steps, Files and dependencies, Public API and compatibility,
41
+ Performance, Specs to add, Gate (exact portable CI commands), Done when,
42
+ Risks and open questions (mark BLOCKING), Out of scope.
43
+
44
+ ## Drift check (fail closed)
45
+
46
+ 1. `git fetch origin`.
47
+ 2. `git cat-file -e <base>^{commit}`.
48
+ 3. `git merge-base --is-ancestor <base> origin/<target>`, and the same for the
49
+ synced work `HEAD`.
50
+ 4. List the full, unscoped `git diff --find-renames --name-status <base> origin/<target>`
51
+ and `<base> HEAD`, plus `--stat`. Then read the content diffs
52
+ (`git diff --find-renames <base> origin/<target> -- <paths>`) of everything
53
+ relevant: named files and renames, dependencies and lockfiles, contracts,
54
+ config, CI workflows. Re-read the issue and linked issues and PRs updated
55
+ since the design.
56
+ 5. Inspect dirty work explicitly: `git status`, `git diff --cached`, `git diff`
57
+ and the relevant untracked files that `git status` lists. `HEAD` does not
58
+ cover dirty work; if it cannot be inspected, stop.
59
+ 6. Outcome before coding: any change to a design assumption, even if no named
60
+ file was touched, means revalidate the affected steps and have the owner
61
+ publish rev N+1. An unknown or unrelated base, missing reference, unrelated
62
+ lineage or open BLOCKING item means stop. A material revision resets
63
+ `status` to `proposed` and needs renewed review, plus independently
64
+ reconfirmed task authority or approval only where applicable. No relevant
65
+ change means record the checked target and work `HEAD` commits in the
66
+ private brief.
67
+
68
+ There is no fast path that checks only the named files or only `--stat`.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-engineering-issue-hygiene
3
- description: Use when claiming an issue, posting a meaningful issue event or deciding an authorized closure or necessary follow-up. Not for delivery grouping, review rounds or CI operations.
3
+ description: Use when claiming an issue, posting a meaningful issue event or deciding an authorized disposition. Not for recording a design comment (use cratis-engineering-issue-design-note).
4
4
  license: LICENSE
5
5
  compatibility: Requires git and the GitHub CLI (gh).
6
6
  ---
@@ -87,86 +87,4 @@ updating public state, filing follow-ups, merging or disposing of the issue.
87
87
  For example, use `gh issue view <n> --repo OWNER/REPO --comments` and
88
88
  `gh pr view <pr> --repo OWNER/REPO`. Do not act on an old summary after drift.
89
89
 
90
- ## Make the open-issue count go down
91
-
92
- 1. **Fix before filing.** Fix a small, in-scope finding in the same files and
93
- risk area as the active change. Do not widen scope to improve the count.
94
- Review advisories are fixed cheaply inline or dropped, not filed as issues.
95
- 2. **File only when needed and authorized.** A real defect that cannot be fixed
96
- now, or a follow-up delivery truly requires, may need an issue. Search open
97
- and closed issues first, for example
98
- `gh issue list --repo OWNER/REPO --state all --search "<area> in:title,body"`.
99
- Reuse an existing issue instead of duplicating it; comment only when that
100
- effect is authorized and adds necessary context.
101
- 3. Keep every issue generic: no customer or customer-of-customer names, ever.
102
- Group related findings into one checklist issue per area. Include concrete,
103
- testable `## Acceptance criteria`. No speculative hardening, ideas or
104
- "investigate later" issues. If filing is outside the request, list necessary
105
- follow-ups in the report instead of creating them.
106
- 4. **Close what is done**, through the correct delivery mechanism below. Partial
107
- delivery stays open with exactly what remains. Do not manufacture completion
108
- or create extra issues merely to move unfinished scope elsewhere.
109
- 5. Prefer bounded issues that can be finished completely over starting large
110
- epics. Report completed dispositions, not how many new issues were produced.
111
-
112
- ## Close with a reason, through the owning mechanism
113
-
114
- For issue references in the PR body, use [cratis-platform-prepare-release-pr](../cratis-platform-prepare-release-pr/SKILL.md).
115
- Before changing disposition, confirm the actual PR state, release
116
- intent and repository workflow; a merged PR is not proof of a published release.
117
-
118
- - **Release-action delivery:** for a fully delivered issue, the delivering
119
- release-note bullet ends with `(#n)`. Release-action closes it at release;
120
- do not close it by hand. If release is pending, keep that dependency visible.
121
- - **Manual completion:** only for a `no-release` PR or a repository without
122
- release-action, and only when the request includes closing. Confirm all scope
123
- is delivered and no required PR is open, unmerged, reverted or failing. Set
124
- Done in a new closing comment and close with reason `completed` and a public
125
- delivery link.
126
- - **Duplicate or obsolete:** only with clear evidence and authority. Use reason
127
- `not planned`, explain why, and link the canonical issue or superseding work.
128
- If uncertain, leave it open and report the question.
129
- - **Partial or unauthorized disposition:** leave it open with truthful remaining
130
- scope or report the proposed disposition. Do not invent follow-up authority.
131
-
132
- For an authorized manual completion, for example:
133
-
134
- ```bash
135
- gh issue close <n> --repo OWNER/REPO --reason completed \
136
- --comment "Delivered in <public PR URL>. The agreed behavior is available."
137
- ```
138
-
139
- A duplicate uses `--reason "not planned"` and a specific canonical public URL.
140
- No closing keywords are needed in the PR description.
141
-
142
- ## End-of-work audit
143
-
144
- List issues touched by this work and reconcile each against its PR and release.
145
- For example, `gh issue list --repo OWNER/REPO --assignee @me --state open` helps
146
- find assigned work, but does not replace the list of issues actually touched.
147
- Check merged PRs for completed work still open; distinguish pending release-action
148
- closure from an authorized manual disposition. Verify closure through the issue's
149
- actual state, not an assumption about merging.
150
-
151
- Leave no issue appearing actively worked without an active writer. For unfinished
152
- work, post an authorized new Paused or Blocked comment with what remains and what
153
- it waits for; leave any legacy body status untouched. Reconcile follow-ups
154
- with existing issues. Perform only authorized mutations; otherwise report the
155
- proposed changes and the blocker. Summarize completed issues, pending release
156
- closures and unfinished scope without publishing local paths or harness details.
157
-
158
- ## How it is proven
159
-
160
- Read the final title, body, comments and state, for example with
161
- `gh issue view <n> --repo OWNER/REPO --json title,body,comments,state`. The title,
162
- description and pre-existing comments are unchanged; new comments match the
163
- actual PR and release, and any authorized closure is observable. Until
164
- release-action runs, pending closure is not Done.
165
-
166
- ## What breaks
167
-
168
- - Editing existing issue text loses traceability and risks concurrent overwrites.
169
- - Routine progress comments needlessly notify subscribers; meaningful events do not.
170
- - Manual closure before release bypasses release-action's delivery contract.
171
- - Filing every advisory grows the backlog without a necessary delivery.
172
- - Stopping without a paused or blocked event leaves readers expecting active work.
90
+ Read [issue disposition](references/issue-disposition.md) when considering a follow-up, closing an issue, or performing the end-of-work audit.