Cohesive is not all-or-nothing.
Step 1: Adopt Relations
- Replace manual DTO mapping
- Replace ad hoc query logic
- Unify search indexing
- Introduce typed predicate algebra
Immediate payoff, minimal disruption.
Step 2: Introduce Explicit Transitions
- Model high-risk state changes
- Make invariants visible
- Emit deterministic effects
No infrastructure change required.
Step 3: Introduce Processes
- Replace implicit orchestration
- Centralize workflow logic
- Add retry and compensation
Still optional durability.
Step 4: Enable Durable Execution
- Add orchestration runtime
- Persist checkpoints
- Scale horizontally
Semantics remain unchanged.
Step 5: Introduce ML Feature Projections
- Define feature relations
- Compile to ONNX runtime
- Ingest predictions back through processes
Machine learning becomes a structured extension, not an external pipeline.