Skip to content

Where these ideas come from

The Living Cases Manifesto, the people whose work Sypnia Cases stands on, and what each idea became here.

Applies to EngineCloud
View as Markdown
On this page
  1. The principles, and where each one lives in these docs
  2. The people it stands on

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 principles, and where each one lives in these docs

PrincipleIn 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.

SourceWhat we keepWhat 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 casea 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 itthe 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 attwo maps that agree: a tree of places for people, a graph of outcomes for the system
Robert C. Martin: Screaming Architecture, Clean Architectureuse cases at the center, details at the edgethe 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 transactionareas 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 factsevent sourcing is a choice, not a rule
Chris Richardson: the transactional outbox, sagas, idempotent consumersall threethe 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 deliverydead 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 seethe 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 placeidempotency keys and event ids are declared and enforced by the runtime
Gojko Adzic: Specification by Example (2011)living documentation, true because something checks itthe 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 worksa living case is documentation and working software at the same time
Infrastructure from code (Encore, Nitric)no second description of the systeminfrastructure comes from the cases
Durable execution (Temporal, Inngest)steps that survive failures, retries with limits, a historythe 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.

  1. The principles, and where each one lives in these docs
  2. The people it stands on

    Search pages, sections and terms