Quickstart: the map in your repo
Write the first case files, check them, and run the check in CI. No account needed.
Write a use case
cases/orders/place-order.case.yaml id: place-order title: Order for today actor: customer goal: Get fresh bread reserved for pick-up today starts: in_app where: shop.order-for-today steps: - The customer picks products and quantities - The system checks what is left and reserves it - The customer gets a pick-up code outcomes: OrderPlaced: { order_id: uuid, pickup_code: string } failures: OutOfStock: when: a product sold out while ordering tell: «This one just ran out. The rest of your order is kept.» data: reads: [product] writes: [order, order_item] allowed: [customer]Check it
Terminal npx @sypnia/cases checkIt validates every file against the JSON Schema, checks that the case has a start and ends in declared outcomes, and that its place exists in
cases/navigation.yaml(initwrote one with a rootshop; add the placeshop.order-for-todaythere, or letnpx @sypnia/cases nav --from-codepropose it from your screens). If your code uses Sypnorm, it also compares the code’s use cases with the map (The check).