An open-source, faster Devin alternative
TypeScript
api-edge: drop sandbox bindings, preview route and edge-finalize queue
Mohamed Habib via Computerac6da91fdfe3
diff --git a/cloudflare-workers/api-edge/wrangler.igor-dev.toml b/cloudflare-workers/api-edge/wrangler.igor-dev.tomlindex e350a734..32720003 100644--- a/cloudflare-workers/api-edge/wrangler.igor-dev.toml+++ b/cloudflare-workers/api-edge/wrangler.igor-dev.toml@@ -89,5 +89,4 @@ new_sqlite_classes = ["CreditAccount"][vars]WORKER_ENV = "igor-dev"-BURST_CELL_ID = ""MANAGED_AGENTS_API_URL = "https://managedagents.opencomputer.dev"diff --git a/cloudflare-workers/api-edge/wrangler.prod.toml b/cloudflare-workers/api-edge/wrangler.prod.tomlindex d23433bb..52a941c3 100644--- a/cloudflare-workers/api-edge/wrangler.prod.toml+++ b/cloudflare-workers/api-edge/wrangler.prod.toml@@ -12,14 +12,6 @@ compatibility_date = "2026-04-28"compatibility_flags = ["nodejs_compat"]account_id = "b8f23cb87a7a6c64040d3134643da448"-# Preview URL routing — same scheme as dev (`*.sb.<zone>/*`).-# Requires an Advanced Certificate Manager cert for *.sb.opencomputer.dev-# + sb.opencomputer.dev (two-level wildcard isn't covered by Universal SSL).-# Order the ACM cert BEFORE the first deploy or the route will 525-error.-routes = [- { pattern = "*.sb.opencomputer.dev/*", zone_name = "opencomputer.dev" },-]-# The deployed version on computer-API telemetry (work 084). The optional# TINYBIRD_API_URL and TINYBIRD_APPEND_TOKEN secrets switch it on; unset, the# edge sends nothing.@@ -96,39 +88,6 @@ name = "CREDIT_ACCOUNT"class_name = "CreditAccount"script_name = "opencomputer-edge-prod"-# Edge claim (src/pool_stock.ts): per-cell stock of pre-reserved hot pool boxes-# so default-shape creates are answered at the edge.-[[durable_objects.bindings]]-name = "POOL_STOCK"-class_name = "PoolStock"-script_name = "opencomputer-edge-prod"--# VM-DO exec data plane: one DO per sandbox holds the host-dialed WebSocket to-# the QEMU worker. The class lives in the separate vm-do worker-# (cloudflare-workers/vm-do → opencomputer-vmdo-prod) so edge deploys — which-# happen on every merge touching web/ or edge code — don't reset the DOs and-# sever the sockets. Deploy order on first cutover: vm-do worker BEFORE this.-[[durable_objects.bindings]]-name = "VM_SESSIONS"-class_name = "VmSession"-script_name = "opencomputer-vmdo-prod"--# MicroVM exec data plane. Same worker, same reasoning; the DO dials the box's-# AWS agent endpoint directly so exec never traverses the control plane.-#-# No migration accompanies this: MicrovmSession is defined in the vm-do script-# (see its wrangler.prod.toml v2), and a cross-script binding only references a-# class — it never creates one. Adding a migration here would try to define a-# second, unrelated MicrovmSession inside the edge script.-#-# The edge guards every use with `env.MICROVM_SESSIONS &&`, so prod ran without-# this binding rather than erroring — it silently skipped the detach-on-destroy-# that stops the DO's keepalive alarm re-dialing a terminated box.-[[durable_objects.bindings]]-name = "MICROVM_SESSIONS"-class_name = "MicrovmSession"-script_name = "opencomputer-vmdo-prod"-[[migrations]]tag = "v1"new_sqlite_classes = ["CreditAccount"]@@ -137,12 +96,13 @@ new_sqlite_classes = ["CreditAccount"]tag = "v2"new_sqlite_classes = ["PoolStock"]+# PoolStock is now an empty stub, kept exported because of v2; nothing binds it.[[migrations]]tag = "v3"new_sqlite_classes = ["VmSession"]# v4 removes the edge-local VmSession class — it moved to the vm-do worker-# (see the VM_SESSIONS binding above). Safe to delete: VmSession keeps no+# (cloudflare-workers/vm-do). Safe to delete: VmSession keeps no# durable state, only live sockets, and hosts redial the new namespace within# ~1s of the cutover deploy.[[migrations]]@@ -151,15 +111,14 @@ deleted_classes = ["VmSession"]# Secrets (set via `wrangler secret put --config wrangler.prod.toml`):# SESSION_JWT_SECRET — fresh prod HMAC (DO NOT reuse dev secret)-# CF_ADMIN_SECRET — fresh prod HMAC, shared with prod CPs+# CF_ADMIN_SECRET — fresh prod HMAC for the /internal/* admin routes# STRIPE_WEBHOOK_SECRET — Stripe LIVE mode webhook signing secret# STRIPE_API_KEY — Stripe LIVE mode API key (sk_live_...)# WORKOS_API_KEY — prod WorkOS app API key# WORKOS_CLIENT_ID — prod WorkOS client identifier-# EVENT_SECRET — fresh prod HMAC, shared with prod CPs + events-ingest+# EVENT_SECRET — fresh prod HMAC for /internal/autumn-* and+# /internal/webhooks/* callers# SECRET_ENCRYPTION_KEY — envelope-encryption key for D1 secret_store_entries-# (must match Infisical /shared/ key the CPs use, so-# plaintext stays in sync across edge ↔ cells)# OPENROUTER_PROVISIONING_KEY — OpenRouter MANAGEMENT/provisioning key (mints# per-org inference keys + reads analytics). Token# billing dormant until this is set. (token-billing.md)@@ -205,68 +164,8 @@ SLACK_CONNECT_TEAM_USER_IDS = "U06G42NTEK1,U06GFN8DJ7P,U06H7D98X40"# (`kind=channel,...`) moves a kind elsewhere, e.g. revenue alerts; credit# purchases alert from SLACK_ALERT_CREDITS_MIN dollars (default 100).SIGNUPS_SLACK_CHANNEL = "#signups"-# PoolStock sizing. SHARDS × TARGET must stay ≤ the cell's MicroVM pool-# (OPENSANDBOX_MICROVM_POOL_TARGET on the CP) or every shard sits permanently-# below low-water, restocks on every claim, and competes for a supply that can-# never satisfy it — creates then fall through to the ~10× slower CP path.-#-# 8 × 18 = 144 against prod's pool of 150. These were unset until 2026-08-20,-# which meant the DO defaults (38 per shard = 304 fleet) applied against a pool-# of 5 — every shard starved and edge-claim effectively never hit. Raise the CP-# pool target FIRST, then this. See the SIZING INVARIANT in src/pool_stock.ts.-POOL_STOCK_TARGET = "18"-POOL_STOCK_LOW_WATER = "9"-# Stated explicitly rather than inherited from the code default, because a shard-# id is half of a DO NAME (`${cellID}#${gen}#${id}`) and therefore names a-# different object — with different placement — in every cell. Sharing one-# implicit list across environments silently asserted that prod's IAD placement-# measurement also held for dev. It does not; dev now runs a single shard.-#-# These four are the prefix of the g5 set probed into IAD against THIS cell on-# 2026-08-21. Do not extend without re-probing: of 64 candidates, only 27 landed-# in IAD (EWR 17, ATL 9, MIA 7, ORD 4). No change in behaviour from before —-# this is what the code default already resolved to.-POOL_STOCK_SHARD_IDS = "1,4,6,12"-# Cells eligible for new-org home assignment live in the D1 `cells` table-# (`accepts_new_orgs` column), not an env list — toggle a row to onboard a cell,-# no deploy. See pickHomeCell in src/index.ts.-# Optional alpha route for Burst Sandboxes. Leave empty to disable.-BURST_CELL_ID = "aws-us-east-2-burst-prod"-# The MicroVM cell now runs the direct-exec (lite) backend, whose boxes have no-# agent tunnel and whose warm set lives in the cell process. Both edge fast-# paths assume the opposite, and neither can succeed against it:-#-# EDGE_CLAIM — the stock DO can never be filled by a cell that holds its own-# warm set, so every create walked the shards and paid a CP round trip anyway.-# Measured on prod at 123ms of `claimmiss` on every create.-#-# EDGE_EXEC — the session DO reaches a box by dialing its agent tunnel. With-# no tunnel to dial it can only answer vm_not_connected, after paying its-# entry grace. Measured on prod at 224ms of `vmdo` on every exec.-#-# Both scoped to the MicroVM runtime, so QEMU orgs sharing this edge keep the-# edge-claim and DO exec paths untouched.-MICROVM_EDGE_CLAIM = "0"-MICROVM_EDGE_EXEC = "0"-MANAGED_AGENTS_API_URL = "https://managedagents.opencomputer.dev"# Ship Worker logs to opencomputer-log-tail-prod → Axiom dataset cf-prod.[[tail_consumers]]service = "opencomputer-log-tail-prod"--# Off-isolate edge-claim finalize (see FINALIZE_QUEUE in index.ts). createSandbox-# enqueues a tiny finalize message; the queue() consumer runs the CP-# claim-finalize + D1 insert on its own invocations, off the burst-create hot-# path. PREREQ: the queue must exist before deploy — `wrangler queues create-# edge-finalize` on the prod account (one-time). Inline fallback in code covers-# any window where it's unbound.-[[queues.producers]]-binding = "FINALIZE_QUEUE"-queue = "edge-finalize"--[[queues.consumers]]-queue = "edge-finalize"-max_batch_size = 25-max_batch_timeout = 2-max_retries = 3diff --git a/cloudflare-workers/api-edge/wrangler.toml b/cloudflare-workers/api-edge/wrangler.tomlindex 06a3d722..2b235fa3 100644--- a/cloudflare-workers/api-edge/wrangler.toml+++ b/cloudflare-workers/api-edge/wrangler.toml@@ -1,13 +1,7 @@# api-edge Worker — global API entry point at app.opencomputer.dev / app.dev.opensandbox.ai#-# Routes:-# POST /auth/login, /auth/refresh, /auth/logout — WorkOS flow + session JWT-# POST /webhooks/stripe — Stripe webhook (DO /mark-pro)-# POST /api/sandboxes — create flow (auth + credit check + cell select + cap-token mint + proxy to CP)-# GET /api/sandboxes — cross-region list (D1 sandboxes_index)-# GET /api/sandboxes/{id} — metadata with cell_endpoint-# ANY /api/sandboxes/{id}/* — 307 redirect to {cell_id}.app.opensandbox.ai (dumb-client fallback)-# GET /internal/halt-list — HMAC-auth, called by CP halt_reconciler+# Routes: see the header comment in src/index.ts. The sandbox API, preview+# URLs and cell routing were removed in 097 step 7.2.name = "opensandbox-edge-dev"main = "src/index.ts"@@ -15,23 +9,7 @@ compatibility_date = "2026-04-28"compatibility_flags = ["nodejs_compat"]account_id = "1241f114453e32d292197e3fb36210b2"-# Preview URL routing. Sandboxes expose ports via stable hostnames of the form-# sb-{sandboxID}-p{port}.sb.opensandbox.ai-# regardless of which cell the sandbox is on; the Worker resolves-# sandboxes_index.cell_id at request time and forwards via that cell's CF-# Tunnel, so cell migration is invisible to the user.-#-# Wildcards in CF Worker routes must be at the start of the hostname, so-# `sb-*.opensandbox.ai/*` is invalid. We use `*.sb.opensandbox.ai/*` instead:-# the `.sb.` middle label creates a namespace that ONLY preview URLs use,-# isolating this rule from cp-*.opensandbox.ai (tunnels), app2.opensandbox.ai-# (dashboard), and events-app2.opensandbox.ai (events-ingest).-#-# Two-level wildcards aren't covered by CF Universal SSL — needs Advanced-# Certificate Manager ($10/mo, RSA-2048 via Google Trust Services). Cert-# ordered 2026-05-18 for *.sb.opensandbox.ai + sb.opensandbox.ai.routes = [- { pattern = "*.sb.opensandbox.ai/*", zone_name = "opensandbox.ai" },# Pinned so `wrangler delete && wrangler deploy` (the branch-swap reset# workflow) always re-attaches this hostname. custom_domain=true tells CF to# manage the DNS record + SSL cert automatically — different from a plain@@ -53,12 +31,9 @@ binding = "CF_VERSION_METADATA"directory = "./assets"binding = "ASSETS"not_found_handling = "single-page-application"-# Run Worker first for EVERY request. The Worker dispatches by hostname-# (e.g. sb-*-p*.sb.opensandbox.ai → preview URL forwarder) AND by path+# Run Worker first for EVERY request. The Worker dispatches by path# (/api/*, /auth/*, /internal/*), then explicitly delegates to env.ASSETS-# at the bottom for anything unhandled — typically the dashboard SPA. Without-# this, the assets binding short-circuits hostname-based dispatch and returns-# index.html for / on every hostname, including preview URLs.+# at the bottom for anything unhandled — typically the dashboard SPA.run_worker_first = true[[d1_databases]]@@ -110,31 +85,6 @@ name = "CREDIT_ACCOUNT"class_name = "CreditAccount"script_name = "opensandbox-edge-dev"-# Edge claim (src/pool_stock.ts): per-cell stock of pre-reserved hot pool-# boxes so default-shape creates are answered at the edge. Kill switch:-# EDGE_CLAIM = "0" in [vars].-[[durable_objects.bindings]]-name = "POOL_STOCK"-class_name = "PoolStock"-script_name = "opensandbox-edge-dev"--# VM-DO exec data plane (vm_do_datapane_validation): one DO per sandbox holds-# the host-dialed WebSocket to the QEMU worker. The class lives in the separate-# vm-do worker (cloudflare-workers/vm-do) so edge deploys — which happen on-# every merge touching web/ or edge code — don't reset the DOs and sever the-# sockets. Deploy order on first cutover: vm-do worker BEFORE this one.-[[durable_objects.bindings]]-name = "VM_SESSIONS"-class_name = "VmSession"-script_name = "opensandbox-vmdo-dev"--# MicroVM exec data plane. Same worker, same reasoning; the DO dials the box's-# agent endpoint directly so exec never traverses the control plane.-[[durable_objects.bindings]]-name = "MICROVM_SESSIONS"-class_name = "MicrovmSession"-script_name = "opensandbox-vmdo-dev"-[[migrations]]tag = "v1"new_sqlite_classes = ["CreditAccount"]@@ -144,13 +94,14 @@ tag = "v2"new_sqlite_classes = ["PoolStock"]# v3 adds the VmSession DO class (VM-DO exec data plane). Sits after PoolStock's-# v2 to match the deployed ledger — do not renumber.+# v2 to match the deployed ledger — do not renumber. (PoolStock is now an+# empty stub, kept exported because of v2; nothing binds it.)[[migrations]]tag = "v3"new_sqlite_classes = ["VmSession"]# v4 removes the edge-local VmSession class — it moved to the vm-do worker-# (see the VM_SESSIONS binding above). Safe to delete: VmSession keeps no+# (cloudflare-workers/vm-do). Safe to delete: VmSession keeps no# durable state, only live sockets, and hosts redial the new namespace within# ~1s of the cutover deploy.[[migrations]]@@ -158,13 +109,13 @@ tag = "v4"deleted_classes = ["VmSession"]# Secrets (set via `wrangler secret put`):-# SESSION_JWT_SECRET — HMAC for session JWT (shared with all CPs in cell fleet)-# CF_ADMIN_SECRET — HMAC for /admin/halt-org and /admin/resume-org callbacks to CPs+# SESSION_JWT_SECRET — HMAC for session JWT+# CF_ADMIN_SECRET — HMAC for the /internal/* admin routes (do-mark-free, run-model-meter, ...)# STRIPE_WEBHOOK_SECRET — verifies inbound Stripe webhook signatures# STRIPE_API_KEY — for creating Stripe customer + subscription on /mark-pro# WORKOS_API_KEY — server-side WorkOS API for /auth/login# WORKOS_CLIENT_ID — WorkOS client identifier-# EVENT_SECRET — HMAC for /internal/halt-list endpoint (shared with CP halt_reconciler)+# EVENT_SECRET — HMAC for /internal/autumn-* and /internal/webhooks/* callers# OPENROUTER_PROVISIONING_KEY — OpenRouter MANAGEMENT/provisioning key (token# billing; mints per-org keys + reads analytics). Dormant# until set. See .agents/work/token-billing.md.@@ -182,9 +133,6 @@ deleted_classes = ["VmSession"]# serverless-agents-ws 088). Off when unset.# LOOPS_EXCLUDE_EMAILS — comma-separated addresses or @domains that never# get lifecycle email (internal accounts).-# The VM-DO exec data plane (VM_SESSIONS DO) needs NO dedicated secret: the worker-# host authenticates its /internal/vms/:id/connect dial with a per-sandbox HMAC-# over the already-shared SESSION_JWT_SECRET (minted by the CP, re-derived here).# Optional vars: OPENROUTER_BASE_URL (default https://openrouter.ai/api/v1),# OPENROUTER_MARKUP_BPS (env-default markup; per-org orgs.model_markup_bps wins).@@ -199,124 +147,6 @@ WORKER_ENV = "dev"# Computer rollout (work 052); see wrangler.prod.toml.COMPUTER_ENABLED_FOR_ALL = "false"COMPUTER_ENABLED_ORGS = ""-# Dev override of the per-org paused-sandbox cap (prod defaults to 100) so the-# promotion path can be exercised without pausing hundreds of boxes.-PAUSED_CAP = "10"-# PoolStock sizing, scaled to THIS cell's pool. The DO defaults (38 per shard ×-# 8 shards = 304) are sized for prod's 320-box pool. Oversizing starves every-# shard below low-water, restocking on every claim and competing for a supply-# that can never satisfy them; undersizing caps how much of a burst the edge can-# absorb, because anything past SHARDS × TARGET falls through to the ~10× slower-# CP path. See the SIZING INVARIANT in src/pool_stock.ts.-#-# 8 × 18 = 144 against dev's 150-box MicroVM pool. Sized for the burst-100-# benchmark with ~44 boxes of headroom, and that headroom is the whole point:-# 8 × 14 = 112 against a 130-box pool looked like it covered a burst-100 and did-# not. Measured, twice: shards probed SEQUENTIALLY reported 12-13 of 14 each-# (~104 staged, apparently enough), yet 51 then 65 of 100 concurrent creates-# missed the magazine and fell through to a cold MicroVM launch — which then-# serialized behind the RunMicrovm 5/s quota into a 25s tail.-#-# The reason a 4-box margin is not a margin: `magazines` in index.ts is an-# ISOLATE-LOCAL map. A 100-wide burst lands across several isolates, each with-# its own magazine, its own waiter count, and its own refill fan-out, all-# drawing on the same staged stock without coordinating. Whichever isolate-# refills last finds the shards drained, and behind them the pool has almost no-# free stock to backfill because the rest is already held as reservations. So-# the stock has to cover the burst with enough slack to survive an uneven split-# across SHARDS × isolates, not merely equal it.-#-# Why the pool can afford 150: a claimed box comes OUT of staged stock rather-# than being added alongside it, so peak footprint during the burst is the pool-# itself (~150), not pool + 100. Refill afterwards is what pushes toward-# pool + burst, and OPENSANDBOX_MICROVM_MAX_TOTAL_BOXES caps that at 230 —-# under the ~256-box ceiling the 1024GB regional quota actually allows (charged-# at roughly 4GB per box, not the image's 2048MiB minimum; measured by stalling-# the fleet at 262).-#-# Was 8 × 3 = 24, and the old value's reasoning does NOT carry over. On QEMU the-# ~30 was a fleet property: boxes live on provisioned workers, so growing the-# pool means growing the fleet. A MicroVM pool is just a dial — boxes launch in-# ~1.5s and depth is OPENSANDBOX_MICROVM_POOL_TARGET — so what actually bounds-# it is the AWS regional memory quota (~500 boxes at the 2048MB delivered size,-# shared with everything else in the account), not any fleet.-#-# What survives is only this: the edge reserves OUT of pool stock, so targeting-# more than the pool maintains starves every shard. Raise the pool first, then-# this. Measured before the change: burst-30 returned exactly 24 fast (90ms-# median) and dropped the remaining 6 to the CP.-#-# 2026-08-20: dev's MicroVM pool dropped 150 → 30 so prod could hold the deep-# pool instead (both cells draw on the SAME us-east-1 account, so depth here is-# depth prod cannot have). 8 × 3 = 24 against 30, restoring the ratio this file-# used to carry. The tuning above is kept because it is the reasoning that will-# be needed again if dev ever takes the deep pool back.-#-# 2026-08-24: dev takes the depth back — prod's MicroVM pool is at 0, so the-# shared us-east-1 quota is free. 8 × 16 = 128 staged against a 130 pool.-#-# The 44% headroom the sizing above argues for (150 for a burst-100) is stale on-# two counts, and neither survives in the current code:-# - The isolate-local "magazine" tier is GONE (index.ts:1319 — "could not be-# made correct: a magazine lives in isolate-local memory"). The uneven-# split-across-isolates argument died with it.-# - claimPoolBox now walks EVERY shard (index.ts:1367 — random start, odd-# stride so it is a guaranteed full cycle). The measurements that justified-# the slack ("56 of 100 concurrent creates fell through to the control plane-# while the shards still held 22-81 boxes") were taken under the old-# 3-attempt walk, where a create landing on a drained shard gave up.-# With a full ring walk, TOTAL staged stock is what matters, not per-shard-# balance: a create landing on a drained shard still reaches stock, costing a-# round trip rather than a cold launch. What is left to cover is only stock-# depleted between probe and claim — hence ~2% headroom, not 44%.-# SIZING INVARIANT: SHARDS x TARGET must stay <= the cell pool. With 8 shards-# against a 10-box dev pool, the old 16 asked for 128 — every shard permanently-# below LOW_WATER, restocking on every claim, and the measured latency becomes a-# function of shard luck rather than of the system under test. 4 shards x 2 = 8 <= 10.-# Raise both when the cell pool is raised.-POOL_STOCK_TARGET = "4"-POOL_STOCK_LOW_WATER = "2"-# NO SHARDING ON DEV. Sharding buys concurrency against a single-threaded DO and-# pays for it with pool fragmentation — one full DO round trip per empty shard,-# on the customer's create. Dev's cell pool is 16 boxes and its bursts are a-# handful of sequential creates, so there is no concurrency here to win and the-# fragmentation is the only effect that survives. Measured on dev 2026-08-25:-# claimmiss 300-320ms at 4 shards vs 84-98ms at 1; a dotry=2 claim ~150ms vs-# ~88ms at dotry=1.-#-# The ids are also not portable. A shard id is half of a DO name-# (`${cellID}#${gen}#${id}`), so the same id is a DIFFERENT object per cell, with-# its own placement. The [1,4,6,12] default was probed into IAD against PROD's-# cell and says nothing about dev's objects of the same id — which is why dev-# creates were answered from ATL, IAD and ORD in a single four-request sample.-#-# Raise this only alongside the pool: SHARDS × POOL_STOCK_TARGET ≤ cell pool,-# and only with ids probed into the target colo FOR THIS CELL.-POOL_STOCK_SHARD_IDS = "1"-# Dev's MicroVM cell runs the DIRECT-EXEC backend (OPENSANDBOX_MICROVM_LITE=1),-# whose boxes are reachable only by a plain HTTPS POST — they hold no agent-# tunnel for a session DO to dial. Answering exec at the edge would route around-# the entire path this cell exists to measure while still returning correct-# results, which is precisely how it went unnoticed for the first dev run: a 3s-# exec, a correct answer, and not one line about it in the cell's logs.-#-# PROD LEAVES THIS UNSET. Its cells run the agent-tunnel backend, where the edge-# path is both correct and much faster.-MICROVM_EDGE_EXEC = "0"-# Same cell, same reason, the create half. That backend keeps its warm set in-# process and never implements EdgeReserve, so PoolStock cannot hold stock for-# it — every create walked the shards, missed, and paid the control plane-# anyway. Measured at 81-87ms of `claimmiss` on every single create, for an-# outcome that was structurally impossible rather than merely unlikely.-#-# PROD LEAVES THIS UNSET: its MicroVM cells do fill the stock DO, and edge-claim-# is what answers their creates at the edge.-MICROVM_EDGE_CLAIM = "0"-# Cells eligible for new-org home assignment are NOT configured here anymore —-# it's the `accepts_new_orgs` column on the D1 `cells` table (single source of-# truth, toggled per-row without a deploy). See pickHomeCell in src/index.ts.-# Optional alpha route for Burst Sandboxes. Leave empty to disable.-BURST_CELL_ID = ""MANAGED_AGENTS_API_URL = "https://managedagents.opencomputer.dev"# Ship console output + exceptions to opensandbox-log-tail, which forwards@@ -324,17 +154,3 @@ MANAGED_AGENTS_API_URL = "https://managedagents.opencomputer.dev"# as the VM journald stream so we can cross-correlate edge ↔ cell.[[tail_consumers]]service = "opensandbox-log-tail"--# Off-isolate edge-claim finalize (see FINALIZE_QUEUE in index.ts). Producer:-# createSandbox enqueues a tiny finalize message. Consumer: the queue() handler-# runs the CP claim-finalize + D1 insert on its own invocations, off the create-# hot path (which was the burst-create bottleneck).-[[queues.producers]]-binding = "FINALIZE_QUEUE"-queue = "edge-finalize-dev"--[[queues.consumers]]-queue = "edge-finalize-dev"-max_batch_size = 25-max_batch_timeout = 2-max_retries = 3