<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/c4ba9f4f23d84d18a02b92e5bfee5d84&quot; frameborder=&quot;0&quot; width=&quot;1728&quot; height=&quot;1296&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1296</height><width>1728</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1296</thumbnail_height><thumbnail_width>1728</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/c4ba9f4f23d84d18a02b92e5bfee5d84-de95cb404fcca784.gif</thumbnail_url><duration>1905.79</duration><title>Debugging Draft Generation with Gemini and OpenClaw</title><description>This Loom explains the debugging process for AmitPro.ai after issues prevented generating subsequent essay drafts, especially draft 2. Josh Lee walks through using Brave DevTools and checking Vercel logs to identify errors like HTTP 405 method not allowed, and he discusses fixes involving Next.js routing and a middleware gate that blocked server to server requests. He then describes his iterative workflow using Gemini as a technical architect to produce specific instructions for his OpenClaw coding agent J, noting that Gemini and the agent were sometimes overly optimistic. He also covers key infrastructure changes such as moving from synchronous processing to asynchronous background workers due to a 60 second Vercel free tier timeout, with the goal of restoring drafting, table behavior, scoring, and navigation.</description></oembed>