chap.deliberate.open
chap.deliberate.openStart a structured group decision by setting participants, question, and voting rule—any_one_approves, all_approve, quorum:N, weighted_vote, or weighted_vote_with_veto—to decide the outcome.
Instructions
Open a deliberation among several participants under a stated voting rule: any_one_approves, all_approve, quorum:N, weighted_vote:T or weighted_vote_with_veto:T.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The participants entitled to vote. A vote from anyone else is refused with -32030. | |
| from | Yes | Participant URI, e.g. 'human:alice@example.org' or 'agent:bot@local'. | |
| rule | Yes | How the outcome is decided when the deliberation closes: any_one_approves, all_approve, quorum:N, weighted_vote:T or weighted_vote_with_veto:T. An unrecognised rule is refused at open with -32033. | |
| veto | No | Voter to can-veto map. A veto is honoured only under weighted_vote_with_veto, and only from a voter listed true here. | |
| task_id | No | Task identifier returned by chap.task.create. | |
| weights | No | Voter to weight map, read by the weighted rules. A voter with no entry counts as 1. Weights must be integers: a JSON number with a fractional part is refused with -32602. | |
| deadline | No | When voting is intended to close, as an ISO 8601 timestamp. Recorded on the deliberation; closing is done by chap.deliberate.close and the coordinator does not close on the deadline. | |
| question | No | What the group is deciding. State it so that a yea or a nay is unambiguous. | |
| workspace | Yes | Workspace identifier, e.g. 'wsp_techcorp_support'. |