Foodtruck Order — TypeScript Reference - v0.1.0
    Preparing search index...

    Variable READY_TO_DELIVEREDConst

    READY_TO_DELIVERED: OrderStatusChange = ...

    The forward transition that ends the order's active life: Ready to Delivered.

    This pair is what removes an order from the active kitchen queue, because Delivered is not one of ACTIVE_ORDER_STATUSES. The removal is achieved by moving the order to a state the active read does not return, never by deleting a row: the finalized order, its item snapshots, and its entire transition history stay durable, so delivery is a state change and not a disappearance.

    There is deliberately no in-place undo from Delivered here. A mistaken hand-off is an operational event an operator needs a recovery path for, and inventing a silent reversal in this slice would append a second, contradicting fact to an order the customer may already have taken. The recovery screen is explicitly out of scope for this task.