chore: restructure the ADRs and add the CQRS overview #13

Merged
aleksei merged 2 commits from docs/restructure-adr into main 2026-10-21 22:17:29 +00:00
Owner

Restructure adr/ and adapt the conceptual ADRs from delta-es that describe how the engine works.

Added

  • adr/README.md — the index: layers (overview, core runtime, domain, infrastructure, adapters), one-line summaries and a recommended reading order.
  • adr/engine.md — the CQRS overview: command side (validate/transform, publish to per-entity persistent streams, CREATE/UPDATE/DELETE, bulk fan-out, chains, versioned message ids, 202 + system-task-id) and read side (EntityProjectDbUnit main views, EntityProjectTsdbUnit history, at-least-once projections, no write-path reads), plus provisioning/readiness and the source-of-truth/retention caveats.
  • adr/usage.md — the standard unit catalog and how a service composes them.
  • adr/entity_op.md — the entity-specific operation behaviours split out of op.md (transforms, bulk, chains, projection, storage/walking).
  • adr/task.md — the SystemTaskUnit split out of system.md, with the actual Rust API (start/start_with_timeout, pursue, stop, run, wait/wait_with_timeout, reaper).
  • adr/entity.md — a "Standard addon sets" section (core/CRUD/time-series/storage/others) and the mutation response/context invariant.

Changed

  • adr/op.md now keeps the generic operation semantics and links to entity_op.md for entity behaviours.
  • adr/system.md keeps the non-task system units and links to task.md.
  • Cross-links in adr/log.md, adr/ports.md, adr/wire.md updated for the splits.
  • README.md reading order points to adr/README.md.
  • adr/code_style.md: fixed the dprint.json link (../dprint.json).

Not transferred

During review I removed the delta-es material that is not about eve itself:

  • adr/repository.md and adr/dependencies.md — repository/workspace tooling, package naming and the "standard library" policy; package.md already covers the workspace and the dependency direction.
  • the service-layout ADR (main.rs, suggested module layout) — it described application scaffolding rather than the engine.
  • the "Comments and names" addition to code_style.md.
  • the "Test naming and groups" addition to test.md.

Verification

  • A script checked every relative Markdown link in adr/**/*.md and the root README.md: no broken links.
  • rg shows no references to the removed repository.md/dependencies.md/service.md.
  • git diff --check is clean; no code, tests or benches are touched.
Restructure `adr/` and adapt the conceptual ADRs from `delta-es` that describe how the engine works. ## Added - `adr/README.md` — the index: layers (overview, core runtime, domain, infrastructure, adapters), one-line summaries and a recommended reading order. - `adr/engine.md` — the CQRS overview: command side (validate/transform, publish to per-entity persistent streams, `CREATE`/`UPDATE`/`DELETE`, bulk fan-out, chains, versioned message ids, `202` + `system-task-id`) and read side (`EntityProjectDbUnit` main views, `EntityProjectTsdbUnit` history, at-least-once projections, no write-path reads), plus provisioning/readiness and the source-of-truth/retention caveats. - `adr/usage.md` — the standard unit catalog and how a service composes them. - `adr/entity_op.md` — the entity-specific operation behaviours split out of `op.md` (transforms, bulk, chains, projection, storage/walking). - `adr/task.md` — the `SystemTaskUnit` split out of `system.md`, with the actual Rust API (`start`/`start_with_timeout`, `pursue`, `stop`, `run`, `wait`/`wait_with_timeout`, reaper). - `adr/entity.md` — a "Standard addon sets" section (core/CRUD/time-series/storage/others) and the mutation response/context invariant. ## Changed - `adr/op.md` now keeps the generic operation semantics and links to `entity_op.md` for entity behaviours. - `adr/system.md` keeps the non-task system units and links to `task.md`. - Cross-links in `adr/log.md`, `adr/ports.md`, `adr/wire.md` updated for the splits. - `README.md` reading order points to `adr/README.md`. - `adr/code_style.md`: fixed the `dprint.json` link (`../dprint.json`). ## Not transferred During review I removed the delta-es material that is not about `eve` itself: - `adr/repository.md` and `adr/dependencies.md` — repository/workspace tooling, package naming and the "standard library" policy; `package.md` already covers the workspace and the dependency direction. - the service-layout ADR (`main.rs`, suggested module layout) — it described application scaffolding rather than the engine. - the "Comments and names" addition to `code_style.md`. - the "Test naming and groups" addition to `test.md`. ## Verification - A script checked every relative Markdown link in `adr/**/*.md` and the root `README.md`: no broken links. - `rg` shows no references to the removed `repository.md`/`dependencies.md`/`service.md`. - `git diff --check` is clean; no code, tests or benches are touched.
aleksei deleted branch docs/restructure-adr 2026-10-21 22:17:29 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
zoo/eve!13
No description provided.