# Your call

*Your agent reached a fork. It did the thinking, and you pick the direction from your phone.*

**Type: [Choose](types/choose.md).** Your agent did the research. Pick one of two or three options. This is one good use of it; the same widget serves which way to fix a bug, meeting time that works, which reply to send, which draft to publish and more. Switch the subject when something else matters more.

Template id `your-call` · Asks you · uses nothing on the phone · for: Coding agents and any agent on long tasks.

## Goal

The agent keeps moving without guessing on the decisions that are the user's to make.

## When to offer it

You've reached a decision that changes the result and is the user's to make.

## What the user gets

- Stops only at decisions that change the outcome
- Lays out two or three real options with the cost of each
- Carries on the moment you pick

## What each size shows

- **Small**: metric: My pick = Patch.
- **Medium**: metric: My pick = Patch; text (body): "A 12-line patch ships today. A rewrite takes 2 days."; buttons: Patch (`a`), Rewrite (`b`), Both (`c`).
- **Large**: metric: My pick = Patch; text (body): "A 12-line patch ships today. A rewrite takes 2 days."; buttons: Patch (`a`), Rewrite (`b`), Both (`c`); list: The options (3 rows).
- **Lock Screen**: inline "Your call: patch or rewrite".

## Make it theirs

**Look.** Send `look` instead of `theme` and `accent`; every combination is designed to read well:

- `style`: `glass` (default: see-through, adapts to dark mode), `soft` (a calm pale tint) or `bold` (a vivid gradient with dark buttons).
- `accent`: blue, indigo, purple, pink, red, orange, green, teal, graphite, or a hex.
- `font`: default, rounded, serif or mono.

This template's own accent is **blue**. To restyle a widget you already saved, send only the look:

```json
{"slug": "your-call", "look": {"style": "bold", "accent": "blue", "font": "rounded"}}
```

Preview a look without saving: `droplet_preview_widget` with the slug and `look`. When the user says "make it greener", "calmer" or "bolder", change the look; keep the content.

**Their choices.** Ask once (droplet_ask) or use what you know:

- How often to stop and ask
- What they'd rather you decide alone

**Search words:** decision, fork, options, approach, choose, pick, direction, tradeoff, blocked.


## Before you build

- You need: Coding agents and any agent on long tasks.
- Ask once: Nothing extra unless the option itself is consequential (a deploy, money, deleting): then approval as well.

## Fill it with real data

Start from the template (`droplet_library` with `id: "your-call"`), keep the design, and replace each sample value:

| Block | Real value |
|---|---|
| 0 · metric | Your pick, in a word or two. |
| 1 · text | The tradeoff in one line. |
| 2 · buttons | Two or three options, no symbols, about 10 characters each. |
| 3 · list | What each option means. |

Sources:
- The options you really considered, with what each one costs.
- Your recommendation, first.

## The widget

Sample values; send it with `droplet_set_widget` on your widget's slug (or a new slug with `new_widget: true` if the user asked for a separate widget). Preview it and fix every warning first.

```json
{
  "slug": "your-call",
  "title": "Your call",
  "subtitle": "Login bug",
  "symbol": "arrow.triangle.branch",
  "accent": "#0A84FF",
  "blocks": [
    {"type": "metric", "label": "My pick", "value": "Patch"},
    {"type": "text", "text": "A 12-line patch ships today. A rewrite takes 2 days.", "style": "body"},
    {"type": "buttons", "items": [{"id": "a", "label": "Patch"}, {"id": "b", "label": "Rewrite"}, {"id": "c", "label": "Both"}]},
    {"type": "list", "title": "The options", "items": [{"title": "Patch: fixes this bug only", "detail": "today"}, {"title": "Rewrite: fixes the cause", "detail": "2 days"}, {"title": "Both: patch, then rewrite", "detail": "this week"}]}
  ],
  "sizes": {"small": [0], "medium": [0, 1, 2], "large": [0, 1, 2, 3]},
  "lock": {"inline": "Your call: patch or rewrite", "circular": 0}
}
```

## Keep it fresh

When you reach the fork. Switch back to progress as soon as they pick.

## Handle the taps

Each tap reaches you once on `droplet_get_events` (keep a waker running, SKILL.md Process C). Answer within seconds by updating the widget.

**Patch** (`a`)

```json
{"widget": "your-call", "kind": "button", "target": "a", "value": {"label": "Patch"}}
```

Do option A and show progress.

**Rewrite** (`b`)

```json
{"widget": "your-call", "kind": "button", "target": "b", "value": {"label": "Rewrite"}}
```

Do option B and show progress.

**Both** (`c`)

```json
{"widget": "your-call", "kind": "button", "target": "c", "value": {"label": "Both"}}
```

Do option C and show progress.

## Ask first

Nothing extra unless the option itself is consequential (a deploy, money, deleting): then approval as well.

For example:

```json
{"question": "Rewrite the session code? It takes about 2 days.", "kind": "decision", "options": ["Rewrite", "Patch for now"], "risk": "low"}
```

## Phone actions

None.

## Edge cases

- Only one sensible option: don't ask, do it and report.
- They don't answer: carry on with whatever doesn't depend on it.

## Never

Never stop here for choices you could safely make yourself. Too many forks and the user stops looking.

## Done when

- [ ] Every sample value is replaced with real data (no "Dr. Lee" on a real widget).
- [ ] `droplet_preview_widget` shows no warnings at the sizes the user placed (`placed` in `droplet_whoami`).
- [ ] Every button has a handler and a waker is running.
- [ ] Refresh is set up as above.
- [ ] You told the user in one line what it does on its own and what it asks first.

## Same widget, other uses

- [Pick a time](pick-a-time.md): Someone wants to meet. Your agent found the times that work. Tap one and it's sent.
