SIGN IN SIGN UP

sandbox: provision-time machine resources for the smolmachines backend (#507)

Stacked on #478 — merge that first.

New smolmachines machines were created at the platform's tiny defaults (1 vCPU / 256MB / 20GB) with no way to size them. Machines are now sized at create time via SMOLMACHINES_CPUS / SMOLMACHINES_MEMORY_MB / SMOLMACHINES_DISK_GB, and the agent-computer profile advertises the configured shape. In-place resize is not wired up because the provider's resize route is not live yet; the test fake records create-time resources and a new test covers the request and the profile.

<!-- codesmith:footer -->
---
<a href="https://app.blacksmith.sh/yc-software/codesmith/qm/pr/479"><picture><source media="(prefers-color-scheme: dark)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v2.svg"><source media="(prefers-color-scheme: light)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-light-v2.svg"><img alt="View with [code]smith" src="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v2.svg"></picture></a> <a href="https://backend.blacksmith.sh/track/enable-autofix?expires=1789249022&installation_model_id=19911&pr_number=479&repository=yc-software%2Fqm&return_to=https%3A%2F%2Fgithub.com%2Fyc-software%2Fqm%2Fpull%2F479&signature=573ff11a1e890350bfea9b0b44f0ebfc3abd4c85f1212a587d70f56b333c0c04"><picture><source media="(prefers-color-scheme: dark)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-light.svg"><img alt="Autofix with [code]smith" src="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg"></picture></a>
<sup>Need help on this PR? Tag <code>@codesmith-bot</code> with what you need. Autofix is disabled.</sup>

<!-- codesmith:autofix:disabled -->
<!-- /codesmith:footer -->
R
Regan Bell committed
c6392531a0817ee364c22e04ab52b3bfe9addbde
Parent: 9105e79
Committed by GitHub <noreply@github.com> on 8/13/2026, 10:51:17 PM