Code Mode: Why AI Coding Agents Now Write JavaScript Instead of Calling Tools
In November 2026 Claude Code, Cloudflare and three MCP server vendors shipped the same idea: let the model write code instead of emitting tool calls. It removes schema and round-trip cost, and it moves the security boundary from the permission prompt to whatever sandbox runs the generated program. Here is the architecture, the four sandbox placements, and the six controls that actually hold.