@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,267 +1,27 @@
1
1
  ---
2
2
  name: cratis-chronicle-cli-operations
3
- description: Use when inspecting a running Chronicle store or performing an authorized store operation through the cratis CLI. Not for source-local defects, MCP tool selection or the browser Workbench.
3
+ description: Use when inspecting a running Chronicle store or performing an authorized store operation through the cratis CLI. Not for choosing MCP tools (use cratis-chronicle-mcp-inspection).
4
4
  license: MIT
5
5
  ---
6
6
 
7
- # Operate a running Chronicle with the `cratis` CLI
7
+ # Inspect a running Chronicle store with `cratis`
8
8
 
9
- Source code says what *should* happen. When the question is what *is* happening
10
- in a live store — a projection that will not move, an observer that stopped, an
11
- event you are not sure was appended — read the server instead of the code.
9
+ Start with an installed CLI, a trusted server endpoint, read access and the exact event store and namespace. Default to read-only inspection of one target.
12
10
 
13
- ## Check the command effect
11
+ 1. Establish the intended server, store and namespace. Check [connection precedence](references/project-tooling.md#reach-the-right-server) if the target is unclear. Do not run `cratis context show` on a context that might contain embedded credentials; it prints the saved server verbatim, not the effective target.
12
+ 2. Run `cratis llm-context` to find the command, flags, `effect` and `requiresConfirmation`. Use only `read-only` commands for diagnosis; treat unknown effects as changes. Use `cratis llm-context --schema` for the catalog schema or `cratis <group> --help` for one group.
13
+ 3. Read the smallest relevant scope and verify the effective target from the redacted `--debug` output on stderr. For example, inspect one observer:
14
14
 
15
- Observer removal, partition-quarantine clearing, server-bound login and diagnose scope
16
- are operational. Read [command effects](references/command-effects.md)
17
- when classifying a mutation or confirmation.
15
+ ```bash
16
+ cratis chronicle observers show <observer-id> -e <store> -n <namespace> --debug -o json-compact
17
+ ```
18
18
 
19
- The CLI ships a **versioned machine-readable catalog of its own surface**, and
20
- that catalog is the authority for exact command names, `effect` and
21
- `requiresConfirmation` on the installed version. Treat every effect other than
22
- `read-only` (including unknown values) as a state change:
19
+ Stop if the resolved server, store or namespace differs from the intended target. Confirm the returned observer and sequence before checking its position. If absent, recheck scope and registration. Use [inspection results](references/inspection.md) to distinguish failed partitions, quarantine and lag. Redact sensitive identifiers and payloads before sharing results.
23
20
 
24
- ```bash
25
- cratis llm-context # every command, option and argument as JSON
26
- cratis llm-context --schema # the JSON Schema for that document
27
- cratis <group> --help # the same, one group at a time
28
- ```
21
+ ## Choose the next path
29
22
 
30
- Do not guess a command name from this file. This skill covers *when to reach for
31
- the CLI and how to read what comes back*; the catalog covers *what to type*.
23
+ - **Setup or authentication:** [Project tooling](references/project-tooling.md) covers installation, connection precedence, server-bound login, templates and managed MCP. Verify the resolved target before returning to inspection.
24
+ - **Model comparison:** [Recovery outcomes and namespace comparison](references/recovery-and-comparison.md#compare-a-model-with-live-metadata) covers the bounded, read-only Screenplay comparison for post-deploy verification.
25
+ - **Authorized recovery:** Check [command effects and write preflight](references/command-effects.md#preflight-for-a-write), then [recovery outcomes](references/recovery-and-comparison.md) for the exact operation. A diagnosis request does not authorize changes. Re-read after an accepted request and verify the actual outcome.
32
26
 
33
- ## Install and set up
34
-
35
- `cratis` is a .NET tool published as `Cratis.Cli` with the command name
36
- `cratis`. Install it with `dotnet tool install -g Cratis.Cli`, or through
37
- Homebrew, or from a release binary. Follow with `cratis completions install`.
38
-
39
- Once per project, so every agent working it can reach the store:
40
-
41
- ```bash
42
- cratis init # detects the AI tools in use and writes project context
43
- cratis init --refresh # re-capture after upgrading the CLI
44
- ```
45
-
46
- Two things worth knowing before running it:
47
-
48
- - The embedded catalog is a **snapshot**, not a live lookup. After a CLI upgrade
49
- it still describes the older surface; `cratis init` reports the mismatch and
50
- `--refresh` fixes it.
51
- - If the repository's instruction file is supplied by a shared package or a
52
- generated adapter, pass `--no-context`. Keep project-specific Chronicle
53
- connection guidance in a repository-owned project context file; never patch
54
- packaged or generated bytes.
55
-
56
- Read [project tooling](references/project-tooling.md) for embedded release notes,
57
- cached templates, managed MCP registration and install-only versus harness AI
58
- conformance checks. Updating instructions does not run those behavior checks.
59
-
60
- ## Reach the right server
61
-
62
- The connection string resolves in this exact order:
63
-
64
- 1. `--server <CONNECTION_STRING>`
65
- 2. the `CHRONICLE_CONNECTION_STRING` environment variable
66
- 3. the active context's server in `~/.cratis/config.json`
67
- 4. `chronicle://localhost:35000`
68
-
69
- Credentials are composed separately, and only when the resolved string carries
70
- no embedded `user:pass@` and no `apiKey=` (embedded credentials win): use a cached
71
- login token only for its issuing server and while valid (more than one minute
72
- before expiry), then context client id/secret, then the built-in development
73
- client. The CLI does not restrict that fallback to localhost; acceptance depends
74
- on the server's authentication configuration and registered clients, not its
75
- address. Development builds can register that client automatically; do not rely
76
- on a remote server rejecting it. An expired matching login without
77
- client credentials raises `LoginSessionExpired` (exit 4), not a silent fallback.
78
- A login belonging to another server is not sent; a once-per-process stderr
79
- notice explains the mismatch.
80
-
81
- Use `cratis chronicle login <user>` (`--secret` or prompt), `chronicle logout`
82
- and `chronicle auth status -o json` (`tokenServer`, `loginMatchesServer`). Login
83
- refuses multi-host and `chronicle+srv://` targets. Requires cratis CLI 3.21.0 for login to keep the token; an older CLI discarded it, so log in again if `auth status` shows no token. Context values can be changed
84
- with `context set-value server|event-store|namespace|client-id|client-secret`.
85
- Keep secrets out of logs and committed configuration.
86
- Default development-client credentials are registered only in development builds.
87
-
88
- Prefer a named context over repeating a connection string:
89
-
90
- ```bash
91
- cratis context create <name> --server chronicle://<host>:35000
92
- cratis context set <name>
93
- cratis context show
94
- ```
95
-
96
- A context also carries `--event-store` and `--namespace` defaults; both can be
97
- overridden per command with `-e` and `-n`. The event store defaults to
98
- `default` and the namespace to `Default`.
99
-
100
- **Be deliberate about which store you are pointed at.** The same commands read
101
- production and a local container, and several of them mutate. `cratis context
102
- show` before anything that writes; `--debug` prints the resolved config path,
103
- context, redacted connection string, and RPC timing to stderr.
104
-
105
- ## Choose the output format
106
-
107
- There is one output flag, `-o` / `--output`, with values `table`, `plain`,
108
- `json`, `json-compact`, and `auto`. **There is no `--json` flag.**
109
-
110
- - `auto` (the default) resolves to `json-compact` when an AI-agent environment
111
- is detected, `plain` when `NO_COLOR` is set, `json` when stdout is redirected,
112
- and `table` otherwise.
113
- - `-q` / `--quiet` prints identifiers only, one per line — what you want when
114
- piping one command into another. Combined with a JSON format it yields a JSON
115
- array of identifiers.
116
- - Prefer `plain` for large listings; JSON repeats every field name on every row.
117
- Prefer `json`/`json-compact` for `show`/`get` commands where you need the
118
- nested structure.
119
-
120
- Exit codes are stable and worth branching on: `0` success, `1` not found, `2`
121
- connection error, `3` server error, `4` authentication error, `5` validation
122
- error; `6` is `changes_pending` for `render --check`, not Chronicle commands.
123
- JSON errors carry an `error` code such as `not_found`, `connection_error`,
124
- `server_error`, `authentication_error` or `validation_error`.
125
-
126
- ## Where to look
127
-
128
- | Question | Where to look |
129
- | --- | --- |
130
- | Is the server healthy at all? | `cratis chronicle diagnose`; `--all-namespaces`, `--all-event-stores`, `--watch --interval <seconds>`; non-zero for unhealthy, quarantined or incomplete checks |
131
- | Why has this read model stopped updating? | `chronicle failed-partitions list --observer <id>` — the error is on the partition, not in the log |
132
- | An observer is quarantined — why? | `chronicle failed-partitions show <observer> <partition> --detailed`, with attempt history |
133
- | Did this event actually get appended? | `chronicle events get --event-type <type> --event-source-id <id>` (`events tail` returns only the highest sequence number — not a count, not the events) |
134
- | What is this event's shape in the store? | `chronicle event-types list`, then `chronicle event-types show <type>` |
135
- | Is this projection registered? | `chronicle projections list`, then `chronicle projections show <id>` |
136
- | What does the read model actually hold? | `chronicle read-models get <read-model> <key>`, or `read-models instances` |
137
- | Is a replay or migration still running? | `chronicle jobs list`, then `chronicle jobs get <id>` |
138
- | What does the server itself recommend? | `chronicle recommendations list` |
139
-
140
- Classify inspection through `effect=read-only` in `cratis llm-context`, not a
141
- remembered allowlist. `chronicle report-error` is cataloged read-only, but opens
142
- a browser issue form; the harness guard deliberately blocks that external UI
143
- action.
144
-
145
- `read-models get|snapshots|instances <READ_MODEL>` takes the **Identifier** column
146
- of `read-models list`, not the container name. `events get` accepts `--sequence`,
147
- `--from`, `--to`, `--event-source-id` and `--event-type` (comma-separated, optional
148
- `Type+gen`). It has no limit option: bound `--from`/`--to` and prefer `-o plain`.
149
- The catalog recommends plain for `event-types list`, `projections list` and
150
- `read-models instances`, and json-compact for `read-models get`.
151
-
152
- ## Read what comes back
153
-
154
- - **A failed partition is not necessarily quarantined.** Eligible failures retry
155
- automatically under the configured budget; quarantined partitions stop retrying.
156
- Missing `IsQuarantined` is Unknown, not healthy. A stale value can mean lag or a
157
- stopped partition: inspect attempts and observer state rather than guessing.
158
- Clearing observer quarantine does not clear partition quarantine.
159
- - **Fix the cause before replaying.** Replaying into an unfixed handler fails the
160
- same way and buries the original error under a newer one.
161
- - **A quarantined observer does not resume by itself.** A quarantine ends when
162
- an operator clears it, or when the observer is subscribed again — for an
163
- application observer, when the client reconnects, for example after a
164
- redeploy. Clearing the quarantine is an explicit operation and the last step,
165
- not the first. A redeploy that restarts the client can also end the quarantine
166
- as a side effect, so check the observer's state before and after a redeploy.
167
-
168
- - **Observer and partition quarantine are separate.** `observers clear-quarantine`
169
- clears only the observer. `observers clear-partition-quarantine <observer> <partition>`
170
- needs Chronicle 19.29.0 or later, resets the retry budget and retries unless `--no-retry`
171
- is given; handler side effects may repeat. `retry-partition` exits non-zero
172
- when quarantined or not failed. `jobs resume` resumes Stopped jobs, not Failed.
173
-
174
- Read [recovery outcomes and namespace comparison](references/recovery-and-comparison.md)
175
- for refusal-aware job actions, retained-job deletion, observer-wide failed-partition
176
- recovery, exact manual stream reopening and bounded metadata comparison.
177
-
178
- ## Before you change anything
179
-
180
- Default to read-only inspection. A request to diagnose a live store does not
181
- authorize replay, retry, removal, quarantine clearing, or another mutation.
182
-
183
- These commands mutate the running store:
184
-
185
- - `chronicle observers replay`, `replay-partition`, `retry-partition`,
186
- `retry-failed-partitions`, `clear-quarantine`
187
- - `chronicle observers remove` — destructive across every namespace of the event
188
- store: definition, state, handled counts, failures and projection definition;
189
- read model data stays. Refused while running or subscribed, no force flag.
190
- - `chronicle observers clear-partition-quarantine` — may retry the handler
191
- - `chronicle jobs stop`, `chronicle jobs resume`, `chronicle jobs delete`
192
- - `chronicle streams closed reopen` — exact manual scope repair with a reason
193
- - `chronicle recommendations perform`, `chronicle recommendations ignore`
194
- - `chronicle subscriptions add`, `chronicle subscriptions remove`
195
- - `chronicle users add`, `chronicle users remove`
196
- - `chronicle applications add`, `chronicle applications remove`
197
-
198
- Check the installed catalog's `effect` before acting; it is the authority. `chronicle login/logout` are `local`, while
199
- catalog's `effect` before acting. `chronicle login/logout` are `local`, while
200
- `chronicle workbench` is `destructive` because its keys can mutate the store.
201
-
202
- Where the Cratis hooks are installed, this boundary is enforced: a `PreToolUse` guard on shell
203
- commands blocks every `cratis chronicle` command that is not on its read-only allowlist, unknown
204
- commands and the interactive `workbench` included, with or without `--yes`. When it blocks, do not
205
- retry or work around it; report the exact command, the target context or server, and what it
206
- changes and why, and ask. A person who authorizes the mutation runs it, or sets
207
- `CRATIS_HOOKS_ALLOW_STORE_MUTATIONS=1` in the environment the agent harness starts from.
208
-
209
- Before any of them:
210
-
211
- 1. Name the exact server context, event store, namespace, observer, partition,
212
- event sequence, or job that will change.
213
- 2. Capture its exact pre-state and the failure evidence that justifies the
214
- operation.
215
- 3. Prepare the repository-approved inverse or safe compensation when one exists;
216
- stop when the effect cannot be safely reversed unless the owner separately
217
- authorizes that irreversible operation.
218
- 4. Show the intended change (and a dry run where supported) and obtain explicit
219
- authorization for that exact target and action.
220
- 5. Re-read the target immediately before mutation and stop on drift.
221
-
222
- ### Two confirmation traps
223
-
224
- **Destructive commands fail closed outside a terminal.** Every command with a
225
- confirmation prompt — `observers replay`, `observers replay-partition`,
226
- `observers retry-partition`, `observers clear-quarantine`,
227
- `observers clear-partition-quarantine`, `observers remove`, `jobs stop`,
228
- `jobs resume`, `recommendations perform`, `recommendations ignore`,
229
- `users remove`, `applications remove`, `subscriptions remove` — asks
230
- interactively, and when the session is **not** interactive (a script, a
231
- pipeline, an agent harness) it does *not* proceed: it writes
232
- "Re-run the command with --yes to confirm the operation" and exits with the
233
- validation error code. `--yes` is therefore the only way a non-interactive run
234
- performs one of these. It is confirmation, **not user authorization**; check
235
- `requiresConfirmation` independently from `effect` in the installed catalog. Declining
236
- the interactive prompt exits successfully having done nothing.
237
-
238
- **Additive commands do not prompt.** `users add`, `applications add` and
239
- `subscriptions add` run without confirmation in every mode.
240
-
241
- Reaching for `--yes` to silence a prompt you have not read is how the wrong
242
- store gets replayed. A failed partition you have not yet explained is not a
243
- thing to clear: read it, fix the handler, then replay. Clearing it first
244
- destroys the evidence and the same failure returns on the next event.
245
-
246
- ## Compare a namespace with its model
247
-
248
- `cratis screenplay conform-namespace` is read-only and sits outside the `chronicle` group and its guard: it reads the registry, observers and event metadata of one namespace and compares them with a `.play` model. Use it for a post-deploy check. Exit `4` is a refused read: obtain a context with read access, never widen permissions.
249
-
250
- ## What the CLI cannot do
251
-
252
- There is no `delete`, `purge`, `redact`, or `revise` command. Event redaction
253
- and revision are browser Workbench operations. Treat a request to "remove an
254
- event with the CLI" as a request that needs a different tool and a separate
255
- authorization.
256
-
257
- ## Related
258
-
259
- - `cratis-chronicle-mcp-inspection` (in `cratis/chronicle/mcp`) offers read-mostly inspection/design-time
260
- tools and job control only; replay, retry and observer recovery are CLI work.
261
- - The terminal Workbench (`cratis chronicle workbench`) presents the same data
262
- with mutating keys; a human at a terminal uses it, not an agent harness.
263
- - The browser Workbench owns redaction, revision, and event-type authoring.
264
- - Narrator (VS Code extension `cratis.narrator`) browses stores, event types, observers and projections from the editor, using the same contexts in `~/.cratis/config.json`.
265
- - Source-level diagnosis belongs in the application's own diagnostic workflow;
266
- start there when the symptom reproduces locally, and start here when it is
267
- only visible on a running server.
27
+ The CLI does not delete, redact or revise individual events. Those actions require separate authorization and a supported Workbench operation. Leave mutating interactive keys in terminal Workbench to an operator. For Chronicle MCP tools, use `cratis-chronicle-mcp-inspection` when installed.
@@ -7,8 +7,7 @@ Use the installed version’s `cratis llm-context` catalog when it differs from
7
7
  effect is a state change. `requiresConfirmation=true` fails non-interactively
8
8
  without `--yes`, independently of effect. Confirmation is not authorization.
9
9
 
10
- All paths below start with `cratis chronicle`. This table exhausts its
11
- non-read-only commands.
10
+ All paths below start with `cratis chronicle`. These classifications are examples, not an allowlist.
12
11
 
13
12
  | Path | Effect | requiresConfirmation |
14
13
  | --- | --- | --- |
@@ -17,11 +16,13 @@ non-read-only commands.
17
16
  | `workbench` | destructive | false (its actions have their own dialogs) |
18
17
  | `applications add` | mutating | false |
19
18
  | `applications remove` | destructive | true |
19
+ | `constraints reindex` | destructive | true |
20
20
  | `jobs delete` | destructive | true |
21
21
  | `jobs resume` | mutating | true |
22
22
  | `jobs stop` | mutating | true |
23
23
  | `observers clear-partition-quarantine` | mutating | true |
24
24
  | `observers clear-quarantine` | mutating | true |
25
+ | `observers fast-forward` | destructive | true |
25
26
  | `observers remove` | destructive | true |
26
27
  | `observers replay` | destructive | true |
27
28
  | `observers replay-partition` | destructive | true |
@@ -35,19 +36,25 @@ non-read-only commands.
35
36
  | `users add` | mutating | false |
36
37
  | `users remove` | destructive | true |
37
38
 
38
- See [recovery outcomes](recovery-and-comparison.md) for CLI/server floors and
39
+ See [recovery outcomes](recovery-and-comparison.md) for refusals and
39
40
  acceptance versus completed work. `jobs delete` exits nonzero on declined/unavailable
40
41
  confirmation; success means deletion requested, not completed removal.
41
42
 
42
- The remaining Chronicle commands are cataloged read-only, including
43
- `report-error`; the guard deliberately blocks that command because it opens an
43
+ The catalog marks `report-error` read-only, but the guard deliberately blocks that command because it opens an
44
44
  external browser issue form. `chronicle version` is not a command in this
45
45
  catalog; server version is included in diagnostic output.
46
46
 
47
47
  - `observers remove` deletes observer records across all namespaces, leaves read-model data and refuses running or subscribed observers.
48
- - `observers clear-partition-quarantine` needs Chronicle 19.29.0 or later, resets the retry budget and retries unless `--no-retry` is set.
48
+ - `observers clear-partition-quarantine` resets the retry budget and retries unless `--no-retry` is set.
49
49
  - `workbench` is a destructive-capable interactive surface and uses table output only.
50
50
 
51
51
  The guard covers `chronicle` only. `direct login|logout|status|use` declares
52
52
  `mutating` but is outside that guard's scope, as are other top-level groups.
53
53
  Do not infer authorization from the absence of a guard.
54
+
55
+ ## Preflight for a write
56
+
57
+ 1. Identify the exact server, store, namespace, sequence and target. Use a read-only Chronicle command with the same target overrides and `--debug` to [verify the redacted effective target](project-tooling.md#reach-the-right-server). Capture pre-state and the failure that justifies the operation.
58
+ 2. Show the intended change and dry run where supported. Prepare an inverse or compensation when possible. Obtain explicit authorization for the exact action and separate authorization for an irreversible action.
59
+ 3. Re-read the target immediately before acting. Stop on drift. A command with a confirmation prompt needs `--yes` in a non-interactive session; that flag confirms the operation, not authorization. Additive `users add`, `applications add` and `subscriptions add` do not prompt. Do not infer execution from exit zero alone; some commands exit zero when an interactive prompt is declined.
60
+ 4. If the installed guard blocks the operation, do not retry or bypass it. Report the exact command, target, intended change and why it is needed for an authorized operator to handle.
@@ -0,0 +1,75 @@
1
+ <!-- Copyright (c) Cratis. All rights reserved. -->
2
+ <!-- Licensed under the MIT license. See LICENSE file in the project root for full license information. -->
3
+
4
+ # Interpret CLI inspection results
5
+
6
+ ## Contents
7
+
8
+ - Choose the output format
9
+ - Where to look
10
+ - Read what comes back
11
+
12
+ ## Choose the output format
13
+
14
+ There is one output flag, `-o` / `--output`, with values `table`, `plain`,
15
+ `json`, `json-compact`, and `auto`. **There is no `--json` flag.**
16
+
17
+ - `auto` (the default) resolves to `json-compact` when an AI-agent environment
18
+ is detected, `plain` when `NO_COLOR` is set, `json` when stdout is redirected,
19
+ and `table` otherwise.
20
+ - `-q` / `--quiet` prints identifiers only, one per line — what you want when
21
+ piping one command into another. Combined with a JSON format it yields a JSON
22
+ array of identifiers.
23
+ - Prefer `plain` for large listings; JSON repeats every field name on every row.
24
+ Prefer `json`/`json-compact` for `show`/`get` commands where you need the
25
+ nested structure.
26
+
27
+ Exit codes are stable and worth branching on: `0` success, `1` not found, `2`
28
+ connection error, `3` server error, `4` authentication error, `5` validation
29
+ error. Some commands use `8` (`inconclusive`) when the outcome is unknown.
30
+ JSON errors carry an `error` code such as `not_found`, `connection_error`,
31
+ `server_error`, `authentication_error` or `validation_error`.
32
+
33
+ ## Where to look
34
+
35
+ | Question | Where to look |
36
+ | --- | --- |
37
+ | Is the server healthy at all? | `cratis chronicle diagnose`; `--all-namespaces`, `--all-event-stores`, `--watch --interval <seconds>`; non-zero for unhealthy, quarantined or incomplete checks |
38
+ | Why has this read model stopped updating? | `chronicle failed-partitions list --observer <id>` — inspect the partition failure records |
39
+ | An observer is quarantined — why? | `chronicle failed-partitions show <observer> <partition> --detailed`, with attempt history |
40
+ | Did this event actually get appended? | `chronicle events get --event-type <type> --event-source-id <id>` (pass `--from` and `--to` to bound the read; `events tail` only returns the highest position) |
41
+ | What is this event's shape in the store? | `chronicle event-types list`, then `chronicle event-types show <type>` |
42
+ | Is this projection registered? | `chronicle projections list`, then `chronicle projections show <id>` |
43
+ | What does the read model actually hold? | `chronicle read-models get <read-model> <key>`, or `read-models instances` |
44
+ | Is a replay or migration still running? | `chronicle jobs list`, then `chronicle jobs get <id>` |
45
+ | What does the server itself recommend? | `chronicle recommendations list` |
46
+
47
+ Classify inspection through `effect=read-only` in `cratis llm-context`, not a
48
+ remembered allowlist. `chronicle report-error` is cataloged read-only, but opens
49
+ a browser issue form; the harness guard deliberately blocks that external UI
50
+ action.
51
+
52
+ `read-models get|snapshots|instances <READ_MODEL>` takes the **Identifier** column
53
+ of `read-models list`, not the container name. `events get` accepts `--sequence`,
54
+ `--from`, `--to`, `--event-source-id` and `--event-type` (comma-separated, optional
55
+ `Type+gen`). It has no limit option: bound `--from`/`--to` and prefer `-o plain`.
56
+ The catalog recommends plain for `event-types list`, `projections list` and
57
+ `read-models instances`, and json-compact for `read-models get`.
58
+
59
+ ## Read what comes back
60
+
61
+ - **A failed partition is not necessarily quarantined.** Eligible failures retry
62
+ automatically under the configured budget; quarantined partitions stop retrying.
63
+ Missing `IsQuarantined` is Unknown, not healthy. A stale value can mean lag or a
64
+ stopped partition: inspect attempts and observer state rather than guessing.
65
+ Clearing observer quarantine does not clear partition quarantine.
66
+ - **Fix the cause before replaying.** Replaying into an unfixed handler fails the
67
+ same way and buries the original error under a newer one.
68
+ - **A quarantined observer does not resume by itself.** A quarantine ends when
69
+ an operator clears it, or when the observer is subscribed again — for an
70
+ application observer, when the client reconnects, for example after a
71
+ redeploy. Clearing the quarantine is an explicit operation and the last step,
72
+ not the first. A redeploy that restarts the client can also end the quarantine
73
+ as a side effect, so check the observer's state before and after a redeploy.
74
+
75
+ Choose [command effects](command-effects.md) only for an explicitly authorized action. Clearing quarantine or retrying can repeat handler effects.
@@ -1,26 +1,93 @@
1
1
  <!-- Copyright (c) Cratis. All rights reserved. -->
2
2
  <!-- Licensed under the MIT license. See LICENSE file in the project root for full license information. -->
3
3
 
4
- # CLI updates and project tooling
4
+ # CLI setup, authentication and project tooling
5
+
6
+ ## Contents
7
+
8
+ - Install and set up
9
+ - Reach the right server
10
+ - Inspect the upgrade, not a remembered bundle
11
+ - Managed AI installation and MCP
12
+ - Deterministic AI checks versus harness behavior
5
13
 
6
14
  This complements live-store operations; it does not grant permission to install
7
15
  servers, change a repository or run quota-consuming agent sessions. Inspect the
8
16
  installed version with `cratis --version` and its catalog before using a flag.
9
17
 
18
+ ## Install and set up
19
+
20
+ `cratis` is a .NET tool published as `Cratis.Cli` with the command name
21
+ `cratis`. Install it with `dotnet tool install -g Cratis.Cli`, or through
22
+ Homebrew, or from a release binary. Follow with `cratis completions install`.
23
+
24
+ Once per project, so every agent working it can reach the store:
25
+
26
+ ```bash
27
+ cratis init # detects the AI tools in use and writes project context
28
+ cratis init --refresh # re-capture after upgrading the CLI
29
+ ```
30
+
31
+ Two things worth knowing before running it:
32
+
33
+ - The project's embedded catalog is a **snapshot**. Use `cratis llm-context` for the installed CLI's current surface. If `cratis init` reports a mismatch, run `cratis init --refresh`.
34
+ - If the repository's instruction file is supplied by a shared package or a
35
+ generated adapter, pass `--no-context`. Keep project-specific Chronicle
36
+ connection guidance in a repository-owned project context file; never patch
37
+ packaged or generated bytes.
38
+
39
+ ## Reach the right server
40
+
41
+ The connection string resolves in this exact order:
42
+
43
+ 1. `--server <CONNECTION_STRING>`
44
+ 2. the `CHRONICLE_CONNECTION_STRING` environment variable
45
+ 3. the active context's server in `~/.cratis/config.json`
46
+ 4. `chronicle://localhost:35000`
47
+
48
+ `auth=none` tells the CLI not to add credentials; use it only with an endpoint intentionally configured for anonymous access. Otherwise, embedded `user:pass@` or `apiKey=` takes precedence. With neither, the CLI tries a cached login token for its issuing server while valid (more than one minute before expiry), then the context client ID and secret, then the built-in development client. `disableTls=true` suppresses only the development fallback, not the earlier credential sources. Do not disable TLS on shared endpoints. The CLI does not restrict the fallback to localhost; acceptance depends
49
+ on the server's authentication configuration and registered clients, not its
50
+ address. Development builds can register that client automatically; do not rely
51
+ on a remote server rejecting it. An expired matching login without
52
+ client credentials raises `LoginSessionExpired` (exit 4), not a silent fallback.
53
+ A login belonging to another server is not sent; a once-per-process stderr
54
+ notice explains the mismatch.
55
+
56
+ Use `cratis chronicle login <user>` (`--secret` or prompt), `chronicle logout`
57
+ and `chronicle auth status -o json` (`tokenServer`, `loginMatchesServer`). Login
58
+ refuses multi-host and `chronicle+srv://` targets. If the intended server requires login and no matching token is saved, sign in again. Context values can be changed
59
+ with `context set-value server|event-store|namespace|client-id|client-secret`.
60
+ Keep saved server strings free of credentials: `context show` and `auth status` can expose the saved server verbatim. Keep secrets out of logs and committed configuration.
61
+ Default development-client credentials are registered only in development builds.
62
+
63
+ Prefer a named context over repeating a connection string:
64
+
65
+ ```bash
66
+ cratis context create <name> --server chronicle://<host>:35000
67
+ cratis context set <name>
68
+ cratis context show
69
+ ```
70
+
71
+ A context also carries `--event-store` and `--namespace` defaults; both can be
72
+ overridden per command with `-e` and `-n`. The event store defaults to
73
+ `default` and the namespace to `Default`.
74
+
75
+ **Verify the effective target before writes.** `cratis context show` displays saved defaults, not the destination after overrides. Run a read-only Chronicle command relevant to the target, such as `observers show` for an observer, with the same target flags and environment as the proposed write. Add `--debug` to read the resolved redacted endpoint, store and namespace on stderr. Stop if they do not match the intended target. For editor inspection, the Narrator VS Code extension (`cratis.narrator`) uses the same saved contexts.
76
+
10
77
  ## Inspect the upgrade, not a remembered bundle
11
78
 
12
- Requires CLI 3.87.0 for offline embedded release notes:
79
+ Read the embedded release notes offline:
13
80
 
14
81
  ```bash
15
82
  cratis release-notes --since <version> -o json
16
83
  cratis release-notes --version <version>
17
84
  ```
18
85
 
19
- `cratis update` displays the skipped releases after its update results. Requires
20
- 3.89.0 for `cratis new` to use the template set cached at `~/.cratis/templates`:
86
+ `cratis update` displays the skipped releases after its update results.
87
+ `cratis new` uses the template set cached at `~/.cratis/templates`:
21
88
  first use downloads from NuGet; offline use can reuse a complete cached set.
22
- `cratis new cratis --language csharp --version <version>` selects a version for
23
- one run rather than replacing the installed choice. `cratis update` refreshes
89
+ `cratis new cratis --language csharp --version <version>` selects a template version for one run without replacing the installed choice.
90
+ `cratis update` refreshes
24
91
  compatible templates without downgrading or failing the CLI update when refresh
25
92
  fails; `--no-templates` skips it. CLI and template versions are separate. Do not
26
93
  silently enable scaffold scripts; preserve the template's `--allow-scripts`
@@ -29,16 +96,14 @@ choice. Multi-service orchestration still needs explicit per-store settings.
29
96
  For `cratis render` / `run`, use the `cratis-stage-render-slice` skill (in `cratis/stage`). The bundled renderer determines support;
30
97
  a CLI upgrade can change admission, generated output and the default container
31
98
  without changing the model. Never infer support from the ESM version alone or
32
- edit generated output to make an older CLI accept it.
99
+ edit generated output to force a match.
33
100
 
34
101
  ## Managed AI installation and MCP
35
102
 
36
- Requires CLI 3.77.1 for `.pi/agents` to link to Pi-native corpus adapters when
37
- available, falling back to canonical agents only for older corpora. Do not
103
+ `.pi/agents` links to Pi-native corpus adapters when available. Do not
38
104
  hand-edit generated adapters to restore missing tools; update the CLI/corpus.
39
105
 
40
- Requires 3.90.0 for profile-selected servers in the corpus's `mcp-servers.json` to
41
- be registered by `cratis ai install` / `update` in Claude Code, Copilot, Cursor,
106
+ Profile-selected servers in the corpus's `mcp-servers.json` are registered by `cratis ai install` / `update` in Claude Code, Copilot, Cursor,
42
107
  Codex and OpenCode. Installation registers configuration; it does not start the
43
108
  servers. Deselecting/uninstalling removes only unchanged owned entries. Foreign
44
109
  or modified entries remain conflicts, even with force. Resolve a conflict by
@@ -53,7 +118,7 @@ Installing a server does not authorize its tools or commands.
53
118
 
54
119
  ## Deterministic AI checks versus harness behavior
55
120
 
56
- Requires CLI 3.98.0 for opt-in `cratis ai test`. Each fixture × harness uses a
121
+ Opt in with `cratis ai test`. Each fixture × harness uses a
57
122
  fresh temporary workspace with the fixture's selected profiles/languages; the
58
123
  invoking repository is unchanged. It is **not** a security sandbox: fixture
59
124
  commands and harnesses still have host tools/authentication. Trust the source,
@@ -61,7 +126,7 @@ request the intended session/budget, and keep transcripts off unless needed.
61
126
  The default fixture root is `conformance` inside the selected corpus's `Evaluations` directory, not the caller's working directory. `--fixtures` overrides that root; `--fixture` selects names, and `--harnesses claude,codex` narrows adapters.
62
127
  `--output json` is this command's structured format, not proof of a passing run.
63
128
 
64
- Requires 3.100.0 for install-only CI without a harness, credentials or model quota:
129
+ For install-only CI without a harness, credentials or model quota:
65
130
 
66
131
  ```bash
67
132
  cratis ai test --source <corpus> --install-only --output json
@@ -9,13 +9,11 @@ commands. Confirm server, event store, namespace and exact targets. A prompt or
9
9
 
10
10
  ## Jobs: acceptance is not completed removal
11
11
 
12
- Requires CLI 3.79.0 for `chronicle jobs stop` / `resume` and the terminal
13
- Workbench to report kernel refusals as failures, with reasons in text/JSON and a
14
- nonzero exit. Do not parse an old CLI's success message as proof of progress.
12
+ `chronicle jobs stop` and `resume` report kernel refusals and exit nonzero. The terminal Workbench also reports refusals.
15
13
  Inspect the job again; resume can be refused for missing, concluded, unpersisted
16
14
  or otherwise unresumable work. Do not repeat it without understanding the reason.
17
15
 
18
- Requires CLI 3.99.0 for `cratis chronicle jobs delete <JOB_ID>`. It is destructive
16
+ `cratis chronicle jobs delete <JOB_ID>` is destructive
19
17
  and irreversible: retained job state is removed. Before confirmation it names
20
18
  the store, namespace and job id. An invalid GUID, declined/unavailable prompt,
21
19
  server refusal, authorization failure or server error is nonzero. `--yes` skips
@@ -26,18 +24,26 @@ terminal Workbench key or permission to delete every retained job.
26
24
 
27
25
  ## Retry all failed partitions
28
26
 
29
- Requires CLI 3.79.0 and Chronicle 19.80.0 for
30
- `cratis chronicle observers retry-failed-partitions <OBSERVER_ID>`. It starts
27
+ `cratis chronicle observers retry-failed-partitions <OBSERVER_ID>` starts
31
28
  server-owned bounded-batch recovery and reports how many partitions were failed;
32
29
  it does not wait for all handlers to succeed. Inspect failures first, fix their
33
30
  cause, authorize the observer-wide target, then re-read state after the request.
34
31
  Do not mistake this for a client loop of one-partition requests or a guarantee
35
32
  that quarantines were cleared.
36
33
 
34
+ ## Rebuild a constraint index or skip an observer backlog
35
+
36
+ `chronicle constraints reindex` is a confirmed, destructive administrator operation. Specify the affected sequence (`--event-sequence`) and positional constraint names; omitting names rebuilds all applicable unique and closing indexes for that sequence. Governed appends can be refused during the rebuild; retry those appends unchanged afterward. Use `--wait` to check for successful completion. Canceling the wait does not cancel the server job. Capture its ID and inspect the actual outcome.
37
+
38
+ `chronicle observers fast-forward` skips unhandled events and discards failed partitions but keeps existing state. Choose it only when losing those effects is explicitly acceptable; use replay for an authorized rebuild. Acceptance may precede completion; check `observers show` afterward.
39
+
40
+ ## Recover a quarantined partition
41
+
42
+ Fix the handler before authorizing a retry. `observers clear-quarantine` affects the observer only. `observers clear-partition-quarantine <observer> <partition>` resets the partition retry budget and retries unless `--no-retry` is given. `retry-partition` refuses a quarantined or nonfailed partition. Check attempts and progress after acceptance; replay and retry can repeat side effects.
43
+
37
44
  ## Inspect or repair a closed scope
38
45
 
39
- Requires CLI 3.80.0 and Chronicle 19.39.0 for
40
- `cratis chronicle streams closed list`. It is read-only and lists exact scope
46
+ `cratis chronicle streams closed list` is read-only and lists exact scope
41
47
  dimensions, origin, owner constraint, sequence number and closing time. Filter by
42
48
  event source id/type and event stream type/id; do not select a repair from a
43
49
  partial dimension match.
@@ -51,17 +57,13 @@ a way around a modeled closure or reopen broad scopes speculatively.
51
57
 
52
58
  ## Compare a model with live metadata
53
59
 
54
- Requires CLI 3.85.0 for
55
- `cratis screenplay conform-namespace <model> --event-store <store> --namespace <ns>`.
56
- This is a read-only comparison, not model authoring, rendering or state repair.
60
+ `cratis screenplay conform-namespace <model> --event-store <store> --namespace <ns>` is a read-only comparison, not model authoring, rendering or state repair.
57
61
  It compares registered event types, producing commands/reactors and observers
58
62
  with the model, scanning metadata up to the tail captured at start. The default
59
63
  `--max-events` is `100000`; `--from`/`--to` bound a range. A partial scan stays
60
64
  partial; without `--fail-on-drift` a drift report need not fail the command.
61
65
 
62
- Requires 3.89.1 for authorization failures to exit 4 (`authentication_error`),
63
- Ctrl+C between pages to exit 8 (`inconclusive`), and event attribution only when
64
- the causation is a command. Chronicle's metadata API still transmits event source
66
+ Authorization failure exits 4 (`authentication_error`); Ctrl+C between pages exits 8 (`inconclusive`). Event attribution requires command causation. Chronicle's metadata API still transmits event source
65
67
  ids and subjects; the CLI drops them without persisting them. Do not claim they
66
68
  never cross the connection. It does not request payloads or command values.
67
69
  Redact the report before sharing it, and do not treat an incomplete or cancelled
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-chronicle-connect-application
3
- description: Use when connecting an application client to a named Chronicle store and namespace or verifying its readiness. Not for starting a kernel.
3
+ description: Use when connecting an application client to a named Chronicle store and namespace or verifying its readiness. Not for starting a kernel (use cratis-chronicle-deploy-kernel).
4
4
  compatibility: A supported application client and access to the intended kernel.
5
5
  ---
6
6