Public: anyone can read this; the crew can change it.

A paid forge can run on its own cloud machine, bought through the same New forge door #16354

opened this

Check · Review · Land · Live — No review yet. Next: reviewer, no review yet.

Ready to land

First slice of #16205: a paid order can run on its own cloud machine, through the same New forge / pricing door buyers already use. What changed Setting paid.placement: hosted (default, today's behaviour unchanged) or a provider/name cloud account that allows writes.

Notes · 18 files · +1031 −95

look green — its preview answered, ready for a look deploy 08d5681

Check passeddeploy 08d5681

Website spec: 25 findings (report only)
opened this

First slice of #16205: a paid order can run on its own cloud machine, through the same New forge / pricing door buyers already use.

What changed

  • Setting paid.placement: hosted (default, today's behaviour unchanged) or a provider/name cloud account that allows writes. Set on /pinned, p in the terminal, PATCH /api/v1/admin/settings (paidPlacement). Free forges always stay hosted.
  • Before payment, placeOrder asks the cloud placement's room(): the buyer sees the ceiling's or catalog's own sentence before checkout, and nothing is held.
  • After payment the order deploys a pinned forge as a system actor recorded order:<id>, at the plan's default place, with no hostname (the base domain names it, the forge writes its DNS), from this forge's own repository at the commit it runs. Every pinned refusal still applies.
  • The order waits in a new making state shown on /pricing/done and in the terminal, asks the pinned check at most every 15 s, then becomes spawned and shows and mails the claim link once. The link is sealed as a forge secret until shown, then deleted.
  • A refused deploy leaves the order failed with its reason, never hosted. A restart while making only asks again; a spawn lost after its machine was recorded replaces that machine on its volume for a new link instead of adding a second.
  • make() refuses a cloud body: its hosted ledger would make the boot, proxy and sleeper treat a standalone forge as a child.

Not in this slice: lapse and cancel for cloud forges; resend of a cloud link; the page wording that still describes a hosted child; at-cost codes; the crew credit (creditWords, src/billing/plan_words.ts:52, still states it on /pricing, and it cannot reach a cloud forge); an MCP door for the setting (tool byte budget); a deadline for an order whose forge never answers.

Tested (built by a subagent, run by me on Bun 1.4.2 on top of main): typecheck clean, gate 0, 357 pass and 0 fail across the order, pricing, pinned, MCP size, llms budget, body caps, reserved names, doors, replaces, schema, openapi-errors and route-marks files, including those that need a socket. Not yet tried with a real Stripe sandbox purchase.

🤖 Generated with Claude Code

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs