Repository navigation
Release v7.124.0
Specification guidance now steers application authors to the cheapest spec that proves the behavior, and keeps decision-read plumbing out of application specs.
Changed
- Application specs for pure decisions call
Handle()or the validator directly with supplied read-model state;CommandScenario,ReadModelScenarioandReactorScenarioare reserved for what the pipeline, validation, authorization, constraints or projections actually contribute, with measured per-fact costs to weigh the choice. (#962) - Decision reads and read protection are invisible to application spec authors: the concurrency and guard matrix is proven in Arc and Chronicle, and an application keeps one assembly-level decision-read admission spec for its own decision models. The spec-writer agent, the add-business-rule prompt and code-review guidance say the same. (#962)
- Guidance on the shared specification lifecycle, shared projection setup and running specs fast is updated, including the extended CRSPEC0008 and new CRSPEC0012 checks in Cratis Specifications 5.2.0. (#962)
- Run
cratis ai updateto pick up the new guidance. (#962)