@cratis/pi 8.2.2 → 8.3.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 (1138) hide show
  1. package/package/corpus/harnesses/copilot/instructions/ai-distribution.instructions.md +7 -9
  2. package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +25 -55
  3. package/package/corpus/harnesses/copilot/instructions/browser.instructions.md +10 -7
  4. package/package/corpus/harnesses/copilot/instructions/code-health.instructions.md +8 -1
  5. package/package/corpus/harnesses/copilot/instructions/code-quality.csharp.instructions.md +3 -2
  6. package/package/corpus/harnesses/copilot/instructions/code-quality.instructions.md +5 -5
  7. package/package/corpus/harnesses/copilot/instructions/code-quality.typescript.instructions.md +4 -3
  8. package/package/corpus/harnesses/copilot/instructions/codescene.instructions.md +5 -4
  9. package/package/corpus/harnesses/copilot/instructions/components.instructions.md +6 -8
  10. package/package/corpus/harnesses/copilot/instructions/concepts.instructions.md +15 -2
  11. package/package/corpus/harnesses/copilot/instructions/cratis-folder-is-configuration.instructions.md +3 -5
  12. package/package/corpus/harnesses/copilot/instructions/criticality-tiers.instructions.md +7 -35
  13. package/package/corpus/harnesses/copilot/instructions/csharp.instructions.md +13 -6
  14. package/package/corpus/harnesses/copilot/instructions/dialogs.instructions.md +8 -3
  15. package/package/corpus/harnesses/copilot/instructions/discoverability.instructions.md +8 -2
  16. package/package/corpus/harnesses/copilot/instructions/documentation-structure-and-formatting.instructions.md +12 -6
  17. package/package/corpus/harnesses/copilot/instructions/documentation.instructions.md +12 -7
  18. package/package/corpus/harnesses/copilot/instructions/editing-cratis-docs.instructions.md +8 -6
  19. package/package/corpus/harnesses/copilot/instructions/efcore.instructions.md +13 -9
  20. package/package/corpus/harnesses/copilot/instructions/efcore.specs.instructions.md +9 -5
  21. package/package/corpus/harnesses/copilot/instructions/elixir.instructions.md +12 -8
  22. package/package/corpus/harnesses/copilot/instructions/exit-codes-and-wrappers.instructions.md +7 -4
  23. package/package/corpus/harnesses/copilot/instructions/framework-dotnet.instructions.md +12 -6
  24. package/package/corpus/harnesses/copilot/instructions/framework.instructions.md +11 -7
  25. package/package/corpus/harnesses/copilot/instructions/frontend-quality.instructions.md +7 -7
  26. package/package/corpus/harnesses/copilot/instructions/frontend-testing.instructions.md +5 -3
  27. package/package/corpus/harnesses/copilot/instructions/general.instructions.md +2 -2
  28. package/package/corpus/harnesses/copilot/instructions/github-actions.instructions.md +11 -6
  29. package/package/corpus/harnesses/copilot/instructions/glossary.instructions.md +13 -13
  30. package/package/corpus/harnesses/copilot/instructions/go-engineering.instructions.md +13 -39
  31. package/package/corpus/harnesses/copilot/instructions/go.instructions.md +18 -139
  32. package/package/corpus/harnesses/copilot/instructions/guards-and-fuses.instructions.md +14 -60
  33. package/package/corpus/harnesses/copilot/instructions/issue-assignment.instructions.md +6 -9
  34. package/package/corpus/harnesses/copilot/instructions/java.instructions.md +8 -6
  35. package/package/corpus/harnesses/copilot/instructions/kotlin.instructions.md +12 -7
  36. package/package/corpus/harnesses/copilot/instructions/local-verification-and-delivery.instructions.md +8 -5
  37. package/package/corpus/harnesses/copilot/instructions/local-work-artifacts.instructions.md +11 -64
  38. package/package/corpus/harnesses/copilot/instructions/new-repository-intake.instructions.md +7 -28
  39. package/package/corpus/harnesses/copilot/instructions/operational-safety.instructions.md +26 -41
  40. package/package/corpus/harnesses/copilot/instructions/orleans.instructions.md +22 -5
  41. package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +8 -11
  42. package/package/corpus/harnesses/copilot/instructions/published-contracts.instructions.md +6 -25
  43. package/package/corpus/harnesses/copilot/instructions/react.instructions.md +9 -2
  44. package/package/corpus/harnesses/copilot/instructions/reactors.instructions.md +17 -5
  45. package/package/corpus/harnesses/copilot/instructions/review-reports.instructions.md +12 -94
  46. package/package/corpus/harnesses/copilot/instructions/scripting.instructions.md +5 -5
  47. package/package/corpus/harnesses/copilot/instructions/specs.csharp.instructions.md +11 -8
  48. package/package/corpus/harnesses/copilot/instructions/specs.elixir.instructions.md +9 -4
  49. package/package/corpus/harnesses/copilot/instructions/specs.instructions.md +7 -4
  50. package/package/corpus/harnesses/copilot/instructions/specs.scenarios.csharp.instructions.md +11 -2
  51. package/package/corpus/harnesses/copilot/instructions/specs.typescript.instructions.md +8 -11
  52. package/package/corpus/harnesses/copilot/instructions/storybook.instructions.md +4 -7
  53. package/package/corpus/harnesses/copilot/instructions/typescript.instructions.md +8 -8
  54. package/package/corpus/harnesses/copilot/instructions/verification-discipline.instructions.md +6 -9
  55. package/package/corpus/harnesses/copilot/instructions/vertical-slices.instructions.md +29 -5
  56. package/package/corpus/harnesses/copilot/instructions/writing-correct-examples.instructions.md +12 -3
  57. package/package/corpus/harnesses/copilot/instructions/writing-cratis-docs.instructions.md +11 -3
  58. package/package/corpus/hooks/scripts/cratis-cleanup-worktrees.sh +36 -24
  59. package/package/corpus/hooks/scripts/cratis-guard-secrets.sh +66 -22
  60. package/package/corpus/hooks/scripts/cratis-store-mutations.json +1 -1
  61. package/package/corpus/rules/ai-distribution.md +7 -9
  62. package/package/corpus/rules/authoring-skills.md +25 -55
  63. package/package/corpus/rules/browser.md +10 -7
  64. package/package/corpus/rules/code-health-policy.txt +3 -3
  65. package/package/corpus/rules/code-health.md +8 -1
  66. package/package/corpus/rules/code-quality.csharp.md +3 -2
  67. package/package/corpus/rules/code-quality.md +5 -5
  68. package/package/corpus/rules/code-quality.typescript.md +4 -3
  69. package/package/corpus/rules/codescene-reference.txt +34 -0
  70. package/package/corpus/rules/codescene.md +5 -4
  71. package/package/corpus/rules/components.md +6 -8
  72. package/package/corpus/rules/concepts.md +15 -2
  73. package/package/corpus/rules/cratis-folder-is-configuration.md +3 -5
  74. package/package/corpus/rules/criticality-tiers.md +7 -35
  75. package/package/corpus/rules/csharp.md +13 -6
  76. package/package/corpus/rules/dialogs.md +8 -3
  77. package/package/corpus/rules/discoverability.md +8 -2
  78. package/package/corpus/rules/documentation-structure-and-formatting.md +12 -6
  79. package/package/corpus/rules/documentation.md +12 -7
  80. package/package/corpus/rules/editing-cratis-docs.md +8 -6
  81. package/package/corpus/rules/efcore.md +13 -9
  82. package/package/corpus/rules/efcore.specs.md +9 -5
  83. package/package/corpus/rules/elixir.md +12 -8
  84. package/package/corpus/rules/exit-codes-and-wrappers.md +7 -4
  85. package/package/corpus/rules/framework-dotnet.md +12 -6
  86. package/package/corpus/rules/framework.md +11 -7
  87. package/package/corpus/rules/frontend-quality.md +7 -7
  88. package/package/corpus/rules/frontend-testing.md +5 -3
  89. package/package/corpus/rules/general.md +8 -10
  90. package/package/corpus/rules/github-actions.md +11 -6
  91. package/package/corpus/rules/glossary.md +13 -13
  92. package/package/corpus/rules/go-engineering.md +13 -39
  93. package/package/corpus/rules/go.md +18 -139
  94. package/package/corpus/rules/guards-and-fuses.md +14 -60
  95. package/package/corpus/rules/issue-assignment.md +6 -9
  96. package/package/corpus/rules/java.md +8 -6
  97. package/package/corpus/rules/kotlin.md +12 -7
  98. package/package/corpus/rules/local-verification-and-delivery.md +8 -5
  99. package/package/corpus/rules/local-work-artifacts.md +11 -64
  100. package/package/corpus/rules/new-repository-intake.md +7 -28
  101. package/package/corpus/rules/operational-safety.md +26 -41
  102. package/package/corpus/rules/orleans.md +22 -5
  103. package/package/corpus/rules/profiles.md +8 -11
  104. package/package/corpus/rules/published-contracts.md +6 -25
  105. package/package/corpus/rules/react.md +9 -2
  106. package/package/corpus/rules/reactors.md +17 -5
  107. package/package/corpus/rules/review-reports.md +12 -94
  108. package/package/corpus/rules/scripting.md +5 -5
  109. package/package/corpus/rules/specs.csharp.md +11 -8
  110. package/package/corpus/rules/specs.elixir.md +9 -4
  111. package/package/corpus/rules/specs.md +7 -4
  112. package/package/corpus/rules/specs.scenarios.csharp.md +11 -2
  113. package/package/corpus/rules/specs.typescript.md +8 -11
  114. package/package/corpus/rules/storybook.md +4 -7
  115. package/package/corpus/rules/typescript.md +8 -8
  116. package/package/corpus/rules/verification-discipline.md +6 -9
  117. package/package/corpus/rules/vertical-slices.md +29 -5
  118. package/package/corpus/rules/writing-correct-examples.md +12 -3
  119. package/package/corpus/rules/writing-cratis-docs.md +11 -3
  120. package/package/corpus/skills/cratis-ai-corpus-authoring/LICENSE +21 -0
  121. package/package/corpus/skills/cratis-ai-corpus-authoring/SKILL.md +140 -0
  122. package/package/corpus/skills/cratis-ai-corpus-authoring/references/checklist.md +46 -0
  123. package/package/corpus/skills/cratis-ai-corpus-authoring/references/evaluation.md +19 -0
  124. package/package/corpus/skills/cratis-ai-corpus-authoring/references/large-rewrites.md +25 -0
  125. package/package/corpus/skills/cratis-ai-corpus-authoring/references/skill-anatomy.md +75 -0
  126. package/package/corpus/skills/cratis-application-growth/SKILL.md +148 -63
  127. package/package/corpus/skills/cratis-application-growth/references/csharp.md +170 -0
  128. package/package/corpus/skills/cratis-application-growth/references/elixir.md +26 -0
  129. package/package/corpus/skills/cratis-application-growth/references/go.md +27 -0
  130. package/package/corpus/skills/cratis-application-growth/references/java.md +23 -0
  131. package/package/corpus/skills/cratis-application-growth/references/kotlin.md +31 -0
  132. package/package/corpus/skills/cratis-application-growth/references/move-and-untangle.md +7 -6
  133. package/package/corpus/skills/cratis-application-growth/references/rename-window.md +14 -14
  134. package/package/corpus/skills/cratis-application-growth/references/service-and-delivery.md +21 -0
  135. package/package/corpus/skills/cratis-application-growth/references/stages.md +1 -9
  136. package/package/corpus/skills/cratis-application-growth/references/typescript.md +38 -0
  137. package/package/corpus/skills/cratis-arc-authorize-request/SKILL.md +31 -23
  138. package/package/corpus/skills/cratis-arc-authorize-request/references/authproxy.md +92 -0
  139. package/package/corpus/skills/cratis-arc-authorize-request/references/csharp-query-security.md +61 -0
  140. package/package/corpus/skills/cratis-arc-authorize-request/references/csharp.md +92 -38
  141. package/package/corpus/skills/cratis-arc-authorize-request/references/elixir.md +74 -4
  142. package/package/corpus/skills/cratis-arc-authorize-request/references/go-authentication.md +93 -0
  143. package/package/corpus/skills/cratis-arc-authorize-request/references/go.md +80 -2
  144. package/package/corpus/skills/cratis-arc-authorize-request/references/java.md +79 -3
  145. package/package/corpus/skills/cratis-arc-authorize-request/references/kotlin.md +80 -17
  146. package/package/corpus/skills/cratis-arc-authorize-request/references/python.md +1 -1
  147. package/package/corpus/skills/cratis-arc-authorize-request/references/typescript.md +106 -6
  148. package/package/corpus/skills/cratis-arc-code-analysis-typescript/SKILL.md +85 -42
  149. package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/typescript-rule-fixes.md +89 -0
  150. package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/typescript.md +99 -0
  151. package/package/corpus/skills/cratis-arc-connect-storage/SKILL.md +54 -14
  152. package/package/corpus/skills/cratis-arc-connect-storage/references/csharp-connection-resolution.md +66 -0
  153. package/package/corpus/skills/cratis-arc-connect-storage/references/csharp-ef.md +78 -0
  154. package/package/corpus/skills/cratis-arc-connect-storage/references/csharp-neo4j.md +30 -0
  155. package/package/corpus/skills/cratis-arc-connect-storage/references/csharp.md +59 -66
  156. package/package/corpus/skills/cratis-arc-connect-storage/references/elixir.md +121 -3
  157. package/package/corpus/skills/cratis-arc-connect-storage/references/go.md +73 -3
  158. package/package/corpus/skills/cratis-arc-connect-storage/references/java.md +68 -3
  159. package/package/corpus/skills/cratis-arc-connect-storage/references/kotlin.md +74 -3
  160. package/package/corpus/skills/cratis-arc-connect-storage/references/python.md +2 -2
  161. package/package/corpus/skills/cratis-arc-connect-storage/references/typescript-drizzle.md +31 -0
  162. package/package/corpus/skills/cratis-arc-connect-storage/references/typescript.md +62 -4
  163. package/package/corpus/skills/cratis-arc-declare-command/SKILL.md +52 -28
  164. package/package/corpus/skills/cratis-arc-declare-command/references/csharp-chronicle.md +190 -0
  165. package/package/corpus/skills/cratis-arc-declare-command/references/csharp-controller.md +44 -0
  166. package/package/corpus/skills/cratis-arc-declare-command/references/csharp-history.md +125 -0
  167. package/package/corpus/skills/cratis-arc-declare-command/references/csharp.md +281 -55
  168. package/package/corpus/skills/cratis-arc-declare-command/references/elixir.md +121 -8
  169. package/package/corpus/skills/cratis-arc-declare-command/references/go-aggregate.md +59 -0
  170. package/package/corpus/skills/cratis-arc-declare-command/references/go-chronicle.md +51 -0
  171. package/package/corpus/skills/cratis-arc-declare-command/references/go-wire.md +94 -0
  172. package/package/corpus/skills/cratis-arc-declare-command/references/go.md +160 -25
  173. package/package/corpus/skills/cratis-arc-declare-command/references/java.md +140 -13
  174. package/package/corpus/skills/cratis-arc-declare-command/references/kotlin.md +189 -23
  175. package/package/corpus/skills/cratis-arc-declare-command/references/typescript-aggregates.md +73 -0
  176. package/package/corpus/skills/cratis-arc-declare-command/references/typescript.md +209 -24
  177. package/package/corpus/skills/cratis-arc-declare-operation/SKILL.md +28 -25
  178. package/package/corpus/skills/cratis-arc-declare-operation/references/csharp-abilities.md +30 -0
  179. package/package/corpus/skills/cratis-arc-declare-operation/references/csharp-recovery.md +50 -0
  180. package/package/corpus/skills/cratis-arc-declare-operation/references/csharp.md +27 -55
  181. package/package/corpus/skills/cratis-arc-declare-operation/references/elixir.md +17 -1
  182. package/package/corpus/skills/cratis-arc-declare-operation/references/go.md +75 -5
  183. package/package/corpus/skills/cratis-arc-declare-operation/references/java.md +13 -2
  184. package/package/corpus/skills/cratis-arc-declare-operation/references/kotlin.md +11 -2
  185. package/package/corpus/skills/cratis-arc-declare-operation/references/python.md +2 -2
  186. package/package/corpus/skills/cratis-arc-declare-operation/references/typescript.md +84 -8
  187. package/package/corpus/skills/cratis-arc-diagnose-live-query/SKILL.md +42 -36
  188. package/package/corpus/skills/cratis-arc-diagnose-live-query/references/csharp.md +44 -51
  189. package/package/corpus/skills/cratis-arc-diagnose-live-query/references/elixir.md +50 -3
  190. package/package/corpus/skills/cratis-arc-diagnose-live-query/references/go.md +85 -2
  191. package/package/corpus/skills/cratis-arc-diagnose-live-query/references/java.md +70 -2
  192. package/package/corpus/skills/cratis-arc-diagnose-live-query/references/kotlin.md +60 -2
  193. package/package/corpus/skills/cratis-arc-diagnose-live-query/references/typescript.md +94 -5
  194. package/package/corpus/skills/cratis-arc-expose-mcp-operation/SKILL.md +59 -81
  195. package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/csharp-diagnose-tool-call.md +44 -0
  196. package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/csharp.md +309 -0
  197. package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/elixir.md +5 -0
  198. package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/go.md +5 -0
  199. package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/java.md +5 -0
  200. package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/kotlin.md +5 -0
  201. package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/typescript.md +5 -0
  202. package/package/corpus/skills/cratis-arc-expose-query/SKILL.md +65 -15
  203. package/package/corpus/skills/cratis-arc-expose-query/references/csharp.md +379 -31
  204. package/package/corpus/skills/cratis-arc-expose-query/references/elixir.md +84 -4
  205. package/package/corpus/skills/cratis-arc-expose-query/references/go-live.md +55 -0
  206. package/package/corpus/skills/cratis-arc-expose-query/references/go.md +204 -18
  207. package/package/corpus/skills/cratis-arc-expose-query/references/java.md +236 -7
  208. package/package/corpus/skills/cratis-arc-expose-query/references/kotlin.md +242 -3
  209. package/package/corpus/skills/cratis-arc-expose-query/references/typescript.md +360 -19
  210. package/package/corpus/skills/cratis-arc-generate-proxies/SKILL.md +84 -10
  211. package/package/corpus/skills/cratis-arc-generate-proxies/references/csharp.md +70 -29
  212. package/package/corpus/skills/cratis-arc-generate-proxies/references/elixir.md +54 -5
  213. package/package/corpus/skills/cratis-arc-generate-proxies/references/go-directives.md +74 -0
  214. package/package/corpus/skills/cratis-arc-generate-proxies/references/go.md +50 -4
  215. package/package/corpus/skills/cratis-arc-generate-proxies/references/java-diagnostics.md +67 -0
  216. package/package/corpus/skills/cratis-arc-generate-proxies/references/java-wire-types.md +115 -0
  217. package/package/corpus/skills/cratis-arc-generate-proxies/references/java.md +86 -2
  218. package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin-diagnostics.md +67 -0
  219. package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin-wire-types.md +108 -0
  220. package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin.md +77 -4
  221. package/package/corpus/skills/cratis-arc-generate-proxies/references/typescript.md +64 -16
  222. package/package/corpus/skills/cratis-arc-generate-proxies/scripts/check-proxy.mjs +3 -3
  223. package/package/corpus/skills/cratis-arc-host-application/SKILL.md +67 -12
  224. package/package/corpus/skills/cratis-arc-host-application/references/csharp-availability.md +130 -0
  225. package/package/corpus/skills/cratis-arc-host-application/references/csharp-callers.md +89 -0
  226. package/package/corpus/skills/cratis-arc-host-application/references/csharp-configuration.md +116 -27
  227. package/package/corpus/skills/cratis-arc-host-application/references/csharp-http.md +86 -0
  228. package/package/corpus/skills/cratis-arc-host-application/references/csharp-identity.md +208 -0
  229. package/package/corpus/skills/cratis-arc-host-application/references/csharp.md +154 -35
  230. package/package/corpus/skills/cratis-arc-host-application/references/elixir-access.md +64 -0
  231. package/package/corpus/skills/cratis-arc-host-application/references/elixir.md +53 -23
  232. package/package/corpus/skills/cratis-arc-host-application/references/go-embed.md +121 -0
  233. package/package/corpus/skills/cratis-arc-host-application/references/go-execution.md +86 -0
  234. package/package/corpus/skills/cratis-arc-host-application/references/go-options.md +41 -0
  235. package/package/corpus/skills/cratis-arc-host-application/references/go.md +43 -5
  236. package/package/corpus/skills/cratis-arc-host-application/references/java.md +203 -4
  237. package/package/corpus/skills/cratis-arc-host-application/references/kotlin.md +234 -4
  238. package/package/corpus/skills/cratis-arc-host-application/references/typescript-services.md +85 -0
  239. package/package/corpus/skills/cratis-arc-host-application/references/typescript.md +194 -13
  240. package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +79 -119
  241. package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/references/java.md +285 -0
  242. package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/references/kotlin.md +265 -0
  243. package/package/corpus/skills/cratis-arc-invoke-command/SKILL.md +52 -24
  244. package/package/corpus/skills/cratis-arc-invoke-command/references/csharp-extensions.md +26 -0
  245. package/package/corpus/skills/cratis-arc-invoke-command/references/csharp.md +55 -25
  246. package/package/corpus/skills/cratis-arc-invoke-command/references/elixir-liveview.md +112 -0
  247. package/package/corpus/skills/cratis-arc-invoke-command/references/elixir.md +72 -2
  248. package/package/corpus/skills/cratis-arc-invoke-command/references/go.md +51 -3
  249. package/package/corpus/skills/cratis-arc-invoke-command/references/java.md +74 -3
  250. package/package/corpus/skills/cratis-arc-invoke-command/references/kotlin.md +58 -18
  251. package/package/corpus/skills/cratis-arc-invoke-command/references/python.md +2 -2
  252. package/package/corpus/skills/cratis-arc-invoke-command/references/typescript.md +49 -2
  253. package/package/corpus/skills/cratis-arc-isolate-tenant/SKILL.md +31 -13
  254. package/package/corpus/skills/cratis-arc-isolate-tenant/references/csharp.md +68 -29
  255. package/package/corpus/skills/cratis-arc-isolate-tenant/references/elixir.md +84 -2
  256. package/package/corpus/skills/cratis-arc-isolate-tenant/references/go.md +73 -2
  257. package/package/corpus/skills/cratis-arc-isolate-tenant/references/java.md +70 -3
  258. package/package/corpus/skills/cratis-arc-isolate-tenant/references/kotlin.md +65 -5
  259. package/package/corpus/skills/cratis-arc-isolate-tenant/references/python.md +1 -1
  260. package/package/corpus/skills/cratis-arc-isolate-tenant/references/typescript.md +56 -3
  261. package/package/corpus/skills/cratis-arc-migrate-relational-schema/SKILL.md +125 -27
  262. package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/csharp.md +217 -0
  263. package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/elixir.md +3 -0
  264. package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/go.md +3 -0
  265. package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/java.md +29 -0
  266. package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/kotlin.md +29 -0
  267. package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/typescript.md +132 -0
  268. package/package/corpus/skills/cratis-arc-page-query/SKILL.md +33 -13
  269. package/package/corpus/skills/cratis-arc-page-query/references/csharp.md +63 -33
  270. package/package/corpus/skills/cratis-arc-page-query/references/elixir.md +55 -4
  271. package/package/corpus/skills/cratis-arc-page-query/references/go.md +77 -4
  272. package/package/corpus/skills/cratis-arc-page-query/references/java.md +66 -4
  273. package/package/corpus/skills/cratis-arc-page-query/references/kotlin.md +65 -5
  274. package/package/corpus/skills/cratis-arc-page-query/references/typescript.md +81 -6
  275. package/package/corpus/skills/cratis-arc-react-bind-slice/SKILL.md +148 -48
  276. package/package/corpus/skills/cratis-arc-react-bind-slice/references/react-screen-from-model.md +10 -0
  277. package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-commands.md +190 -0
  278. package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-host.md +160 -0
  279. package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-identity.md +131 -0
  280. package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-queries.md +157 -0
  281. package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript.md +88 -0
  282. package/package/corpus/skills/cratis-arc-react-separate-view-model/SKILL.md +155 -66
  283. package/package/corpus/skills/cratis-arc-react-separate-view-model/references/typescript.md +628 -0
  284. package/package/corpus/skills/cratis-arc-select-backend-sdk/SKILL.md +18 -5
  285. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/csharp.md +64 -3
  286. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/elixir.md +77 -11
  287. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/go.md +61 -19
  288. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/java.md +119 -7
  289. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/kotlin.md +117 -7
  290. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/typescript.md +124 -10
  291. package/package/corpus/skills/cratis-arc-spring-data-kotlin/SKILL.md +129 -107
  292. package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/java.md +436 -0
  293. package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/kotlin.md +440 -0
  294. package/package/corpus/skills/cratis-arc-storage-typescript/SKILL.md +58 -90
  295. package/package/corpus/skills/cratis-arc-storage-typescript/references/typescript-drizzle.md +165 -0
  296. package/package/corpus/skills/cratis-arc-storage-typescript/references/typescript.md +226 -0
  297. package/package/corpus/skills/cratis-arc-tenancy-typescript/SKILL.md +86 -89
  298. package/package/corpus/skills/cratis-arc-tenancy-typescript/references/typescript.md +228 -0
  299. package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +179 -90
  300. package/package/corpus/skills/cratis-arc-testing-kotlin/references/java.md +95 -0
  301. package/package/corpus/skills/cratis-arc-testing-kotlin/references/kotlin.md +107 -0
  302. package/package/corpus/skills/cratis-arc-testing-typescript/SKILL.md +80 -107
  303. package/package/corpus/skills/cratis-arc-testing-typescript/references/typescript.md +272 -0
  304. package/package/corpus/skills/cratis-arc-validate-command/SKILL.md +56 -17
  305. package/package/corpus/skills/cratis-arc-validate-command/references/csharp-rules.md +38 -0
  306. package/package/corpus/skills/cratis-arc-validate-command/references/csharp.md +84 -13
  307. package/package/corpus/skills/cratis-arc-validate-command/references/elixir.md +50 -12
  308. package/package/corpus/skills/cratis-arc-validate-command/references/go.md +119 -15
  309. package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +125 -93
  310. package/package/corpus/skills/cratis-arc-validation-kotlin/references/java.md +272 -0
  311. package/package/corpus/skills/cratis-arc-validation-kotlin/references/kotlin.md +238 -0
  312. package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +133 -58
  313. package/package/corpus/skills/cratis-arc-validation-typescript/references/{models-and-queries.md → typescript-models-and-queries.md} +17 -0
  314. package/package/corpus/skills/cratis-arc-validation-typescript/references/typescript-rules-and-checks.md +101 -0
  315. package/package/corpus/skills/cratis-arc-validation-typescript/references/{server-decisions.md → typescript-server-decisions.md} +49 -13
  316. package/package/corpus/skills/cratis-arc-validation-typescript/references/typescript.md +196 -0
  317. package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +107 -7
  318. package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +21 -11
  319. package/package/corpus/skills/cratis-chronicle-cli-operations/references/inspection.md +70 -10
  320. package/package/corpus/skills/cratis-chronicle-cli-operations/references/project-tooling.md +4 -65
  321. package/package/corpus/skills/cratis-chronicle-cli-operations/references/recovery-and-comparison.md +138 -16
  322. package/package/corpus/skills/cratis-chronicle-cli-operations/references/setup-and-target.md +85 -0
  323. package/package/corpus/skills/cratis-chronicle-connect-application/SKILL.md +54 -12
  324. package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-patterns.md +45 -0
  325. package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-services.md +80 -0
  326. package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-transport.md +26 -0
  327. package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-workload.md +35 -0
  328. package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp.md +57 -39
  329. package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir-patterns.md +32 -0
  330. package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir-policies.md +47 -0
  331. package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir.md +38 -3
  332. package/package/corpus/skills/cratis-chronicle-connect-application/references/go-patterns.md +30 -0
  333. package/package/corpus/skills/cratis-chronicle-connect-application/references/go.md +95 -3
  334. package/package/corpus/skills/cratis-chronicle-connect-application/references/java.md +89 -2
  335. package/package/corpus/skills/cratis-chronicle-connect-application/references/kotlin-patterns.md +35 -0
  336. package/package/corpus/skills/cratis-chronicle-connect-application/references/kotlin.md +108 -3
  337. package/package/corpus/skills/cratis-chronicle-connect-application/references/python.md +61 -0
  338. package/package/corpus/skills/cratis-chronicle-connect-application/references/typescript-patterns.md +32 -0
  339. package/package/corpus/skills/cratis-chronicle-connect-application/references/typescript.md +75 -6
  340. package/package/corpus/skills/cratis-chronicle-constrain-append/SKILL.md +42 -11
  341. package/package/corpus/skills/cratis-chronicle-constrain-append/references/csharp.md +67 -25
  342. package/package/corpus/skills/cratis-chronicle-constrain-append/references/elixir.md +90 -3
  343. package/package/corpus/skills/cratis-chronicle-constrain-append/references/go.md +83 -3
  344. package/package/corpus/skills/cratis-chronicle-constrain-append/references/java.md +99 -2
  345. package/package/corpus/skills/cratis-chronicle-constrain-append/references/kotlin.md +76 -3
  346. package/package/corpus/skills/cratis-chronicle-constrain-append/references/python.md +1 -1
  347. package/package/corpus/skills/cratis-chronicle-constrain-append/references/typescript.md +84 -2
  348. package/package/corpus/skills/cratis-chronicle-deploy-kernel/SKILL.md +167 -31
  349. package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/authentication.md +150 -0
  350. package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/configuration.md +418 -0
  351. package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/csharp.md +48 -0
  352. package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/development-and-production.md +57 -0
  353. package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/kernel-options.md +694 -0
  354. package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/network-and-tls.md +161 -0
  355. package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/production-checklist.md +66 -0
  356. package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/storage.md +154 -2
  357. package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/troubleshooting.md +57 -0
  358. package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/upgrade-and-recovery.md +124 -0
  359. package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/webhooks.md +101 -3
  360. package/package/corpus/skills/cratis-chronicle-evolve-event/SKILL.md +59 -15
  361. package/package/corpus/skills/cratis-chronicle-evolve-event/references/csharp.md +57 -41
  362. package/package/corpus/skills/cratis-chronicle-evolve-event/references/elixir.md +69 -3
  363. package/package/corpus/skills/cratis-chronicle-evolve-event/references/go.md +71 -2
  364. package/package/corpus/skills/cratis-chronicle-evolve-event/references/java.md +50 -2
  365. package/package/corpus/skills/cratis-chronicle-evolve-event/references/kotlin.md +58 -2
  366. package/package/corpus/skills/cratis-chronicle-evolve-event/references/schema-annotation-cleanup.md +58 -0
  367. package/package/corpus/skills/cratis-chronicle-evolve-event/references/typescript.md +87 -2
  368. package/package/corpus/skills/cratis-chronicle-inspect-observer/SKILL.md +47 -13
  369. package/package/corpus/skills/cratis-chronicle-inspect-observer/references/csharp.md +107 -37
  370. package/package/corpus/skills/cratis-chronicle-inspect-observer/references/elixir.md +56 -5
  371. package/package/corpus/skills/cratis-chronicle-inspect-observer/references/go-jobs-and-alerts.md +77 -0
  372. package/package/corpus/skills/cratis-chronicle-inspect-observer/references/go.md +106 -3
  373. package/package/corpus/skills/cratis-chronicle-inspect-observer/references/java.md +55 -3
  374. package/package/corpus/skills/cratis-chronicle-inspect-observer/references/kotlin.md +95 -3
  375. package/package/corpus/skills/cratis-chronicle-inspect-observer/references/typescript.md +89 -7
  376. package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +156 -12
  377. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/blocked-tools.md +12 -20
  378. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/deployment.md +114 -33
  379. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +100 -47
  380. package/package/corpus/skills/cratis-chronicle-project-view/SKILL.md +182 -11
  381. package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-fluent.md +228 -0
  382. package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-graphs.md +102 -0
  383. package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-model-bound.md +232 -0
  384. package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-reading.md +120 -0
  385. package/package/corpus/skills/cratis-chronicle-project-view/references/csharp.md +105 -45
  386. package/package/corpus/skills/cratis-chronicle-project-view/references/elixir-graphs.md +49 -0
  387. package/package/corpus/skills/cratis-chronicle-project-view/references/elixir-mappings.md +45 -0
  388. package/package/corpus/skills/cratis-chronicle-project-view/references/elixir-reading.md +17 -0
  389. package/package/corpus/skills/cratis-chronicle-project-view/references/elixir.md +23 -27
  390. package/package/corpus/skills/cratis-chronicle-project-view/references/go-graphs.md +22 -0
  391. package/package/corpus/skills/cratis-chronicle-project-view/references/go-mappings.md +50 -0
  392. package/package/corpus/skills/cratis-chronicle-project-view/references/go-reads.md +25 -0
  393. package/package/corpus/skills/cratis-chronicle-project-view/references/go.md +45 -5
  394. package/package/corpus/skills/cratis-chronicle-project-view/references/java-graphs.md +46 -0
  395. package/package/corpus/skills/cratis-chronicle-project-view/references/java-mappings.md +53 -0
  396. package/package/corpus/skills/cratis-chronicle-project-view/references/java.md +69 -5
  397. package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin-graphs.md +44 -0
  398. package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin.md +71 -6
  399. package/package/corpus/skills/cratis-chronicle-project-view/references/python.md +1 -1
  400. package/package/corpus/skills/cratis-chronicle-project-view/references/typescript.md +279 -3
  401. package/package/corpus/skills/cratis-chronicle-protect-decision/SKILL.md +69 -10
  402. package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp-scopes.md +35 -0
  403. package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp-standalone.md +93 -4
  404. package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp.md +79 -34
  405. package/package/corpus/skills/cratis-chronicle-protect-decision/references/elixir.md +56 -11
  406. package/package/corpus/skills/cratis-chronicle-protect-decision/references/go.md +61 -11
  407. package/package/corpus/skills/cratis-chronicle-protect-decision/references/java.md +76 -3
  408. package/package/corpus/skills/cratis-chronicle-protect-decision/references/kotlin.md +65 -17
  409. package/package/corpus/skills/cratis-chronicle-protect-decision/references/typescript.md +77 -5
  410. package/package/corpus/skills/cratis-chronicle-protect-personal-data/SKILL.md +27 -12
  411. package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/csharp.md +65 -47
  412. package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/elixir.md +68 -3
  413. package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/go.md +91 -2
  414. package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/java.md +75 -2
  415. package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/kotlin.md +64 -3
  416. package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/typescript.md +65 -3
  417. package/package/corpus/skills/cratis-chronicle-publish-contract/SKILL.md +69 -11
  418. package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp-integrations.md +89 -0
  419. package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp.md +57 -52
  420. package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir-integrations.md +132 -0
  421. package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir.md +86 -14
  422. package/package/corpus/skills/cratis-chronicle-publish-contract/references/go-integrations.md +91 -0
  423. package/package/corpus/skills/cratis-chronicle-publish-contract/references/go.md +80 -2
  424. package/package/corpus/skills/cratis-chronicle-publish-contract/references/java-integrations.md +121 -0
  425. package/package/corpus/skills/cratis-chronicle-publish-contract/references/java.md +64 -2
  426. package/package/corpus/skills/cratis-chronicle-publish-contract/references/kotlin-integrations.md +112 -0
  427. package/package/corpus/skills/cratis-chronicle-publish-contract/references/kotlin.md +71 -2
  428. package/package/corpus/skills/cratis-chronicle-publish-contract/references/python.md +2 -2
  429. package/package/corpus/skills/cratis-chronicle-publish-contract/references/typescript-integrations.md +69 -0
  430. package/package/corpus/skills/cratis-chronicle-publish-contract/references/typescript.md +69 -2
  431. package/package/corpus/skills/cratis-chronicle-react-to-fact/SKILL.md +65 -12
  432. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp-occurrences.md +3 -1
  433. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp-outputs.md +39 -0
  434. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp-pages.md +43 -0
  435. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp.md +43 -43
  436. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/elixir-recovery.md +23 -0
  437. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/elixir.md +79 -8
  438. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/go.md +97 -3
  439. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/java.md +123 -3
  440. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/kotlin.md +113 -4
  441. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/typescript.md +122 -8
  442. package/package/corpus/skills/cratis-chronicle-record-event/SKILL.md +83 -13
  443. package/package/corpus/skills/cratis-chronicle-record-event/references/csharp-coordination.md +86 -0
  444. package/package/corpus/skills/cratis-chronicle-record-event/references/csharp-history.md +86 -0
  445. package/package/corpus/skills/cratis-chronicle-record-event/references/csharp.md +53 -92
  446. package/package/corpus/skills/cratis-chronicle-record-event/references/elixir-context.md +74 -0
  447. package/package/corpus/skills/cratis-chronicle-record-event/references/elixir-history.md +51 -0
  448. package/package/corpus/skills/cratis-chronicle-record-event/references/elixir.md +48 -20
  449. package/package/corpus/skills/cratis-chronicle-record-event/references/go-payloads.md +80 -0
  450. package/package/corpus/skills/cratis-chronicle-record-event/references/go.md +78 -2
  451. package/package/corpus/skills/cratis-chronicle-record-event/references/java-history.md +63 -0
  452. package/package/corpus/skills/cratis-chronicle-record-event/references/java.md +107 -11
  453. package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin-history.md +88 -0
  454. package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin.md +103 -21
  455. package/package/corpus/skills/cratis-chronicle-record-event/references/typescript-import.md +30 -0
  456. package/package/corpus/skills/cratis-chronicle-record-event/references/typescript-provenance.md +40 -0
  457. package/package/corpus/skills/cratis-chronicle-record-event/references/typescript.md +187 -3
  458. package/package/corpus/skills/cratis-chronicle-reduce-state/SKILL.md +55 -13
  459. package/package/corpus/skills/cratis-chronicle-reduce-state/references/csharp.md +235 -24
  460. package/package/corpus/skills/cratis-chronicle-reduce-state/references/elixir.md +82 -2
  461. package/package/corpus/skills/cratis-chronicle-reduce-state/references/go.md +94 -3
  462. package/package/corpus/skills/cratis-chronicle-reduce-state/references/java.md +99 -2
  463. package/package/corpus/skills/cratis-chronicle-reduce-state/references/kotlin.md +89 -3
  464. package/package/corpus/skills/cratis-chronicle-reduce-state/references/python.md +2 -2
  465. package/package/corpus/skills/cratis-chronicle-reduce-state/references/typescript.md +91 -2
  466. package/package/corpus/skills/cratis-chronicle-select-client/SKILL.md +17 -12
  467. package/package/corpus/skills/cratis-chronicle-select-client/references/csharp.md +63 -3
  468. package/package/corpus/skills/cratis-chronicle-select-client/references/elixir.md +52 -3
  469. package/package/corpus/skills/cratis-chronicle-select-client/references/go.md +64 -3
  470. package/package/corpus/skills/cratis-chronicle-select-client/references/java.md +54 -2
  471. package/package/corpus/skills/cratis-chronicle-select-client/references/kotlin.md +56 -3
  472. package/package/corpus/skills/cratis-chronicle-select-client/references/python.md +35 -18
  473. package/package/corpus/skills/cratis-chronicle-select-client/references/typescript.md +46 -4
  474. package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +60 -12
  475. package/package/corpus/skills/cratis-chronicle-web-workbench/references/csharp.md +57 -0
  476. package/package/corpus/skills/cratis-chronicle-web-workbench/references/hosting.md +80 -53
  477. package/package/corpus/skills/cratis-chronicle-web-workbench/references/operations.md +44 -59
  478. package/package/corpus/skills/cratis-ci-pipeline-performance/SKILL.md +241 -203
  479. package/package/corpus/skills/cratis-ci-pipeline-performance/references/affected-tests.md +134 -0
  480. package/package/corpus/skills/cratis-ci-pipeline-performance/references/build-once-and-shard.md +25 -10
  481. package/package/corpus/skills/cratis-ci-pipeline-performance/references/caching.md +14 -1
  482. package/package/corpus/skills/cratis-ci-pipeline-performance/references/flaky-and-hung-jobs.md +6 -0
  483. package/package/corpus/skills/cratis-ci-pipeline-performance/references/publish-pipelines.md +83 -6
  484. package/package/corpus/skills/cratis-ci-pipeline-performance/references/required-checks-and-path-filters.md +68 -1
  485. package/package/corpus/skills/cratis-ci-pipeline-performance/references/runner-sizing-and-images.md +33 -6
  486. package/package/corpus/skills/cratis-ci-pipeline-performance/references/security-and-pinning.md +11 -4
  487. package/package/corpus/skills/cratis-ci-pipeline-performance/references/shared-workflows.md +65 -0
  488. package/package/corpus/skills/cratis-ci-pipeline-performance/references/test-setup-cost.md +12 -0
  489. package/package/corpus/skills/cratis-ci-pipeline-performance/references/trim-and-aot-ratchets.md +32 -0
  490. package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +285 -139
  491. package/package/corpus/skills/cratis-cli-terminal-workbench/references/views-and-refresh.md +66 -0
  492. package/package/corpus/skills/cratis-code-review/SKILL.md +286 -165
  493. package/package/corpus/skills/cratis-code-review/references/csharp-diagnostics.md +76 -0
  494. package/package/corpus/skills/cratis-code-review/references/csharp.md +130 -0
  495. package/package/corpus/skills/cratis-code-review/references/elixir.md +30 -0
  496. package/package/corpus/skills/cratis-code-review/references/go.md +25 -0
  497. package/package/corpus/skills/cratis-code-review/references/java.md +38 -0
  498. package/package/corpus/skills/cratis-code-review/references/kotlin.md +37 -0
  499. package/package/corpus/skills/cratis-code-review/references/python.md +3 -0
  500. package/package/corpus/skills/cratis-code-review/references/typescript.md +189 -0
  501. package/package/corpus/skills/cratis-commits-and-pull-requests/SKILL.md +213 -13
  502. package/package/corpus/skills/cratis-commits-and-pull-requests/references/commits.md +37 -11
  503. package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-description.md +98 -6
  504. package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-labels-and-release.md +77 -2
  505. package/package/corpus/skills/cratis-components-accessibility/SKILL.md +123 -16
  506. package/package/corpus/skills/cratis-components-accessibility/references/typescript.md +182 -0
  507. package/package/corpus/skills/cratis-components-build-canvas/SKILL.md +167 -31
  508. package/package/corpus/skills/cratis-components-build-canvas/references/conversation-kit.md +89 -0
  509. package/package/corpus/skills/cratis-components-build-canvas/references/typescript-chat.md +73 -0
  510. package/package/corpus/skills/cratis-components-build-canvas/references/typescript-pixi-items.md +46 -0
  511. package/package/corpus/skills/cratis-components-build-canvas/references/typescript-props.md +44 -0
  512. package/package/corpus/skills/cratis-components-build-canvas/references/typescript-shapes.md +159 -0
  513. package/package/corpus/skills/cratis-components-build-canvas/references/typescript.md +140 -0
  514. package/package/corpus/skills/cratis-components-choose-control/SKILL.md +113 -28
  515. package/package/corpus/skills/cratis-components-choose-control/references/breadcrumbs-and-labels.md +21 -0
  516. package/package/corpus/skills/cratis-components-choose-control/references/collections.md +27 -3
  517. package/package/corpus/skills/cratis-components-choose-control/references/typescript-common.md +50 -0
  518. package/package/corpus/skills/cratis-components-choose-control/references/typescript-composition.md +174 -0
  519. package/package/corpus/skills/cratis-components-choose-control/references/typescript-display.md +12 -0
  520. package/package/corpus/skills/cratis-components-choose-control/references/typescript-dropdown.md +27 -0
  521. package/package/corpus/skills/cratis-components-choose-control/references/typescript-iconpicker.md +19 -0
  522. package/package/corpus/skills/cratis-components-choose-control/references/typescript-markdowneditor.md +16 -0
  523. package/package/corpus/skills/cratis-components-choose-control/references/typescript.md +69 -0
  524. package/package/corpus/skills/cratis-components-compose-toolbar/SKILL.md +210 -23
  525. package/package/corpus/skills/cratis-components-compose-toolbar/references/behavior.md +87 -0
  526. package/package/corpus/skills/cratis-components-compose-toolbar/references/typescript-composition.md +202 -0
  527. package/package/corpus/skills/cratis-components-compose-toolbar/references/typescript-toolbar.md +125 -0
  528. package/package/corpus/skills/cratis-components-compose-toolbar/references/typescript.md +128 -0
  529. package/package/corpus/skills/cratis-components-coordinate-feedback/SKILL.md +138 -65
  530. package/package/corpus/skills/cratis-components-coordinate-feedback/references/dialog-props.md +30 -0
  531. package/package/corpus/skills/cratis-components-coordinate-feedback/references/typescript-dialogs.md +139 -0
  532. package/package/corpus/skills/cratis-components-coordinate-feedback/references/typescript-notifications.md +66 -0
  533. package/package/corpus/skills/cratis-components-coordinate-feedback/references/typescript.md +170 -0
  534. package/package/corpus/skills/cratis-components-display-list/SKILL.md +204 -38
  535. package/package/corpus/skills/cratis-components-display-list/references/parts-and-messages.md +22 -0
  536. package/package/corpus/skills/cratis-components-display-list/references/typescript-datatables.md +179 -0
  537. package/package/corpus/skills/cratis-components-display-list/references/typescript.md +204 -0
  538. package/package/corpus/skills/cratis-components-edit-schema-data/SKILL.md +188 -75
  539. package/package/corpus/skills/cratis-components-edit-schema-data/references/editing-rules.md +27 -0
  540. package/package/corpus/skills/cratis-components-edit-schema-data/references/schema-mapping.md +57 -0
  541. package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-componentpicker.md +22 -0
  542. package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-composition.md +246 -0
  543. package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-configurationeditor.md +23 -0
  544. package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-objectcontenteditor.md +12 -0
  545. package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-objectnavigationalbar.md +7 -0
  546. package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-schemaeditor.md +89 -0
  547. package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript.md +141 -0
  548. package/package/corpus/skills/cratis-components-explore-data/SKILL.md +192 -48
  549. package/package/corpus/skills/cratis-components-explore-data/references/typescript-composition.md +87 -0
  550. package/package/corpus/skills/cratis-components-explore-data/references/typescript-filter.md +47 -0
  551. package/package/corpus/skills/cratis-components-explore-data/references/typescript-pivotviewer.md +27 -0
  552. package/package/corpus/skills/cratis-components-explore-data/references/typescript-timemachine.md +44 -0
  553. package/package/corpus/skills/cratis-components-explore-data/references/typescript.md +133 -0
  554. package/package/corpus/skills/cratis-components-host-chat/SKILL.md +189 -34
  555. package/package/corpus/skills/cratis-components-host-chat/references/presentation.md +60 -0
  556. package/package/corpus/skills/cratis-components-host-chat/references/typescript-composition.md +108 -0
  557. package/package/corpus/skills/cratis-components-host-chat/references/typescript-layouts.md +59 -0
  558. package/package/corpus/skills/cratis-components-host-chat/references/typescript.md +158 -0
  559. package/package/corpus/skills/cratis-components-submit-form/SKILL.md +127 -45
  560. package/package/corpus/skills/cratis-components-submit-form/references/typescript-commanddialog.md +138 -0
  561. package/package/corpus/skills/cratis-components-submit-form/references/typescript-commandform.md +96 -0
  562. package/package/corpus/skills/cratis-components-submit-form/references/typescript-fields.md +157 -0
  563. package/package/corpus/skills/cratis-components-submit-form/references/typescript.md +113 -0
  564. package/package/corpus/skills/cratis-components-theme-application/SKILL.md +137 -47
  565. package/package/corpus/skills/cratis-components-theme-application/references/palette.md +4 -5
  566. package/package/corpus/skills/cratis-components-theme-application/references/parts.md +73 -0
  567. package/package/corpus/skills/cratis-components-theme-application/references/renderer-adapters.md +34 -3
  568. package/package/corpus/skills/cratis-components-theme-application/references/tokens.md +17 -0
  569. package/package/corpus/skills/cratis-components-theme-application/references/typescript-adapter-authoring.md +198 -0
  570. package/package/corpus/skills/cratis-components-theme-application/references/typescript.md +243 -0
  571. package/package/corpus/skills/cratis-content-length/SKILL.md +221 -162
  572. package/package/corpus/skills/cratis-content-length/references/length-evidence.md +173 -6
  573. package/package/corpus/skills/cratis-developer-marketing/SKILL.md +259 -184
  574. package/package/corpus/skills/cratis-developer-marketing/references/measurement.md +32 -16
  575. package/package/corpus/skills/cratis-developer-marketing/references/playbook-evidence.md +115 -0
  576. package/package/corpus/skills/cratis-discoverability/SKILL.md +196 -85
  577. package/package/corpus/skills/cratis-discoverability/references/csharp.md +6 -0
  578. package/package/corpus/skills/cratis-discoverability/references/elixir.md +6 -0
  579. package/package/corpus/skills/cratis-discoverability/references/entities.md +41 -25
  580. package/package/corpus/skills/cratis-discoverability/references/go.md +6 -0
  581. package/package/corpus/skills/cratis-discoverability/references/java.md +6 -0
  582. package/package/corpus/skills/cratis-discoverability/references/kotlin.md +6 -0
  583. package/package/corpus/skills/cratis-discoverability/references/package-metadata.md +10 -5
  584. package/package/corpus/skills/cratis-discoverability/references/page-checklist.md +90 -49
  585. package/package/corpus/skills/cratis-discoverability/references/structured-data.md +35 -28
  586. package/package/corpus/skills/cratis-discoverability/references/typescript.md +6 -0
  587. package/package/corpus/skills/cratis-discoverability/scripts/verify-discoverability.mjs +24 -9
  588. package/package/corpus/skills/cratis-documentation-writing/SKILL.md +266 -172
  589. package/package/corpus/skills/cratis-documentation-writing/references/cratis-site.md +113 -100
  590. package/package/corpus/skills/cratis-documentation-writing/references/writing-guidance.md +4 -2
  591. package/package/corpus/skills/cratis-engineering-ci-gates/SKILL.md +220 -87
  592. package/package/corpus/skills/cratis-engineering-ci-gates/references/gate-operation.md +145 -9
  593. package/package/corpus/skills/cratis-engineering-consolidation-guard/SKILL.md +259 -54
  594. package/package/corpus/skills/cratis-engineering-consolidation-guard/references/ci-required-check.md +88 -38
  595. package/package/corpus/skills/cratis-engineering-consolidation-guard/references/verification-details.md +102 -24
  596. package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +118 -87
  597. package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-alternate-implementations.md +60 -0
  598. package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-code-style.md +294 -0
  599. package/package/corpus/skills/cratis-engineering-csharp-conventions/references/{domain-philosophy.md → csharp-domain-philosophy.md} +11 -10
  600. package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-exceptions-logging-and-di.md +328 -0
  601. package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-monads.md +124 -0
  602. package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp.md +54 -0
  603. package/package/corpus/skills/cratis-engineering-decision-record/SKILL.md +266 -97
  604. package/package/corpus/skills/cratis-engineering-decision-record/references/decision-pitfalls.md +21 -8
  605. package/package/corpus/skills/cratis-engineering-decision-record/references/direct.md +118 -0
  606. package/package/corpus/skills/cratis-engineering-decision-record/references/record-format.md +114 -102
  607. package/package/corpus/skills/cratis-engineering-docs-authoring/SKILL.md +301 -71
  608. package/package/corpus/skills/cratis-engineering-docs-authoring/references/site-format.md +294 -56
  609. package/package/corpus/skills/cratis-engineering-effect-boundaries/SKILL.md +161 -86
  610. package/package/corpus/skills/cratis-engineering-effect-boundaries/references/csharp.md +52 -0
  611. package/package/corpus/skills/cratis-engineering-effect-boundaries/references/elixir.md +21 -0
  612. package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +35 -6
  613. package/package/corpus/skills/cratis-engineering-effect-boundaries/references/go.md +17 -0
  614. package/package/corpus/skills/cratis-engineering-effect-boundaries/references/java.md +14 -0
  615. package/package/corpus/skills/cratis-engineering-effect-boundaries/references/kotlin.md +14 -0
  616. package/package/corpus/skills/cratis-engineering-effect-boundaries/references/typescript.md +15 -0
  617. package/package/corpus/skills/cratis-engineering-inherited-work/SKILL.md +127 -27
  618. package/package/corpus/skills/cratis-engineering-inherited-work/references/continue-inherited-work.md +40 -13
  619. package/package/corpus/skills/cratis-engineering-inherited-work/references/pull-request-evidence.md +66 -0
  620. package/package/corpus/skills/cratis-engineering-issue-design-note/SKILL.md +254 -79
  621. package/package/corpus/skills/cratis-engineering-issue-design-note/references/design-note-format.md +97 -52
  622. package/package/corpus/skills/cratis-engineering-issue-hygiene/SKILL.md +159 -64
  623. package/package/corpus/skills/cratis-engineering-issue-hygiene/references/issue-disposition.md +119 -67
  624. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/SKILL.md +249 -57
  625. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/{dotnet-nuget.md → csharp.md} +11 -16
  626. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dependency-map.md +40 -8
  627. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/docker-images.md +5 -8
  628. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/elixir.md +108 -0
  629. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/go.md +276 -0
  630. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/helper-runbook.md +28 -18
  631. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/java.md +105 -0
  632. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/kotlin.md +179 -0
  633. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/train-mode.md +1 -1
  634. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/{npm-yarn.md → typescript.md} +5 -3
  635. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/worked-examples.md +116 -48
  636. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/scripts/dependency-map.tsv +1 -1
  637. package/package/corpus/skills/cratis-engineering-post-mortem/SKILL.md +283 -81
  638. package/package/corpus/skills/cratis-engineering-post-mortem/references/proportionate-follow-up.md +5 -20
  639. package/package/corpus/skills/cratis-engineering-post-mortem/references/public-safe-wording.md +18 -23
  640. package/package/corpus/skills/cratis-engineering-post-mortem/references/review-template.md +86 -37
  641. package/package/corpus/skills/cratis-engineering-post-mortem/references/silent-backup-failure.md +92 -98
  642. package/package/corpus/skills/cratis-engineering-post-mortem/references/unintended-release-regression.md +79 -73
  643. package/package/corpus/skills/cratis-engineering-regression-cluster/SKILL.md +98 -56
  644. package/package/corpus/skills/cratis-engineering-regression-cluster/references/history-and-proof.md +30 -0
  645. package/package/corpus/skills/cratis-engineering-release-trains/SKILL.md +290 -62
  646. package/package/corpus/skills/cratis-engineering-release-trains/references/candidate-assembly.md +138 -107
  647. package/package/corpus/skills/cratis-engineering-release-trains/references/final-merge-gate.md +118 -0
  648. package/package/corpus/skills/cratis-engineering-review-rounds/SKILL.md +311 -68
  649. package/package/corpus/skills/cratis-engineering-review-rounds/references/review-ranges.md +99 -0
  650. package/package/corpus/skills/cratis-environments-and-secrets/SKILL.md +235 -95
  651. package/package/corpus/skills/cratis-environments-and-secrets/references/csharp.md +112 -0
  652. package/package/corpus/skills/cratis-environments-and-secrets/references/environment-file.md +28 -23
  653. package/package/corpus/skills/cratis-environments-and-secrets/references/transcript-safety.md +31 -0
  654. package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +174 -65
  655. package/package/corpus/skills/cratis-event-model-diagram/references/frame-patterns.md +73 -69
  656. package/package/corpus/skills/cratis-fundamentals-concept/SKILL.md +143 -0
  657. package/package/corpus/skills/cratis-fundamentals-concept/references/csharp-serialization.md +183 -0
  658. package/package/corpus/skills/cratis-fundamentals-concept/references/csharp.md +113 -0
  659. package/package/corpus/skills/cratis-fundamentals-concept/references/elixir.md +76 -0
  660. package/package/corpus/skills/cratis-fundamentals-concept/references/go-naming.md +36 -0
  661. package/package/corpus/skills/cratis-fundamentals-concept/references/go.md +276 -0
  662. package/package/corpus/skills/cratis-fundamentals-concept/references/java-json.md +121 -0
  663. package/package/corpus/skills/cratis-fundamentals-concept/references/java-primitives.md +156 -0
  664. package/package/corpus/skills/cratis-fundamentals-concept/references/java.md +155 -0
  665. package/package/corpus/skills/cratis-fundamentals-concept/references/kotlin-json.md +123 -0
  666. package/package/corpus/skills/cratis-fundamentals-concept/references/kotlin-primitives.md +161 -0
  667. package/package/corpus/skills/cratis-fundamentals-concept/references/kotlin.md +140 -0
  668. package/package/corpus/skills/cratis-fundamentals-concept/references/typescript-serialization.md +203 -0
  669. package/package/corpus/skills/cratis-fundamentals-concept/references/typescript.md +100 -0
  670. package/package/corpus/skills/cratis-fundamentals-name-value/SKILL.md +113 -11
  671. package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp-specs.md +165 -0
  672. package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp.md +223 -29
  673. package/package/corpus/skills/cratis-fundamentals-name-value/references/elixir.md +162 -4
  674. package/package/corpus/skills/cratis-fundamentals-name-value/references/go.md +227 -5
  675. package/package/corpus/skills/cratis-fundamentals-name-value/references/java.md +203 -6
  676. package/package/corpus/skills/cratis-fundamentals-name-value/references/kotlin.md +251 -5
  677. package/package/corpus/skills/cratis-fundamentals-name-value/references/typescript.md +160 -9
  678. package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +120 -62
  679. package/package/corpus/skills/cratis-fundamentals-telemetry/references/csharp-otlp-export.md +56 -0
  680. package/package/corpus/skills/cratis-fundamentals-telemetry/references/csharp.md +224 -0
  681. package/package/corpus/skills/cratis-fundamentals-telemetry/references/elixir.md +10 -0
  682. package/package/corpus/skills/cratis-fundamentals-telemetry/references/go.md +33 -0
  683. package/package/corpus/skills/cratis-fundamentals-telemetry/references/java.md +9 -0
  684. package/package/corpus/skills/cratis-fundamentals-telemetry/references/kotlin.md +9 -0
  685. package/package/corpus/skills/cratis-fundamentals-telemetry/references/typescript.md +9 -0
  686. package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +104 -26
  687. package/package/corpus/skills/cratis-fundamentals-type-discovery/references/csharp-diagnostics.md +75 -0
  688. package/package/corpus/skills/cratis-fundamentals-type-discovery/references/csharp.md +182 -0
  689. package/package/corpus/skills/cratis-fundamentals-type-discovery/references/elixir.md +30 -0
  690. package/package/corpus/skills/cratis-fundamentals-type-discovery/references/go-dependency-injection.md +168 -0
  691. package/package/corpus/skills/cratis-fundamentals-type-discovery/references/go.md +29 -0
  692. package/package/corpus/skills/cratis-fundamentals-type-discovery/references/java.md +39 -0
  693. package/package/corpus/skills/cratis-fundamentals-type-discovery/references/kotlin.md +31 -0
  694. package/package/corpus/skills/cratis-fundamentals-type-discovery/references/typescript.md +32 -0
  695. package/package/corpus/skills/cratis-governed-release-methodology/SKILL.md +346 -273
  696. package/package/corpus/skills/cratis-governed-release-methodology/references/artifact-verification.md +58 -0
  697. package/package/corpus/skills/cratis-governed-release-methodology/references/lifecycle-phases.md +32 -25
  698. package/package/corpus/skills/cratis-governed-release-methodology/references/release-decisions.md +78 -0
  699. package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +331 -98
  700. package/package/corpus/skills/cratis-lens-browser-extension/references/csharp.md +13 -0
  701. package/package/corpus/skills/cratis-lens-browser-extension/references/elixir.md +9 -0
  702. package/package/corpus/skills/cratis-lens-browser-extension/references/go.md +8 -0
  703. package/package/corpus/skills/cratis-lens-browser-extension/references/java.md +8 -0
  704. package/package/corpus/skills/cratis-lens-browser-extension/references/kotlin.md +8 -0
  705. package/package/corpus/skills/cratis-lens-browser-extension/references/troubleshooting.md +111 -102
  706. package/package/corpus/skills/cratis-lens-browser-extension/references/typescript.md +10 -0
  707. package/package/corpus/skills/cratis-llm-friendly-documentation/SKILL.md +333 -102
  708. package/package/corpus/skills/cratis-modeling-design-event-model/SKILL.md +144 -15
  709. package/package/corpus/skills/cratis-modeling-design-event-model/references/command-inventory.md +43 -0
  710. package/package/corpus/skills/cratis-modeling-design-event-model/references/model-first.md +71 -3
  711. package/package/corpus/skills/cratis-modeling-design-event-model/references/review-one-slice.md +14 -13
  712. package/package/corpus/skills/cratis-modeling-discover-timeline/SKILL.md +265 -14
  713. package/package/corpus/skills/cratis-modeling-discover-timeline/references/discovery-questions.md +10 -8
  714. package/package/corpus/skills/cratis-modeling-discover-timeline/references/group-and-document-intake.md +5 -1
  715. package/package/corpus/skills/cratis-modeling-discover-timeline/references/studio.md +136 -0
  716. package/package/corpus/skills/cratis-modeling-review-event-model/SKILL.md +172 -9
  717. package/package/corpus/skills/cratis-modeling-review-event-model/references/csharp.md +40 -0
  718. package/package/corpus/skills/cratis-modeling-review-event-model/references/elixir.md +32 -0
  719. package/package/corpus/skills/cratis-modeling-review-event-model/references/event-log-hygiene.md +44 -0
  720. package/package/corpus/skills/cratis-modeling-review-event-model/references/go.md +27 -0
  721. package/package/corpus/skills/cratis-modeling-review-event-model/references/implementation-findings.md +20 -9
  722. package/package/corpus/skills/cratis-modeling-review-event-model/references/java.md +28 -0
  723. package/package/corpus/skills/cratis-modeling-review-event-model/references/kotlin.md +28 -0
  724. package/package/corpus/skills/cratis-modeling-review-event-model/references/model-findings.md +30 -10
  725. package/package/corpus/skills/cratis-modeling-review-event-model/references/resilience-review.md +1 -1
  726. package/package/corpus/skills/cratis-modeling-review-event-model/references/screenplay-evidence.md +159 -0
  727. package/package/corpus/skills/cratis-modeling-review-event-model/references/typescript.md +27 -0
  728. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/SKILL.md +128 -16
  729. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/compare-evidence.md +5 -5
  730. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/csharp-source-adapter.md +221 -0
  731. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/csharp.md +11 -0
  732. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/draft-checks.md +23 -0
  733. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/elixir.md +13 -0
  734. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/go.md +10 -0
  735. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/java.md +5 -0
  736. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/kotlin.md +5 -0
  737. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/recovery-inputs.md +67 -4
  738. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/side-car-migration.md +11 -0
  739. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/typescript.md +5 -0
  740. package/package/corpus/skills/cratis-multi-service-local-orchestration/SKILL.md +229 -90
  741. package/package/corpus/skills/cratis-multi-service-local-orchestration/references/csharp-aspire.md +204 -0
  742. package/package/corpus/skills/cratis-multi-service-local-orchestration/references/csharp.md +31 -0
  743. package/package/corpus/skills/cratis-multi-service-local-orchestration/references/docker-compose.md +82 -36
  744. package/package/corpus/skills/cratis-multi-service-local-orchestration/references/elixir.md +10 -0
  745. package/package/corpus/skills/cratis-multi-service-local-orchestration/references/go.md +11 -0
  746. package/package/corpus/skills/cratis-multi-service-local-orchestration/references/java.md +11 -0
  747. package/package/corpus/skills/cratis-multi-service-local-orchestration/references/kotlin.md +11 -0
  748. package/package/corpus/skills/cratis-multi-service-local-orchestration/references/typescript.md +15 -0
  749. package/package/corpus/skills/cratis-observability/SKILL.md +178 -10
  750. package/package/corpus/skills/cratis-observability/references/chronicle-kernel-export.md +153 -13
  751. package/package/corpus/skills/cratis-observability/references/csharp-arc-and-chronicle-signals.md +79 -0
  752. package/package/corpus/skills/cratis-observability/references/csharp-setup-options.md +104 -0
  753. package/package/corpus/skills/cratis-observability/references/csharp.md +172 -56
  754. package/package/corpus/skills/cratis-observability/references/elixir.md +243 -5
  755. package/package/corpus/skills/cratis-observability/references/go-arc-diagnostics.md +134 -0
  756. package/package/corpus/skills/cratis-observability/references/go.md +292 -0
  757. package/package/corpus/skills/cratis-observability/references/java.md +236 -0
  758. package/package/corpus/skills/cratis-observability/references/kotlin.md +251 -0
  759. package/package/corpus/skills/cratis-observability/references/troubleshooting.md +13 -17
  760. package/package/corpus/skills/cratis-observability/references/typescript-chronicle-client.md +116 -0
  761. package/package/corpus/skills/cratis-observability/references/typescript.md +159 -0
  762. package/package/corpus/skills/cratis-onboarding-runtime/SKILL.md +222 -85
  763. package/package/corpus/skills/cratis-onboarding-runtime/references/ante-onboarding-keys.md +153 -10
  764. package/package/corpus/skills/cratis-onboarding-runtime/references/csharp.md +61 -0
  765. package/package/corpus/skills/cratis-onboarding-runtime/references/default-offering.md +29 -33
  766. package/package/corpus/skills/cratis-onboarding-runtime/references/performance.md +75 -19
  767. package/package/corpus/skills/cratis-onboarding-runtime/references/sign-up-review.md +10 -6
  768. package/package/corpus/skills/cratis-orchestration-lanes/SKILL.md +174 -80
  769. package/package/corpus/skills/cratis-orchestration-lanes/references/inbox-and-handover.md +78 -49
  770. package/package/corpus/skills/cratis-orchestration-lanes/references/lane-brief.md +48 -16
  771. package/package/corpus/skills/cratis-orchestration-lanes/references/placeholders.md +11 -8
  772. package/package/corpus/skills/cratis-orchestration-lanes/references/work-records.md +16 -0
  773. package/package/corpus/skills/cratis-orchestration-merge-gates/SKILL.md +80 -90
  774. package/package/corpus/skills/cratis-orchestration-merge-gates/references/merge-queue.md +153 -59
  775. package/package/corpus/skills/cratis-orchestration-merge-gates/references/unattended-guards.md +10 -6
  776. package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +216 -32
  777. package/package/corpus/skills/cratis-orleans-jobs/references/csharp-lifecycle-and-placement.md +89 -0
  778. package/package/corpus/skills/cratis-orleans-jobs/references/csharp-state-machines.md +96 -0
  779. package/package/corpus/skills/cratis-orleans-jobs/references/csharp.md +301 -0
  780. package/package/corpus/skills/cratis-performance-review/SKILL.md +265 -45
  781. package/package/corpus/skills/cratis-performance-review/references/csharp.md +67 -0
  782. package/package/corpus/skills/cratis-performance-review/references/elixir.md +34 -0
  783. package/package/corpus/skills/cratis-performance-review/references/go.md +43 -0
  784. package/package/corpus/skills/cratis-performance-review/references/java.md +38 -0
  785. package/package/corpus/skills/cratis-performance-review/references/kotlin.md +37 -0
  786. package/package/corpus/skills/cratis-performance-review/references/observer-tuning.md +117 -0
  787. package/package/corpus/skills/cratis-performance-review/references/review-checklist.md +173 -77
  788. package/package/corpus/skills/cratis-performance-review/references/typescript.md +41 -0
  789. package/package/corpus/skills/cratis-platform-build-application/SKILL.md +243 -0
  790. package/package/corpus/skills/cratis-platform-build-application/references/cli-map.md +256 -0
  791. package/package/corpus/skills/cratis-platform-build-application/references/csharp-guided-tours.md +41 -0
  792. package/package/corpus/skills/cratis-platform-build-application/references/csharp.md +17 -0
  793. package/package/corpus/skills/cratis-platform-build-application/references/direct.md +258 -0
  794. package/package/corpus/skills/cratis-platform-build-application/references/elixir.md +27 -0
  795. package/package/corpus/skills/cratis-platform-build-application/references/go.md +13 -0
  796. package/package/corpus/skills/cratis-platform-build-application/references/java.md +13 -0
  797. package/package/corpus/skills/cratis-platform-build-application/references/kotlin.md +13 -0
  798. package/package/corpus/skills/cratis-platform-build-application/references/typescript-guided-tours.md +132 -0
  799. package/package/corpus/skills/cratis-platform-build-application/references/typescript.md +13 -0
  800. package/package/corpus/skills/cratis-platform-build-application/scripts/model-first-status.sh +100 -0
  801. package/package/corpus/skills/cratis-platform-configure-environment/SKILL.md +130 -31
  802. package/package/corpus/skills/cratis-platform-configure-environment/references/csharp.md +336 -0
  803. package/package/corpus/skills/cratis-platform-configure-environment/references/elixir.md +224 -0
  804. package/package/corpus/skills/cratis-platform-configure-environment/references/go.md +257 -0
  805. package/package/corpus/skills/cratis-platform-configure-environment/references/java.md +209 -0
  806. package/package/corpus/skills/cratis-platform-configure-environment/references/kotlin.md +240 -0
  807. package/package/corpus/skills/cratis-platform-configure-environment/references/typescript.md +280 -0
  808. package/package/corpus/skills/cratis-platform-contribute-change/SKILL.md +120 -8
  809. package/package/corpus/skills/cratis-platform-contribute-change/references/csharp-arc-mcp.md +65 -0
  810. package/package/corpus/skills/cratis-platform-contribute-change/references/csharp-cli-registration.md +86 -0
  811. package/package/corpus/skills/cratis-platform-contribute-change/references/csharp.md +21 -0
  812. package/package/corpus/skills/cratis-platform-contribute-change/references/elixir.md +12 -0
  813. package/package/corpus/skills/cratis-platform-contribute-change/references/go.md +14 -0
  814. package/package/corpus/skills/cratis-platform-contribute-change/references/java.md +9 -0
  815. package/package/corpus/skills/cratis-platform-contribute-change/references/kotlin.md +12 -0
  816. package/package/corpus/skills/cratis-platform-contribute-change/references/repositories.md +93 -0
  817. package/package/corpus/skills/cratis-platform-contribute-change/references/typescript.md +13 -0
  818. package/package/corpus/skills/cratis-platform-deliver-slice/SKILL.md +235 -13
  819. package/package/corpus/skills/cratis-platform-deliver-slice/references/contract-reconciliation.md +73 -6
  820. package/package/corpus/skills/cratis-platform-deliver-slice/references/coordinate-slices.md +7 -4
  821. package/package/corpus/skills/cratis-platform-deliver-slice/references/csharp.md +251 -0
  822. package/package/corpus/skills/cratis-platform-deliver-slice/references/elixir.md +266 -0
  823. package/package/corpus/skills/cratis-platform-deliver-slice/references/go.md +242 -0
  824. package/package/corpus/skills/cratis-platform-deliver-slice/references/java.md +310 -0
  825. package/package/corpus/skills/cratis-platform-deliver-slice/references/kotlin.md +297 -0
  826. package/package/corpus/skills/cratis-platform-deliver-slice/references/typescript.md +248 -0
  827. package/package/corpus/skills/cratis-platform-diagnose-slice/SKILL.md +173 -25
  828. package/package/corpus/skills/cratis-platform-diagnose-slice/references/csharp.md +7 -0
  829. package/package/corpus/skills/cratis-platform-diagnose-slice/references/elixir.md +7 -0
  830. package/package/corpus/skills/cratis-platform-diagnose-slice/references/evidence.md +100 -0
  831. package/package/corpus/skills/cratis-platform-diagnose-slice/references/go.md +7 -0
  832. package/package/corpus/skills/cratis-platform-diagnose-slice/references/java.md +5 -0
  833. package/package/corpus/skills/cratis-platform-diagnose-slice/references/kotlin.md +5 -0
  834. package/package/corpus/skills/cratis-platform-diagnose-slice/references/typescript.md +7 -0
  835. package/package/corpus/skills/cratis-platform-prepare-release-pr/SKILL.md +178 -13
  836. package/package/corpus/skills/cratis-platform-prepare-release-pr/references/product-release-checks.md +23 -0
  837. package/package/corpus/skills/cratis-platform-start-application/SKILL.md +239 -21
  838. package/package/corpus/skills/cratis-platform-start-application/references/csharp.md +223 -18
  839. package/package/corpus/skills/cratis-platform-start-application/references/elixir.md +11 -0
  840. package/package/corpus/skills/cratis-platform-start-application/references/go.md +11 -0
  841. package/package/corpus/skills/cratis-platform-start-application/references/java.md +224 -9
  842. package/package/corpus/skills/cratis-platform-start-application/references/kotlin.md +191 -9
  843. package/package/corpus/skills/cratis-platform-start-application/references/typescript.md +14 -0
  844. package/package/corpus/skills/cratis-platform-verify-service-handoff/SKILL.md +211 -12
  845. package/package/corpus/skills/cratis-platform-verify-service-handoff/references/csharp.md +9 -0
  846. package/package/corpus/skills/cratis-platform-verify-service-handoff/references/elixir.md +5 -0
  847. package/package/corpus/skills/cratis-platform-verify-service-handoff/references/go.md +5 -0
  848. package/package/corpus/skills/cratis-platform-verify-service-handoff/references/java.md +5 -0
  849. package/package/corpus/skills/cratis-platform-verify-service-handoff/references/kotlin.md +5 -0
  850. package/package/corpus/skills/cratis-platform-verify-service-handoff/references/routes-and-failures.md +40 -0
  851. package/package/corpus/skills/cratis-platform-verify-service-handoff/references/typescript.md +5 -0
  852. package/package/corpus/skills/cratis-release-notes/SKILL.md +137 -57
  853. package/package/corpus/skills/cratis-release-notes/references/channel-guidance.md +59 -59
  854. package/package/corpus/skills/cratis-release-notes/references/publish-repair.md +55 -61
  855. package/package/corpus/skills/cratis-rtk/SKILL.md +188 -35
  856. package/package/corpus/skills/cratis-rtk/references/rtk-administration.md +137 -0
  857. package/package/corpus/skills/cratis-rtk/references/rtk-filters.md +68 -0
  858. package/package/corpus/skills/cratis-screenplay-accept-model/SKILL.md +160 -18
  859. package/package/corpus/skills/cratis-screenplay-accept-model/references/coverage-obligations.md +2 -0
  860. package/package/corpus/skills/cratis-screenplay-accept-model/references/csharp.md +122 -0
  861. package/package/corpus/skills/cratis-screenplay-accept-model/references/diagnostic-decisions.md +10 -0
  862. package/package/corpus/skills/cratis-screenplay-accept-model/references/read-the-evidence.md +50 -0
  863. package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/SKILL.md +265 -41
  864. package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/email-templates.md +47 -0
  865. package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/environment-keys.md +81 -0
  866. package/package/corpus/skills/cratis-screenplay-author-extension/SKILL.md +182 -20
  867. package/package/corpus/skills/cratis-screenplay-author-extension/references/cli.md +58 -0
  868. package/package/corpus/skills/cratis-screenplay-author-extension/references/consume.md +31 -8
  869. package/package/corpus/skills/cratis-screenplay-author-extension/references/csharp.md +66 -0
  870. package/package/corpus/skills/cratis-screenplay-author-extension/references/elixir.md +8 -0
  871. package/package/corpus/skills/cratis-screenplay-author-extension/references/frontend-components.md +12 -0
  872. package/package/corpus/skills/cratis-screenplay-author-extension/references/go.md +95 -0
  873. package/package/corpus/skills/cratis-screenplay-author-extension/references/java.md +15 -0
  874. package/package/corpus/skills/cratis-screenplay-author-extension/references/kotlin.md +69 -0
  875. package/package/corpus/skills/cratis-screenplay-author-extension/references/lock-and-trust.md +23 -0
  876. package/package/corpus/skills/cratis-screenplay-author-extension/references/protocol.md +12 -0
  877. package/package/corpus/skills/cratis-screenplay-author-extension/references/runtime-details.md +30 -0
  878. package/package/corpus/skills/cratis-screenplay-author-extension/references/stage-candidate.md +70 -6
  879. package/package/corpus/skills/cratis-screenplay-author-extension/references/typescript.md +66 -0
  880. package/package/corpus/skills/cratis-screenplay-availability/SKILL.md +165 -20
  881. package/package/corpus/skills/cratis-screenplay-availability/references/complete-example.md +60 -4
  882. package/package/corpus/skills/cratis-screenplay-availability/references/csharp.md +88 -0
  883. package/package/corpus/skills/cratis-screenplay-availability/references/elixir.md +45 -0
  884. package/package/corpus/skills/cratis-screenplay-availability/references/go.md +5 -0
  885. package/package/corpus/skills/cratis-screenplay-availability/references/java.md +5 -0
  886. package/package/corpus/skills/cratis-screenplay-availability/references/kotlin.md +5 -0
  887. package/package/corpus/skills/cratis-screenplay-availability/references/review-checks.md +62 -13
  888. package/package/corpus/skills/cratis-screenplay-availability/references/runtime-ownership.md +72 -13
  889. package/package/corpus/skills/cratis-screenplay-availability/references/typescript.md +20 -0
  890. package/package/corpus/skills/cratis-screenplay-declare-slice/SKILL.md +232 -66
  891. package/package/corpus/skills/cratis-screenplay-declare-slice/references/commands.md +256 -0
  892. package/package/corpus/skills/cratis-screenplay-declare-slice/references/concepts-and-generated-values.md +206 -0
  893. package/package/corpus/skills/cratis-screenplay-declare-slice/references/context-and-identity.md +105 -0
  894. package/package/corpus/skills/cratis-screenplay-declare-slice/references/events-and-constraints.md +123 -0
  895. package/package/corpus/skills/cratis-screenplay-declare-slice/references/language-map.md +129 -0
  896. package/package/corpus/skills/cratis-screenplay-declare-slice/references/policies-and-purposes.md +117 -0
  897. package/package/corpus/skills/cratis-screenplay-declare-slice/references/projection-replay.md +3 -12
  898. package/package/corpus/skills/cratis-screenplay-declare-slice/references/projections.md +222 -0
  899. package/package/corpus/skills/cratis-screenplay-declare-slice/references/queries.md +122 -0
  900. package/package/corpus/skills/cratis-screenplay-declare-slice/references/reducers-graphs-sinks.md +105 -0
  901. package/package/corpus/skills/cratis-screenplay-declare-slice/references/structure-and-imports.md +142 -0
  902. package/package/corpus/skills/cratis-screenplay-edit-workspace/SKILL.md +164 -21
  903. package/package/corpus/skills/cratis-screenplay-edit-workspace/references/mcp-tools.md +138 -0
  904. package/package/corpus/skills/cratis-screenplay-edit-workspace/references/model-notes.md +63 -14
  905. package/package/corpus/skills/cratis-screenplay-handoff-slice/SKILL.md +120 -25
  906. package/package/corpus/skills/cratis-screenplay-handoff-slice/references/csharp.md +107 -0
  907. package/package/corpus/skills/cratis-screenplay-handoff-slice/references/mcp.md +16 -0
  908. package/package/corpus/skills/cratis-screenplay-handoff-slice/references/ordering.md +29 -3
  909. package/package/corpus/skills/cratis-screenplay-handoff-slice/references/recipient-contracts.md +50 -0
  910. package/package/corpus/skills/cratis-screenplay-model-automation/SKILL.md +190 -101
  911. package/package/corpus/skills/cratis-screenplay-model-automation/references/external-effects.md +10 -0
  912. package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-boundaries.md +12 -4
  913. package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-example.md +95 -0
  914. package/package/corpus/skills/cratis-screenplay-model-automation/references/stage-subset.md +61 -0
  915. package/package/corpus/skills/cratis-screenplay-model-interaction/SKILL.md +171 -51
  916. package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp-host-api.md +177 -0
  917. package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp.md +127 -0
  918. package/package/corpus/skills/cratis-screenplay-model-interaction/references/decision-inputs.md +10 -0
  919. package/package/corpus/skills/cratis-screenplay-model-interaction/references/elixir.md +9 -0
  920. package/package/corpus/skills/cratis-screenplay-model-interaction/references/go.md +9 -0
  921. package/package/corpus/skills/cratis-screenplay-model-interaction/references/java.md +9 -0
  922. package/package/corpus/skills/cratis-screenplay-model-interaction/references/kotlin.md +9 -0
  923. package/package/corpus/skills/cratis-screenplay-model-interaction/references/localized-strings.md +1 -1
  924. package/package/corpus/skills/cratis-screenplay-model-interaction/references/navigation-reachability.md +25 -0
  925. package/package/corpus/skills/cratis-screenplay-model-interaction/references/shell-and-data.md +187 -20
  926. package/package/corpus/skills/cratis-screenplay-model-interaction/references/typescript.md +119 -6
  927. package/package/corpus/skills/cratis-screenplay-model-translation/SKILL.md +259 -89
  928. package/package/corpus/skills/cratis-screenplay-model-translation/references/boundary-diagnostics.md +32 -0
  929. package/package/corpus/skills/cratis-screenplay-model-translation/references/stage-realization.md +36 -0
  930. package/package/corpus/skills/cratis-screenplay-model-translation/references/translation-scenarios.md +114 -0
  931. package/package/corpus/skills/cratis-screenplay-onboard-workspace/SKILL.md +185 -20
  932. package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/cli.md +88 -0
  933. package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/csharp.md +210 -0
  934. package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/typescript.md +45 -0
  935. package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/workspace-mcp.md +133 -0
  936. package/package/corpus/skills/cratis-screenplay-recover-intent/SKILL.md +161 -20
  937. package/package/corpus/skills/cratis-screenplay-recover-intent/references/csharp.md +195 -7
  938. package/package/corpus/skills/cratis-screenplay-recover-intent/references/elixir.md +21 -0
  939. package/package/corpus/skills/cratis-screenplay-recover-intent/references/go.md +17 -0
  940. package/package/corpus/skills/cratis-screenplay-recover-intent/references/ground-truth-benchmark.md +1 -1
  941. package/package/corpus/skills/cratis-screenplay-recover-intent/references/java.md +9 -0
  942. package/package/corpus/skills/cratis-screenplay-recover-intent/references/kotlin.md +9 -0
  943. package/package/corpus/skills/cratis-screenplay-recover-intent/references/running-system.md +122 -6
  944. package/package/corpus/skills/cratis-screenplay-recover-intent/references/typescript.md +9 -0
  945. package/package/corpus/skills/cratis-screenplay-specify-outcome/SKILL.md +233 -62
  946. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/boundary-scenarios.md +60 -0
  947. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/case-questions.md +30 -0
  948. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/coverage-worksheet.md +16 -8
  949. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/csharp.md +41 -0
  950. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/graph-steps.md +37 -5
  951. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/named-cases.md +23 -10
  952. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/query-rejections.md +22 -19
  953. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/scenarios.md +230 -0
  954. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +140 -14
  955. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +5 -5
  956. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +7 -9
  957. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +36 -24
  958. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/destination-repairs.md +21 -0
  959. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +1 -1
  960. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +6 -9
  961. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/multi-service-models.md +3 -6
  962. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/read-model-keys.md +4 -5
  963. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-id-rules.md +32 -19
  964. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +53 -16
  965. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +1 -1
  966. package/package/corpus/skills/cratis-security-review/SKILL.md +137 -72
  967. package/package/corpus/skills/cratis-security-review/references/csharp.md +114 -0
  968. package/package/corpus/skills/cratis-security-review/references/elixir.md +21 -0
  969. package/package/corpus/skills/cratis-security-review/references/go.md +22 -0
  970. package/package/corpus/skills/cratis-security-review/references/java.md +20 -0
  971. package/package/corpus/skills/cratis-security-review/references/kotlin.md +20 -0
  972. package/package/corpus/skills/cratis-security-review/references/python.md +3 -0
  973. package/package/corpus/skills/cratis-security-review/references/review-checklist.md +98 -68
  974. package/package/corpus/skills/cratis-security-review/references/typescript.md +22 -0
  975. package/package/corpus/skills/cratis-session-handoff/SKILL.md +134 -90
  976. package/package/corpus/skills/cratis-session-handoff/references/handoff-template.md +35 -52
  977. package/package/corpus/skills/cratis-showrunner-herald/SKILL.md +170 -86
  978. package/package/corpus/skills/cratis-showrunner-herald/references/csharp-templates-and-images.md +115 -0
  979. package/package/corpus/skills/cratis-showrunner-herald/references/csharp.md +280 -0
  980. package/package/corpus/skills/cratis-social-feed-post/SKILL.md +252 -38
  981. package/package/corpus/skills/cratis-social-feed-post/references/engagement-evidence.md +104 -10
  982. package/package/corpus/skills/cratis-specifications-exercise-backend/SKILL.md +185 -27
  983. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-command-results.md +103 -3
  984. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-decision-reads.md +40 -11
  985. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-events.md +136 -0
  986. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-graphs.md +45 -0
  987. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-integration.md +121 -75
  988. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-query-scenario.md +33 -8
  989. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-reactors.md +117 -0
  990. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-read-models.md +96 -0
  991. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-relational.md +16 -0
  992. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-slice.md +68 -0
  993. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp.md +142 -34
  994. package/package/corpus/skills/cratis-specifications-exercise-backend/references/elixir.md +274 -32
  995. package/package/corpus/skills/cratis-specifications-exercise-backend/references/go.md +176 -111
  996. package/package/corpus/skills/cratis-specifications-exercise-backend/references/java.md +208 -5
  997. package/package/corpus/skills/cratis-specifications-exercise-backend/references/kotlin.md +235 -7
  998. package/package/corpus/skills/cratis-specifications-exercise-backend/references/typescript.md +223 -57
  999. package/package/corpus/skills/cratis-specifications-isolate-behavior/SKILL.md +159 -34
  1000. package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp-running.md +180 -0
  1001. package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp.md +331 -0
  1002. package/package/corpus/skills/cratis-specifications-isolate-behavior/references/kotlin.md +5 -0
  1003. package/package/corpus/skills/cratis-specifications-isolate-behavior/references/typescript.md +9 -0
  1004. package/package/corpus/skills/cratis-specifications-observe-ui/SKILL.md +92 -55
  1005. package/package/corpus/skills/cratis-specifications-observe-ui/references/typescript-browser.md +44 -0
  1006. package/package/corpus/skills/cratis-specifications-observe-ui/references/typescript-storybook.md +157 -0
  1007. package/package/corpus/skills/cratis-specifications-observe-ui/references/typescript.md +8 -0
  1008. package/package/corpus/skills/cratis-specifications-test-application-ui/SKILL.md +182 -9
  1009. package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-rendering.md +172 -0
  1010. package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript.md +400 -0
  1011. package/package/corpus/skills/cratis-specifications-test-typescript-behavior/SKILL.md +139 -9
  1012. package/package/corpus/skills/cratis-specifications-test-typescript-behavior/references/typescript.md +316 -0
  1013. package/package/corpus/skills/cratis-stage-render-slice/SKILL.md +284 -14
  1014. package/package/corpus/skills/cratis-stage-render-slice/references/csharp-configuration.md +202 -0
  1015. package/package/corpus/skills/cratis-stage-render-slice/references/csharp-planning.md +80 -0
  1016. package/package/corpus/skills/cratis-stage-render-slice/references/csharp.md +221 -0
  1017. package/package/corpus/skills/cratis-stage-render-slice/references/graph-rendering.md +53 -0
  1018. package/package/corpus/skills/cratis-stage-render-slice/references/java.md +25 -0
  1019. package/package/corpus/skills/cratis-stage-render-slice/references/review-render-plan.md +154 -12
  1020. package/package/corpus/skills/cratis-stage-run-sandbox/SKILL.md +212 -12
  1021. package/package/corpus/skills/cratis-stage-run-sandbox/references/journey-replay.md +47 -0
  1022. package/package/corpus/skills/cratis-stage-run-sandbox/references/published-mode.md +103 -0
  1023. package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-runtime.md +67 -0
  1024. package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-spec-runner.md +60 -6
  1025. package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +243 -52
  1026. package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/tools.md +239 -0
  1027. package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/webhooks.md +74 -0
  1028. package/package/corpus/skills/cratis-technical-examples/SKILL.md +233 -67
  1029. package/package/corpus/skills/cratis-technical-examples/references/csharp.md +325 -0
  1030. package/package/corpus/skills/cratis-technical-examples/references/elixir.md +114 -0
  1031. package/package/corpus/skills/cratis-technical-examples/references/go.md +74 -0
  1032. package/package/corpus/skills/cratis-technical-examples/references/java.md +194 -0
  1033. package/package/corpus/skills/cratis-technical-examples/references/kotlin.md +205 -0
  1034. package/package/corpus/skills/cratis-technical-examples/references/source-and-format.md +57 -40
  1035. package/package/corpus/skills/cratis-technical-examples/references/typescript.md +427 -0
  1036. package/package/corpus/skills/cratis-technical-examples/references/verification-scope.md +120 -35
  1037. package/package/corpus/skills/cratis-ux-review/SKILL.md +136 -33
  1038. package/package/corpus/skills/cratis-ux-review/references/checklist.md +10 -6
  1039. package/package/corpus/skills/cratis-ux-review/references/report-template.md +10 -8
  1040. package/package/corpus/skills/cratis-ux-review/references/typescript.md +9 -0
  1041. package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +275 -51
  1042. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/ai-tells.md +49 -35
  1043. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/pattern-evidence.md +151 -0
  1044. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/voice-guidance.md +28 -16
  1045. package/package/corpus/skills/migrate-dotnet10-to-dotnet11/SKILL.md +3 -1
  1046. package/package/profile-catalog.json +34 -2
  1047. package/package.json +1 -1
  1048. package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/rule-fixes.md +0 -40
  1049. package/package/corpus/skills/cratis-arc-declare-command/references/python.md +0 -3
  1050. package/package/corpus/skills/cratis-arc-diagnose-live-query/references/python.md +0 -3
  1051. package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/custom-exposure-and-audit.md +0 -23
  1052. package/package/corpus/skills/cratis-arc-expose-query/references/python.md +0 -3
  1053. package/package/corpus/skills/cratis-arc-generate-proxies/references/python.md +0 -3
  1054. package/package/corpus/skills/cratis-arc-host-application/references/python.md +0 -3
  1055. package/package/corpus/skills/cratis-arc-page-query/references/python.md +0 -3
  1056. package/package/corpus/skills/cratis-arc-react-bind-slice/references/commands.md +0 -88
  1057. package/package/corpus/skills/cratis-arc-react-bind-slice/references/csharp.md +0 -9
  1058. package/package/corpus/skills/cratis-arc-react-bind-slice/references/identity.md +0 -7
  1059. package/package/corpus/skills/cratis-arc-react-bind-slice/references/kotlin.md +0 -9
  1060. package/package/corpus/skills/cratis-arc-react-bind-slice/references/manual-screen.md +0 -10
  1061. package/package/corpus/skills/cratis-arc-react-bind-slice/references/query-state.md +0 -29
  1062. package/package/corpus/skills/cratis-arc-react-separate-view-model/references/react-routing-and-messaging.md +0 -45
  1063. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/python.md +0 -3
  1064. package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/read-model-naming.md +0 -11
  1065. package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/storage-boundaries.md +0 -40
  1066. package/package/corpus/skills/cratis-arc-storage-typescript/references/drizzle.md +0 -62
  1067. package/package/corpus/skills/cratis-arc-tenancy-typescript/references/tenant-selection.md +0 -49
  1068. package/package/corpus/skills/cratis-arc-testing-kotlin/references/jvm-scenario-variants.md +0 -25
  1069. package/package/corpus/skills/cratis-arc-testing-typescript/references/hosts-and-runners.md +0 -51
  1070. package/package/corpus/skills/cratis-arc-validate-command/references/java.md +0 -27
  1071. package/package/corpus/skills/cratis-arc-validate-command/references/kotlin.md +0 -23
  1072. package/package/corpus/skills/cratis-arc-validate-command/references/typescript.md +0 -23
  1073. package/package/corpus/skills/cratis-arc-validation-kotlin/references/feature-filters.md +0 -55
  1074. package/package/corpus/skills/cratis-arc-validation-kotlin/references/model-validation.md +0 -72
  1075. package/package/corpus/skills/cratis-arc-validation-kotlin/references/server-validators.md +0 -86
  1076. package/package/corpus/skills/cratis-arc-validation-typescript/references/rules-and-checks.md +0 -46
  1077. package/package/corpus/skills/cratis-chronicle-evolve-event/references/bulk-repair.md +0 -7
  1078. package/package/corpus/skills/cratis-chronicle-evolve-event/references/deployed-readers.md +0 -50
  1079. package/package/corpus/skills/cratis-chronicle-record-event/references/python.md +0 -3
  1080. package/package/corpus/skills/cratis-components-accessibility/references/control-labels.md +0 -29
  1081. package/package/corpus/skills/cratis-components-accessibility/references/focus-and-announcements.md +0 -8
  1082. package/package/corpus/skills/cratis-components-build-canvas/references/pixi-items.md +0 -15
  1083. package/package/corpus/skills/cratis-components-choose-control/references/inputs.md +0 -3
  1084. package/package/corpus/skills/cratis-components-compose-toolbar/references/contributed-tools.md +0 -5
  1085. package/package/corpus/skills/cratis-components-display-list/references/server-query.md +0 -21
  1086. package/package/corpus/skills/cratis-components-edit-schema-data/references/controlled-editor.md +0 -9
  1087. package/package/corpus/skills/cratis-components-submit-form/references/confirmation.md +0 -9
  1088. package/package/corpus/skills/cratis-components-submit-form/references/wizard.md +0 -9
  1089. package/package/corpus/skills/cratis-engineering-consolidation-guard/references/source-verification.md +0 -68
  1090. package/package/corpus/skills/cratis-engineering-csharp-conventions/references/code-style.md +0 -202
  1091. package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +0 -161
  1092. package/package/corpus/skills/cratis-engineering-decision-record/references/decision-scope.md +0 -20
  1093. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/go-jvm-python-elixir.md +0 -83
  1094. package/package/corpus/skills/cratis-engineering-review-rounds/references/round-handoffs.md +0 -109
  1095. package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +0 -95
  1096. package/package/corpus/skills/cratis-fundamentals-name-value/references/python.md +0 -3
  1097. package/package/corpus/skills/cratis-fundamentals-telemetry/references/otlp-export.md +0 -16
  1098. package/package/corpus/skills/cratis-fundamentals-type-discovery/references/diagnostics.md +0 -14
  1099. package/package/corpus/skills/cratis-multi-service-local-orchestration/references/aspire.md +0 -52
  1100. package/package/corpus/skills/cratis-observability/references/arc-and-chronicle-signals.md +0 -54
  1101. package/package/corpus/skills/cratis-observability/references/dotnet-setup-and-options.md +0 -68
  1102. package/package/corpus/skills/cratis-orchestration-lanes/references/escalation.md +0 -22
  1103. package/package/corpus/skills/cratis-orchestration-lanes/references/roles.md +0 -12
  1104. package/package/corpus/skills/cratis-orchestration-lanes/references/roll-call.md +0 -12
  1105. package/package/corpus/skills/cratis-orleans-jobs/references/activation-callbacks.md +0 -5
  1106. package/package/corpus/skills/cratis-orleans-jobs/references/lifecycle-and-placement.md +0 -56
  1107. package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +0 -66
  1108. package/package/corpus/skills/cratis-orleans-jobs/references/step-planning.md +0 -27
  1109. package/package/corpus/skills/cratis-orleans-jobs/references/storage-and-options.md +0 -35
  1110. package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/onboarding-directives.md +0 -90
  1111. package/package/corpus/skills/cratis-screenplay-handoff-slice/references/unknown-preserving-reader.md +0 -9
  1112. package/package/corpus/skills/cratis-screenplay-model-automation/references/host-trigger.md +0 -17
  1113. package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp-performers.md +0 -18
  1114. package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/version-migration.md +0 -12
  1115. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/host-body-execution.md +0 -10
  1116. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/observable-result.md +0 -123
  1117. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/interview-batch.md +0 -20
  1118. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/neighbouring-skills.md +0 -11
  1119. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/review-questions.md +0 -13
  1120. package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +0 -58
  1121. package/package/corpus/skills/cratis-session-handoff/references/session-hygiene.md +0 -20
  1122. package/package/corpus/skills/cratis-showrunner-herald/references/options.md +0 -35
  1123. package/package/corpus/skills/cratis-showrunner-herald/references/templates-and-images.md +0 -76
  1124. package/package/corpus/skills/cratis-social-feed-post/references/asset-and-formatting.md +0 -37
  1125. package/package/corpus/skills/cratis-social-feed-post/references/editorial-checks.md +0 -40
  1126. package/package/corpus/skills/cratis-social-feed-post/references/linkedin-media.md +0 -24
  1127. package/package/corpus/skills/cratis-social-feed-post/references/other-channels.md +0 -23
  1128. package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp-phase-timings.md +0 -13
  1129. package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-command-results.md +0 -7
  1130. package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/blocked-tools.md +0 -11
  1131. package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/observational-tools.md +0 -7
  1132. package/package/corpus/skills/cratis-technical-examples/references/csharp-package-checks.md +0 -8
  1133. package/package/corpus/skills/cratis-technical-examples/references/typescript-package-checks.md +0 -8
  1134. package/package/corpus/skills/cratis-ux-review/references/capture-contract.md +0 -24
  1135. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/author-and-batch.md +0 -23
  1136. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/documentation-evidence.md +0 -25
  1137. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/interpretation.md +0 -17
  1138. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/stock-constructions.md +0 -23
