@cratis/pi 7.50.0 → 7.51.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 (159) hide show
  1. package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +93 -0
  2. package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +4 -0
  3. package/package/corpus/prompts/review-skill.prompt.md +6 -8
  4. package/package/corpus/rules/authoring-skills.md +92 -0
  5. package/package/corpus/rules/general.md +1 -0
  6. package/package/corpus/rules/profiles.md +4 -0
  7. package/package/corpus/skills/cratis-application-react-specifications/SKILL.md +1 -1
  8. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/SKILL.md +23 -29
  9. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authentication.md +7 -7
  10. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authorization.md +34 -32
  11. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authproxy.md +1 -1
  12. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/frontend.md +2 -2
  13. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/local-development.md +3 -3
  14. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/observable-emission-guards.md +8 -6
  15. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/tenancy.md +3 -3
  16. package/package/corpus/skills/cratis-arc-command/SKILL.md +23 -25
  17. package/package/corpus/skills/cratis-arc-command/references/command-result.md +1 -1
  18. package/package/corpus/skills/cratis-arc-command/references/decisions-and-routing.md +9 -9
  19. package/package/corpus/skills/cratis-arc-command/references/generated-values.md +11 -12
  20. package/package/corpus/skills/cratis-arc-command/references/handler-shapes.md +4 -4
  21. package/package/corpus/skills/cratis-arc-command/references/proxy-generation.md +3 -3
  22. package/package/corpus/skills/cratis-arc-command/references/read-model-injection.md +1 -3
  23. package/package/corpus/skills/cratis-arc-command/references/shop-generation.md +11 -14
  24. package/package/corpus/skills/cratis-arc-command-execution/LICENSE +6 -0
  25. package/package/corpus/skills/cratis-arc-command-execution/SKILL.md +17 -19
  26. package/package/corpus/skills/cratis-arc-command-kotlin/SKILL.md +8 -7
  27. package/package/corpus/skills/cratis-arc-command-kotlin/references/read-model-naming.md +2 -2
  28. package/package/corpus/skills/cratis-arc-command-operation/SKILL.md +14 -15
  29. package/package/corpus/skills/cratis-arc-command-operation/references/execution-and-recovery.md +2 -2
  30. package/package/corpus/skills/cratis-arc-command-operation/references/testing.md +7 -8
  31. package/package/corpus/skills/cratis-arc-command-typescript/SKILL.md +14 -11
  32. package/package/corpus/skills/cratis-arc-command-typescript/references/chronicle-events.md +7 -7
  33. package/package/corpus/skills/cratis-arc-command-typescript/references/command-operations.md +4 -4
  34. package/package/corpus/skills/cratis-arc-command-typescript/references/hosting-and-storage.md +11 -7
  35. package/package/corpus/skills/cratis-arc-command-typescript/references/identity-and-introspection.md +4 -2
  36. package/package/corpus/skills/cratis-arc-command-typescript/references/observability-and-host-scopes.md +2 -2
  37. package/package/corpus/skills/cratis-arc-command-typescript/references/proxy-generation.md +3 -3
  38. package/package/corpus/skills/cratis-arc-command-typescript/references/slice-layout.md +1 -1
  39. package/package/corpus/skills/cratis-arc-command-typescript/verification.json +2 -2
  40. package/package/corpus/skills/cratis-arc-command-validation/SKILL.md +10 -14
  41. package/package/corpus/skills/cratis-arc-ef-core-migration/LICENSE +6 -0
  42. package/package/corpus/skills/cratis-arc-ef-core-migration/SKILL.md +9 -10
  43. package/package/corpus/skills/cratis-arc-go/SKILL.md +14 -15
  44. package/package/corpus/skills/cratis-arc-go/references/queries.md +2 -2
  45. package/package/corpus/skills/cratis-arc-hosting/SKILL.md +8 -8
  46. package/package/corpus/skills/cratis-arc-hosting/references/integrations-and-publish.md +11 -11
  47. package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +3 -3
  48. package/package/corpus/skills/cratis-arc-observable-query-http/SKILL.md +13 -13
  49. package/package/corpus/skills/cratis-arc-observable-query-http/verification.json +1 -1
  50. package/package/corpus/skills/cratis-arc-query-kotlin/SKILL.md +2 -3
  51. package/package/corpus/skills/cratis-arc-query-paging/SKILL.md +11 -14
  52. package/package/corpus/skills/cratis-arc-query-typescript/SKILL.md +3 -3
  53. package/package/corpus/skills/cratis-arc-query-typescript/references/storage-observation-and-compliance.md +2 -2
  54. package/package/corpus/skills/cratis-arc-spring-data-kotlin/SKILL.md +3 -3
  55. package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +3 -3
  56. package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +1 -2
  57. package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +4 -4
  58. package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +19 -22
  59. package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +10 -10
  60. package/package/corpus/skills/cratis-chronicle-client-dotnet/SKILL.md +36 -36
  61. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/additional-surfaces.md +4 -2
  62. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/client-construction.md +1 -1
  63. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/compatibility-check.md +13 -13
  64. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/discovery.md +10 -10
  65. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/hosting.md +10 -10
  66. package/package/corpus/skills/cratis-chronicle-client-dotnet/references/pinned-generation-delivery.md +7 -5
  67. package/package/corpus/skills/cratis-chronicle-client-elixir/SKILL.md +59 -64
  68. package/package/corpus/skills/cratis-chronicle-client-elixir/references/append-api.md +17 -17
  69. package/package/corpus/skills/cratis-chronicle-client-elixir/references/compliance.md +5 -3
  70. package/package/corpus/skills/cratis-chronicle-client-elixir/references/connections.md +15 -11
  71. package/package/corpus/skills/cratis-chronicle-client-elixir/references/event-sources.md +3 -1
  72. package/package/corpus/skills/cratis-chronicle-client-elixir/references/pitfalls.md +4 -4
  73. package/package/corpus/skills/cratis-chronicle-client-elixir/references/projections.md +8 -4
  74. package/package/corpus/skills/cratis-chronicle-client-elixir/references/upgrading.md +19 -19
  75. package/package/corpus/skills/cratis-chronicle-client-elixir/references/variants.md +3 -8
  76. package/package/corpus/skills/cratis-chronicle-client-elixir/verification.json +2 -2
  77. package/package/corpus/skills/cratis-chronicle-client-go/SKILL.md +16 -18
  78. package/package/corpus/skills/cratis-chronicle-client-go/references/projections.md +2 -2
  79. package/package/corpus/skills/cratis-chronicle-client-kotlin/SKILL.md +61 -58
  80. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/connection-lifecycle.md +9 -10
  81. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/discovery-and-registration.md +6 -6
  82. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/event-sources.md +4 -2
  83. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/java-api.md +4 -4
  84. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/options.md +1 -1
  85. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/spring-boot.md +24 -24
  86. package/package/corpus/skills/cratis-chronicle-client-kotlin/references/variants.md +6 -5
  87. package/package/corpus/skills/cratis-chronicle-client-typescript/SKILL.md +26 -20
  88. package/package/corpus/skills/cratis-chronicle-client-typescript/references/read-models-and-projections.md +4 -4
  89. package/package/corpus/skills/cratis-chronicle-client-typescript/references/testing.md +1 -1
  90. package/package/corpus/skills/cratis-chronicle-client-typescript/references/variants.md +4 -3
  91. package/package/corpus/skills/cratis-chronicle-client-typescript/verification.json +2 -2
  92. package/package/corpus/skills/cratis-chronicle-compliance/SKILL.md +9 -9
  93. package/package/corpus/skills/cratis-chronicle-decision-reads/SKILL.md +11 -10
  94. package/package/corpus/skills/cratis-chronicle-decision-reads/references/admission-and-ownership.md +1 -1
  95. package/package/corpus/skills/cratis-chronicle-decision-reads/references/choosing-how-a-rule-holds.md +5 -6
  96. package/package/corpus/skills/cratis-chronicle-event-constraints/SKILL.md +7 -7
  97. package/package/corpus/skills/cratis-chronicle-event-constraints/references/closing-streams.md +1 -1
  98. package/package/corpus/skills/cratis-chronicle-event-specifications/SKILL.md +6 -6
  99. package/package/corpus/skills/cratis-chronicle-event-type-migration/SKILL.md +12 -10
  100. package/package/corpus/skills/cratis-chronicle-event-type-migration/references/pinned-generations.md +2 -3
  101. package/package/corpus/skills/cratis-chronicle-hosting/SKILL.md +7 -7
  102. package/package/corpus/skills/cratis-chronicle-hosting/references/operations.md +5 -5
  103. package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +6 -6
  104. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/blocked-tools.md +5 -5
  105. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/deployment.md +9 -10
  106. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +29 -29
  107. package/package/corpus/skills/cratis-chronicle-multi-tenancy/SKILL.md +9 -9
  108. package/package/corpus/skills/cratis-chronicle-projection/SKILL.md +13 -14
  109. package/package/corpus/skills/cratis-chronicle-projection/references/fluent-builder.md +3 -5
  110. package/package/corpus/skills/cratis-chronicle-projection/references/model-bound-attributes.md +2 -4
  111. package/package/corpus/skills/cratis-chronicle-projection/references/variants.md +1 -3
  112. package/package/corpus/skills/cratis-chronicle-read-model/SKILL.md +16 -15
  113. package/package/corpus/skills/cratis-chronicle-read-model/references/queries.md +8 -8
  114. package/package/corpus/skills/cratis-chronicle-reducer/SKILL.md +14 -13
  115. package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +11 -12
  116. package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +6 -6
  117. package/package/corpus/skills/cratis-code-review/SKILL.md +13 -17
  118. package/package/corpus/skills/cratis-components-accessibility/SKILL.md +3 -3
  119. package/package/corpus/skills/cratis-components-common-controls/SKILL.md +15 -15
  120. package/package/corpus/skills/cratis-components-data-surfaces/SKILL.md +29 -29
  121. package/package/corpus/skills/cratis-components-schema-editor/SKILL.md +4 -4
  122. package/package/corpus/skills/cratis-components-schema-editor/references/tree-layout.md +1 -1
  123. package/package/corpus/skills/cratis-components-stepper-command-dialog/SKILL.md +6 -6
  124. package/package/corpus/skills/cratis-components-styling/LICENSE +6 -0
  125. package/package/corpus/skills/cratis-components-styling/SKILL.md +5 -4
  126. package/package/corpus/skills/cratis-components-toolbar/SKILL.md +5 -5
  127. package/package/corpus/skills/cratis-developer-marketing/SKILL.md +2 -2
  128. package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +3 -3
  129. package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +1 -1
  130. package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +4 -4
  131. package/package/corpus/skills/cratis-fundamentals-concept/SKILL.md +19 -24
  132. package/package/corpus/skills/cratis-fundamentals-concept/references/shop-generation.md +10 -10
  133. package/package/corpus/skills/cratis-fundamentals-concept/references/typescript-concepts.md +8 -8
  134. package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +10 -11
  135. package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +18 -18
  136. package/package/corpus/skills/cratis-fundamentals-telemetry/verification.json +1 -1
  137. package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +4 -4
  138. package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +19 -19
  139. package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +27 -27
  140. package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +12 -12
  141. package/package/corpus/skills/cratis-performance-review/SKILL.md +8 -10
  142. package/package/corpus/skills/cratis-release-notes/SKILL.md +1 -1
  143. package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +1 -1
  144. package/package/corpus/skills/cratis-security-review/SKILL.md +8 -10
  145. package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +18 -16
  146. package/package/corpus/skills/cratis-specification-by-example/SKILL.md +1 -1
  147. package/package/corpus/skills/cratis-specifications-csharp/SKILL.md +26 -29
  148. package/package/corpus/skills/cratis-specifications-csharp/references/application-scenarios.md +8 -8
  149. package/package/corpus/skills/cratis-specifications-csharp/references/csharp-patterns.md +2 -2
  150. package/package/corpus/skills/cratis-specifications-csharp/references/integration-specs.md +6 -4
  151. package/package/corpus/skills/cratis-specifications-csharp/references/shared-lifecycle.md +6 -2
  152. package/package/corpus/skills/cratis-specifications-typescript/SKILL.md +2 -2
  153. package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +4 -4
  154. package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +1 -1
  155. package/package/corpus/skills/guiding-refactoring-with-code-health/SKILL.md +1 -1
  156. package/package/corpus/skills/prioritizing-technical-debt/SKILL.md +1 -1
  157. package/package/corpus/skills/risk-based-testing-with-code-health/SKILL.md +3 -3
  158. package/package/corpus/skills/safeguarding-ai-generated-code/SKILL.md +1 -1
  159. package/package.json +1 -1
