withdraw_proposal
Remove all still-pending shapes from a takeoff proposal batch in one journal step. Use it to cancel a wrong batch while keeping accepted shapes and a withdrawable record.
Instructions
Take a proposal back (#365): every still-pending shape in the batch is removed in ONE journal step, the record stays marked withdrawn (its label is history the estimator may still read), and new commits stop attaching to it. Shapes the estimator already accepted are ink and stay — the reply counts them. This is the honest exit for "that batch was wrong" — one call instead of N delete_shape calls, and undo_last restores the whole batch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proposal_id | Yes | The batch, from propose_takeoff |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| label | Yes | ||
| withdrawn | Yes | Pending shapes removed | |
| proposal_id | Yes | ||
| accepted_kept | Yes | Shapes from the batch the estimator had accepted — untouched |