@@ -1,21 +1,163 @@
1
- # Review before writing managed artifacts
1
+ # Review a render plan before publishing
2
2
 
3
- Check against the **real** destination. An empty temporary folder cannot tell you about an existing manifest, a stale file the developer edited, or another tool's file at the same path. Record application identity, target, model revision, destination and selected scope. A project name is not the application identity. Preserve persisted IDs and the project's existing ownership metadata on a rerender.
3
+ ## Contents
4
4
 
5
- Use the result of `--check`, not the presence of generated files in a directory left by another run:
5
+ - Check and review
6
+ - Ownership and recovery
7
+ - Account for incomplete output
8
+ - Model shapes worth checking
9
+ - Reconcile the slice and prove UI parity
10
+ - Approve a custom UI package set
11
+
12
+ ## Check and review
13
+
14
+ Check against the **real** destination. An empty temporary folder cannot tell you about an existing
15
+ manifest, a stale file someone edited, or another tool's file at the same path. Record the application
16
+ identity, target, model revision, destination and scope. A project name is not the application
17
+ identity. Keep persisted identities and the destination's ownership files on every re-render.
18
+
19
+ Decide from the `--check` exit code, not from files another run left in a folder:
6
20
 
7
21
  | Exit | Decision |
8
22
  | --- | --- |
