@cratis/pi 7.14.2 → 7.14.3

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 (186) hide show
  1. package/package/corpus/skills/cratis-application-slice-conformance/SKILL.md +11 -2
  2. package/package/corpus/skills/cratis-application-slice-conformance/references/build-prompts.md +8 -0
  3. package/package/corpus/skills/cratis-application-slice-conformance/references/checklists.md +10 -6
  4. package/package/corpus/skills/cratis-application-slice-specifications/SKILL.md +1 -1
  5. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/SKILL.md +11 -7
  6. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authentication.md +12 -2
  7. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authorization.md +16 -1
  8. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/frontend.md +7 -0
  9. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/observable-emission-guards.md +9 -0
  10. package/package/corpus/skills/cratis-arc-command/SKILL.md +20 -15
  11. package/package/corpus/skills/cratis-arc-command/references/command-result.md +7 -0
  12. package/package/corpus/skills/cratis-arc-command/references/handler-shapes.md +10 -3
  13. package/package/corpus/skills/cratis-arc-command-execution/SKILL.md +1 -1
  14. package/package/corpus/skills/cratis-arc-command-operation/SKILL.md +5 -1
  15. package/package/corpus/skills/cratis-arc-command-operation/references/execution-and-recovery.md +12 -0
  16. package/package/corpus/skills/cratis-arc-command-operation/references/testing.md +10 -3
  17. package/package/corpus/skills/cratis-arc-command-typescript/SKILL.md +20 -116
  18. package/package/corpus/skills/cratis-arc-command-typescript/references/chronicle-events.md +11 -8
  19. package/package/corpus/skills/cratis-arc-command-typescript/references/command-specifications.md +63 -0
  20. package/package/corpus/skills/cratis-arc-command-typescript/references/hosting-and-storage.md +10 -0
  21. package/package/corpus/skills/cratis-arc-command-typescript/references/proxy-generation.md +38 -0
  22. package/package/corpus/skills/cratis-arc-command-typescript/references/slice-layout.md +19 -0
  23. package/package/corpus/skills/cratis-arc-command-typescript/verification.json +1 -1
  24. package/package/corpus/skills/cratis-arc-command-validation/SKILL.md +1 -1
  25. package/package/corpus/skills/cratis-arc-query-paging/SKILL.md +11 -10
  26. package/package/corpus/skills/cratis-arc-react-page/SKILL.md +30 -19
  27. package/package/corpus/skills/cratis-arc-react-page/references/data-page.md +11 -0
  28. package/package/corpus/skills/cratis-arc-react-page/references/data-tables.md +10 -0
  29. package/package/corpus/skills/cratis-arc-react-page/references/dialogs.md +12 -10
  30. package/package/corpus/skills/cratis-arc-react-page/references/from-screenplay.md +10 -0
  31. package/package/corpus/skills/cratis-arc-react-page/references/mvvm.md +11 -0
  32. package/package/corpus/skills/cratis-arc-react-page/references/queries-and-commands.md +7 -0
  33. package/package/corpus/skills/cratis-chronicle-client-dotnet/SKILL.md +58 -122
  34. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/compatibility-check.md +26 -0
  35. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/discovery.md +22 -0
  36. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/hosting.md +31 -0
  37. package/package/corpus/skills/cratis-chronicle-client-elixir/SKILL.md +52 -131
  38. package/package/corpus/skills/cratis-chronicle-client-elixir/references/append-api.md +19 -0
  39. package/package/corpus/skills/cratis-chronicle-client-elixir/references/variants.md +73 -0
  40. package/package/corpus/skills/cratis-chronicle-client-kotlin/SKILL.md +29 -232
  41. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/connection-lifecycle.md +20 -0
  42. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/discovery-and-registration.md +44 -0
  43. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/java-api.md +33 -0
  44. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/spring-boot.md +54 -0
  45. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/variants.md +77 -0
  46. package/package/corpus/skills/cratis-chronicle-client-typescript/SKILL.md +26 -102
  47. package/package/corpus/skills/cratis-chronicle-client-typescript/references/read-models-and-projections.md +23 -0
  48. package/package/corpus/skills/cratis-chronicle-client-typescript/references/variants.md +63 -0
  49. package/package/corpus/skills/cratis-chronicle-event-type-migration/SKILL.md +13 -13
  50. package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +1 -1
  51. package/package/corpus/skills/cratis-chronicle-projection/SKILL.md +13 -4
  52. package/package/corpus/skills/cratis-chronicle-projection/references/fluent-builder.md +10 -0
  53. package/package/corpus/skills/cratis-chronicle-projection/references/model-bound-attributes.md +14 -6
  54. package/package/corpus/skills/cratis-chronicle-projection/references/variants.md +9 -0
  55. package/package/corpus/skills/cratis-chronicle-reactor/SKILL.md +7 -49
  56. package/package/corpus/skills/cratis-chronicle-reactor/references/domain-failures.md +19 -0
  57. package/package/corpus/skills/cratis-chronicle-reactor/references/specifications.md +33 -0
  58. package/package/corpus/skills/cratis-chronicle-read-model/SKILL.md +2 -2
  59. package/package/corpus/skills/cratis-chronicle-read-model/references/queries.md +11 -0
  60. package/package/corpus/skills/cratis-chronicle-read-model-specifications/SKILL.md +1 -0
  61. package/package/corpus/skills/cratis-chronicle-reducer/SKILL.md +1 -1
  62. package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +24 -24
  63. package/package/corpus/skills/cratis-content-length/SKILL.md +1 -1
  64. package/package/corpus/skills/cratis-content-length/references/length-evidence.md +12 -0
  65. package/package/corpus/skills/cratis-developer-marketing/SKILL.md +19 -19
  66. package/package/corpus/skills/cratis-developer-marketing/references/measurement.md +10 -0
  67. package/package/corpus/skills/cratis-developer-marketing/references/playbook-evidence.md +10 -0
  68. package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +5 -0
  69. package/package/corpus/skills/cratis-engineering-csharp-conventions/references/code-style.md +15 -0
  70. package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +9 -4
  71. package/package/corpus/skills/cratis-engineering-decision-record/SKILL.md +1 -2
  72. package/package/corpus/skills/cratis-engineering-decision-record/references/record-format.md +8 -0
  73. package/package/corpus/skills/cratis-engineering-docs-authoring/SKILL.md +1 -2
  74. package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +10 -0
  75. package/package/corpus/skills/cratis-fundamentals-concept/SKILL.md +1 -1
  76. package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +1 -1
  77. package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +18 -18
  78. package/package/corpus/skills/cratis-performance-review/SKILL.md +1 -1
  79. package/package/corpus/skills/cratis-release-notes/SKILL.md +1 -0
  80. package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +29 -4
  81. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +16 -4
  82. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/effects-and-idempotency.md +4 -15
  83. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +6 -2
  84. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translation-patterns.md +1 -6
  85. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +45 -245
  86. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/capture-map-and-example.md +42 -0
  87. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +155 -0
  88. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/specifying-triggers-and-clock.md +27 -0
  89. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/trigger-reads-example.md +21 -0
  90. package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +69 -227
  91. package/package/corpus/skills/cratis-screenplay-command-surface/references/context.md +10 -0
  92. package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +51 -0
  93. package/package/corpus/skills/cratis-screenplay-command-surface/references/inline-events.md +62 -0
  94. package/package/corpus/skills/cratis-screenplay-command-surface/references/policy-persona-seed.md +46 -0
  95. package/package/corpus/skills/cratis-screenplay-command-surface/references/validate-rules.md +36 -0
  96. package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +11 -11
  97. package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +10 -3
  98. package/package/corpus/skills/cratis-screenplay-discovery/references/facilitation.md +1 -6
  99. package/package/corpus/skills/cratis-screenplay-discovery/references/human-workshop.md +13 -0
  100. package/package/corpus/skills/cratis-screenplay-discovery/references/personas-and-causes.md +8 -0
  101. package/package/corpus/skills/cratis-screenplay-discovery/references/plotting-and-handoff.md +11 -0
  102. package/package/corpus/skills/cratis-screenplay-discovery/references/storming-loop.md +7 -0
  103. package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +75 -198
  104. package/package/corpus/skills/cratis-screenplay-event-modeling/references/file-layout.md +89 -0
  105. package/package/corpus/skills/cratis-screenplay-event-modeling/references/naming-primitives.md +26 -0
  106. package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +14 -1
  107. package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +8 -0
  108. package/package/corpus/skills/cratis-screenplay-event-modeling/references/provenance.md +10 -0
  109. package/package/corpus/skills/cratis-screenplay-event-modeling/references/slice-type-rules.md +12 -0
  110. package/package/corpus/skills/cratis-screenplay-event-modeling/verification.json +12 -6
  111. package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +5 -6
  112. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/candidate-inventory.md +11 -0
  113. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/prologue-safety.md +8 -0
  114. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/side-car-migration.md +11 -0
  115. package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/ui-observation.md +1 -1
  116. package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +33 -10
  117. package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +8 -0
  118. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +13 -17
  119. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +11 -0
  120. package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +9 -9
  121. package/package/corpus/skills/cratis-screenplay-model-review/references/business-questions.md +9 -0
  122. package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +15 -0
  123. package/package/corpus/skills/cratis-screenplay-model-review/references/report-template.md +9 -0
  124. package/package/corpus/skills/cratis-screenplay-model-review/references/worked-example.md +9 -0
  125. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +17 -8
  126. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/handoff-template.md +8 -0
  127. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/identity-and-edits.md +1 -6
  128. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/phases.md +19 -0
  129. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/safety.md +1 -1
  130. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/verdicts-and-modes.md +11 -1
  131. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +2 -2
  132. package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +3 -4
  133. package/package/corpus/skills/cratis-screenplay-projections/references/pdl-grammar.md +8 -0
  134. package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +2 -2
  135. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +3 -3
  136. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md +1 -1
  137. package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/worked-example.md +8 -0
  138. package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +10 -10
  139. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/coverage-matrix.md +8 -0
  140. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-example.md +4 -0
  141. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +17 -0
  142. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-examples.md +10 -0
  143. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-workshop.md +11 -0
  144. package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/view-and-story-specs.md +12 -0
  145. package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +2 -2
  146. package/package/corpus/skills/cratis-screenplay-slice-design/references/command-inventory.md +7 -0
  147. package/package/corpus/skills/cratis-screenplay-slice-design/references/field-lineage.md +8 -0
  148. package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +16 -0
  149. package/package/corpus/skills/cratis-screenplay-slice-design/references/slicing.md +10 -0
  150. package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +52 -360
  151. package/package/corpus/skills/cratis-screenplay-specifications/references/actions-beyond-commands.md +34 -0
  152. package/package/corpus/skills/cratis-screenplay-specifications/references/concept-rules.md +77 -0
  153. package/package/corpus/skills/cratis-screenplay-specifications/references/generated-fixtures.md +39 -0
  154. package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +72 -0
  155. package/package/corpus/skills/cratis-screenplay-specifications/references/worked-example.md +110 -0
  156. package/package/corpus/skills/cratis-screenplay-specifications/verification.json +6 -6
  157. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +21 -1
  158. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +13 -0
  159. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +1 -1
  160. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +16 -20
  161. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +16 -0
  162. package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +13 -7
  163. package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +10 -0
  164. package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +10 -0
  165. package/package/corpus/skills/cratis-screenplay-toolchain/references/generated-responses-example.md +1 -1
  166. package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +1 -1
  167. package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +10 -0
  168. package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +12 -0
  169. package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +11 -13
  170. package/package/corpus/skills/cratis-screenplay-ui-composition/references/flow-review.md +1 -1
  171. package/package/corpus/skills/cratis-social-feed-post/SKILL.md +10 -10
  172. package/package/corpus/skills/cratis-social-feed-post/references/engagement-evidence.md +12 -0
  173. package/package/corpus/skills/cratis-specifications-csharp/SKILL.md +13 -2
  174. package/package/corpus/skills/cratis-specifications-csharp/references/application-scenarios.md +10 -10
  175. package/package/corpus/skills/cratis-specifications-csharp/references/csharp-patterns.md +10 -0
  176. package/package/corpus/skills/cratis-specifications-csharp/references/integration-specs.md +9 -0
  177. package/package/corpus/skills/cratis-specifications-typescript/SKILL.md +1 -2
  178. package/package/corpus/skills/cratis-specifications-typescript/references/typescript-patterns.md +11 -1
  179. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +30 -21
  180. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +9 -0
  181. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/render-example.md +5 -0
  182. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +2 -4
  183. package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +2 -2
  184. package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +39 -39
  185. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/ai-tells.md +10 -0
  186. package/package.json +1 -1