@@ -3,7 +3,7 @@
3
3
 
4
4
  # Recovery, retention and upgrades
5
5
 
6
- Verified at **Cratis/Chronicle v19.50.1**:
6
+ Source: `Cratis/Chronicle`:
7
7
  `Documentation/hosting/configuration/{observers,events,clustering}.md`,
8
8
  `Documentation/hosting/production.md`,
9
9
  `Source/Kernel/Core/Configuration/Alerts.cs`, and
@@ -30,21 +30,21 @@ a new catch-up failure stops that step rather than letting other sources proceed
30
30
  Full replay is inactive until completion, then routes to catch-up/live unless
31
31
  quarantined. Partition quarantine stops that partition's automatic retries;
32
32
  observer quarantine suppresses automatic recovery for the whole observer.
33
- Sources at v19.50.1: `Documentation/concepts/observers.mdx`,
33
+ Sources: `Documentation/concepts/observers.mdx`,
34
34
  `Documentation/projections/registration-lifecycle.md`, and
35
35
  `Source/Kernel/Core/Observation/Jobs/{CatchUpObserver,ReplayObserver}.cs`.
36
36
 
37
37
  ### Next-event lookup failures
38
38
 
39
- At **v19.50.1**, Routing keeps the saved position and defers observation when
39
+ Routing keeps the saved position and defers observation when
40
40
  `GetNextSequenceNumberGreaterOrEqualTo` returns a storage error. A watchdog tick
41
41
  retries that deferred routing only while subscribed and not quarantined. Its
42
42
  active-observer lookup also leaves the cursor unchanged on error. Only
