Writing

AI in the software lifecycle: where it helps and where it hurts

Coding agents now write a large share of new code in many teams. A practical look at where AI helps across the software lifecycle, where it quietly adds risk, and the rules that keep it safe.

AI tools now touch every stage of building software: planning, writing code, reviewing it, testing it and shipping it. Used well, they make a small team move like a large one. Used without rules, they produce code nobody understands, faster.

We use AI at every stage of our own work. These are the places it helps, the places it hurts, and the rules we keep.

Planning and specs

  • Helps: turning a rough request into a written spec, listing edge cases, finding what is missing.
  • Hurts: when the spec is accepted without a person deciding what matters. A model will happily write a thorough spec for the wrong thing.
  • Rule: a person owns the spec and signs off what is out of scope.

Writing code

  • Helps: boilerplate, migrations, tests for known behavior, porting code between languages, first drafts of well-understood features.
  • Hurts: security-sensitive code, anything touching money or personal data, and code that depends on decisions nobody wrote down.
  • Rule: the agent works on a branch, in small changes, with a description of what it changed and why.

Review

  • Helps: a model reviewing a change catches typos, missing error handling and inconsistent naming before a person looks.
  • Hurts: when model review replaces human review. Two models agreeing is not a check.
  • Rule: every change that ships is read by a person who could have written it.

Tests

  • Helps: generating test cases from a spec, especially the boring ones: empty inputs, long inputs, wrong types.
  • Hurts: tests written from the code instead of the spec. They confirm what the code does, not what it should do.
  • Rule: tests come from the spec or from real bugs, and a failing test is never “fixed” by changing the test without a reason written down.

Release and operations

  • Helps: release notes, change summaries, first triage of errors.
  • Hurts: automated changes to production without a person in the loop.
  • Rule: agents can propose a release; a person approves it.

What to set up first

  1. Decide what an agent may touch, and what it may not: secrets, billing, authentication, personal data.
  2. Require small changes with written intent.
  3. Keep human review on everything that ships.
  4. Run the tests on every change, and treat flaky tests as bugs.
  5. Write down where the agent made a mistake, and turn each one into a rule.

None of this slows a team down. It is what lets you keep the speed when the codebase is a year old. If you want help setting it up, this is part of AI across your software lifecycle.

Follow new articles by RSS or email.

Building with AI, or building an AI product?

We build custom AI and SaaS products, and set up AI across your software lifecycle with review rules, tests and release checks.

Custom AI and SaaS development

Tell us what you need.

In a 20-minute call we tell you which of our services fits, what the first step costs and how long it takes, or that we are not the right team.

Book a 20-minute call

Not ready to talk? See a sample audit readout or an annotation quality sample.