@@ -20,6 +20,14 @@ Other skills own the neighboring questions. Use them instead of improvising here
20
20
  - The code on a code card: **cratis-technical-examples**. A card links to the complete,
21
21
  versioned source and never stands in for it.
22
22
 
23
+ ## Stop conditions
24
+
25
+ Nothing is ever published, scheduled or replied to by an agent. Drafting a post doesn't
26
+ authorize publishing, scheduling, tagging, mentioning, uploading or replying.
27
+
28
+ Stop and ask when the account owner, the author's perspective, the evidence behind a claim,
29
+ an asset's permission or its branding is unresolved.
30
+
23
31
  ## What the platform actually says
24
32
 
25
33
  LinkedIn described its current feed in March 2026. An LLM-based retrieval system feeds a
@@ -38,8 +46,8 @@ LinkedIn describing its own system, not an outside measurement, and it points th
38
46
  as everything else here: the post needs an author with something to say.
39
47
 
40
48
  The reviewed sources disclose no first-hour windows, hashtag counts, link penalties or save
41
- weights. The folklore table in
42
- [the engagement evidence](references/engagement-evidence.md) lists the common claims and what
49
+ weights. Read
50
+ [the engagement evidence](references/engagement-evidence.md) when checking ranking or engagement claims, media evidence, preview approximations, or platform limits; its folklore table lists the common claims and what
43
51
  the sources do and don't support.
