alicli documentation

Order approval

Order approval

Approval is bound to one staged imprint and one placement token.

alicli order show <token>
alicli order approve <token>
# After manual placement and verification:
alicli order resolve <token> --placed

The human step

Approval displays the staged supplier, items and total and asks for the last six characters of the token. Approval and resolution require an interactive terminal and confirmation prompt. A pipe or a noninteractive agent call refuses. Do not script a pseudo-terminal to bypass this boundary.

State rules

Staged records can be approved, denied or cancelled. Approved records can be cancelled or manually placed and then confirmed. Placing and unknown records require outcome verification and resolution, not cancellation or another click. Placed, denied, cancelled and failed states are terminal.

The local order event trail records transitions. Approval also writes a local ledger handoff containing opaque identifiers rather than supplier or pricing details. This is a record of the review step, not cryptographic proof that a human controlled a terminal and not an external payment receipt.

A stale placing record is not permission to click again. Check the actual Alibaba order before recording --placed or --not-placed. The current production transport remains prepare-only.

order ยท json