# Licensed review

URL: /workflows/processes/licensed-review · Id: `process:licensed-review`

> Licensed review puts a credentialed Human’s Attestation on every Reserved Act before it reaches a Customer.

Licensed review puts a credentialed [Human](/business/nouns/human)’s [Attestation](/business/nouns/attestation) on every [Reserved Act](/business/nouns/reserved-act) before it reaches a [Customer](/business/nouns/customer).

## Outcome
| Part | This Process |
| --- | --- |
| Outcome | Each Order that performs a Reserved Act ships only after a credentialed Human with current standing attests it. |
| Reads | [Order](/business/nouns/order) |
| Leaves | [Attestation](/business/nouns/attestation) |
| On time | Within 1 day (business hours); the clock stops while an Action waits on `awaitingInput`. Late Actions go to the [Compliance Officer](/agents/legal/compliance-officer). |
| Runs in | Each Startup |

## Accountable
[Legal Lead](/agents/legal/legal-lead), [Legal Team](/agents/legal).

## Workflows
| Workflow | Runs | Team |
| --- | --- | --- |
| [Attest work](/workflows/processes/licensed-review/attest-work) | on [`Order.fulfilled`](/business/events/Order.fulfilled) | [Legal Team](/agents/legal) |

## Who does each step

| Workflow | Step | Role | Calls | Approval |
| --- | --- | --- | --- | --- |
| [Attest work](/workflows/processes/licensed-review/attest-work) | 1. Pass Orders that perform no Reserved Act straight to delivery. | [Delivery Manager](/agents/operations/delivery-manager) | [Order.deliver](/business/nouns/order/deliver) | None |
| [Attest work](/workflows/processes/licensed-review/attest-work) | 2. Run a conflict check on the Parties. | [Compliance Officer](/agents/legal/compliance-officer) | [Party.screen](/business/nouns/party/screen) | None |
| [Attest work](/workflows/processes/licensed-review/attest-work) | 3. Read the credentialed Human’s standing fresh. | [Compliance Officer](/agents/legal/compliance-officer) | [Credential.verify](/business/nouns/credential/verify) | None |
| [Attest work](/workflows/processes/licensed-review/attest-work) | 4. Present the work to the credentialed Human for Attestation. | [Compliance Officer](/agents/legal/compliance-officer) | [Task.assign](/business/nouns/task/assign) | None |
| [Attest work](/workflows/processes/licensed-review/attest-work) | 5. Release the work to delivery once attested, or return it on decline. | [Delivery Manager](/agents/operations/delivery-manager) | [Order.deliver](/business/nouns/order/deliver) | None |

## Events
| Direction | When | What happens |
| --- | --- | --- |
| In | On [`Order.fulfilled`](/business/events/Order.fulfilled) | Starts [Attest work](/workflows/processes/licensed-review/attest-work) |
| Out | [`Order.delivered`](/business/events/Order.delivered) | Raised by step 1 of [Attest work](/workflows/processes/licensed-review/attest-work) |
| Out | [`Party.screened`](/business/events/Party.screened) | Raised by step 2 of [Attest work](/workflows/processes/licensed-review/attest-work) |
| Out | [`Credential.verified`](/business/events/Credential.verified) | Raised by step 3 of [Attest work](/workflows/processes/licensed-review/attest-work) |
| Out | [`Task.assigned`](/business/events/Task.assigned) | Raised by step 4 of [Attest work](/workflows/processes/licensed-review/attest-work) |

## Plays
No Play names this Process.

## Controls
No Control names this Process or a Workflow of it.

## Settings
None.

## Failure
A failed step retries; when retries run out, the Action goes to the [Compliance Officer](/agents/legal/compliance-officer).

## Loop
No loop: the path is never randomized, because it serves [Licensed acts](/systems/legal-and-corporate/floor/licensed-acts).

## Code

**Ask**

```text
Turn on licensed review
```

**API**

```bash
curl -X POST https://api.sb/leaseline.app/processes/process_1/enable \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"
```

**SDK**

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

await $.Process.enable({ process: 'process_1' })
```

**CLI**

```bash
npx startup-builder do Process.enable --json '{"process":"process_1"}'
```

**MCP**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Process.enable({ process: 'process_1' })"
  }
}
```

## Enable
On by default for [Licensed-human marketplace](/products/templates/licensed-marketplace). [Process.pause](/business/nouns/process/pause) stops new Actions; Actions in progress finish.

## Example
A home-appraisal service fulfills an [Order](/business/nouns/order). The licensed appraiser on duty passes the conflict check, reviews the report, and signs it with an Attestation. Only then does the report reach the Customer.