44
52
 
45
53
  ## The preview decides what the post is judged on
@@ -219,11 +227,3 @@ channel's current rules before posting.
219
227
  - Every technical claim is one the underlying source supports, and any limitation the post
220
228
  depends on is stated rather than implied.
221
229
  - The named author has reviewed the perspective the post speaks in.
222
-
223
- ## Stop conditions
224
-
225
- Nothing is ever published, scheduled or replied to by an agent. Drafting a post doesn't
226
- authorize publishing, scheduling, tagging, mentioning, uploading or replying.
227
-
228
- Stop and ask when the account owner, the author's perspective, the evidence behind a claim,
229
- an asset's permission or its branding is unresolved.
@@ -1,5 +1,17 @@
1
1
  # Engagement evidence for feed posts
2
2
 
3
+ ## Contents
4
+
5
+ - LinkedIn: what the platform says
6
+ - LinkedIn: format engagement
7
+ - LinkedIn: replies and frequency
8
+ - Length and the preview
9
+ - Platform limits
10
+ - Hacker News
11
+ - Not verified, removed from guidance
12
+ - Accessibility references
13
+ - Folklore
14
+
3
15
  This is the public evidence behind the feed post skill, as of 2026-09-25. Each row states the
4
16
  claim the way the source supports it, which is often narrower than the way it gets repeated.