43
43
  `GetSequenceNumberError.NotFound` proves there is no relevant event and permits
44
44
  fast-forward. Read failures are not "nothing to handle"; preserve and investigate
45
45
  the warning. Sources: `Source/Kernel/Core/Observation/States/Routing.cs` and
46
- `Observer.Watchdog.cs`. This fixes #4770, not the proposed Ordered Lanes design
47
- or all historical delivery/completion limitations. Do not claim past omissions
46
+ `Observer.Watchdog.cs`. This does not implement the proposed Ordered Lanes design
47
+ or remove every delivery/completion limitation. Do not claim past omissions
48
48
  were repaired automatically.
49
49
 
50
50
  `observers.definitionEvolution` governs projection/reducer changes:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-chronicle-mcp-inspection
3
- description: Inspect a running Chronicle store through MCP using the exact v2.0.0 tool-effect inventory, bounded reads and design-time schema tools. Use when choosing an MCP capability, interpreting redacted output, checking deployment profiles or diagnosing the target context. Job-control tools are effectful, not inspection; unknown tools remain evidence-blocked.
3
+ description: Inspect a running Chronicle store through MCP using the exact tool-effect inventory, bounded reads and design-time schema tools. Use when choosing an MCP capability, interpreting redacted output, checking deployment profiles or diagnosing the target context. Job-control tools are effectful, not inspection; unknown tools remain evidence-blocked.
4
4
  license: MIT
5
5
  ---
6
6
 
@@ -15,12 +15,12 @@ to inspect does not authorize a mutation.
15
15
 
16
16
  ## Verified product sources
17
17
 
18
- | Source | Version | Purpose |
19
- | --- | --- | --- |
20
- | `Cratis/Chronicle.Mcp` | `v2.0.0` | `Source/Tools/**`, `Source/Authorization/ToolCatalog.cs`, deployment profiles and target resolution |
21
- | `Cratis/cli` | `v3.53.1` | `Source/Cli/Commands/Ai/AiMcpHarnesses.cs`, manual rather than corpus-managed Chronicle registration |
18
+ | Source | Purpose |
19
+ | --- | --- |
20
+ | `Cratis/Chronicle.Mcp` | `Source/Tools/**`, `Source/Authorization/ToolCatalog.cs`, deployment profiles and target resolution |
21
+ | `Cratis/cli` | `Source/Cli/Commands/Ai/AiMcpHarnesses.cs`, manual rather than corpus-managed Chronicle registration |
22
22
 
23
- The v2.0.0 surface has **27 tools: 24 read-only and 3 mutating**, plus three
23
+ The surface has **27 tools: 24 read-only and 3 mutating**, plus three
24
24
  prompts. All tools declare `OpenWorld=false`. Annotations corroborate the
25
25
  classification; the implementation owns it. Only `stop_job`, `resume_job` and
26
26
  `delete_job` call mutating RPCs.
@@ -3,15 +3,15 @@
3
3
 
4
4
  # Effectful and unknown Chronicle MCP tools
5
5
 
6
- Hand-maintained classification at **Cratis/Chronicle.Mcp v2.0.0**. These three
6
+ Hand-maintained classification for `Cratis/Chronicle.Mcp`. These three
7
7
  tools are effectful, never `passive-allowed`; unknown subjects are
8
8
  `evidence-blocked`. All three are closed-world and declared idempotent.
9
9
 
10
- | Tool | Effect | Source at v2.0.0 |
10
+ | Tool | Effect | Source |
11
11
  | --- | --- | --- |
