XNews

Coding Agents, Vibe Coding and Engineering Practice

Coding Agents, Vibe Coding and Engineering Practice

Multiple posts document successful coding-agent workflows, recommended engineering practices, and experiments adapting codebases for agent maintainability.

Key insights

Coding agents excel at translation with test suites

Simon Willison used Codex CLI + GPT-5.2 to port JustHTML from Python to JavaScript, running 9,200+ html5lib-tests and producing ~9,000 lines across 43 commits with about eight prompts. The case exemplifies an agent 'comfort zone': translation tasks with comprehensive test suites and an existing architecture where the agent iterates via test-run feedback loops (AI writes code → run tests → fix → repeat).

Engineer responsibilities shift toward verification and accountability

Simon and others argue that code generation is cheap while delivering verified, accountable code is expensive. Recommended practices: manual smoke testing, evidence in PRs (logs/screenshots), and automated tests accompanying changes. AI should be treated as a junior engineer; human reviewers must provide proof that generated code was executed and validated.

Agent-optimized codebases can outperform human-centric layouts

An experiment titled 'A Codebase by an Agent for an Agent' found that relinquishing human naming and structure preferences to the agent improved agent productivity. When the author stopped renaming AI-chosen symbols and allowed AI-consistent conventions, the agent better understood and extended the codebase; the author argues this yields a new tradeoff: human readability vs. agent maintainability.

Design the agentic loop: spec first, smoke test, automated loop

Successful agent workflows follow a pattern: produce a spec first, run a minimal smoke test to verify pipeline, then implement a continuous 'designing the agentic loop' where the agent writes code, runs tests, consumes error logs, and iterates until the suite passes. This pattern optimizes tokens and reduces human supervision cost.

Source posts