5
17
  Platforms change their ranking and formats often, so recheck the sources before relying on a
@@ -68,6 +68,18 @@ one. Out-of-process integration specifications are an advanced case reserved for
68
68
  boundaries the scenario helpers cannot reach — see
69
69
  [integration-specs.md](references/integration-specs.md).
70
70
 
71
+ > **Validator state can be order-sensitive.** The command-scenario pipeline can
72
+ > cache enough state that injected-validator branches depend on execution order
73
+ > when xUnit runs classes in parallel. Use `CommandScenario` for the valid path,
74
+ > test rejected state variants by instantiating the validator directly, and only
75
+ > for that case put the command's specifications in a small xUnit `[Collection]`.
76
+
77
+ ⚠️ `EventScenario` wires a strategy that always answers `ConcurrencyScope.None`,
78
+ which the validator skips, so an append that lets the strategy choose the scope
79
+ never produces a concurrency violation. `ShouldHaveConcurrencyViolations()`
80
+ cannot pass for such an append and its negation passes vacuously — specify concurrency against the
81
+ real kernel with an out-of-process integration specification instead.
82
+
71
83
  Specification projects are named `<Source>.Specs` and run on xUnit.
72
84
 
73
85
  ## Step 2 — Create the folder structure
@@ -172,8 +184,7 @@ public class a_<system_under_test> : all_dependencies
172
184
  ```
173
185
 
174
186
  Name a context `a_` or `an_` so it reads as "given an observer, when handling".
175
- Full substitution, assertion, and exception-catching patterns are in
176
- [csharp-patterns.md](references/csharp-patterns.md).
187
+ Read [csharp-patterns.md](references/csharp-patterns.md) when implementing substitutions, assertions, or exception capture; it contains the full patterns.
177
188
 
178
189
  ## Step 5 — Never wait on the clock
179
190
 
@@ -1,5 +1,13 @@
1
1
  # In-process scenario specifications
2
2
 
3
+ ## Contents
4
+
5
+ - `CommandScenario<TCommand>`
6
+ - `EventScenario`
7
+ - `ReadModelScenario<TReadModel>`
8
+ - `ReactorScenario<TReactor>`
9
+ - Application conventions
10
+
3
11
  The four scenario helpers exercise the real Arc and Chronicle pipelines
4
12
  in-process. Use them for event-sourced *application* behavior where the pipeline,
5
13
  validation, constraints or projections matter; a pure decision (`Handle()`,
@@ -96,11 +104,7 @@ Do not assert on message strings by default — they are presentation text.
96
104
  Assert exact text only when that wording is the specified behavior, and name
97
105
  that behavior in the fact.
98
106
 
99
- > **Validator state can be order-sensitive.** The command-scenario pipeline can
100
- > cache enough state that injected-validator branches depend on execution order
101
- > when xUnit runs classes in parallel. Use `CommandScenario` for the valid path,
102
- > test rejected state variants by instantiating the validator directly, and only
103
- > for that case put the command's specifications in a small xUnit `[Collection]`.
107
+ See "Step 1" in SKILL.md for the order-sensitive validator caveat.
104
108
 
105
109
  ## `EventScenario`
106
110
 
@@ -130,11 +134,7 @@ and `ShouldNotHaveConstraintViolations()`,
130
134
  its negation. Assert the constraint **name** by default. Assert exact message
131
135
  text only when that wording is the specified behavior, and name it in the fact.
132
136
 
133
- ⚠️ `EventScenario` wires a strategy that always answers `ConcurrencyScope.None`,
134
- which the validator skips, so an append that lets the strategy choose the scope
135
- never produces a concurrency violation. `ShouldHaveConcurrencyViolations()`
136
- cannot pass for such an append and its negation passes vacuously — specify concurrency against the
137
- real kernel with an out-of-process integration specification instead.
137
+ See "Step 1" in SKILL.md for the vacuous concurrency assertions caveat.
138
138
 
139
139
  ## `ReadModelScenario<TReadModel>`
140
140
 
@@ -1,5 +1,15 @@
1
1
  # C# specification patterns
2
2
 
3
+ ## Contents
4
+
5
+ - Phases
6
+ - Layered contexts
7
+ - Substitution patterns
8
+ - Assertion extension methods
9
+ - Catching exceptions
10
+ - Usings
11
+ - One outcome per file
12
+
3
13
  Detail for the plain `Cratis.Specifications` surface: phases, substitution,
4
14
  assertions, and exception capture. Verified against `Cratis.Specifications`
5
15
  `4.1.1` and NSubstitute as consumed by that package.
@@ -1,5 +1,14 @@
1
1
  # Out-of-process Chronicle integration specifications
2
2
 
3
+ ## Contents
4
+
5
+ - Structure
6
+ - Seeding preconditions
7
+ - Command execution overloads
8
+ - Assertion helpers
9
+ - Asynchronous follow-ups
10
+ - Rules
11
+
3
12
  Reserve these for the host, transport, serialization, or real-infrastructure
4
13
  boundary the in-process scenario helpers cannot reach. They exercise a complete
5
14
  behavior — HTTP request through command handling, append, constraint checking,
@@ -154,8 +154,7 @@ value.should.be.instanceOf(<Type>);
154
154
  (() => <throwingCall>()).should.throw(<ErrorType>);
155
155
  ```