12
- | `stop_job` | mutating, non-destructive; stops a job, retains state | [JobTools.cs:160–181](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Jobs/JobTools.cs#L160-L181) |
13
- | `resume_job` | mutating, non-destructive; resumes a Stopped job's remaining steps | [JobTools.cs:190–211](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Jobs/JobTools.cs#L190-L211) |
14
- | `delete_job` | mutating, destructive; removes the job and progress irreversibly | [JobTools.cs:220–241](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Jobs/JobTools.cs#L220-L241) |
12
+ | `stop_job` | mutating, non-destructive; stops a job, retains state | [JobTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Jobs/JobTools.cs) |
13
+ | `resume_job` | mutating, non-destructive; resumes a Stopped job's remaining steps | [JobTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Jobs/JobTools.cs) |
14
+ | `delete_job` | mutating, destructive; removes the job and progress irreversibly | [JobTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Jobs/JobTools.cs) |
15
15
 
16
16
  Only the `Mutation` deployment profile registers these tools, and every call
17
17
  needs a current matching grant. A matching grant is not user confirmation:
@@ -3,11 +3,11 @@
3
3
 
4
4
  # Chronicle MCP deployment and denials
5
5
 
6
- Verified at **Cratis/Chronicle.Mcp v2.0.0**:
7
- [configuration](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Documentation/configuration.md),
8
- [deployment profiles](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Documentation/deployment-profiles.md),
9
- [ToolCatalog.cs](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Authorization/ToolCatalog.cs#L23-L43)
10
- and [Program.cs](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Program.cs).
6
+ Source: `Cratis/Chronicle.Mcp`:
7
+ [configuration](https://github.com/Cratis/Chronicle.Mcp/blob/main/Documentation/configuration.md),
8
+ [deployment profiles](https://github.com/Cratis/Chronicle.Mcp/blob/main/Documentation/deployment-profiles.md),
9
+ [ToolCatalog.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Authorization/ToolCatalog.cs)
10
+ and [Program.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Program.cs).
11
11
 
12
12
  ## Registration and target
13
13
 
@@ -15,12 +15,11 @@ The product documents Docker/stdio launch using `docker run -i --rm`, passing
15
15
  `Cratis__Chronicle__Mcp__ConnectionString` into the container. Use a verified
16
16
  image/version and your harness's stdio registration shape, only when setup is
17
17
  requested. The registry identity is `io.github.Cratis/chronicle-mcp`, but
18
- `server.json` at this tag still names version/image **1.4.0**; do not treat that
19
- manifest as a v2.0.0 image pin. The [tagged README](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/README.md)
18
+ the checked-in `server.json` can lag the release; do not treat its version/image as an image pin. The [README](https://github.com/Cratis/Chronicle.Mcp/blob/main/README.md)
20
19
  documents transport setup.
21
20
 
22
- `cratis ai` v3.53.1 only writes the Screenplay descriptor, not Chronicle or
23
- Studio ([AiMcpHarnesses.cs](https://github.com/Cratis/cli/blob/v3.53.1/Source/Cli/Commands/Ai/AiMcpHarnesses.cs)).
21
+ `cratis ai` only writes the Screenplay descriptor, not Chronicle or
22
+ Studio ([AiMcpHarnesses.cs](https://github.com/Cratis/cli/blob/main/Source/Cli/Commands/Ai/AiMcpHarnesses.cs)).
24
23
  Do not add an unsupported descriptor to the corpus catalog.
25
24
 
26
25
  For unset connection values: explicit options → `CHRONICLE_CONNECTION_STRING`
@@ -73,5 +72,5 @@ text block, for example:
73
72
  Mutation checks run in table order through `not_authorized`, first failure wins;
74
73
  `chronicle_denied` occurs only after reaching Chronicle. The envelope/log omits
75
74
  scope, target, principal, credentials and exception text. These codes are
76
- verified in [DenialCodes.cs](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Authorization/DenialCodes.cs).
75
+ verified in [DenialCodes.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Authorization/DenialCodes.cs).
77
76
  Never turn a denial into success or widen policy automatically.
@@ -3,46 +3,46 @@
3
3
 
4
4
  # Observational Chronicle MCP tools
5
5
 
6
- Hand-maintained classification, verified at **Cratis/Chronicle.Mcp v2.0.0**.
6
+ Hand-maintained classification of `Cratis/Chronicle.Mcp`.
7
7
  Disposition: `passive-allowed` only for an authorized, bounded read with an
8
8
  appropriate output/redaction review. Read-only does not mean public data.
9
9
  All 24 tools below declare `ReadOnly=true`, `OpenWorld=false`; their bodies read
10
10
  Chronicle or transform the returned data without writing store state.
11
11
 
12
12
  Paths below are relative to
13
- [Source/Tools at v2.0.0](https://github.com/Cratis/Chronicle.Mcp/tree/v2.0.0/Source/Tools).
14
- Line anchors name the tool attribute; read its method body for effect evidence.
13
+ [Source/Tools](https://github.com/Cratis/Chronicle.Mcp/tree/main/Source/Tools).
14
+ Read a tool's method body for effect evidence.
15
15
 
16
- | Tool | Source at v2.0.0 | Output and narrowing |
16
+ | Tool | Source | Output and narrowing |
17
17
  | --- | --- | --- |
18
- | `list_event_stores` | [EventStoreTools.cs:23](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/EventStoreTools.cs#L23) | store identifiers |
19
- | `list_namespaces` | [EventStoreTools.cs:38](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/EventStoreTools.cs#L38) | namespace identifiers in one store |
20
- | `list_event_types` | [EventTypeTools.cs:25](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/EventTypeTools.cs#L25) | registered types/schemas |
21
- | `describe_event_type` | [Design/SchemaTools.cs:29](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Design/SchemaTools.cs#L29) | one registered schema |
22
- | `list_observers` | [ObserverTools.cs:29](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/ObserverTools.cs#L29) | metadata; type filter `reactor`, `reducer`, `projection`, `all` |
23
- | `get_observer` | [ObserverTools.cs:57](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/ObserverTools.cs#L57) | one observer's state |
24
- | `list_failed_partitions` | [FailedPartitionTools.cs:27](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/FailedPartitionTools.cs#L27) | failure reasons; redact errors/identifiers |
25
- | `list_projections` | [ProjectionTools.cs:25](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/ProjectionTools.cs#L25) | projection definitions |
26
- | `list_read_models` | [ReadModelTools.cs:28](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/ReadModelTools.cs#L28) | definitions, `queryable` flag |
27
- | `get_read_model_instances` | [ReadModelTools.cs:63](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/ReadModelTools.cs#L63) | payload data; `page`, `pageSize` (default 20) |
28
- | `get_events` | [EventTools.cs:34](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/EventTools.cs#L34) | payloads; `from`, `to`, `eventSourceId`, `eventType`; no row limit |
29
- | `get_tail_sequence_number` | [EventTools.cs:86](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/EventTools.cs#L86) | highest sequence number, not a count |
30
- | `list_recommendations` | [RecommendationTools.cs:26](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/RecommendationTools.cs#L26) | recommendations, not their execution |
31
- | `get_server_version` | [ServerTools.cs:25](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/ServerTools.cs#L25) | server version |
32
- | `list_jobs` | [Jobs/JobTools.cs:29](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Jobs/JobTools.cs#L29) | metadata/progress; optional status filter |
33
- | `get_job` | [Jobs/JobTools.cs:75](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Jobs/JobTools.cs#L75) | one job's metadata/progress |
34
- | `get_job_steps` | [Jobs/JobTools.cs:109](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Jobs/JobTools.cs#L109) | step metadata/progress |
35
- | `generate_event_catalog` | [Design/EventCatalogTools.cs:32](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Design/EventCatalogTools.cs#L32) | catalog text; no file write |
36
- | `audit_unconsumed_event_types` | [Design/EventTypeAuditTools.cs:29](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Design/EventTypeAuditTools.cs#L29) | registered types without consumers |
37
- | `scaffold_read_model` | [Design/ReadModelDesignTools.cs:31](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Design/ReadModelDesignTools.cs#L31) | code text; no file write or registration |
38
- | `explain_causal_trace` | [Design/CausalTraceTools.cs:33](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Design/CausalTraceTools.cs#L33) | payloads and identities; redact both |
39
- | `describe_system` | [Design/SystemDescriptionTools.cs:44](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Design/SystemDescriptionTools.cs#L44) | schema/relationship metadata |
40
- | `suggest_next_event_types` | [Design/SystemEvolutionTools.cs:36](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Design/SystemEvolutionTools.cs#L36) | candidates, not accepted domain decisions |
41
- | `run_ad_hoc_projection` | [Design/AdHocProjectionTools.cs:44](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Design/AdHocProjectionTools.cs#L44) | folded payload data; `limit=100` bounds returned instances only, not event reads; no persistence |
18
+ | `list_event_stores` | [EventStoreTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/EventStoreTools.cs) | store identifiers |
19
+ | `list_namespaces` | [EventStoreTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/EventStoreTools.cs) | namespace identifiers in one store |
20
+ | `list_event_types` | [EventTypeTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/EventTypeTools.cs) | registered types/schemas |
21
+ | `describe_event_type` | [Design/SchemaTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Design/SchemaTools.cs) | one registered schema |
22
+ | `list_observers` | [ObserverTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/ObserverTools.cs) | metadata; type filter `reactor`, `reducer`, `projection`, `all` |
23
+ | `get_observer` | [ObserverTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/ObserverTools.cs) | one observer's state |
24
+ | `list_failed_partitions` | [FailedPartitionTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/FailedPartitionTools.cs) | failure reasons; redact errors/identifiers |
25
+ | `list_projections` | [ProjectionTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/ProjectionTools.cs) | projection definitions |
26
+ | `list_read_models` | [ReadModelTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/ReadModelTools.cs) | definitions, `queryable` flag |
27
+ | `get_read_model_instances` | [ReadModelTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/ReadModelTools.cs) | payload data; `page`, `pageSize` (default 20) |
28
+ | `get_events` | [EventTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/EventTools.cs) | payloads; `from`, `to`, `eventSourceId`, `eventType`; no row limit |
29
+ | `get_tail_sequence_number` | [EventTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/EventTools.cs) | highest sequence number, not a count |
30
+ | `list_recommendations` | [RecommendationTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/RecommendationTools.cs) | recommendations, not their execution |
31
+ | `get_server_version` | [ServerTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/ServerTools.cs) | server version |
32
+ | `list_jobs` | [Jobs/JobTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Jobs/JobTools.cs) | metadata/progress; optional status filter |
33
+ | `get_job` | [Jobs/JobTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Jobs/JobTools.cs) | one job's metadata/progress |
34
+ | `get_job_steps` | [Jobs/JobTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Jobs/JobTools.cs) | step metadata/progress |
35
+ | `generate_event_catalog` | [Design/EventCatalogTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Design/EventCatalogTools.cs) | catalog text; no file write |
36
+ | `audit_unconsumed_event_types` | [Design/EventTypeAuditTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Design/EventTypeAuditTools.cs) | registered types without consumers |
37
+ | `scaffold_read_model` | [Design/ReadModelDesignTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Design/ReadModelDesignTools.cs) | code text; no file write or registration |
38
+ | `explain_causal_trace` | [Design/CausalTraceTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Design/CausalTraceTools.cs) | payloads and identities; redact both |
39
+ | `describe_system` | [Design/SystemDescriptionTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Design/SystemDescriptionTools.cs) | schema/relationship metadata |
40
+ | `suggest_next_event_types` | [Design/SystemEvolutionTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Design/SystemEvolutionTools.cs) | candidates, not accepted domain decisions |
41
+ | `run_ad_hoc_projection` | [Design/AdHocProjectionTools.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Design/AdHocProjectionTools.cs) | folded payload data; `limit=100` bounds returned instances only, not event reads; no persistence |
42
42
 
43
43
  Three prompts return workflow text without calling tools themselves:
44
44
  `describe_system`, `suggest_next_event_types`, `query_system`
45
- ([Design/SystemPrompts.cs:22–60](https://github.com/Cratis/Chronicle.Mcp/blob/v2.0.0/Source/Tools/Design/SystemPrompts.cs#L22-L60)).
45
+ ([Design/SystemPrompts.cs](https://github.com/Cratis/Chronicle.Mcp/blob/main/Source/Tools/Design/SystemPrompts.cs)).
46
46
  Prompt text and returned guidance are not authority to chain tool calls.
47
47
 
48
48
  Even metadata may identify people or confidential business structure. Confirm
@@ -19,12 +19,12 @@ survives a second tenant is not.
19
19
 
20
20
  ## Verified product sources
21
21
 
22
- This skill is verified against this exact source:
22
+ Sources:
23
23
 
24
- | Package | Version | Purpose |
25
- | --- | --- | --- |
26
- | `Cratis.Chronicle` | `18.3.0` | `EventStoreNamespaceName`, `IEventStoreNamespaceResolver`, `IChronicleClient.GetEventStore` |
27
- | `Cratis.Chronicle.AspNetCore` | `18.3.0` | the header and subdomain namespace resolvers |
24
+ | Package | Purpose |
25
+ | --- | --- |
26
+ | `Cratis.Chronicle` | `EventStoreNamespaceName`, `IEventStoreNamespaceResolver`, `IChronicleClient.GetEventStore` |
27
+ | `Cratis.Chronicle.AspNetCore` | the header and subdomain namespace resolvers |
28
28
 
29
29
  Reverify product sources before claiming support for another version.
30
30
 
@@ -39,17 +39,17 @@ Reverify product sources before claiming support for another version.
39
39
  implicit conversion from `string`, a `Default` value of `"Default"`, and a
40
40
  `NotSet` value.
41
41
 
42
- For Arc .NET v22.75.0, there is no tenant-required configuration switch.
42
+ In Arc .NET there is no tenant-required configuration switch.
43
43
  An unresolved header/query tenant is `TenantId.NotSet`; Arc's
44
44
  `TenantNamespaceResolver` maps `IsDefault` (`NotSet` or `Default`) to Chronicle's
45
45
  default namespace. Refuse unresolved tenants in application authorization where
46
- required, not through an invented switch. Sources at Arc v22.75.0:
46
+ required, not through an invented switch. Sources:
47
47
  `Source/DotNET/Arc.Core/Tenancy/TenancyOptions.cs` and
48
48
  `Source/DotNET/Chronicle/Tenancy/TenantNamespaceResolver.cs`.
49
49
 
50
50
  ## What a namespace actually isolates
51
51
 
52
- Verified against the storage naming and the grain keys, not inferred:
52
+ Derived from the storage naming and the grain keys, not inferred:
53
53
 
54
54
  **Per namespace:**
55
55
 
@@ -96,7 +96,7 @@ When the namespace is omitted, the registered **namespace resolver** supplies it
96
96
  `IEventStore` exposes the namespace it was resolved for, and
97
97
  `IEventStore.GetNamespaces(...)` lists them.
98
98
 
99
- Behind Cratis AuthProxy (`v2.30.5`) the tenant reaches the backend on
99
+ Behind Cratis AuthProxy the tenant reaches the backend on
100
100
  `x-cratis-tenant-id`, from the proxy's own resolver (host, claim, route,
101
101
  subdomain, selection page or fixed), and Arc resolves it per request. Map that
102
102
  tenant to the Chronicle namespace through the resolver; the proxy does not
@@ -17,12 +17,11 @@ class. See [reducers](../cratis-chronicle-reducer/SKILL.md) for that contract.
17
17
 
18
18
  ## Verified product sources
19
19
 
20
- This skill is verified against this exact source:
20
+ Sources:
21
21
 
22
- | Package | Version | Purpose |
23
- | --- | --- | --- |
24
- | `Cratis.Chronicle` | `19.50.1` | Existing projections, model-bound attributes, keys and event-sequence APIs |
25
- | `Cratis.Chronicle` | `19.59.4` | Self-model builder conflicts: `Source/Clients/DotNET/ReadModels/ReadModelBuilderOwnership.cs`, `Reducers/SelfReducerMethods.cs` at tag `v19.59.4` |
22
+ | Package | Purpose |
23
+ | --- | --- |
24
+ | `Cratis.Chronicle` | `Cratis.Chronicle.Projections`, `Cratis.Chronicle.Projections.ModelBound`, `Cratis.Chronicle.Keys`, `Cratis.Chronicle.EventSequences`; self-model builder conflicts (`Source/Clients/DotNET/ReadModels/ReadModelBuilderOwnership.cs`, `Reducers/SelfReducerMethods.cs`) |
26
25
 
27
26
  Reverify product sources before claiming support for another version.
28
27
 
@@ -105,7 +104,7 @@ They live on the per-event builder that `From<TEvent>` hands to your callback.
105
104
  ## Choose a bounded projection shape
106
105
 
107
106
  Project the fields a consumer needs, rather than building a universal entity
108
- with every detail and historical entry. Children are useful for bounded related
107
+ with every detail and past entry. Children are useful for bounded related
109
108
  state, not an invitation to embed an unbounded timeline. Give growing histories
110
109
  their own paged read model. A slim summary may combine event facts without
111
110
  query-time joins, but there is no framework requirement that a query read only
@@ -153,7 +152,7 @@ variants only when the shapes genuinely diverge; a single read model with a
153
152
  `Status` flag is still right when every stage shares almost all its
154
153
  properties.
155
154
 
156
- > Variants require `Cratis.Chronicle` `19.1.0` or later; verified at `19.50.0`.
155
+ Requires `Cratis.Chronicle` 19.1.0 or later for variants.
157
156
 
158
157
  Both approaches use the identity type only to anchor the group — it does not
159
158
  need to be a read model itself, and does not need a common CLR base type with
@@ -249,9 +248,9 @@ or a reactor rather than annotating the projection.
249
248
  event types are excluded). It is for audit/log models; pair it with
250
249
  `[NotRewindable]`. It targets a **property only**, not a positional parameter.
251
250
  Fluent `.FromAll()` can count into dictionaries using a per-event context key.
252
- - `[FromEvery]` captures across events the model **already** consumes, including
251
+ - `[FromEvery]` (Requires Chronicle 19.49.0 for child-only events) captures across events the model **already** consumes, including
253
252
  events handled **only by child or nested-child collections**, updating the
254
- owning parent (19.49.0+). It subscribes to nothing new. Model-bound always
253
+ owning parent. It subscribes to nothing new. Model-bound always
255
254
  includes children; fluent `IFromEveryBuilder.ExcludeChildProjections()` opts
256
255
  out (PDL: `exclude children`).
257
256
 
@@ -260,24 +259,24 @@ property)]` and `[FromEvery(property, contextProperty)]`. Name them.
260
259
 
261
260
  ## Definition changes replay
262
261
 
263
- At v19.50.0 (`Documentation/hosting/configuration/observers.md`), the kernel
262
+ Per `Documentation/hosting/configuration/observers.md`, the kernel
264
263
  classifies a changed definition as no action, partial replay, or full replay.
265
264
  `observers.definitionEvolution` defaults to `Automatic`; `PartialOnly` applies
266
265
  partial/no-action plans but recommends full replay; `Manual` recommends both
267
266
  replay kinds. Mapping, key, filter, join and child changes require full replay
268
267
  when independence cannot be proved. Counters and joins are repaired by replay,
269
- not by deploying corrected mappings: historical double-counts remain until rebuilt.
270
- The 19.7.2 `FromAll` subscription change redefines existing projections.
268
+ not by deploying corrected mappings: earlier double-counts remain until rebuilt.
269
+ A `FromAll` subscription change redefines existing projections.
271
270
 
272
271
  Projection replay and catch-up each walk the sequence in **one globally ordered
273
272
  job step**, not parallel per-source steps. A new failure during catch-up stops
274
273
  that ordered step even if other sources are healthy. Full replay keeps the
275
274
  observer inactive; completion routes to catch-up/live unless quarantined.
276
- At 19.50.1, a next-event storage error leaves the cursor unchanged and waits for
275
+ A next-event storage error leaves the cursor unchanged and waits for
277
276
  retry; only `NotFound` proves absence. It does not certify previously skipped
278
277
  history. Sources: `Documentation/projections/registration-lifecycle.md`,
279
278
  `Documentation/concepts/observers.mdx`, `Observation/Jobs/{CatchUpObserver,ReplayObserver}.cs`
280
- and `Observation/States/Routing.cs` (under `Source/Kernel/Core/`) at **v19.50.1**.
279
+ and `Observation/States/Routing.cs` (under `Source/Kernel/Core/`).
281
280
 
282
281
  Closing a stream does not erase its events or prevent a projection replay.
283
282
  Keep the closing fact as history; see **cratis-chronicle-event-constraints**.
@@ -10,8 +10,7 @@
10
10
  - When the fluent form is the only option
11
11
  - AutoMap default
12
12
 
13
- Verified against `Cratis.Chronicle` `18.3.0`, namespace
14
- `Cratis.Chronicle.Projections`.
13
+ Namespace: `Cratis.Chronicle.Projections`.
15
14
 
16
15
  ## The interfaces
17
16
 
@@ -42,8 +41,7 @@ IProjectionBuilderFor<TReadModel> VariantOf<TIdentity>(Expression<Func<TReadMode
42
41
  IProjectionBuilderFor<TReadModel> EntersOn<TEvent>();
43
42
  ```
44
43
 
45
- `VariantOf<TIdentity>` and `EntersOn<TEvent>` require `Cratis.Chronicle`
46
- `19.1.0` or later — newer than this file's `18.3.0` baseline. See
44
+ Requires `Cratis.Chronicle` 19.1.0 or later for `VariantOf<TIdentity>` and `EntersOn<TEvent>`. See
47
45
  [variants.md](variants.md) for the full mechanics: the identity type anchors a
48
46
  group of mutually exclusive read models, only the event named in `EntersOn`
49
47
  can create or resurrect the variant, and every other `.From<TEvent>()` on the
@@ -51,7 +49,7 @@ same builder is automatically reclassified into an update-only join. There is
51
49
  no fluent equivalent of the model-bound `[GlobalFor<T>]` shared handler — a
52
50
  mapping shared across variants is repeated on each variant's builder.
53
51
 
54
- At **Cratis/Chronicle v19.50.0**, `FromEvery` also maps child-only events onto
52
+ `FromEvery` also maps child-only events onto
55
53
  the owning parent. `IFromEveryBuilder.ExcludeChildProjections()` opts out;
56
54
  model-bound `[FromEvery]` has no opt-out. `FromAll` can count into dictionary
57
55
  properties with a per-event context key (`Projections/FromEveryBuilder.cs`,
@@ -13,8 +13,6 @@
13
13
  - What makes a type a model-bound projection
14
14
  - AutoMap
15
15
 
16
- Verified against `Cratis.Chronicle` `18.3.0`.
17
-
18
16
  Unless noted, every attribute below lives in
19
17
  `Cratis.Chronicle.Projections.ModelBound`. Generic arity is stated exactly:
20
18
  `<T>` means one generic parameter naming the event type; "non-generic" means the
@@ -54,7 +52,7 @@ attribute takes no generic parameter at all.
54
52
  Note that `[FromAll]` and `[FromEvery]` take their two optional arguments in
55
53
  **opposite order**. Always pass them by name.
56
54
 
57
- At **Cratis/Chronicle v19.50.0**, `[FromEvery]` includes child-only and nested-child
55
+ `[FromEvery]` includes child-only and nested-child
58
56
  contributing events in the owning parent's mappings (no attribute opt-out).
59
57
  `[FromAll]` subscribes to every sequence event type except join-only types;
60
58
  pair it with `[NotRewindable]`. `[NotProjected]` excludes a query-assembled member
@@ -99,7 +97,7 @@ that key. That is a different mechanism from the fluent builder's
99
97
  | `[EntersOn<T>]` | `<T>` | `(string? key = default)` | class, struct; repeatable |
100
98
  | `[GlobalFor<TIdentity>]` | `<TIdentity>` | none | class, struct; single |
101
99
 
102
- Requires `Cratis.Chronicle` `19.1.0` or later. See
100
+ Requires `Cratis.Chronicle` 19.1.0 or later for variants. See
103
101
  [variants.md](variants.md) for the full mechanics, the update-only
104
102
  reclassification of non-entering events, and the `VariantMustDeclareEntersOnEvent`
105
103
  startup trap.
@@ -9,9 +9,7 @@
9
9
  - Startup-crash trap
10
10
  - Best practices
11
11
 
12
- Verified against `Cratis.Chronicle` `19.1.0` (first version carrying this
13
- feature; the skill's own baseline in `SKILL.md` is `18.3.0` — variants need at
14
- least `19.1.0`).
12
+ Requires `Cratis.Chronicle` 19.1.0 or later.
15
13
 
16
14
  Reach for variants when a single logical entity has genuinely different shapes
17
15
  across its lifecycle — a work item that is a backlog entry, then a pull
@@ -19,14 +19,13 @@ all.
19
19
 
20
20
  ## Verified product sources
21
21
 
22
- This skill is verified against these exact sources:
22
+ Sources:
23
23
 
24
- | Package | Version | Purpose |
25
- | --- | --- | --- |
26
- | `Cratis.Chronicle` | `18.3.0` | Existing event, key and read-model APIs |
27
- | `Cratis.Chronicle` | `19.59.4` | Style/discovery: `Source/Clients/DotNET/Reducers/{SelfReducerMethods,RegisteredReducerReadModel}.cs`, `ReadModels/ReadModelBuilderOwnership.cs`, `DefaultClientArtifactsProvider.cs` at tag `v19.59.4` |
28
- | `Cratis.Arc.Core` | `22.75.0` | `Cratis.Arc.Queries.ModelBound.ReadModelAttribute` and `PathAttribute` |
29
- | `Cratis.Arc.MongoDB` | `22.75.0` | the `Observe` family of `IMongoCollection<T>` extensions |
24
+ | Package | Purpose |
25
+ | --- | --- |
26
+ | `Cratis.Chronicle` | `Cratis.Chronicle.Events`, `Cratis.Chronicle.Keys`, `Cratis.Chronicle.ReadModels`; style and discovery (`Source/Clients/DotNET/Reducers/{SelfReducerMethods,RegisteredReducerReadModel}.cs`, `ReadModels/ReadModelBuilderOwnership.cs`, `DefaultClientArtifactsProvider.cs`) |
27
+ | `Cratis.Arc.Core` | `Cratis.Arc.Queries.ModelBound.ReadModelAttribute` and `PathAttribute` |
28
+ | `Cratis.Arc.MongoDB` | the `Observe` family of `IMongoCollection<T>` extensions |
30
29
 
31
30
  Reverify product sources before claiming support for another version. Confirm
32
31
  the exact Arc package version in the consuming project before citing one.
@@ -82,7 +81,7 @@ public record <ReadModelName>(
82
81
 
83
82
  Prefer a slim, purpose-built projection over assembling a screen by repeatedly
84
83
  joining broad collections at query time. A summary needs summary fields, not
85
- every detail and historical entry. This is a design convention, **not a
84
+ every detail and past entry. This is a design convention, **not a
86
85
  one-collection framework requirement**: bounded query composition remains valid,
87
86
  including when separate security or compliance boundaries must be preserved.
88
87
 
@@ -114,8 +113,10 @@ For application code, work down this ladder:
114
113
 
115
114
  **PDL** is for definitions authored outside application code (Workbench,
116
115
  Screenplay, ad-hoc queries), not the code-first default. This ladder does not
117
- claim Stage renders static self reducers. The self form is .NET-only
118
- (Cratis/Chronicle#4851); other SDKs keep their own reducer contracts.
116
+ claim Stage renders static self reducers. The self form is .NET-only;
117
+ other SDKs keep their own reducer contracts.
118
+
119
+ Requires Chronicle 19.58.0 for self-reducing read models.
119
120
 
120
121
  Default discovery finds projections, interface reducers and complete self shapes.
121
122
  Explicit registration remains available, and plain instance reducers require
@@ -135,9 +136,9 @@ are source-keyed, have no native joins and are refused by decision reads.
135
136
  Queries are **static** methods on the read-model record, discovered by Arc.
136
137
  Marking the record with `[ReadModel]` from `Cratis.Arc.Queries.ModelBound` is
137
138
  what gives it that surface. For a self-reducing model, put its `Reduce` methods
138
- and queries on this same record. Before Arc 22.90.0, use
139
+ and queries on this same record. On an Arc older than 22.90.0, use
139
140
  `[ReadModel(RequireQueryAttribute = true)]` plus `[Query]` on intended queries to
140
- avoid exposing folds. From Arc 22.90.0, Arc excludes methods taking the
141
+ avoid exposing folds. Requires Arc 22.90.0 for the automatic behavior: Arc excludes methods taking the
141
142
  model itself from query discovery, and Arc.Chronicle claims self models for
142
143
  command injection. See the existing
143
144
  [explicit query-discovery guidance](references/queries.md#discovery-rules).
@@ -226,9 +227,9 @@ history length, invocation frequency, and the consistency/security requirement;
226
227
  repeated reconstruction of large histories on a hot path is the concern.
227
228
  Passivity does not itself authorize access or encrypt secrets.
228
229
 
229
- This access distinction was checked against Chronicle **v19.31.2**
230
- ([passive projections](https://github.com/Cratis/Chronicle/blob/v19.31.2/Documentation/projections/declarative/passive.mdx),
231
- [passive reducers](https://github.com/Cratis/Chronicle/blob/v19.31.2/Documentation/reducers/passive-reducers.mdx)).
230
+ This access distinction is described in
231
+ ([passive projections](https://github.com/Cratis/Chronicle/blob/main/Documentation/projections/declarative/passive.mdx),
232
+ [passive reducers](https://github.com/Cratis/Chronicle/blob/main/Documentation/reducers/passive-reducers.mdx)).
232
233
 
233
234
  `[Passive]` on its own does **not** make a read model a projection. It is
234
235
  deliberately excluded from the annotations that do; it changes how an existing
@@ -11,7 +11,7 @@
11
11
  - Custom routes
12
12
  - Reading without a query surface
13
13
 
14
- Verified against `Cratis.Arc.Core` and `Cratis.Arc.MongoDB` **v22.75.0**.
14
+ Sources: `Cratis.Arc.Core` and `Cratis.Arc.MongoDB`.
15
15
  Chronicle projection behavior is owned by the Chronicle guidance.
16
16
 
17
17
  ## Where the pieces live
@@ -40,8 +40,8 @@ query declarations; ARCCHR0019 warns about fold-like statics exposed by conventi
40
40
  A `CancellationToken` parameter is supplied by Arc, not a query argument/proxy
41
41
  input. Concept parameters are always caller-supplied, never DI. Invalid bool,
42
42
  overflow, concept or collection-element GET/QUERY arguments return HTTP 400.
43
- Minimal-API concepts serialize as primitives since 22.26.0.
44
- Sources at Arc v22.75.0: `Arc.Core/Queries/ModelBound/ReadModelAttribute.cs`,
43
+ Minimal-API concepts serialize as primitives.
44
+ Sources: `Arc.Core/Queries/ModelBound/ReadModelAttribute.cs`,
45
45
  `QueryAttribute.cs`, and `Documentation/backend/csharp/chronicle/code-analysis/ARCCHR0019.md`.
46
46
 
47
47
  The declared return type is validated after unwrapping at most one `Task<>`:
@@ -149,9 +149,9 @@ Guard React `result.hasData` and `result.isReady` before dereferencing data.
149
149
 
150
150
  ## Cost and composition
151
151
 
152
- The behavior below was checked against **Arc v22.75.0**
153
- ([collection observation](https://github.com/Cratis/Arc/blob/v22.75.0/Documentation/backend/csharp/mongodb/observing-collections.md),
154
- [implementation](https://github.com/Cratis/Arc/blob/v22.75.0/Source/DotNET/MongoDB/MongoCollectionExtensions.cs)).
152
+ The behavior below is described in
153
+ ([collection observation](https://github.com/Cratis/Arc/blob/main/Documentation/backend/csharp/mongodb/observing-collections.md),
154
+ [implementation](https://github.com/Cratis/Arc/blob/main/Source/DotNET/MongoDB/MongoCollectionExtensions.cs)).
155
155
  Do not generalize it to every provider or custom observable.
156
156
 
157
157
  - Per-collection `Observe` reads an initial filtered set, retains it in memory,
@@ -177,9 +177,9 @@ Do not generalize it to every provider or custom observable.
177
177
  - Prefer a purpose-built projected summary for frequently recomputed joins.
178
178
  Query-time composition is supported, not forbidden. Bound each input and define
179
179
  count, paging, missing-related-data, and subscription-disposal behavior.
180
- At v22.75.0 MongoDB and EF auxiliary observations can use `ignoreQueryContext: true` so client
180
+ MongoDB and EF auxiliary observations can use `ignoreQueryContext: true` so client
181
181
  paging/counts belong to the primary source. That option reads **all matching
182
- auxiliary rows**; it is not a performance limit. Confirm version support before
182
+ auxiliary rows**; it is not a performance limit. Confirm the installed Arc supports it before
183
183
  using it, and keep an explicit narrow filter.
184
184
 
185
185
  Use the **cratis-arc-query-paging** skill for source-side paging. Paging an
@@ -13,22 +13,23 @@ branching on prior state, calculations or guards read better as code. A reducer
13
13
  is a normal choice, not a last resort. For the application-code ladder and PDL's
14
14
  outside-code role, read [choosing a style](../cratis-chronicle-read-model/SKILL.md#step-3--choose-a-projection-or-a-reducer).
15
15
 
16
+ Requires Chronicle 19.58.0 for self-reducing read models.
17
+
16
18
  For new .NET reducers, default to **self-reducing read models**: public static
17
19
  `Reduce` methods beside the state, discovered by shape without a marker. Use a
18
20
  separate `IReducerFor<T>` for fold-time DI, replay-time instance state or useful
19
21
  separation; nominate a plain class only when its assembly cannot reference
20
- Chronicle. Self reduction is .NET-only (Cratis/Chronicle#4851); other SDKs retain
22
+ Chronicle. Self reduction is .NET-only; other SDKs retain
21
23
  their own contracts. This guidance does not claim Stage renders the self form.
22
24
 
23
25
  ## Verified product sources
24
26
 
25
- This skill is verified against this exact source:
27
+ Sources:
26
28
 
27
- | Package | Version | Purpose |
28
- | --- | --- | --- |
29
- | `Cratis.Chronicle` | `19.50.1` | Existing reducer, read-model and event APIs |
30
- | `Cratis.Chronicle` | `19.59.4` | `Source/Clients/DotNET/Reducers/{SelfReducerMethods,SelfReducerInvoker,SelfReducerReplayHooks,RegisteredReducerReadModel,ReducerInvoker,ReducerCatalog}.cs`, `ReadModels/ReadModelBuilderOwnership.cs`, `DefaultClientArtifactsProvider.cs` at tag `v19.59.4`: self/instance forms, discovery and ownership |
31
- | `Cratis.Chronicle.Testing` | `19.59.4` | `Source/Clients/Testing/ReadModels/ReadModelScenario.cs` at tag `v19.59.4`: static folds through scenarios |
29
+ | Package | Purpose |
30
+ | --- | --- |
31
+ | `Cratis.Chronicle` | `Cratis.Chronicle.Reducers`, `Cratis.Chronicle.ReadModels`, `Cratis.Chronicle.Events`; self and instance forms, discovery and ownership (`Source/Clients/DotNET/Reducers/{SelfReducerMethods,SelfReducerInvoker,SelfReducerReplayHooks,RegisteredReducerReadModel,ReducerInvoker,ReducerCatalog}.cs`, `ReadModels/ReadModelBuilderOwnership.cs`, `DefaultClientArtifactsProvider.cs`) |
32
+ | `Cratis.Chronicle.Testing` | `Source/Clients/Testing/ReadModels/ReadModelScenario.cs`: static folds through scenarios |
32
33
 
33
34
  Reverify product sources before claiming support for another version.
34
35
 
@@ -93,10 +94,10 @@ No model activation, parameterless constructor or reducer marker is needed.
93
94
  ### Arc on the same record
94
95
 
95
96
  In Arc applications keep `[ReadModel]`, `Reduce` methods and static queries on
96
- one record. Before Arc 22.90.0, use
97
+ one record. On an Arc older than 22.90.0, use
97
98
  `[ReadModel(RequireQueryAttribute = true)]` with `[Query]` on intended endpoints;
98
99
  see [query discovery](../cratis-chronicle-read-model/references/queries.md#discovery-rules).
99
- From Arc 22.90.0, Arc excludes methods taking the model itself from query
100
+ Requires Arc 22.90.0 for the automatic behavior: Arc excludes methods taking the model itself from query
100
101
  discovery, and Arc.Chronicle claims self-reducing models for command injection.
101
102
  Check the consuming Arc version; Chronicle's discovery does not fix older Arc.
102
103
 
@@ -231,14 +232,14 @@ model type** and makes it passive as a whole: no sink, nothing materialized, and
231
232
  the instance is computed on demand when it is read. Reach for it when a
232
233
  command-side read needs the model current at the moment it is read. Passive is
233
234
  fresher, not safer: a passive reducer read captures no position and guards nothing,
234
- and a reducer (or a self-reducing model, since Chronicle 19.58.0) is refused by
235
+ and a reducer (or a self-reducing model) is refused by
235
236
  decision reads. For a rule that must hold under concurrent writers use a flat
236
237
  projection with a decision read; see
237
238
  [choosing how a rule holds](../cratis-chronicle-decision-reads/references/choosing-how-a-rule-holds.md).
238
239
 
239
240
  ## Discovery, upgrades and ownership
240
241
 
241
- Since 19.58.0, complete marker-free static shapes become reducers on upgrade,
242
+ Requires Chronicle 19.58.0: complete marker-free static shapes become reducers on upgrade,
242
243
  including existing helpers. Review them before upgrading. Near-miss static
243
244
  `Reduce` declarations whose current/result refers to the model warn (CHR0058)
244
245
  and are skipped by implicit discovery; explicit nomination throws
@@ -313,11 +314,11 @@ Filters remain effective during catch-up, replay and failed-partition recovery.
313
314
  The kernel classifies new definitions under `observers.definitionEvolution`:
314
315
  `Automatic` (default), `PartialOnly`, or `Manual`. Reducer method fingerprints
315
316
  make code changes visible even without subscription changes; assembly versions
316
- are ignored since 19.29.4 (that upgrade replays each reducer once). Changed
317
+ are ignored (Requires Chronicle 19.29.4). Changed
317
318
  implementation, keys or filters require full replay; adding event types permits
318
319
  partial replay only when history proves they follow all previously consumed
319
320
  events per source. Interleaved history requires full replay. Manual policies
320
- leave recommendations; they do not silently rebuild. Source at v19.50.0:
321
+ leave recommendations; they do not silently rebuild. Source:
321
322
  `Documentation/hosting/configuration/observers.md`.
322
323
 
323
324
  ## Specifications