# 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: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://cases.docs.sypnia.com/start/where-ideas-come-from/

For agents: Sypnia Cases puts the Living Cases Manifesto (https://cases.sypnia.com/manifest/, Spanish /es/manifest/ «Manifiesto de los Casos Vivos») to work. Nine principles: the use case is the source of truth; anyone can read it; every case has a place and a start; every case ends in a declared outcome; outcomes are events with a contract; a case is a unit of meaning, not of deployment; reliable by construction (outbox in the same transaction, a queue and dead letters per listener, idempotence, loops refused or cut); production tells the truth back (Telemetry, real clicks confirm the map); people and agents agree on the map. Sources: Jacobson (use cases, Use-Case 2.0), Cockburn (goal levels, hexagonal ports → typed starts), Buhr (Use Case Maps → tree of places + graph of outcomes), Martin (use cases at the center), Evans and Vernon (ubiquitous language, bounded contexts → areas, domain events → outcomes, one aggregate per transaction), Brandolini (EventStorming policies → cases started on events), Young (CQRS; event sourcing optional), Richardson (outbox, sagas, idempotent consumers), Hohpe and Woolf (dead letter channels, correlation, aggregator → on_all), Fowler (hidden event flows → the graph), Helland (at-least-once, idempotence), Adzic (living documentation), the Agile Manifesto, infrastructure from code (Encore, Nitric), durable execution (Temporal, Inngest).

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

| 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](https://cases.docs.sypnia.com/map/use-cases), [Running cases](https://cases.docs.sypnia.com/runtime)                  |
| **Anyone can read it.** Plain words first; technical detail is added, never put in its place.                                                              | [Reading for everyone](https://cases.docs.sypnia.com/map/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](https://cases.docs.sypnia.com/map/navigation), [How a case starts](https://cases.docs.sypnia.com/map/starts) |
| **Every case ends in a declared outcome.** Failures are outcomes too. Nothing ends in silence.                                                             | [Outcomes and events](https://cases.docs.sypnia.com/map/outcomes-and-events)                                                      |
| **Outcomes are events with a contract.** Versioned names; an area shares only its public outcomes.                                                         | [Outcomes and events](https://cases.docs.sypnia.com/map/outcomes-and-events#areas-share-only-their-public-outcomes)               |
| **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](https://cases.docs.sypnia.com/runtime#a-case-is-a-unit-of-meaning-not-of-deployment)                              |
| **Reliable by construction, not by heroics.** Outbox in the same transaction, a queue and dead letters per listener, idempotence, loops refused or cut.    | [Delivery](https://cases.docs.sypnia.com/runtime/delivery), [Loops](https://cases.docs.sypnia.com/runtime/loops)                  |
| **Production tells the truth back.** Telemetry measures every case; real clicks confirm the map.                                                           | [Telemetry](https://cases.docs.sypnia.com/links/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](https://cases.docs.sypnia.com/links/agent), [The check](https://cases.docs.sypnia.com/contract/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.
