# How does Irene ask you things, track its plan, and wait?

**Four small toolkits shape how a run flows. `conversation` lets an agent ask you a question mid-task and keep a visible task list. `sleep` waits a bounded few seconds. `subagent` lets a helper ask the agent that started it. `complete_task` lets an agent say whether a board task is done or blocked. None of them call a model, and none cost anything.**

---

## What makes it different

| what it does | the primitive behind it | what that buys you |
|---|---|---|
| **A question really pauses the run** | The tool call stays open until you answer. The run waits, holding its place, with no timeout | Irene picks up exactly where it was, without ending the turn and re-sending the whole conversation |
| **A question survives a restart** | The pending question is saved to disk before the wait; on restart it's shown again, with a notification | An unanswered question is never lost if Irene closes |
| **One task-list call, all or nothing** | `todo` creates and updates many items at once, checks the whole batch first, and names every bad item in one reply | A half-applied plan never appears; a wrong call changes nothing |
| **Helpers can ask, and waiting isn't hanging** | A helper's question pauses it until the agent above answers. The 10-minute inactivity clock stops while a person is being asked | A helper waiting on you is never killed as stuck |
| **Done and blocked are different** | On a board task, the agent records its own verdict: done, or blocked with the reason | A card that "ran" but couldn't finish shows **blocked, and why**, not a false success |

---

## How it works

### `ask_user_question`

- The agent asks one question (with optional choices and context), or several at once.
- **The run stops at that moment.** Nothing is lost and nothing re-runs. When you answer, the agent continues from the same step.
- **No time limit.** The question waits until you answer or stop the run. While it's waiting, a new message to that chat is refused, so you answer it or press Stop.
- **Restart-proof:** the question is written to disk before the wait. If Irene closes, it's shown again on reopening, with a notification.
- **Cancel run** on the question card stops the whole run, the same as Stop.

**Why it doesn't ask permission first:** asking "may I ask you a question?" would be pointless, and could leave the question stuck behind its own approval. So questions skip the approval gate entirely.

**Why it's never available inside a reflex:** a reflex runs as a sealed program with no way to show you anything. A question there would wait forever. So the agent gathers everything it needs before starting one.

### `todo`

- One call creates items (no id) and updates items (with id) together. Each item is **pending**, **in progress**, **completed** or **cancelled**.
- **All or nothing:** the whole batch is checked before anything is written. If any item is wrong, nothing changes, and the reply names **every** bad item at once.
- The list lives in Irene's memory for the chat and drives the **Tasks** panel live. It's never re-sent to the model.

**Why all or nothing:** a half-applied plan is worse than a refused one. And naming every mistake at once stops an agent from fixing them one call at a time.

### `sleep`

- Waits between **1 and 120 seconds**.
- **Why the limits:** under a second isn't worth a tool call, and over two minutes is almost always a mistake. The agent should wait for something to happen, not on a timer.
- Agents are told never to sleep while waiting on a helper they can join. Joining already waits.

### `ask_delegator` (helpers only)

- A helper can ask the agent that started it a question mid-task. It pauses until the parent answers (by default, up to **10 minutes**).
- **No answer in time:** the helper is told to carry on with its best judgement and say what it assumed. It isn't stopped.
- **One question at a time** per helper.
- **While it waits on a person, its inactivity clock is paused.** Waiting on a human isn't a hang.
- Only helpers get this tool. It's attached to the helper's own chat, never to agents you talk to directly.

### `complete_task` (board runs only)

- On a run started from a board card, the agent reports **done** or **blocked**, with a reason of up to 2,000 characters.
- The card moves to match, and its note shows the reason. **Blocked marks the run as failed,** even though the agent finished talking.
- It's added only to runs started from a card, and the agent can't point it at a different card.

**Why it exists:** a run can end cleanly while the task itself didn't get done ("I couldn't log in"). The board should say *blocked, waiting on X*, not just *ran*.

---

## Its tools

| toolkit | tool | inputs |
|---|---|---|
| `conversation` | `ask_user_question` | question, choices, context, or a list of questions (each can allow several answers, free text, a recommended choice and a hint) |
| | `todo` | a list of items to create or update |
| `sleep` | `sleep` | seconds (1–120) |
| `subagent` | `ask_delegator` | question, timeout |
| `complete_task` | `complete_task` | done or blocked, and why |

`conversation` and `sleep` are carried by **every agent**. `subagent` and `complete_task` are added automatically where they apply.

---

## How agents are told to use them

1. **Ask only when a real choice is yours.** Look up anything checkable.
2. **One focused question,** with choices when there are clear options. Several related questions go in one card, not one after another.
3. **Multi-step work starts with a task list,** with one item in progress, so you can tell a long step from a stuck one.
4. **Never sleep to wait on work you can join.**

---

## Approvals

None of these tools ever shows an approval card. In auto mode they run without the judge. The only buttons are on the question card itself: **Send** or **Cancel run**.

---

## Where you see it

- **The question card:** "Irene asks", the question, choices as buttons, a text box, **Send** and **Cancel run**. Several questions become pages with Back and Next and a review page, and nothing is sent until **Send**.
- **In the chat afterwards:** the question, the choices, and your answer.
- **The Tasks panel** in the side rail: a progress ring and one row per task. The one in progress pulses, and finished ones are struck through. The rail opens to Tasks the first time a run makes a list.
- **Waiting:** a small card that says **Waiting** while it waits and **Waited** after.
- **A helper's question:** its card shows **waiting on you**, with a box to answer, plus a notification.
- **The board:** the card's column and its note, with a blocked card showing the agent's reason.

---

## What it costs

Nothing. All four run on your computer with no model call and no plan gate. A paused question also saves cost: the turn isn't ended and re-sent when you answer.

---

## Limits

- **The task list lives in memory** for the chat, so it clears if Irene restarts. The plan in Chronicle is the durable one.
- **Several questions asked at once queue up:** you answer them one card at a time.
- **No questions inside reflexes.**
- **`sleep` maxes out at 2 minutes.** For longer waits, use a watch or a scheduled card.

---

## Related

- [Main agent](https://mycelen.com/manual/reference/agents/main) · [Chronicle](https://mycelen.com/manual/reference/toolkits/chronicle) (plans, durable across restarts)
- [Approvals & auto mode](https://mycelen.com/manual/how-it-works/approvals-and-auto-mode)

[Ask Irene about this]
