question_ask
Record an open question for the human, scoped to your project, with a default answer; choice or free text. Dedupe by todo id or PR number and get woken when answered.
Instructions
Record an open question for the human, keyed to this project and to you as the asker. kind=choice takes 2-4 options (each label, description, recommended; exactly one recommended) and a header of 12 characters or fewer; kind=free_text takes just the question and header. Every question carries default_answer: for a choice it is the recommended option's label. Pass ref (a todo id or PR number) to dedupe: asking again with a ref that already has a PENDING question in this project updates that row instead of adding one. The receipt lists other pending questions in this project that look similar (same normalized text, or at least half their longer words shared), so you can question_update one instead. The record is only stored: put the question to the human yourself, in your own turn. You must be a session an answer can be woken back to. When the question is answered, an ordinary wake carrying the answer is queued to you; read the record with question_get.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| kind | Yes | ||
| header | Yes | 12 characters or fewer. | |
| options | No | Required for choice, forbidden for free_text. | |
| question | Yes | ||
| default_answer | Yes | What you do if unanswered. For a choice, the recommended label. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created | Yes | ||
| hive_notice | No | ||
| question_id | Yes | ||
| similar_question_ids | Yes |