Overview

Coverage
4 / 4
4 covered · 0 uncovered
Elements
3
3 signals · 1 interfaces
Requirements
4
6 activities
Versions
2
main b38ea131; with-microduck 173cf8ad;

branch main · commit b38ea131 · seed platform scenario · by admin

View diagram

Add element

Assist

No live reasoner configured: set MW_ASSIST_BASE_URL (with MW_ASSIST_MODEL) or MW_ANTHROPIC_API_KEY, or MW_ASSIST_REASONER=scripted for the deterministic test mode.

Structure

  • Cafe Standblock«Block»

    A staffed stand that takes an order, takes payment through the purchasing terminal, and provisions a coffee and a toasted sandwich.

    edit
    • Provisioning Bayblock«Block»

      Holds the beverage and food equipment and is served by the terminal's payment approval.

      edit
    • Service Windowblock«Block»

      Where the customer orders, pays and collects. The stand's only interface to the customer.

      edit

Signals

  • PaymentApprovedsignal

    From the purchasing terminal: the customer's payment cleared.

  • BeverageReadysignal

    From the coffee machine: the drink is dispensed.

  • FoodReadysignal

    From the sandwich toaster: the toastie is sealed and cut.

Interfaces

  • Customer Interfaceinterface

    Ordering, payment and collection across the counter.

Requirements

idreqIdtextsatisfied bycoverage
req-service-timeCS-1Service Time: The stand shall serve a coffee and a toasted sandwich within 4 minutes of the customer's payment being approved.
  • satisfy: Complete Order
covered
req-one-paymentCS-2One Payment: A single payment shall cover both items and produce one receipt itemising both.
  • satisfy: Take Payment
covered
req-no-early-provisionCS-3No Provision Before Payment: The stand shall not begin provisioning either item before payment approval is received from the purchasing terminal.
  • satisfy: Complete Order
covered
req-floor-clearCS-4Floor Kept Clear: The stand shall keep the seated floor free of dropped cups throughout trading hours, not only at close.
  • satisfy: Clear the Floor
covered

Traceability

4 requirements: 4 covered, 0 uncovered · 4 satisfy, 0 refine, 0 verify, 0 allocate

idreqIdtextallocated elementsstatus
req-service-timeCS-1Service Time: The stand shall serve a coffee and a toasted sandwich within 4 minutes of the customer's payment being approved.
  • satisfy: Complete Order
covered
req-one-paymentCS-2One Payment: A single payment shall cover both items and produce one receipt itemising both.
  • satisfy: Take Payment
covered
req-no-early-provisionCS-3No Provision Before Payment: The stand shall not begin provisioning either item before payment approval is received from the purchasing terminal.
  • satisfy: Complete Order
covered
req-floor-clearCS-4Floor Kept Clear: The stand shall keep the seated floor free of dropped cups throughout trading hours, not only at close.
  • satisfy: Clear the Floor
covered

State and activity

State machine: cafe-stand-states

This state machine has no regions.

This state machine has no transitions.

Activities

Take Order

no nodes

Take Payment

no nodes

Provision Beverage

no nodes

Provision Food

no nodes

Complete Order

no nodes

Clear the Floor

no nodes