9
- | `0` | The checked plan is up to date. Run the relevant behavior checks; convergence is not runtime proof. |
10
- | `6` | Writes, removals or a manifest-only rewrite are pending. Inspect each effect before seeking permission to publish. |
11
- | `5` | Planning or publication was refused, or recovery is pending. Preserve the diagnostic. Do not assume a fresh render fixes ownership. |
12
- | `9` with `--strict` | Acceptance is incomplete. A real render can already have published safe files; inspect the destination rather than assuming rollback. |
13
- | `10` | Unexpected failure. Inspect the reported cause, manifest and recovery state before another attempt. |
23
+ | `0` | The destination is current. Run the behaviour checks; convergence is not runtime proof. |
24
+ | `6` | Writes, removals or a manifest-only rewrite are pending. Inspect each change before asking to publish. |
25
+ | `5` | Planning or publication was refused, or recovery is pending. Keep the diagnostic; a fresh render does not fix ownership. |
26
+ | `9` with `--strict` | Acceptance is incomplete. A check wrote nothing; a real render has already published the safe files, so inspect the destination instead of assuming a rollback. |
27
+ | `10` | Unexpected failure. Inspect the cause, the manifest and any recovery state before trying again. |
28
+
29
+ With `--output json`, read every `changes` entry: `kind` says whether a path is written, removed,
30
+ unchanged or refused, and `sources` names the model elements behind it. For a scoped check, also read
31
+ `outsideScope` and `orphaned`.
32
+
33
+ For automation, the receipt includes before/after file and manifest hashes, the `bySource` index,
34
+ and whether recovery occurred (`recovered`). A check also includes counts, refusal reasons and
35
+ `recoveryPending`.
36
+
37
+ Separate `PLAY*` compiler errors, `PLAN-*` execution issues, `STAGE-*` target findings and
38
+ `CLI-RENDER-*` CLI findings. Unknown target is `CLI-RENDER-001`; renderer contract violation or
39
+ unusable doc comments can produce `005`; documents rendered without doc comments warn with `006`.
40
+ Unexpected planning failure (`027`, exit `10`) belongs in a Stage bug report.
41
+
42
+ One check collects every independent refusal it can reach, each listed once, rather than stopping at
43
+ the first. Classify the whole list before editing anything: several refusals often share one cause,
44
+ and a per-refusal fix can undo another. Then check again, because a check that depended on a refused
45
+ construct was skipped and can report once that construct is admitted. Two refusals are
46
+ the exception and stop the plan before the other checks run, so fix them first: a target-profile
47
+ mismatch (`STAGE-CRATIS-001`), then an executable model version the renderer does not admit.
48
+
49
+ ## Ownership and recovery
50
+
51
+ - **Managed slices:** the manifest records generated command, event, view, reaction, specification
52
+ and screen artifacts with hashes. Never edit them.
53
+ - **Scaffold:** host, project/build files, settings, README and frontend shell. Prefer customization
54
+ seams; make necessary edits such as a frontend dependency only with a preservation plan. Later
55
+ scoped renders leave scaffold alone; a full render plans it again and can overwrite approved edits.
56
+ Save the adjustment outside the managed copy and check drift before approving a full re-render.
57
+ - **Application-owned files:** `Customizations/` is never planned (`STAGE-CRATIS-005` for a colliding
58
+ model); other unmanaged files are never overwritten. Keep `.cratis/stage/rendering.json` intact.
59
+ - **Publication state:** `.cratis-render/` holds the journal, staged bytes and backups, not source to
60
+ edit or commit. Publication writes the manifest last. The next real render recovers an interrupted
61
+ publication first, completing it or restoring prior bytes exactly. Stale files are removed only
62
+ while their bytes still match the manifest.
63
+
64
+ Overwriting an edited managed file needs specific approval before `--force`. `--force` never takes
65
+ over an unmanaged file, deletes an edited stale file, or changes a stored event type id. A check is
66
+ read-only: it cannot recover an interrupted publication. Keep the destination as it is and review the
67
+ recovery before an approved real render.
68
+
69
+ ## Account for incomplete output
70
+
71
+ - **Omitted specs (Cratis):** an unsupported scenario can appear in refusals with no generated
72
+ test; `STAGE-PLAN-007` summarizes ordinary specification omissions. Review the original scenarios
73
+ against generated executable tests, even in strict mode.
74
+ - **Omitted owners (Cratis):** for eligible unsupported event members a non-strict plan may omit
75
+ the event and dependent owners. Review `STAGE-DEGRADE-001` (root) and `STAGE-DEGRADE-005`
76
+ (dependents), and the completeness and unsupported reports. Report placeholders describe
77
+ missing code; they are not executable stubs. Strict mode refuses planning instead.
78
+ - **Throwing performer (Cratis):** `STAGE-IMPL-006` and `STAGE-NOT-RUNNABLE.md` identify unverified
79
+ query bodies; the endpoint exists but throws on invocation. Supply a supported implementation
80
+ attachment or arrange a separately owned implementation; DI registration alone does not fix it.
81
+ - **Unsupported or disabled (Axon):** inspect `UNSUPPORTED.md` when emitted, and compare disabled
82
+ JUnit tests with the modeled scenarios. Do not treat a skipped test as delivered behavior.
83
+
84
+ ## Model shapes worth checking
85
+
86
+ If validation succeeds but rendering refuses, keep the exact diagnostic and reproduce the shape on
87
+ the renderer bundled with the CLI:
88
+
89
+ - A case table substitutes each row's values for `case.<parameter>` and expands to one generated
90
+ class per named case (`<Spec>_<Case>`; file `when_<spec>_<case>.cs`). Give cases names that stay
91
+ distinct after identifier normalization. `STAGE-CRATIS-004` refuses collisions rather than silently
92
+ overwriting a test. Review every case, not just the specification template.
93
+ - One event trigger can produce events and invoke commands, including acknowledge-only refusal
94
+ handling. Direct events append before commands, preserving each list's order. Unhandled refusal
95
+ stops later commands; already accepted events are not rolled back. Delivery-based keys deduplicate
96
+ the direct appends on redelivery; this is not a guarantee for other effects. Atomic batches make
97
+ the direct production batch atomic, not the reaction. Stage refuses direct productions with event-producing
98
+ refusal branches (idempotency keys can overlap), and mixed productions and invocations across
99
+ separate triggers on the same event in one reaction (ordering would change), with `STAGE-ESM-037`.
100
+ Attached C# bodies are separate: return only a determinable events-only or commands-only effect
101
+ (or no effect); mixed or undeterminable results are refused with the same code.
102
+ - A `from` mapping may restate the resolved scalar identity only with a direct `set` of the same
103
+ key property from the same event source, event property path or literal. Different values or
104
+ operations, writes in `every` or joins, and restatements of composite parts are not equivalent.
105
+ - A read model with several key parts renders a `<ReadModel>Key` record and an `Id` property of that
106
+ type, and keeps the declared key properties. Only a scoped projection built from `from` and
107
+ `remove with` blocks, each setting every part once from an event property, can build it. Refused:
108
+ reducers and flat projections; `every`, joins, children or nested blocks; optional, collection,
109
+ date-time or decimal parts, or parts that are not primitives or concepts; a mapping that also sets a
110
+ part; a property already named `Id`; protected live queries over the read model; and single-instance
111
+ queries by key parts. Do not replace a domain key with a lossy string to pass admission; implement
112
+ that read model by hand instead.
113
+ - A policy that compares a claim with `subject` or with a property of the authorized command or query
114
+ can match only when that value is text, a UUID, a date or a date-time. A whole-number, decimal or
115
+ Boolean target renders, but the comparison never matches, so the gate denies every caller (and under
116
+ `not` it still never allows). Any other target, such as a collection or another type, is refused with
117
+ `STAGE-ESM-015`. Carry the compared value as text or a UUID.
118
+ - `STAGE-IMPL-002` is a command handler described with `implementation` hints but no C# body. No
119
+ engine can run it; attach the body in the model or implement the handler by hand.
120
+
121
+ ## Reconcile the slice and prove UI parity
122
+
123
+ Reconcile the **whole slice**, even for a delta delivery. Map each modeled contract (including
124
+ identity, policies, negative paths and observable effects) to its actual generated or owned
125
+ implementation. Map each generated/owned behavior back to a contract. Map each contracted
126
+ scenario, including expanded cases, to a native executable spec and verify what it asserts.
127
+ Record both directions' unmatched items and every skipped, omitted or stubbed scenario, with an
128
+ owner and the check that would close it. Report sandbox/model results separately.
129
+
130
+ For UI, account for each modeled screen, layout, template, component, action, binding, theme and
131
+ localized string the slice uses. Check the generated Scene and bindings against the model, including
132
+ which scopes' proxies are present. Then run the application and exercise the modeled interaction
133
+ paths in a browser with the applicable persona and data. Keep browser evidence of visible outcomes,
134
+ including the modeled refusal/empty states where applicable; a successful frontend build or emitted
135
+ Scene is not fidelity. Report unproved or missing artifacts as gaps.
136
+
137
+ Keep modeled outcomes, hand-written implementation and runtime proof separate. For a foreign inbox or
138
+ outbound event, inspect the generated artifact; admission of one capture does not prove nested or
139
+ child mappings in another. Exercise the adapter that supplies observations, not just the parser.
140
+
141
+ When the model binds but the renderer refuses a required behaviour, separate that refusal from a
142
+ collision in the destination. Keep the business requirement in the model and record which behaviour is
143
+ realized by hand. Choose a seam with an owner, a target test and a re-render check; never patch a
144
+ managed file as a standing solution. If the next render would claim that file, or there is no safe
145
+ seam, stop. After publication, rerun the identical check and test the outcome on the real target. List
146
+ the scaffold work still owed by the application owner.
14
147
 
