iterate.com / onboarding

git clone https://git.iterate.com/repos/onboarding

onboarding / AGENTS.mdmain at b65083a

# The onboarding of this mind

This repo is the onboarding of a new mind, on `onboarding.<domain>`, for members. `worker.ts` of
`/repos/config` mounts it, guards the host and hands it the mind's events.

| Files | What they are |
|---|---|
| `app.ts` | the app's routes: the steps, the AI check, "Open iterate Cloud", the page's files |
| `steps.ts`, `contract.ts`, `steps/` | the list of steps, their four events on `/apps/onboarding`, and the one step today: "Connect to iterate Cloud" |
| `cloud-ai.ts`, `cloud-credit.ts`, `cloud-deliveries.ts` | iterate Cloud's AI lending and credit, and what counts as iterate's own event |
| `verify-ai.ts`, `launch.ts`, `cloud-handover.ts` | the real AI test, and the start of `/agents/main` and its first subagents after it |
| `events.ts` | the two calls that `worker.ts` makes for the mind's events |
| `index.html`, `public/` | the page |
| `onboarding.md`, `onboarding/` | the guides that the onboarding agent and its subagents read |
| `todo/` | the first cards of the onboarding agent, which the Tasks board shows at `tasks.<domain>/?repo=onboarding` |

- A push to `main` publishes the mind, as for every repo that `worker.ts` imports from.
- Everything a button of the page does, an agent does with
  `await itx.config.onboardingStep(step, action)` (`api.ts` of `/repos/config`).
- The guides were written for the config that minds started with before November 2026. Where a
  guide names an app or a file that this mind does not have, the mind's own code is right: read
  `AGENTS.md` of `/repos/config`.
- To retire the onboarding: take its lines out of `worker.ts`, `api.ts` and `package.json` of
  `/repos/config`. The repo may stay.

The code is iterate's, under AGPL-3.0 (`LICENSE`).