cloud / README.mdmain at aacbc74
# iterate Cloud
The source of iterate Cloud, the Worker `iterate-cloud-prd` at https://cloud.iterate.com.
Moved from `iterate/private` (archived on 27 Nov 2026) at commit
`0070b51df6978af1900dc4fa8e853df61a78b83d`. The file `PREDECESSOR` names that commit.
**It may need some work before it runs from here.** Nothing has been deployed from this repo.
## What is here
| Folder | What it holds |
|---|---|
| `internal-packages/installer` | the Worker, its pages, its Durable Objects, the production deploy script |
| `internal-packages/cloud-ai` | AI lending, bundled into the Worker |
| `internal-packages/cloud-clients` | the provider OAuth clients and webhooks, bundled into the Worker |
| `internal-packages/dummy-petshop` | a test fixture: a Worker that an install can be tried against |
| `scripts/cloud-rehearsal`, `scripts/zone-enrollment` | operator scripts |
| `core/` | a copy of `core/lib/src` and `core/secrets-worker/src` of `/repos/kernel` at the commit in `KERNEL_PIN`. Tests import it; the Worker does not |
## What differs from iterate/private
- `iterate` is the npm package at `0.4.1-main.20261126T094512Z-d43677f`, not a workspace link.
- The workspace lists `internal-packages/*` alone. The catalog, the patches and the lockfile are
iterate/private's.
- The vitest configs use vitest's default reporter.
## Checks
pnpm install
pnpm -r typecheck
pnpm -r test
## Known to be broken
- **Do not deploy from here yet.** The Deployer's image (`internal-packages/installer/container`)
builds from the platform's `core/` packages, which this repo does not have. The container is to
be removed first.
- `scripts/deploy-prd.mjs` refuses a first release from this repo: the live version names a commit
of iterate/private that this repo does not have.
- `cloud-clients` typecheck: 1 error. The kernel's `secrets.ts` is newer than the pinned npm build
of `iterate`.
- `dummy-petshop` typecheck: `scripts/deploy.ts` imports `envs.ts` and `scripts/lib/deploy-app.ts`
of iterate/private, which did not move.
- 4 test files of the installer (`platform-host`, `scopes`, `installations`, `stack-config`) import
`core/alchemy` and `core/mind-worker`, and no script runs them.
- `scripts/zone-enrollment`'s test imports `core/alchemy`, which is not here.