Coding articles

Practice

10 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

    When a Commit Guard Cannot Run, It Must Block

    A missing Python dependency let my commit guard pass without scanning. Distinguish clean results from broken checks, test exceptions and monitor guard health.

    Rajiv Pant

  3. Coding

    Your Coding Agent Should Watch Its Own Work Run

    Use authorized browser actions, screenshots and state checks to test a coding change in the running app, keeping visual and behavioral evidence distinct.

    Rajiv Pant

  4. Coding

    Every bug report is now a patch-or-redesign decision

    The minimal patch is a habit from when understanding was expensive. AI coding agents ended that economy, and most of us never consciously make the choice.

    Rajiv Pant

  5. Coding

    Postel's Law for AI-Written Documents

    Three bugs in my daily-plan dashboard led to shared vocabulary and tolerant rendering. The case shows where strict contracts belong and how to check both sides.

    Rajiv Pant

  6. 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

  7. Coding

    Stop asking me: Claude Code permissions for authorized work

    Reduce repeated prompts with a scoped Claude Code permission policy, distinguishing allowed commands, sandbox limits and actions that still need authorization.

    Rajiv Pant

  8. 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

  9. Coding

    Data Format Contracts for AI Pipelines

    Timestamp, pagination, rate-limit and configuration failures taught me to define explicit data contracts, then test what each component sends and accepts.

    Rajiv Pant

  10. 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