15
- A planned overwrite of a developer-edited **active managed** file needs specific approval before `--force`. That flag does not allow takeover of an unmanaged file or deletion of a modified stale file. If publication was interrupted, a check is read-only: it cannot recover the transaction. Preserve the destination and reported state; review recovery effects before an authorized real render.
148
+ ## Approve a custom UI package set
16
149
 
17
- Test the exact shape on the renderer bundled with the CLI. For example, the Cratis renderer can generate a synthetic `Id` plus typed parts for an admitted root composite projection. Check that a real keyed lookup addresses one instance across replay. Its composite route refuses `Decimal` key parts because differing scales can split one identity, and does not admit `DateTime` parts. Do not replace a domain key with a lossy string to pass admission. For reactions, one trigger combining direct events and calls is not equivalent to multiple direct-production triggers for the same event, or a direct production combined with an event-producing refusal branch. Check the exact refusal before designing a manual implementation.
150
+ Use a JSON object with `version: 1` (the document schema) and a `packages` array. Each entry contains:
18
151
 
19
- For `STAGE-IMPL-002`, inspect the command handler requirement: a pending implementation or one resolved in a language the selected Cratis renderer cannot realize is not a generated decision. Keep modeled outcomes, host implementation and runtime proof separate. For a foreign inbox or outbound event, inspect the actual generated artifact; admission of one capture does not establish support for nested or child mapping in another. Exercise the adapter that supplies observations, not just the parser.
152
+ - `manifest`: the Scene package manifest, with `name`, `version`, and its `kind` (`ComponentLibrary`,
153
+ `Styling`, or `Blueprint`). Supply its contributions in `components`, `layouts`, `screenTemplates`,
154
+ `dialogTemplates`, `themes`, `assets`, `runtimeSingletons` and `designSystems` as applicable.
155
+ `dependencies` entries have `name` and `versionRange`. An optional manifest `module` must equal
156
+ `module.npm`. Omit unknown fields; the reader rejects them.
157
+ - `module`: `npm` (npm package name), `version` (version or range), `export` (the runtime bundle's
158
+ named export), and optional `styles` (paths inside that same npm package, never URLs).
20
159
 
