Codemode B5 Browser Ai

loom-builderpromptmarkdown
Path: loom-builder/prompts/codemode-b5-browser-ai.mdRelative: prompts/codemode-b5-browser-ai.mdSubproject: loom-builderCategory: dispatch-prompts
Lines: 65Bytes: 5,371Imports: 0Exports: 0

Content Preview

  1. # B5 — Browser Rendering + Workers AI namespaces in codemode-gateway
  2. ROLE: senior Cloudflare Workers builder.
  3. GOAL: extend the LIVE codemode-gateway with two new sandbox namespaces — `browser` (Cloudflare Browser Rendering) and `ai` (Workers AI binding) — plus an R2 artifacts bucket, so a single LLM code block can render a page, screenshot it, and vision-verify it without leaving the gateway. Redeploy + live-verify.
  4. Echo ROLE/GOAL/PLAN (3 lines) before work.
  5. ## Required reading FIRST
  6. 1. `/ho