Repository navigation
Release v7.193.0
Corpus guidance for Elixir applications built on Arc and Chronicle: how specs are written and kept out of releases, projections over reducers, read models that own their artifacts, and uniqueness by constraint.
Added
specs.elixir.md: specs are.exsscripts infor_*/when_*folders beside the code with no_testsuffix, found withtest_pathsandtest_load_filters, so a release never contains them (the Elixir counterpart of the C# Release removal and the TypeScript spec folders).- Elixir spec conventions: one scenario per file, assertions that start with
should, shared contexts ingiven/, and spec module names that mirror their path. - An Elixir decision table in
cratis-arc-elixirthat names Chronicle constraints (unique/2,unique_event_type/1) for uniqueness and how Arc reports a violation. - A "read model owns its artifacts" section in
cratis-arc-elixir: the read model, its projection or reducer and its queries share one file named for the read model.
Changed
- Projections are preferred over reducers; a reducer is the exception when a projection cannot express the transition. This replaces "a reducer is a normal choice, not a last resort" in
cratis-chronicle-read-modelandcratis-chronicle-reducer, and adds the rule tovertical-slices.mdand the Elixir skills. - The uniqueness row of the decision matrix in
vertical-slices.mdsays never to check uniqueness by reading first. - The generated Copilot instructions are regenerated, and the
proxies-and-vertical-slices.mdreference gets its Contents list.