AKAshish Kr Jhainblog.ashishkrjha.dev·Aug 29 · 16 min readThe CORS Error That Was a Race ConditionThe browser console said the request had been blocked by CORS policy, that no Access-Control-Allow-Origin header was present on the requested resource. Which is a sentence I have read several hundred 00
AKAshish Kr Jhainblog.ashishkrjha.dev·Aug 26 · 20 min readMy Idle Background Worker Was the Most Expensive Thing I OwnedI opened the Cloud Run billing breakdown expecting the database to be the villain. Failing that, the AI generation, which calls out to a model and streams tokens back and feels expensive, in the way t76TIR
AKAshish Kr Jhainblog.ashishkrjha.dev·Aug 22 · 13 min readNo fetch, No Storage: Shipping Inside a Sandboxed HostThe answer came back in writing, from the vendor, and it amounted to: yes, and you'll be building it yourself. The question had been a simple one. The platform we build on has an agent feature. Admini61I
AKAshish Kr Jhainblog.ashishkrjha.dev·Aug 21 · 13 min readInstructions Are Hints: Guardrails for an LLM Tool LoopI wrote the same rule three times. Once in the tool description, so the model would read it while deciding what to call. Once in the system prompt, in capitals, because the first one wasn't holding. A00
AKAshish Kr Jhainblog.ashishkrjha.dev·Aug 20 · 18 min readCode Graphs for AI Coding Agents: Better Repository Context and Safer RefactoringYou've probably watched this happen. You ask an agent to add a rule to checkout. It opens CheckoutPage.tsx, then CheckoutButton.tsx, then checkout.css, because they all have "checkout" in the name, an00