Coding articles

software engineering

32 articles

  1. Coding

    What My Checks Missed After an AI Agent Deleted 474 Files

    My first checks of a bookmark cleanup passed. A second extraction found 196 missing URLs. The case shows how to check preservation against the source inventory.

    Rajiv Pant

  2. Coding

    I told a sub-agent to check before committing. Minutes later, I didn't.

    Three multi-agent coding incidents taught me to inspect the shared Git index, write concrete briefs, and keep untested claims visible through every handoff.

    Rajiv Pant

  3. Coding

    Prompt discipline is engineering infrastructure

    Prompt discipline is engineering infrastructure: a forbidden-phrase catalog, hooks, and enforcement that catch AI coding agents dressing shortcuts as judgment.

    Rajiv Pant

  4. Coding

    Demo mode as a pattern for software

    Build demo mode into software so users can explore it with realistic sample data. A console case shows the design, testing, privacy and onboarding choices.

    Rajiv Pant

  5. Coding

    Transferable Knowledge: The Fifth Pillar of Synthesis Coding

    Transferable Knowledge makes AI-assisted work useful across people, tools, crafts, time and organizations through shared decisions and maintainable code.

    Rajiv Pant

  6. Coding

    When All Tests Pass, Check the Whole Change

    A missing field survived 1,297 passing tests. Trace it from request to database, check each service and use seven review passes to find incomplete changes.

    Rajiv Pant

  7. Coding

    The blast radius principle: checking targets before destructive commands

    Use path checks, previews and a tested recovery plan to limit AI-generated cleanup commands, with a complete exercise that removes no files.

    Rajiv Pant

  8. Coding

    Synthesis merging: what happens after the first PR

    Integrate overlapping pull requests in dependency order, check the combined result, credit contributors and help the team take ownership of integration.

    Rajiv Pant

  9. Coding

    Turning code review findings into a tested upgrade plan

    Turn code review findings into an upgrade plan that preserves domain behavior, addresses urgent risks and defines evidence for each change before work begins.

    Rajiv Pant

  10. Coding

    What reviewing real codebases taught me about code review

    Reviewing the wrong branch led to better baselines, closer test inspection and clearer reports. See what comparisons prove, and what they leave unknown.

    Rajiv Pant

  11. Coding

    Recommend A, implement A: checking an AI agent’s work against the plan

    Check whether AI-generated code follows the agreed plan and whether that plan meets the requirements, using filename collisions to test both independently.

    Rajiv Pant

  12. Coding

    When Someone Else Contributes to Your Synthesis-Coded Project

    Review contributions against your current architecture, adapt what needs changing, and build the shared standards that let good work merge with less rework.

    Rajiv Pant

  13. Coding

    Verifying AI-Written Code with Independent Checks

    Use independent expectations, parser comparisons, staged probes and reviewed dry runs to find mistakes in AI-written code before acting on its output.

    Rajiv Pant

  14. Coding

    Bidirectional Learning in Synthesis Coding: When Human and AI Teach Each Other

    Bidirectional learning in synthesis coding: humans teach AI through context, prompts, and review; AI teaches back by surfacing blind spots and edge cases.

    Rajiv Pant

  15. Coding

    From learned representations to engineered context: what Richard Socher's research tells us about working with AI

    Richard Socher's work on reusable representations offers a practical lens for persistent AI coding context, architectural foundations and disciplined review.

    Rajiv Pant

  16. Coding

    Code Review That Scales: Choosing Review Depth by Risk

    Use a tiered code-review runbook to choose review depth, override the tier for consequential risks, and record what was checked, excluded or left unverified.

    Rajiv Pant

  17. Coding

    Why Engineering Judgment Matters More With AI

    AI makes engineering judgment more valuable. Four experiences show how faster implementation changes refactoring, verification and what we choose to build.

    Rajiv Pant

  18. Coding

    Diagnosing Retrieval Failures in a RAG Application

    Use Ragbot’s biography lookup to separate routing, tokenization and ranking, then trace a context-budget change through five defaults from UI to retrieval.

    Rajiv Pant

  19. Coding

    Keeping Claude Code Refactors Consistent Across Long Sessions

    Keep a long Claude Code refactor aligned with its conventions through instruction-loading checks, scoped code review and tests of the behavior being changed.

    Rajiv Pant

  20. Coding

    Build the Foundation Before Scaling AI Coding

    Set architectural direction, build a complete reference feature and test the next addition. A worked API example shows what coding agents should extend.

    Rajiv Pant

  21. Coding

    Building ownwords: A Synthesis Coding Case Study

    How I built ownwords to manage 53 articles in Markdown, with deliberate architecture, publishing checks and runnable conversion and permission examples.

    Rajiv Pant

  22. Coding

    Why Synthesis Coding Still Writes Code in the Age of LLMs

    Why better AI strengthens the case for code, shared understanding and review, with a family math puzzle, a runnable median example and three practical prompts.

    Rajiv Pant

  23. Coding

    Vibe Coding and Synthesis Coding: Two Complementary Approaches

    Use conversational exploration to test ideas and synthesis coding to build software people can depend on, with practical guidance for moving between the two.

    Rajiv Pant

  24. Coding

    Polyrepo Synthesis: Working Across Repositories with Claude Code and VS Code

    Configure Claude Code and VS Code for cross-repository work, map shared dependencies, and test both direct and indexed consumers after a schema change.

    Rajiv Pant

  25. Coding

    Modernizing a 17-Year-Old WordPress Plugin with Claude Code

    A 2025 modernization of Blogroll Links: WordPress security and compatibility work with Claude Code, and why maintaining open-web software still matters.

    Rajiv Pant

  26. Coding

    Build a self-improving AI coding practice

    Improve AI coding through project context, skills, instructions, and practice. A team account and CSV exercise show how to carry useful lessons into later work.

    Rajiv Pant

  27. Coding

    Understanding the AI-generated code you ship

    Understand AI-generated code well enough to debug and change it. A cache example connects comprehension, review, and tests to sustained development speed.

    Rajiv Pant

  28. Coding

    Quality standards for AI-generated code

    Design a testing strategy, review generated code, and connect passing checks to real requirements. An empty-response example shows how a green suite can fail.

    Rajiv Pant

  29. Coding

    Human architectural authority in AI-assisted development

    How engineers keep AI-assisted development coherent: own architectural decisions, record their rationale, and use shared constraints to reduce costly rework.

    Rajiv Pant

  30. Coding

    Reviewing Claude Code’s Work: Security and Performance

    Four Claude Code cases show how engineering review improves authentication, caching, async calls, and security findings, with runnable local Python examples.

    Rajiv Pant

  31. Coding

    The synthesis coding framework: building production software with AI

    Five connected pillars turn AI-assisted coding into an organizational practice, with project cases, planning guidance, and a path to production software.

    Rajiv Pant

  32. Coding

    Synthesis coding: a professional practice for AI-assisted development

    Architectural judgment, systematic quality, and shared project knowledge make AI-assisted development a professional practice with lasting value for teams.

    Rajiv Pant