# notify

URL: /business/nouns/problem/notify · Id: `verb:Problem.notify` · Call: `await $.Problem.notify({ … })` (SDK) or the `do` tool at `https://api.sb/mcp`. Inputs says what to pass, Outputs what returns, When it waits who approves.

> Notify tells every Contact who voted on a Problem that a Version addressing it shipped, with a link to the change.

Notify tells every [Contact](/business/nouns/contact) who voted on a [Problem](/business/nouns/problem) that a [Version](/business/nouns/version) addressing it shipped, with a link to the change.

## Inputs
| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `problem` | [Problem](/business/nouns/problem) | Yes | The Problem the Version addresses. |
| `version` | [Version](/business/nouns/version) | No | The Version that shipped. |

## Outputs
| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `problem` | [Problem](/business/nouns/problem) | Yes | The Problem, marked addressed. |

## Effects
| Fact | Value |
| --- | --- |
| Action class | None: it runs within its seat's Limits |
| Door | One-way: it waits out its delay window, then runs |
| Modes | `try` previews it and stores nothing; `send` returns a pending Action; `do` (default) waits for the result |
| Idempotent | With a key: a repeat with the same `Idempotency-Key` returns the first Action, and a repeat without one runs again |
| Undo | [Action.undo](/business/nouns/action/undo) reverses its records |
| Emits | [`Problem.notified`](/business/events/Problem.notified) |
| Performed by | The [Product Lead](/agents/product/product-lead) |

- Skips voters who unsubscribed or withdrew Consent.

## Refuses when
| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

## When it waits
| Gate | Default |
| --- | --- |
| Decision class | Medium: one-way, bounded |
| [Delay window](/systems/trust-and-governance/controls/one-way-windows) | 1 business hour, in which a watcher can pause, redirect or cancel it; then it runs. |
| Limit | The call [Limit](/business/nouns/limit) of the [Permission](/business/nouns/permission) it runs under. |
| Over the Limit | It waits `pending` for an [Approval](/business/nouns/approval) from the [Founder](/agents/founding/founder). Approved, it runs; refused, it ends `refused` with [`limit-exceeded`](/code/api/errors/limit-exceeded); unanswered by its deadline, it ends `canceled`. |

## Example

**Ask**

```text
Notify the latest problem.
```

**API**

```bash
curl -X POST https://api.sb/leaseline.app/problems/problem_UzvXXfKsJB/notify \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"
```

```json
{
  "api": "https://api.sb/leaseline.app",
  "problem": {
    "$id": "https://api.sb/leaseline.app/problems/problem_UzvXXfKsJB",
    "$type": "Problem",
    "statement": "Tracks lease renewals for small property managers."
  },
  "action": {
    "$id": "https://api.sb/leaseline.app/actions/act_br07HsG8MG",
    "operation": "Problem.notify",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/leaseline.app/actions/act_br07HsG8MG"
  }
}
```

**SDK**

```ts
import { $ } from 'startup-builder'

const problem = await $.Problem.notify({ problem: 'problem_UzvXXfKsJB' })
```

**CLI**

```bash
npx startup-builder do Problem.notify --json '{"problem":"problem_UzvXXfKsJB"}'
```

**MCP**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Problem.notify({ problem: 'problem_UzvXXfKsJB' })"
  }
}
```