21
- If the model binds but the renderer refuses a required behavior, separate that refusal from a collision in the destination. Keep the business requirement and record exactly which behavior would be realized manually. Choose an unmanaged implementation seam with an owner, a target test and a regeneration check; do not patch generated output as a standing solution. If the next render would claim that file or there is no safe seam, stop. After publication, rerun the identical check and test the addressed outcome on the actual target. List scaffold work still owed by the application owner.
160
+ Approve only packages you intend the generated frontend to install and import. Do not reuse a
161
+ shipped or already approved manifest name. Icon libraries cannot be supplied this way. Unapproved
162
+ packages (`CLI-RENDER-007`), unknown layouts (`008`), incompatible packages (`009`), unknown themes
163
+ (`010`), unusable root templates (`019`) and missing blueprint templates (`020`) block the render.
@@ -1,21 +1,221 @@
1
1
  ---
2
2
  name: cratis-stage-run-sandbox
3
- description: Use when a model owner wants to try a Screenplay interaction in a disposable Stage runtime or run its specifications in the Stage semantic engine. Not for generating application files (use cratis-stage-render-slice).
3
+ description: Use when trying a Screenplay model without building an application - booting it in a disposable Stage sandbox with cratis run, exercising its commands, queries and screens, inspecting its facts and read models, replaying recorded journeys, or running its specifications in the Stage semantic engine; also when exporting a model as a published package and running Stage in published mode for real users. Not for generating application files (use cratis-stage-render-slice), proving a built application (use cratis-platform-deliver-slice or cratis-platform-diagnose-slice), or deciding whether a model is accepted (use cratis-screenplay-accept-model).
4
4
  ---
