Implementation log — 2026-11-03
Feature
Propagate the verified DiddiFreeID review context from DiddiFood orders to DiddiSend as is_review_delivery.
Scope
- Read
is_review_accountonly from the verified identity token. - Persist it on the Food order.
- Reuse the persisted value for delivery creation and retries.
- Send
is_review_deliverythrough the authenticated Food → Send contract. - Preserve
origin_module,exclusive,order_reference, and stable idempotency.
Explicitly out of scope
- Frontend-provided review flags.
- Payment changes.
- Matching logic inside DiddiSend.
- New global review mode.
Validation
- Unit tests for verified claim mapping.
- Order persistence mapping tests.
- Food → Send payload tests for review and normal orders.
- Existing ordering and delivery replay tests.