Glossary
Every word these docs use with a fixed meaning.
One name per thing, in these docs, in the editor and in the API.
- Actionable
- The button, link, menu item or tab on a parent place that opens a child place.
- Actor
- Who acts in a use case — a kind of person (customer, staff) or another system.
- Area
- A group of use cases that belong together, like a module of the app. A lane in the editor.
- Area service
- The one service in which all the cases of an area run. A case gets a service of its own only when Run splits it.
- Bounded loop
- A cycle of events allowed on purpose, with a maximum and a condition that ends it.
- Cases project
- One app's map in Sypnia Cloud, inside an organization. It links to at most one Sypnia Data project, both ways.
- Code side
- What the code says the app does — the use cases Sypnorm derives, or commit trailers — compared by the check with the written map.
- Contract
- The landing page, the plan and the approved map, which must agree.
- Dead letters
- The events a listener could not handle after its retries, kept per listener to see and send again.
- Drift
- The code and a use case disagree on data, failures or who is allowed.
- Event
- An outcome other cases listen to, named area.case.Outcome.vN and delivered through the outbox.
- Failure
- Something that can go wrong in a use case, with a name in PascalCase, when it happens, and what the person is told. Code uses the same names.
- Journey
- The use cases one person goes through, in order.
- LoopStopped
- How the runtime ends a delivery whose chain repeats a case or goes deeper than 10 events.
- Map
- Every use case of an app, with its actors, areas and journeys. Kept as files in
cases/and, in Sypnia Cloud, in the Cases server. - The tree of an app's places, one parent each, with several roots (one per front door). The path to every case is worked out from it.
- Outbox
- The table where the area's service saves an outcome with listeners, in the same transaction as the data it describes, before it is delivered. Only the server writes it, never a browser.
- Outcome
- A named, typed way a case ends. Every run ends in exactly one declared outcome or failure; failures are outcomes too.
- Place
- A screen, tab, modal, menu or panel of the app, in the navigation map. Its id is kebab-case words joined by dots (shop.order-for-tomorrow), independent of the route and of the path.
- Proposal
- A set of changes to the map waiting for review. Merged into a new version when approved.
- Public outcome
- An outcome an area lets other areas listen to. Every other outcome is internal to its area.
- Reading level
- How much detail a case shows — plain, working or technical — chosen per person.
- Runner
- What runs Sypnorm use cases against a database — through the Sypnia Data API with the person's token, or with a direct connection to any Postgres.
- Scope
- What is being built — the latest approved version of the map.
- Scope error
- A difference between the contract and the code — unmapped code, an unbuilt case, drift, or a broken promise.
- Shortcut
- Another way to reach a place, besides its parent. Never a second parent.
- Start
- How a case starts, declared in
starts— in_app, external, scheduled or event. - Sypnorm
- The use-case ORM that comes with Cases (@sypnia/cases/sypnorm). The app is written as use cases, and the code side of the map comes from them.
- Use case
- One thing someone does with the app, from start to end — who does it, what they want, the steps, what can go wrong, the data it touches, who is allowed.
- Version
- An approved state of the map. Numbered, immutable; the latest one is the scope.
- Waiver
- A reviewed, dated exception to the check, written in map.yaml.