AKAshish Kr Jhainblog.ashishkrjha.dev·3d ago · 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·3d ago · 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·4d ago · 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
AKAshish Kr Jhainblog.ashishkrjha.dev·6d ago · 16 min readBuild a TypeScript Code Graph with the Compiler APIHave you ever written a helper function, opened a pull request, and had someone comment "we already have this"? I have. More than once, in the same codebase. And once, on a helper I had written myself00
AKAshish Kr Jhainblog.ashishkrjha.dev·Jan 20, 2023 · 4 min readJavaScript Functions: A detailed GuideJavascript is a programming language and it is highly dependent on functions like many other languages to make code more modular and concise. In functional Programming functions are pure Functions, which means if the input is not changed the output o...00