commit ead56d7b356f7e40b2b674714b1eae79e7936bc1
parent be9f3a03e553d82c05e2941958b9b4201d0841b1
Author: triesap <tyson@radroots.org>
Date: Fri, 19 Jun 2026 19:19:01 -0700
cli: align agreement status interop
- remove stale payment display fixture requirements from app order interop
- tighten order help, cancel description, and enqueue status copy
- keep agreement-only status guards focused on order workflow vocabulary
- validate CLI status and interop paths with Nix check and test
Diffstat:
4 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/src/cli/mod.rs b/src/cli/mod.rs
@@ -131,7 +131,7 @@ pub enum TargetCommand {
Market(MarketArgs),
#[command(about = "Prepare baskets and quotes before order coordination.")]
Basket(BasketArgs),
- #[command(about = "Coordinate order lifecycle events without payments.")]
+ #[command(about = "Coordinate buyer and farmer order agreement events.")]
Order(OrderArgs),
#[command(about = "Inspect validation receipts and proof state.")]
Validation(ValidationArgs),
diff --git a/src/registry/order.rs b/src/registry/order.rs
@@ -135,7 +135,7 @@ pub const ORDER_CANCEL: OperationSpec = operation!(
"order_cancel",
"OrderCancelRequest",
"OrderCancelResult",
- "Cancel a buyer order before fulfillment.",
+ "Withdraw a buyer order before agreement finalization.",
Buyer,
true,
Required,
diff --git a/src/runtime/order.rs b/src/runtime/order.rs
@@ -5787,7 +5787,7 @@ fn sdk_order_lifecycle_actions(push_event: Option<&PushOutboxEventReceipt>) -> V
fn sdk_order_enqueue_summary(enqueue: &OrderWorkflowEnqueueReceipt) -> String {
format!(
- "local SDK enqueue completed for `{}` as `{}` with outbox_event_id {}; {}",
+ "local SDK enqueued `{}` as `{}` with outbox_event_id {}; {}",
enqueue.operation_kind,
sdk_mutation_state_label(&enqueue.state),
enqueue.outbox_event_id,
diff --git a/tests/target_cli.rs b/tests/target_cli.rs
@@ -483,10 +483,6 @@ fn seed_app_order_record_variant_with_record_id(
"order_updated_at": "2026-05-24T12:00:10Z",
"created_at_ms": 1_779_000_010_000_i64,
},
- "payment_display": {
- "state": "not_recorded",
- "allows_payment_action": false,
- },
"document": {
"version": 1,
"kind": "order_draft_v1",