Where these ideas come from
The Living Cases Manifesto, the people whose work Sypnia Cases stands on, and what each idea became here.
Sypnia Cases is the Living Cases Manifesto as a product. The manifesto says why software should be built from use cases that run, are measured and stay true, and whose work that idea stands on. Read it in full:
- The nine principles, an example in five cases, and the sources, in English.
- El mismo manifiesto, en español.
The principles, and where each one lives in these docs
| Principle | In Sypnia Cases |
|---|---|
| The use case is the source of truth. The code skeleton, the routes, schedules and queues, the permissions, the docs and what is measured come from it. | Use cases, Running cases |
| Anyone can read it. Plain words first; technical detail is added, never put in its place. | Reading for everyone |
| Every case has a place and a start. A tree of places inside the app; four typed ways to start. | The navigation map, How a case starts |
| Every case ends in a declared outcome. Failures are outcomes too. Nothing ends in silence. | Outcomes and events |
| Outcomes are events with a contract. Versioned names; an area shares only its public outcomes. | Outcomes and events |
| A case is a unit of meaning, not of deployment. An area runs as one service; the runtime decides where each outcome goes. | Running cases |
| Reliable by construction, not by heroics. Outbox in the same transaction, a queue and dead letters per listener, idempotence, loops refused or cut. | Delivery, Loops |
| Production tells the truth back. Telemetry measures every case; real clicks confirm the map. | Telemetry |
| People and agents agree on the map. The agent proposes a change to the map before going beyond it; the check keeps everyone honest. | Agent, The check |
The people it stands on
None of these ideas is new on its own. What is new is putting them in one place a person can read and a machine can check.
| Source | What we keep | What it became here |
|---|---|---|
| Ivar Jacobson: use cases (1987), Use-Case 2.0 (2011, with Ian Spence and Kurt Bittner) | the use case as the unit of value, thin slices, tests per case | a file the tools read, from which routes, permissions, docs and measurements come |
| Alistair Cockburn: Writing Effective Use Cases (2000), hexagonal architecture (2005) | one actor and one goal, failures next to the main path, a core apart from what drives it | the ports are typed: in_app, external, scheduled, event in, declared outcomes out |
| R. J. A. Buhr: Use Case Maps (1996, with R. S. Casselman; ITU-T Z.151) | the map as the thing you look at | two maps that agree: a tree of places for people, a graph of outcomes for the system |
| Robert C. Martin: Screaming Architecture, Clean Architecture | use cases at the center, details at the edge | the boundary is generated from the case; you write the rules inside |
| Eric Evans: Domain-Driven Design (2003); Vaughn Vernon: Implementing Domain-Driven Design (2013) | the business’s language, bounded contexts, domain events, one consistent change per transaction | areas with public outcomes; outcomes as domain events; what a case writes is visible on the map |
| Alberto Brandolini: EventStorming (2013) | starting from what happens; policies, «whenever this happens, do that» | each policy is a case that starts on an event |
| Greg Young: CQRS and event sourcing (2010) | commands and reads as different cases; outcomes as facts | event sourcing is a choice, not a rule |
| Chris Richardson: the transactional outbox, sagas, idempotent consumers | all three | the runtime writes the outbox; a saga is cases starting on each other’s outcomes |
| Gregor Hohpe and Bobby Woolf: Enterprise Integration Patterns (2003) | dead letter channels, correlation identifiers, aggregators, guaranteed delivery | dead letters per listener on the map; on_all with a correlation key is an aggregator |
| Martin Fowler: «What do you mean by “Event-Driven”?» (2017) | a clear name for each pattern, and the warning that event flows are hard to see | the event graph is drawn from the files and checked for loops |
| Pat Helland: «Life beyond Distributed Transactions» (2007), «Idempotence Is Not a Medical Condition» (2012) | at-least-once delivery, idempotence, transactions kept in one place | idempotency keys and event ids are declared and enforced by the runtime |
| Gojko Adzic: Specification by Example (2011) | living documentation, true because something checks it | the cases are the documentation, and the code, infrastructure and telemetry are checked against them |
| The Agile Manifesto (2001) | short, plain, made of choices; software that works | a living case is documentation and working software at the same time |
| Infrastructure from code (Encore, Nitric) | no second description of the system | infrastructure comes from the cases |
| Durable execution (Temporal, Inngest) | steps that survive failures, retries with limits, a history | the durable unit is the case and its outcomes, which people read on the map |
The manifesto lists every source with its link, and marks the few short quotes it uses.