5
5
 
6
- # Try one interaction in a local sandbox
6
+ # Run a model in the Stage sandbox
7
7
 
8
- Start with the model folder, a running Docker engine with `docker` on the path, and permission to start a local container and exercise the chosen interaction. Model acceptance grants none of those permissions. Agree on the expected result before starting: for example, registering a fictitious author should make that author's name appear in the list.
8
+ ## Contents
9
9
 
10
- 1. Use a folder containing only the intended application. Check the configured identities, services and extensions before running it: a read-only model mount protects the source files, not an external service called by the model. If an effect could reach a shared system, stop until a disposable target is configured. Use synthetic data.
11
- 2. Start the sandbox in the foreground. For example, if the folder is named `model`, run:
10
+ - What the sandbox is
11
+ - When to use it
12
+ - How a session behaves
13
+ - Default path
14
+ - Capability catalog
12
15
 
13
- ```sh
14
- cratis run ./model
15
- ```
16
+ ## What the sandbox is
16
17
 
17
- For a standalone preview, keep the default loopback binding. Wait for `Ready` and check the reported model and engine. A running container is not a ready model, and readiness does not prove every endpoint works. Check the ready warnings for refused inline bodies. A typed refusal from a modeled command is different from an unsupported endpoint returning HTTP 501. Neither is evidence of a successful interaction. If inspecting a running semantic host directly, use `GET /stage/status` for readiness and `GET /stage/semantic/admission` for reported issues. On refusal, record the unsupported construct and diagnostic; do not switch engines or remove a requirement to make the preview start.
18
- 3. Use the printed Stage API reference to find the modeled command and query. If the CLI reports an application address as well, you can exercise the gesture there. Perform the agreed action once. Query or reopen the view and check the exact author, not just the row count. If the result is missing, use the printed Chronicle Workbench address to distinguish a missing fact from a missing view update. Do not repeat the command to diagnose the first attempt.
19
- 4. Record the model, input and observed outcome before pressing Ctrl+C in the run terminal. Confirm the session has ended and its container is no longer running. Report what worked **in the sandbox**: this walk neither executes the model's specification suite nor verifies a generated application. It does not authorize [rendering application files](../cratis-stage-render-slice/SKILL.md) or deployment.
18
+ `cratis run` starts Stage in Docker to execute a Screenplay model. Stage compiles the `.play` sources, checks what its engine can execute, exposes modeled commands, queries and screens, and appends facts to the container's in-memory Chronicle kernel. It neither builds nor proves an application and does not authorize rendering or deployment.
20
19
 