156
156
 
157
- Full Sinon and Chai detail is in
158
- [typescript-patterns.md](references/typescript-patterns.md).
157
+ Read [typescript-patterns.md](references/typescript-patterns.md) when choosing detailed assertions, configuring or restoring Sinon stubs, or arranging asynchronous specifications.
159
158
 
160
159
  ## Step 6 — Apply the naming conventions
161
160
 
@@ -1,5 +1,15 @@
1
1
  # TypeScript specification patterns
2
2
 
3
+ ## Contents
4
+
5
+ - Frameworks
6
+ - Chai assertions
7
+ - Sinon stubbing
8
+ - The `given()` helper
9
+ - Reusable context class
10
+ - Asynchronous specifications
11
+ - One behavior per file
12
+
3
13
  Detail for the `given()` surface: assertions, stubbing, asynchronous
4
14
  specifications, and folder layout.
5
15
 
@@ -174,7 +184,7 @@ describe('when <behavior>', given(a_<system_under_test>, context => {
174
184
  Await the promise in `beforeEach` rather than inside each `it()`, so the action
175
185
  under specification runs exactly once.
176
186
 
177
- ## One outcome per file
187
+ ## One behavior per file
178
188
 
179
189
  ```
180
190
  when_<behavior>/
@@ -16,6 +16,12 @@ exactly produces **no artifacts at all**, never thinner ones. Read the admission
16
16
  before promising that a model can be rendered, and render it to find out: the source
17
17
  reading in this skill is not a render result.
18
18
 
19
+ ## Specification runner exit codes
20
+
21
+ `cratis/stage-specrunner` exit `0` means the run completed and the results file was written **even when a specification
22
+ failed**: read the outcomes. `1` is a missing or uncompilable input, `2` a missing required
23
+ argument or an invalid semantic option.
24
+
19
25
  ## Verified product sources
20
26
 
21
27
  | Source | Pin | Notes |
@@ -28,7 +34,7 @@ Everything below was read at those tags (`Source/Rendering.Cratis/**`, `README.m
28
34
  `Documentation/**` in Stage; `Source/Cli/Commands/Render/**` and
29
35
  `Documentation/reference/screenplay.md` in the CLI), and the vertical in
30
36
  [references/render-example.md](references/render-example.md) was rendered, built and
31
- tested with cratis 3.28.2 (re-run on 3.28.3). The full version table (Screenplay 4.66.0, Arc 22.50.5,
37
+ tested with cratis 3.28.2 (re-run on 3.28.3). Read `references/render-example.md` when you need a complete renderable model and the observed render, build, and test results. The full version table (Screenplay 4.66.0, Arc 22.50.5,
32
38
  Chronicle 19.32.0 and the tool split) is in the `cratis-screenplay-toolchain` skill,
33
39
  `references/versions.md`. Rendered apps are on Arc 22.25.0, so `[ProtectedDecision]`
34
40
  (Arc 22.39.0 and later) is not available in code written into one.
@@ -45,6 +51,26 @@ The `.play` model is the source of truth; Stage-managed output is derived from i
45
51
  authorization, validation or `@pii` to get past a refusal.
46
52
  - Never claim a whole-application result from a subset of the model.
47
53
 
54
+ ## Publication and recovery
55
+
56
+ Ownership is the destination's **`.cratis-render.json`** manifest (semantic revision,
57
+ identity, path and SHA-256 per artifact); there are no in-file markers. Interrupted
58
+ commits are journaled in the **`.cratis-render/`** control directory (journal, staging,
59
+ backups). Never stage `.cratis-render/` in git; commit the manifest with the output.
60
+
61
+ - An unmanaged file at a planned path is refused, even with `--force`.
62
+ - A user-modified managed file is refused unless it is still active **and** `--force` is
63
+ given; `--force` replaces it. It never overwrites unmanaged files and never deletes a
64
+ modified stale file. A stale managed file is removed only if its bytes still match.
65
+ - Recovery runs before planning, even when planning then fails. **`recovered: true` in the
66
+ result means stop and reconcile**: the receipt does not describe what recovery changed.
67
+ - An unchanged re-render writes nothing (`unchanged` equals the artifact count).
68
+ - Use exclusive access to the destination; a receipt is a filesystem result, not a Git
69
+ commit, and the command creates no branch, commit or PR.
70
+ - Drift: compare successive manifests' `semanticRevision` for renders with the same
71
+ `--name` and inputs. Do not compare the MCP `modelRevision` with the manifest: their
72
+ application identities can differ.
73
+
48
74
  ## Rendering with `cratis render`
49
75
 
50
76
  ```bash
@@ -117,6 +143,7 @@ or protection to get a render; keep the model, record the capability gap and gap
117
143
  The code table, the projection and specification rules and three refusals reproduced while
118
144
  building the example are in [references/admission.md](references/admission.md); the exhaustive ledger
119
145
  is `references/renderable-subset.md` in `cratis-screenplay-toolchain`.
146
+ Read `cratis-screenplay-toolchain/references/renderable-subset.md` when you need the exhaustive surface ledger beyond the admission summary.
120
147
 
121
148
  Descriptions and documentation are never rendered, so a rule that exists only in prose
122
149
  is not enforced in the generated code.
@@ -132,32 +159,13 @@ the `[Command]` record and `Handle()`, the `[EventType]` event, the validator an
132
159
  (`.frontend/`, `package.json`, `tsconfig.json`, `.gitignore`). Per-file detail, the
133
160
  scaffold pins and the `Customizations/` contract are in
134
161
  [references/rendered-application.md](references/rendered-application.md).
162
+ Read `references/rendered-application.md` when inspecting scaffold pins, managed-file ownership, or implementing a `Customizations/` extension.
135
163
 
136
164
  Modeled specifications become xunit classes compiled in **Debug only**
137
165
  (`IsTestProject` when Debug): a command spec `when_<snake>` in namespace
138
166
  `<slice namespace>.when_<snake>` (so `when_x.when_x`), queries `when_<snake>_is_queried`,
139
167
  read models `when_<snake>_is_projected`.
140
168
 
141
- ## Publication and recovery
142
-
143
- Ownership is the destination's **`.cratis-render.json`** manifest (semantic revision,
144
- identity, path and SHA-256 per artifact); there are no in-file markers. Interrupted
145
- commits are journaled in the **`.cratis-render/`** control directory (journal, staging,
146
- backups). Never stage `.cratis-render/` in git; commit the manifest with the output.
147
-
148
- - An unmanaged file at a planned path is refused, even with `--force`.
149
- - A user-modified managed file is refused unless it is still active **and** `--force` is
150
- given; `--force` replaces it. It never overwrites unmanaged files and never deletes a
151
- modified stale file. A stale managed file is removed only if its bytes still match.
152
- - Recovery runs before planning, even when planning then fails. **`recovered: true` in the
153
- result means stop and reconcile**: the receipt does not describe what recovery changed.
154
- - An unchanged re-render writes nothing (`unchanged` equals the artifact count).
155
- - Use exclusive access to the destination; a receipt is a filesystem result, not a Git
156
- commit, and the command creates no branch, commit or PR.
157
- - Drift: compare successive manifests' `semanticRevision` for renders with the same
158
- `--name` and inputs. Do not compare the MCP `modelRevision` with the manifest: their
159
- application identities can differ.
160
-
161
169
  ## Sandbox and specification runner
162
170
 
163
171
  `cratis run [PATH]` (Docker required) starts `cratis/stage` on the folder or file: Stage
@@ -173,6 +181,7 @@ default `structural` engine is deprecated and model-level only; `--engine semant
173
181
  executes admitted specs through Arc's in-memory pipeline and reports `Passed`, `Failed`,
174
182
  `Unsupported` or `Cancelled`. A green result is Stage semantic-engine evidence: not V4 and not a rendered Debug test run. Commands,
175
183
  the semantic report schema and limits: [references/sandbox-and-specrunner.md](references/sandbox-and-specrunner.md).
184
+ Read `references/sandbox-and-specrunner.md` before launching either container or interpreting specification-runner outcomes.
176
185
 
177
186
  ## Verify
178
187
 
@@ -1,5 +1,14 @@
1
1
  # Stage 4.24 admission: codes, specification rules and observed refusals
2
2
 
3
+ ## Contents
4
+
5
+ - Diagnostic codes
6
+ - Projections
7
+ - Pure reducer bodies
8
+ - Specification rules (`STAGE-ESM-011`)
9
+ - Observed refusals
10
+ - Source disagreements (trust the code)
11
+
3
12
  Read at Stage `v4.24.0`, re-read at `v4.24.1` and `v4.24.2` (`SemanticCratisAdmission.EventRevisions.cs`, `SemanticEventLineageAdmission.cs`, ESM v4 section of `Documentation/guides/build-renderer-target.md`) (`Source/Rendering.Cratis/Semantics/SemanticSurfaceLedger.cs`, `Documentation/guides/build-renderer-target.md`; 4.24.1 changed only the ledger, dependency pins and the Dockerfile) (`Source/Rendering.Cratis/CratisArtifactRenderPlanner.cs`,
4
13
  `Semantics/SemanticCratisAdmission*.cs`, `SemanticSpecificationAdmission*.cs`,
5
14
  `PureTransitionAdmission.cs`, `SemanticImplementationAdmission.cs`) and cli `v3.28.2`
@@ -1,5 +1,10 @@
1
1
  # Example: a model inside the Stage 4.24 renderable subset
2
2
 
3
+ ## Contents
4
+
5
+ - What was run
6
+ - What came out
7
+
3
8
  A complete marina-berth model that `cratis render` 3.28.2 and 3.28.3 accept, followed by what the
4
9
  render produced and how each claim was checked. Use it as a shape to stay inside when a
5
10
  model must be renderable; it is not a template for richer slices (see `admission.md`).
@@ -61,11 +61,9 @@ docker run --rm -v /path/to/model:/model:ro -v /path/to/results:/output \
61
61
  | `--engine semantic` | `structural` | Opt in to executable specifications |
62
62
  | `--specification`, `--scope`, `--catalog`, `--application` | | Semantic engine only |
63
63
 
64
- Exit `0` means the run completed and the file was written **even when a specification
65
- failed**: read the outcomes. `1` is a missing or uncompilable input, `2` a missing required
66
- argument or an invalid semantic option.
64
+ See "Specification runner exit codes" in SKILL.md.
67
65
 
68
- - **Structural** (default, deprecated, to be removed in the next major): verifies that the
66
+ - **Structural** (default and deprecated at Stage v4.24.2, with removal planned for the following major release): verifies that the
69
67
  events and commands a specification names resolve to its slice and that modeled rules
70
68
  agree. Outcomes `Passed`, `Failed`, `Inconclusive` (not verifiable for that slice type
71
69
  yet; not a failure). It does not execute any slice.
@@ -18,8 +18,8 @@ does not mean the upstream product has no capabilities.
18
18
 
19
19
  Read the generated classifications before answering:
20
20
 
21
- - [Observational guidance](references/observational-tools.md) is currently
22
- empty.
21
+ - [Observational guidance](references/observational-tools.md) contains no
22
+ admitted observational operations.
23
23
  - [Blocked guidance](references/blocked-tools.md) records the deny-all boundary.
24
24
 
25
25
  Do not infer an operation from private implementation knowledge, a remembered
@@ -19,7 +19,7 @@ It revises existing material. For drafting, use the skill for the content type:
19
19
  samples (both profiles), **cratis-social-feed-post** for feed posts (`cratis/content`) and
20
20
  **cratis-documentation-writing** for pages (`cratis/documentation`).
21
21
 
22
- The full catalog of patterns is in [references/ai-tells.md](references/ai-tells.md), with a
22
+ Read the full catalog in [references/ai-tells.md](references/ai-tells.md) before running single-piece or batch checks, with a
23
23
  word list or regex and a batch threshold for each, and the studies behind them. IDs such as
24
24
  HV-02 below point to that file's Sources table.
25
25
 
@@ -48,6 +48,44 @@ So these rules hold for every use of the skill:
48
48
  (HV-02). Adding them so copy passes as human is the same mistake in reverse.
49
49
  - A construction that carries a real distinction stays, however often the catalog lists it.
50
50
 
51
+ ## Never trade a claim for a smoother sentence
52
+
53
+ This is the part that makes a voice pass dangerous, and the reason to do one carefully
54
+ instead of quickly.
55
+
56
+ The risk is not an obvious rewrite. It is a hedge dissolving into nicer phrasing. "There is
57
+ no need to" becomes "without needing to", and a limit quietly widens. "Not its meaning"
58
+ becomes "and leaves its meaning alone", and a distinction softens. Both read better. Both
59
+ changed what the text asserts.
60
+
61
+ Before accepting any rewrite, confirm that:
62
+
63
+ - every identifier and every number present before is still present, and none was invented;
64
+ - every hedging word (not, never, only, may, unless, until) survives in substance;
65
+ - every stated limitation survives, including one that reads as an awkward caveat, because it
66
+ is a caveat and it is deliberate;
67
+ - the closing limitation or evidence statement is not thinned, relocated into a subordinate
68
+ clause, or dropped because it spoiled the ending.
69
+
70
+ A mechanical before-and-after check over identifiers, numbers and hedge words catches most of
71
+ this before anyone reads a word. The catalog describes one. A person still reads every
72
+ flagged pair, because a count can't tell a widened limit from a harmless rephrase.
73
+
74
+ ## Stop conditions
75
+
76
+ Stop and hand back when:
77
+
78
+ - a rewrite would change what the material claims;
79
+ - the named author hasn't supplied or accepted a perspective, detail or opinion being put in
80
+ their mouth;
81
+ - the material is under an approval the rewrite would invalidate, and nobody has authorized a
82
+ refresh;
83
+ - the request is to judge whether a person used AI, or to gate their work on a flag count;
84
+ - the copy is for Hacker News.
85
+
86
+ Reviewing or revising copy never includes publishing, scheduling, posting or replying. An
87
+ agent hands the text back; a person decides what goes out.
88
+
51
89
  ## The constructions
52
90
 
53
91
  None of these is wrong. A single corrective tail can be the clearest sentence in the piece.
@@ -224,29 +262,6 @@ everything it posts there: nothing Cratis posts to Hacker News is written or edi
224
262
  whether title, text or comment. Don't run a voice pass on HN copy. You can help the person
225
263
  check facts and links.
226
264
 
227
- ## Never trade a claim for a smoother sentence
228
-
229
- This is the part that makes a voice pass dangerous, and the reason to do one carefully
230
- instead of quickly.
231
-
232
- The risk is not an obvious rewrite. It is a hedge dissolving into nicer phrasing. "There is
233
- no need to" becomes "without needing to", and a limit quietly widens. "Not its meaning"
234
- becomes "and leaves its meaning alone", and a distinction softens. Both read better. Both
235
- changed what the text asserts.
236
-
237
- Before accepting any rewrite, confirm that:
238
-
239
- - every identifier and every number present before is still present, and none was invented;
240
- - every hedging word (not, never, only, may, unless, until) survives in substance;
241
- - every stated limitation survives, including one that reads as an awkward caveat, because it
242
- is a caveat and it is deliberate;
243
- - the closing limitation or evidence statement is not thinned, relocated into a subordinate
244
- clause, or dropped because it spoiled the ending.
245
-
246
- A mechanical before-and-after check over identifiers, numbers and hedge words catches most of
247
- this before anyone reads a word. The catalog describes one. A person still reads every
248
- flagged pair, because a count can't tell a widened limit from a harmless rephrase.
249
-
250
265
  ## Work in tranches that can be read
251
266
 
252
267
  Rewriting is not a batch operation. Any body of material large enough to have a detectable
@@ -256,18 +271,3 @@ detectable format with another. Rewrite a tranche, read it, and only then contin
256
271
  Where material carries a recorded approval, a rewrite invalidates it. Recording a fresh
257
272
  approval over copy nobody has read makes the record assert something false, after which every
258
273
  downstream check agrees with it. Size the tranche to what its owner will actually read.
259
-
260
- ## Stop conditions
261
-
262
- Stop and hand back when:
263
-
264
- - a rewrite would change what the material claims;
265
- - the named author hasn't supplied or accepted a perspective, detail or opinion being put in
266
- their mouth;
267
- - the material is under an approval the rewrite would invalidate, and nobody has authorized a
268
- refresh;
269
- - the request is to judge whether a person used AI, or to gate their work on a flag count;
270
- - the copy is for Hacker News.
271
-
272
- Reviewing or revising copy never includes publishing, scheduling, posting or replying. An
273
- agent hands the text back; a person decides what goes out.
@@ -1,5 +1,15 @@
1
1
  # AI-associated writing patterns
2
2
 
3
+ ## Contents
4
+
5
+ - How much weight each entry carries
6
+ - Running the checks
7
+ - Lexical
8
+ - Syntactic
9
+ - Structural
10
+ - Tonal
11
+ - Sources
12
+
3
13
  This is the full catalog behind the **cratis-writing-voice-and-cadence** skill: patterns that
4
14
  make writing read as machine-produced, how a script can find each one, and what a person
5
15
  would usually write instead. Sources were checked in September 2026. Bracketed IDs such as
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.14.2",
3
+ "version": "7.14.3",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [