# advance

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

> Advance moves a Startup to its next Lifecycle state once every entry check of that state passes.

Advance moves a [Startup](/business/nouns/startup) to its next [Lifecycle](/business/nouns/lifecycle) state once every entry check of that state passes.

## Inputs
| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `startup` | [Startup](/business/nouns/startup) | Yes | The Startup to advance. |
| `to` | `string` | No | The target state. Defaults to the next state. |

## Outputs
| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `startup` | [Startup](/business/nouns/startup) | Yes | The Startup in its new state. |

## Effects
- Emits [`Startup.advanced`](/business/events/Startup.advanced).
- Runs the entry checks of the target state, in order.
- Refuses the Action and names each failing check when any check fails.

## Refuses when
| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| Any entry check of the target [Lifecycle](/business/nouns/lifecycle) state | [`refused`](/code/api/errors/refused) | Pass each check the error names. | [Startup.advance](/business/nouns/startup/advance) |
| 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. | [Startup.advance](/business/nouns/startup/advance) |

## When it waits
| Gate | Default |
| --- | --- |
| Decision class | Low: two-way, nothing at stake |
| [Delay window](/systems/trust-and-governance/controls/one-way-windows) | None: it runs once review passes. |
| 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
Advance ShiftNote.
```

**API**

```bash
curl -X POST https://api.sb/shiftnote.app/startups/startup_1/advance \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"
```

```json
{
  "api": "https://api.sb/shiftnote.app",
  "startup": {
    "$id": "https://api.sb/shiftnote.app/startups/startup_1",
    "$type": "Startup",
    "name": "ShiftNote"
  },
  "action": {
    "$id": "https://api.sb/shiftnote.app/actions/action_1",
    "operation": "Startup.advance",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/shiftnote.app/actions/action_1"
  }
}
```

**SDK**

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

const startup = await $.Startup.advance({ startup: 'startup_1' })
```

**CLI**

```bash
npx startup-builder do Startup.advance --json '{"startup":"startup_1"}'
```

**MCP**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Startup.advance({ startup: 'startup_1' })"
  }
}
```