21
- **Choose a semantic specification run when** the accepted cases must be executed as a suite. Use the [Stage specification runner](references/semantic-spec-runner.md).
20
+ The sandbox uses CLI and HTTP, not an application SDK.
21
+
22
+ ## When to use it
23
+
24
+ | Need | Use |
25
+ | --- | --- |
26
+ | See the model behave: click its screens, send one command, read the result | `cratis run` (the default path below) |
27
+ | Execute the model's own specifications as a suite | A specification run in a session, or the standalone runner (see Specifications and journeys) |
28
+ | Compare the model with behaviour recorded from an existing system | Journey replay in a session |
29
+ | Decide whether a model is accepted | `cratis-screenplay-accept-model` |
30
+ | Generate application files | `cratis-stage-render-slice` |
31
+ | Run the model for real users without rendering | [Published mode and export](references/published-mode.md) |
32
+ | Prove a built application | `cratis-platform-deliver-slice` or `cratis-platform-diagnose-slice` |
33
+ | The model declares `authentication` or `onboarding` | Still `cratis run`; read `cratis-onboarding-runtime` first |
34
+
35
+ ## How a session behaves
36
+
37
+ - **Startup.** Image pull, kernel boot, compilation and admission precede registration and world rebuild (`loading`, API 503). Wait for `ready` or `unsupported`, not just an open port.
38
+ - **Semantic engine (default).** Checks authorization, validation, requirements, conditional production and constraints before appending a batch of facts. Model refusal stops the CLI run. See [semantic runtime details](references/semantic-runtime.md) for code bodies, protected reads, date checks and sensitive facts.
39
+ - **Answers.** Commands return Arc's `CommandResult`: failed validation or constraints give 400 (constraint name in `reasonDetail`), denied callers 403, and unsupported operations 501 (`Stage-Unsupported-Capability` and `Stage-Unsupported-Artifact` headers). A model rejection is not an engine gap; neither is a successful interaction.
40
+ - **State.** Semantic read models live in Stage, not in Chronicle projections. Workbench shows the event log, not these views. In-memory facts accumulate uncapped until the container stops; keep sessions short. An unresolved append faults the session (`Unsupported(World)`, status `unsupported`) until restart.
41
+ - **Standalone identity.** On `/api/**`, Stage tries the user menu's `role` persona if authorized, then the first authorized persona. Without a requirement or qualifying persona, it uses the default: the menu's role, else the persona satisfying most module requirements, else the first declared; anonymous without personas. Authorization still applies. `/.cratis/me` sees the default and `/stage/**` gets no persona. Stage strips incoming identity headers; anyone reaching the port can act as the sandbox personas.
42
+ - **AuthProxy identity.** For `authentication`, the CLI sets `Stage:Sandbox:ForwardedIdentity=true`: Stage plays no persona and trusts the unsigned headers AuthProxy forwards for the signed-in user. Only enable this when **every request goes through AuthProxy**, which strips client identity headers and writes its own. Keep the Stage API private; use the proxied address for signed-in authorization tests, not replay.
43
+ - **Exposure.** Standalone ports bind to loopback. The model mount is read-only; it protects source files, not any external service the model calls.
44
+
45
+ ## Default path
46
+
47
+ Have the model folder, a running Docker engine with `docker` on the path, and permission to start a local
48
+ container and exercise the chosen interaction; model acceptance grants none of these. Agree on the expected
49
+ result first. Names here are illustrative: scheduling a delivery should make it appear in the pending list.
50
+
51
+ 1. **Prepare.** Use a folder holding only the intended application. Check its identities, services and
52
+ extensions; if an effect could reach a shared system, stop until a disposable target is configured. Use
53
+ synthetic data.
54
+ 2. **Start.** Run `cratis run ./model` in the foreground. Wait for `Ready` and check the reported model, engine
55
+ and warnings. On a refusal (exit `5`), record the grouped issues and diagnostics; do not switch engines or
56
+ remove a requirement to make it start. When a script or an agent must keep working while the sandbox runs,
57
+ use `cratis run ./model --detach -o json` and read `stageApi`, `workbench` and `container` from the output.
58
+ 3. **Find the operation.** Use the printed API reference or discover routes via `GET /stage/routes`, `GET /.cratis/commands` and `GET /.cratis/queries`.
59
+ 4. **Exercise once.** Send the agreed command (or use the screen, if the run reports an application address),
60
+ check the result envelope, then query and check the exact item you created, not a row count. If it is
61
+ missing, open the Workbench to tell a missing fact from a missing view update, and read
62
+ `GET /stage/read-models/{id}` for the world's state. Do not repeat the command to diagnose the first attempt.
63
+ 5. **Record and stop.** Record the model, engine, input and observed outcome. Stop with Ctrl+C or `cratis stop <container>` and confirm removal. Report what worked **in the sandbox**.
64
+
65
+ ## Capability catalog
66
+
67
+ ### `cratis run [PATH]`
68
+
69
+ - `PATH` - a folder (searched recursively, `.play` in any casing) or one `.play` file; default the current
70
+ folder. A file mounts only itself, so use a folder for attachments and extensions. A path with a colon
71
+ (other than a Windows drive letter) is refused before Docker starts.
72
+ - `--engine semantic|eventmodel` - choose the engine. Use `eventmodel` only for explicit compatibility work; it refuses some modeled rules and cannot prove authorization or constraints. Never switch to bypass a refusal.
73
+ - `--tag <TAG>` - select a specific `cratis/stage` image when the default is not appropriate.
74
+ - `--port <PORT>`, `--workbench-port <PORT>` - host ports for the Stage API (default 9090) and Chronicle
75
+ Workbench (default 35000) when those are taken or several sandboxes run side by side.
76
+ - `--allow-remote` - standalone only: publish the unauthenticated API and Workbench on all IPv4 host interfaces. Use only on a trusted network with approval; does not change AuthProxy stack bindings.
77
+ - `--detach` - wait for readiness, print the addresses and container name, exit and leave the sandbox running.
78
+ Refused (exit `5`) for models with `authentication`, `onboarding` or extensions, and with `--sample-data`.
79
+ - `--timeout <SECONDS>` - bound the wait for readiness; on expiry the container stops and the command exits `3`.
80
+ `--detach` waits 300 seconds unless set (image pull not counted); a foreground run waits indefinitely.
81
+ - `--verbose` - stream the container's output instead of progress, and list every refusal after its grouped
82
+ summary.
83
+ - `--sample-data [PACK]` - seed the model's user-authored sample data into the sandbox (semantic engine only).
84
+ Without `PACK`, the first UI profile's bindings and then its active pack decide; a pack name or id overrides
85
+ both. Only scalar projection properties are seeded; collection properties stay empty. Never reaches rendered
86
+ applications.
87
+ - `--stage-setting <KEY=VALUE>` - set one Stage configuration key, relative to `Stage` with colon-separated
88
+ sections (repeat for more); see Stage settings. Visible in process arguments, so never for secrets.
89
+ - `--package-set <FILE>`, `--packages <FOLDER>` - hand an approved package set to Stage when the UI profile
90
+ uses packages beyond the shipped `core`, `scene.web`, `Cratis.Components`, `PrimeReact` and
91
+ `Cratis.Blueprint.Default`; `--packages` holds one browser-build folder per package (default: the set's
92
+ folder). An unapproved package is refused (`CLI-RENDER-007`) before Docker starts.
93
+ - `-e|--environment <NAME>` - settings and secrets for `authentication`, `onboarding` or extensions. Precedence: option, `CRATIS_ENVIRONMENT`, selected environment, then `development`. See `cratis-environments-and-secrets`.
94
+ - `--auth-port <PORT>` (default 8080), `--lobby-port <PORT>` (default 8081), `--authproxy-tag <TAG>`,
95
+ `--ante-tag <TAG>` - the AuthProxy and onboarding lobby stack started for `authentication` and `onboarding`
96
+ models; the AuthProxy address is then the one to open. See `cratis-onboarding-runtime`.
97
+ - Extensions - every `extension` must be pinned in `screenplay.lock` and its publisher allowed in
98
+ `.cratis/extensions.json`; missing settings or secrets exit `5` naming keys, never values. List them first
99
+ with `cratis config --requires <model>`. See `cratis-screenplay-author-extension`.
100
+ - Model assets - files in `assets/` beside the model sources are served at `/assets/<path>`.
101
+
102
+ ### Output and exit codes
103
+
104
+ - `-o table|plain|json|json-compact` - unset, an AI-agent environment gets `json-compact`, `NO_COLOR` gets
105
+ `plain`, else `table`. Table shows progress and a ready summary; plain prints tab-separated key/value lines;
106
+ `-q|--quiet` prints nothing (rely on the exit code); JSON prints nothing until ready, then one document with `status`, `engine`, `notes`,
107
+ `warnings`, `path`, `eventModel`, `eventStore`, `stageApi`, `apiReference`, `workbench`, and when relevant
108
+ `application`, `services`, `mailFolder` and (detached) `container`.
109
+ - Refusals are grouped as **Fix your model**, **Not supported by this engine yet** and **Ignored by this
110
+ engine**; all block admission. JSON refusals are one stderr document with `error`, `message`, `suggestion`,
111
+ `engine`, the complete `issues`, `notes` and `groups`.
112
+ - Exit `0` - stopped with Ctrl+C after Docker removed the container (a second Ctrl+C abandons the wait), or
113
+ detached and ready.
114
+ - Exit `1` - the `--package-set` file is missing, or an extension cannot be resolved.
115
+ - Exit `2` - Docker is not installed or not on the path, or an extension's source is unreachable.
116
+ - Exit `4` - an extension registry refused the credentials, or the secrets passphrase is wrong.
117
+ - Exit `3` - not ready within `--timeout`, or a container stopped by itself (its last lines are shown).
118
+ - Exit `5` - model refused, invalid path or options, application-shell compiler errors, an unsatisfiable root
119
+ template, missing environment keys, any other extension admission failure, or a disallowed `--detach`.
120
+ Nothing is left running.
121
+
122
+ ### `cratis stop [NAME]`
123
+
124
+ - `NAME` - the `cratis-stage-…` container a detached run reported; optional when exactly one sandbox runs.
125
+ - `--all` - stop every running Stage sandbox.
126
+ - Several sandboxes without a name list them and exit `5`; none (or no such name) running exits `1`; Docker
127
+ unavailable exits `2`; a container still running after 30 seconds exits `3`.
128
+
129
+ ### Stage settings
130
+
131
+ Pass with `--stage-setting` (or as `Stage__…` environment variables on a directly started container).
132
+
133
+ - `Sandbox:Users=true` with `Sandbox:UsersAllowRemote=true` - let the browser pick a modeled `user` to act as
134
+ (both are needed in Docker). Development only; the host refuses to start on an `authentication` model.
135
+ - `Sandbox:Identity=false` - disable server-selected personas; this does not itself enable forwarded identity.
136
+ - `Sandbox:ForwardedIdentity=true` - trust unsigned identity from AuthProxy only on a proxy-only backend; incompatible with modeled users.
137
+ - `Specifications:TimeoutSeconds` - deadline for a specification run in the session (default 120, 1-600).
138
+ - `Journeys:TimeoutSeconds` - deadline for a journey replay (default 120, 1-600).
139
+ - `BodyWorker:Enabled=false` - refuse code bodies (`STAGE-IMPL-003`).
140
+ - `BodyWorker:WorkerPath` - select a provisioned worker, relative to the host binary if not absolute.
141
+ - `BodyWorker:CacheDirectory` - choose a private cache for compiled units.
142
+ - `BodyWorker:CallTimeoutMilliseconds` (50–30000) - limit an evaluation.
143
+ - `BodyWorker:MemoryLimitMegabytes` (32–4096) - limit worker memory.
144
+ - `BodyWorker:CompileTimeoutSeconds` (5–600) - limit compilation.
145
+ - `BodyWorker:ProfileVersion` (`3` or `4`) - target a scaffold profile.
146
+ - `Invocations:AllowVolatileOnce=true` - let `once` abilities run; the in-memory invocation ledger otherwise
147
+ refuses them. `Invocations:Systems:<System>:MaxConcurrent|RequestsPerSecond|MaxAttempts` limit one system.
148
+ - `Development=false` - turn off the sandbox's development surfaces (anonymous user and tenant discovery,
149
+ modeled users).
150
+
151
+ ### Session HTTP surface
152
+
153
+ All on the Stage API address. None of it is a production security boundary; keep the session private.
154
+
155
+ - `GET /scalar/v1` - API reference with a request builder; `GET /openapi/v1.json` describes only the model's
156
+ own operations.
157
+ - `GET /.cratis/commands`, `GET /.cratis/queries` - every command with its payload schema and route; every
158
+ query with its read model and argument schema.
159
+ - `GET /stage/routes` - maps operation names to routes; ambiguous aliases are omitted and listed under `diagnostics`.
160
+ - `GET /stage/status[?wait=<seconds>]` - `state` (`loading`, `ready`, `unsupported`), `engine`, refusing
161
+ `issues` and non-blocking compiler `notes`. `wait` (whole seconds, at most 300) holds the request while
162
+ `loading`.
163
+ - `GET /stage/semantic/admission` - admitted and refused artifacts, state machines, workflows and
164
+ specifications, with the missing capability and, for code bodies, a `location`.
165
+ - `POST /api/<module>/<feature>[/<sub-feature>]/<slice>/<command>` - run a command; append `/validate` for a dry
166
+ run that enforces validation and authorization without committing facts.
167
+ - `GET /api/…/<slice>/<query>` - run a modeled query by its kebab-cased name; pass key parts and filters as query parameters.
168
+ - Conventional `all-<read-models>` and `get-<read-model>-by-id?id=<id>` - semantic one-shot reads from the world snapshot. Stage adds them only if the read model has at least one modeled query and none declare authorization. A modeled name wins on collision; composite keys get no conventional by-id route.
169
+ - EventModel queries - one-shot compatibility reads and filters over at most the first 500 Chronicle instances; not the semantic engine's limit.
170
+ - Live (observable) queries - add `?waitForFirstResult=true` to wait for the first result instead of 202,
171
+ `Accept: text/event-stream` to subscribe; transports at `/.cratis/queries/ws` and `/.cratis/queries/sse`.
172
+ - `X-Correlation-Id`, `X-Tenant-Id` request headers - correlate a call with what it caused; pick the tenant.
173
+ - `GET /.cratis/me` - the caller as the session sees it (401 when anonymous); `GET /.cratis/users`,
174
+ `/.cratis/tenants` - development discovery.
175
+ - `GET|PUT /stage/sandbox/acting-user` - list modeled users and select one (`{ "name": "<user>" }`, `null`
176
+ clears) when modeled users are on; same-origin JSON only.
177
+ - `GET /read-models` (page), `GET /stage/read-models`, `GET /stage/read-models/{id}` - semantic read models,
178
+ their properties, instance counts and current instances; 503 while loading, 404 under `eventmodel`.
179
+ - Chronicle Workbench - `https://localhost:<workbench-port>` (HTTPS only, self-signed certificate, user `admin`,
180
+ password `ChangeMeNow!`) or `/workbench` on the API address: events, event types, observers.
181
+ - `GET /stage/lifecycles` - state-machine instances and states, workflow runs and where they wait.
182
+ `POST /stage/lifecycles/workflows/<workflow>/subjects/<id>/approvals/<approval>` with `{ "approved": true }`
183
+ (optional `actor`) decides a waiting approval (202, or 404 when none waits); the approver's persona is not checked.
184
+ - `GET /stage/invocations[?status=<status>]` - ability invocations (`recorded`, `running`, `retrying`,
185
+ `suspended`, `settled`, `failed`, `stopped`). `POST /stage/invocations/<identity>/reconciliation` with
186
+ `{ "outcome": "returned"|<declared outcome>|"failed" }` (optional `output` JSON text, `actor`) records what the
187
+ system did for a `stopped` `once` invocation and resumes its run. `POST /stage/invocations/<identity>/answer`
188
+ with `{ "outlet": …, "payload": "<json>" }` answers a `suspended` one; the caller must satisfy its answer
189
+ policy (403). Both: 202, 404 unknown, 400 bad outcome/outlet, 409 not waiting.
190
+ - `GET /stage/extensions` (JSON) or `/stage/extensions/view` (HTML) - inspect loaded and refused extension packages.
191
+ - `GET /stage/extensions/activation` (JSON) or `/stage/extensions/activation/view` (HTML) - diagnose backend activation after reaching a screen.
192
+ - `GET /stage/extensions/deliveries[?status=<status>]` - when inbound delivery is enabled, list metadata without bodies or header values. Filter by `pending`, `retrying`, `delivered`, `rejected` or `failed`.
193
+ - `POST /stage/extensions/deliveries/retry` with `{ "id": "…" }` - requeue a failed or rejected delivery (202; 404 unknown, 409 not retryable). Review the effect before retrying.
194
+ - `GET /stage/scene`, `/stage/locales`, `/stage/strings/{locale}`, `/stage/packages` - what the screens are
195
+ drawn from; read them to inspect presentation, not behaviour.
196
+
197
+ ### Specifications and journeys
198
+
199
+ - `POST /stage/semantic/specifications/run` with `{ "scopes": [] }` - run every specification; put semantic
200
+ identities of the application, modules, features, slices or specifications in `scopes` to select. Each runs
201
+ on fresh isolated state, never the live world. Returns a `stage-spec-run/1` report: HTTP 200 means a report,
202
+ not a pass, so read every `results[].outcome` (`Passed`, `Failed`, `Unsupported`, `Cancelled`). An unknown
203
+ scope yields an `Unsupported` record; a malformed one is 400; a refused model is 501; a timeout is 504.
204
+ Changed sources need a restart before they can be tested.
205
+ - Standalone specification runner - a separate container job for a model without a session, for example in
206
+ CI; see [semantic spec runner](references/semantic-spec-runner.md).
207
+ - `POST /stage/semantic/journeys/replay[?journey=<name>]` - replay recorded operations in the **live** semantic sandbox; commands can append facts. Replay makes new loopback requests without the caller's sign-in, not a test as the signed-in user. See [journey authoring and reports](references/journey-replay.md).
208
+
209
+ ### Other ways to host a sandbox
210
+
211
+ - Direct Docker - `docker run --rm -p 127.0.0.1:9090:9090 -p 127.0.0.1:35000:35000 -v "$PWD":/eventmodel:ro
212
+ cratis/stage:latest` if the CLI is unavailable. Set `Stage__Runtime__Engine=eventmodel` only for compatibility.
213
+ - Docker `--warm` (or `STAGE_WARM=true`) - start without a model for a one-shot handoff instead of mounting one. Use a disposable kernel: the handoff resets it.
214
+ - Warm `GET /stage/status` - reports `warm` before handoff and `loading` with `handoffId` after acceptance; after restart wait for that ID and `ready` or `unsupported`.
215
+ - Warm `POST /stage/load` with `{ "handoffId": "<uuid>", "files": [{ "path": "<relative path>", "content": "<text>" }] }` - replace the model directory, reset the kernel and restart Stage once on the handed model (202; 400 for a path outside the directory, 409 if already claimed). Chronicle stays running; this is not hot reload.
216
+ - External Chronicle kernel - mount a connection-string file and set `CRATIS_CHRONICLE_CONNECTION_STRING_FILE`
217
+ (and a fixed `STAGE_EVENT_STORE`) to keep the event log across containers; the container then starts no
218
+ kernel. Only when history must outlive the session.
219
+ - Reviewer feedback - host configuration `Stage:Sandbox:Notes:Enabled=true` plus the Notes backend's `Notes`
220
+ options (at least `Notes:ApplicationName` and `Notes:PublicationId`) adds the feedback button and
221
+ `/stage/model-references`; off by default, and the host refuses to start with incomplete options.
@@ -0,0 +1,47 @@
1
+ # Author and replay a recorded journey
2
+
3
+ Use journey replay to compare a sequence of recorded command and query outcomes with a ready semantic sandbox. It calls the session's own modeled HTTP routes, not the isolated specification executor. Commands can change the live world even when expectations fail or the replay times out. Start a fresh disposable session for a clean comparison. Replay sends fresh loopback requests with no caller identity or cookies and does not follow redirects. In a persona sandbox Stage chooses callers as for other operations; replay does **not** act as an AuthProxy signed-in user. Test signed-in authorization through AuthProxy directly.
4
+
5
+ ## File and request
6
+
7
+ POST the JSON file as `Content-Type: application/json` to `/stage/semantic/journeys/replay`. By default it runs all journeys in file order. Repeat `?journey=<name>` as query parameters to select several exact names; selection does not reorder the file.
8
+
9
+ ```json
10
+ {
11
+ "schema": "stage-journey/v1",
12
+ "journeys": [{
13
+ "name": "Delivery appears in the pending list",
14
+ "steps": [
15
+ { "command": "ScheduleDelivery", "input": { "id": "$new:delivery", "date": "${today+1d}" } },
16
+ { "query": "PendingDeliveries", "expect": { "result": [{ "id": "${delivery}" }] } }
17
+ ]
18
+ }]
19
+ }
20
+ ```
21
+
22
+ - `schema` must be `stage-journey/v1`; `journeys` is a non-empty array (up to 100). Each has a unique `name` and 1–100 `steps` (500 total). Body limit: 1 MiB. Unknown fields are invalid.
23
+ - A step has exactly one `command` or `query` with the modeled operation name (not an HTTP path). Check `GET /stage/routes`; use the qualified command name if ambiguous. Queries resolve by simple name. Use `input` on a command for its JSON body, `arguments` on a query for query-string parameters. Both are objects and can be omitted when empty. Query values must be strings, numbers or booleans; payload nesting is limited to 32 levels.
24
+ - A step may have a `name`. Names are 1–200 characters; optional `note` (up to 1,000 characters) and `evidence` (array of strings) on journeys and steps are echoed in the report, not evaluated. There is no `persona` step field.
25
+
26
+ ## Expectations
27
+
28
+ - `expect.outcome` - `accepted` if omitted; use `rejected` for validation refusal, `unauthorized` for denied access, or `unsupported` for an engine refusal. A transport or unclassifiable answer is an error, not an expected outcome.
29
+ - `expect.messages` - for a non-accepted outcome, each expected string must occur case-insensitively in some actual message.
30
+ - `expect.response` - match the accepted command's response; `expect.result` - match the accepted query's data. Objects are subsets with case-insensitive property names; extra properties are ignored. An expected null matches null or missing. Strings compare ordinally, numbers by decimal value and booleans by value, without cross-type coercion.
31
+ - `expect.absent` - array of values that must not match any accepted query row; `expect.empty: true` - require missing or null data, or an empty array; do not combine `empty: true` with `result`.
32
+ - `expect.list` - array matching: `contains` finds distinct matching elements in any order; `ordered` requires the same relative order with extras allowed; `exact` requires the same length and a match at each position. Even in `exact`, objects inside arrays are subset matches.
33
+
34
+ ## Bindings and UTC tokens
35
+
36
+ - `$new:<name>` as a whole string creates a fresh UUID on first use and reuses it within that journey. Use it for identities rather than reusing recorded identifiers.
37
+ - `bind` maps names to paths captured after the step matches: `$.response` for a command or `$.result` for a query, followed by `.property` and zero-based `[index]` segments, for example `$.result[0].id`. Missing or null capture is a step error.
38
+ - `${name}` substitutes a binding in input, arguments or expectations. As the entire value it preserves the bound JSON type; inside a string it interpolates text. An unknown binding is a step error. Each journey starts with fresh bindings, not fresh world state.
39
+ - `${now}` gives a UTC timestamp with milliseconds and `Z`; `${today}` gives a UTC date (`YYYY-MM-DD`); `${today+Nd}` and `${today-Nd}` offset it by whole days (1–5 digits for `N`).
40
+
41
+ ## Retries and evidence
42
+
43
+ Commands are sent once. Queries retry mismatches about every 100 ms for up to 5 seconds unless `within` sets a different whole-millisecond window (clamped to 0–30,000; 0 reads once). A request error is not retried; each step has a 30-second ceiling. After a failed or errored step the remaining steps of that journey are skipped; other selected journeys still run if the replay has time.
44
+
45
+ A successful HTTP response returns `stage-journey-report/v1` with `isolation: "live"`. Check `passed`, the summary and each step's `status` (`passed`, `failed`, `error`, `skipped`); inspect `mismatches[].reason` for failures or errors and query `attempts` for retries. An expected rejection can pass a replay step; a green replay is evidence about the selected expectations, not about authorization under the signed-in caller or a rendered app.
46
+
47
+ HTTP failures: 400 invalid file or unknown selected journey, 413 oversized input, 415 non-JSON content type, 409 another replay running, 503 session or modeled routes unavailable, 504 whole-run timeout. A failure is not proof that no command ran.
@@ -0,0 +1,103 @@
1
+ # Published mode and package export
2
+
3
+ ## Contents
4
+
5
+ - When to use it
6
+ - Export a package
7
+ - Run the package
8
+ - Sign-in
9
+ - Chronicle and storage
10
+ - What a published host serves
11
+ - Checks
12
+
13
+ ## When to use it
14
+
15
+ The sandbox is disposable: random event store, personas, tooling routes. Published mode is the opposite. It runs one immutable, versioned package of a model for real users, with durable storage and real sign-in, and without rendering an application. Choose `cratis render` (`cratis-stage-render-slice`) instead when the team wants to own application source code.
16
+
17
+ A model can be published only when it passes the semantic admission that Stage applies on load, and at least one command or query requires a signed-in caller.
18
+
19
+ ## Export a package
20
+
21
+ Run the Stage host program's `export` command:
22
+
23
+ ```bash
24
+ dotnet Cratis.Stage.Host.dll export --model ./Greenhouse --version <app-version> --name greenhouse --output ./out/greenhouse
25
+ ```
26
+
27
+ | Argument | Meaning |
28
+ | --- | --- |
29
+ | `--model <path>` | A `.play` file or a folder of them. Required. |
30
+ | `--version <semver>` | The application version of this package. Required. |
31
+ | `--name <publishedName>` | The host label the application is published under. Required. |
32
+ | `--output <dir>` | The package folder. Must be absent or empty. Required. |
33
+ | `--application-name <name>` | The name recorded in the manifest. Defaults to the model folder name, or the file name without extension. |
34
+ | `--publication-id <id>` | The publication the package belongs to. Defaults to a value derived from name, version and model. |
35
+ | `--notes` | The package asks for the in-application feedback (Notes) backend. |
36
+ | `--runtime-version <semver>` | The Stage runtime the package requires. Defaults to the exporting runtime. |
37
+ | `--references <file.json>` | Identifiers the source model gave its elements, as `{ "slice:<Module>.<Feature>.<Slice>": "<id>" }`. Key prefixes are `module`, `feature`, `slice` and `screen`. A key the model does not have is refused. |
38
+
39
+ Exit `0` is success, `1` means the model was refused, and `2` is a usage error.
40
+
41
+ The package holds `manifest.json`, `model/` (the verified model files) and a `Dockerfile` that bakes the package into the Stage image at `/stage/package` with published mode switched on. Build the image from the output folder with `docker build`. Export is reproducible: the same model and arguments give the same bytes.
42
+
43
+ `manifest.json` records the names, version, required runtime, publication id, a digest of `model/`, whether Notes is asked for, the `authentication` requirement derived from the model's policies (`policies`, `roles`, `claims`, and `opaquePolicies` when a policy is a code body), supplied `modelReferences`, and `sinks`: every named sink the model declares with its kind (`readmodels` or `graphs`). Use `authentication` to check that the sign-in provider supplies those roles and claims, and `sinks` to check that the deployment maps every name. Never edit the package: a host refuses one whose model no longer matches the digest.
44
+
45
+ ## Run the package
46
+
47
+ Select published mode with `Stage:Mode=Published` (environment `Stage__Mode=Published`) or `--published`. The host loads the model from the package at startup. Warm mode is not allowed.
48
+
49
+ The host refuses to start unless all of these are set. Every configuration refusal exits with code `78` and names each problem on standard error.
50
+
51
+ | Key | Meaning |
52
+ | --- | --- |
53
+ | `Stage:Published:PackagePath` | The package folder, or a `.tar.gz` or `.tgz` archive of one. Default `/stage/package`. |
54
+ | `Stage:Published:Storage:ConnectionString` or `…ConnectionStringFile` | The database of the bundled Chronicle kernel. Not needed with an external kernel. |
55
+ | `Stage:Published:Authentication:Mode` | `TrustedProxy` or `Oidc`. |
56
+ | `Stage:Published:TrustedProxies` | Required for `TrustedProxy`: the IP addresses or CIDR networks the sign-in proxy connects from. |
57
+ | `AllowedHosts` | The published host names. `*` and empty are refused. |
58
+
59
+ Optional keys:
60
+
61
+ | Key | Meaning |
62
+ | --- | --- |
63
+ | `Stage:Published:Storage:Type` | `MongoDB` (default), `PostgreSql` or `MsSql`. The connection string must be one for that engine. |
64
+ | `Stage:Published:EventStore` | The event store name. Default `app-<publishedName>`, stable across restarts and versions. Override it only to keep the data of an application published under another name. |
65
+ | `Stage:Published:Chronicle:ClientId` and `…ClientSecret` (or `…ClientSecretFile`) | Credentials the host presents to its kernel. Set both or neither. |
66
+ | `CRATIS_CHRONICLE_CONNECTION_STRING_FILE` | Path of a mounted connection string for an external kernel. |
67
+ | `Stage:Published:Notes:Enabled` | Host the Notes backend. Defaults to the manifest's value. Then `Notes:ApplicationName` and `Notes:PublicationId` are required. |
68
+ | `Notes:Transport` | `SameKernel` (default) or `Http`; with `Http` also `Notes:CollectorUrl` and `Notes:CollectorTokenFile` (or `Notes:CollectorToken`). |
69
+ | `Notes:CollectorTenantId` | `Http` only, optional: the tenant the collector knows the publication by. Unset, a note names its own namespace; the collector refuses a note naming another tenant. |
70
+ | `Notes:AccessMode` | `Everyone` (default) or `GrantedUsers`, on either transport. Behaves as in a sandbox, including the fail-closed polling over `Http`: see "Limit who may give feedback" in [semantic-runtime.md](semantic-runtime.md). |
71
+
72
+ The package must also be intact, require this runtime and declare an authentication requirement.
73
+
74
+ ## Sign-in
75
+
76
+ Sandbox personas are off in both modes.
77
+
78
+ - **`TrustedProxy`**: a sign-in proxy in front of Stage signs users in and forwards the principal in `x-ms-client-principal`, `x-ms-client-principal-id`, `x-ms-client-principal-name` and `x-ms-client-principal-idp`. These headers are not signed, so:
79
+ - list only the sign-in proxy's own addresses in `Stage:Published:TrustedProxies`, never ingress controllers, load balancers or pod ranges;
80
+ - make the proxy remove every `x-ms-client-principal*` header a client sends before writing its own.
81
+
82
+ Stage strips the principal headers from any request that does not come from a trusted address. Forwarded host, protocol and prefix headers are trusted from the same addresses only.
83
+ - **`Oidc`**: Stage signs users in with Microsoft Entra ID. Set `Cratis:Authentication:PublicOrigin` (HTTPS; HTTP only on loopback; no path, query or credentials) and `Cratis:Authentication:EntraId:TenantId`, `ClientId` and `ClientCredentials`, from deployment secrets. Navigation is challenged; fetches receive `401`. A request with an `Authorization` header uses bearer authentication and never falls back to the session cookie. Static files and `/stage/status` also need sign-in. Trusted proxies are optional; still restrict direct access to Stage.
84
+
85
+ ## Chronicle and storage
86
+
87
+ - **Bundled kernel (default)**: runs in the container against the configured database with authentication on and its API and Workbench off. Data survives a restart. Expose only port `9090`; keep the kernel port `35000` inside the pod with no Service or host port.
88
+ - **External kernel**: mount its connection string as a file and point `CRATIS_CHRONICLE_CONNECTION_STRING_FILE` at it. No kernel is started and `Stage:Published:Storage:*` is not required. A variable that names a missing, unreadable or empty file exits `78`; there is no fallback to the bundled kernel. Still set `Stage:Published:Storage:Type` to the external kernel's engine when Notes is enabled and the kernel stores in PostgreSQL or SQL Server.
89
+ - A connection with `auth=none` is refused. Outside loopback, `Stage:Published:Chronicle:ClientId` and `ClientSecret` must both be set.
90
+ - Each application's data is isolated by its event store name on a shared storage server, which is why every published name must be different.
91
+
92
+ ## What a published host serves
93
+
94
+ The frontend, the model's `/api` operations, `/.cratis/*`, `/stage/status`, `/stage/scene`, `/stage/routes`, `/stage/locales`, `/stage/strings/{locale}` and `/stage/model-references` (application name, published name, version, publication id and the manifest's model references).
95
+
96
+ Everything else a sandbox offers answers `404`: API documentation, the Workbench proxy, the read-model browser, `/stage/load`, admission, specification runs and package endpoints. Prove behaviour in a sandbox before exporting.
97
+
98
+ ## Checks
99
+
100
+ - Export exits `0` and the manifest's `authentication` and `sinks` match what the deployment provides.
101
+ - The host starts without exit `78`.
102
+ - An unauthenticated request to a protected operation is refused, and a request with principal headers sent directly to Stage (not through the proxy) is treated as unauthenticated.
103
+ - Data is still there after a restart.