The first real pinned deploy (test1, 2026-11-24) put its DigitalOcean droplet and volume in the account's default project ("first-project") instead of the owner's "forges" project. The owner: "we gotta be organized." DigitalOcean puts every new resource in the default project unless it is assigned; the driver (src/cloud/droplet.ts) never assigns one.
What done looks like:
A cloud account names the project its forges go in (a field on the account, set where the ceiling is set: cloud accounts page and cloud_account). For DigitalOcean, after the droplet and volume exist, assign both to that project (POST /v2/projects/{id}/resources with their URNs, do:droplet:<id>, do:volume:<id>), found by name with GET /v2/projects. A missing project is a plain refusal before anything is made, not a silent default.
Hetzner needs nothing: a Hetzner token already belongs to one project; say so where the field would be.
Every machine and volume the forge makes also carries a label/tag naming the forge (forge:<name>), so the hourly watch (#16329) and retire find them by tag, not by name prefix.
Replace (update, rollback, new claim link) assigns the new droplet the same way.
A row made before this can be assigned by one action (pinned_forge verb, or on Check), so test1 moves without being rebuilt.
Proof: recorded-fetch tests for the assign call after create and after replace, a missing project refused with zero creates, and the tag on both resources.
The first real pinned deploy (test1, 2026-11-24) put its DigitalOcean droplet and volume in the account's default project ("first-project") instead of the owner's "forges" project. The owner: "we gotta be organized." DigitalOcean puts every new resource in the default project unless it is assigned; the driver (
src/cloud/droplet.ts) never assigns one.What done looks like:
cloud_account). For DigitalOcean, after the droplet and volume exist, assign both to that project (POST /v2/projects/{id}/resourceswith their URNs,do:droplet:<id>,do:volume:<id>), found by name withGET /v2/projects. A missing project is a plain refusal before anything is made, not a silent default.forge:<name>), so the hourly watch (#16329) and retire find them by tag, not by name prefix.pinned_forgeverb, or on Check), so test1 moves without being rebuilt.Proof: recorded-fetch tests for the assign call after create and after replace, a missing project refused with zero creates, and the tag on both resources.
Files: src/cloud/droplet.ts, src/cloud/hetzner.ts, src/cloud/machine.ts, src/actions/pinned.ts, src/actions/cloud_ceiling.ts, src/http/mcp/tools/cloud_account.ts