You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[MCP code mode] Qualify an isolated JavaScript runner with a Recoup API bridge #1306
Depends on — Can start with the technical specification.
Deliverable
Build a short-lived JavaScript runner and a typed bridge for Recoup operations. Qualify Cloudflare Dynamic Workers first and benchmark the same interface on Vercel Sandbox when isolation, latency, region or cost warrants it. The Recoup API owns sign-in, permissions, approval decisions and business dispatch.
Acceptance and evidence
Use a fresh guest per run, outbound-deny isolation and a typed request-bound channel. The supervisor holds credentials and provides the authenticated account and resource context to the owning API outside guest control. Generated code has no credentials, general network, filesystem or process access.
Supply read and action bridge methods. Bind the accepted run and stable per-effect key outside guest control. Use inert fixtures to verify that a read-only profile rejects an action, and that an action-capable bridge forwards to the API and returns its allow, denial or interaction decision.
Enforce wall time, CPU, memory, input/output, concurrent read and nested-call limits. Exercise tenant isolation, cold starts, kill/restart, repeated callbacks, lost responses, membership loss and cancellation before/after API admission. Preserve accepted receipts and prevent duplicate dispatch.
Measure p50/p95 cold/warm latency, successful invocation cost, setup, timeouts, region, data handling and retention. Publish the pinned SDK, compatibility date and adapter contract results before admitting production execution. API-owned durable jobs handle work that outlives a short program.
changed the title [-][MCP code mode] Qualify an isolated JavaScript runner with a Recoup-only operation bridge[/-][+][MCP code mode] Qualify an isolated JavaScript runner with a Recoup API bridge[/+]on Nov 28, 2026
Activity
[-][MCP code mode] Qualify an isolated JavaScript runner with a Recoup-only operation bridge[/-][+][MCP code mode] Qualify an isolated JavaScript runner with a Recoup API bridge[/+]