An engineering leader's guide to building an AI-native SDLC
How to go from individual developers using coding assistants to a deliberately designed lifecycle where agents take part in planning, coding, review, testing and ops.
by Patrick Kamtchueng Kom · Published
Most teams have “adopted AI” the same way: someone expensed a coding assistant, a few people loved it, a policy doc showed up six months later. That isn’t an AI-native SDLC. It’s individuals with better autocomplete.
An AI-native SDLC is a lifecycle you designed with agents as participants: they get work, produce artifacts, pass through gates, and get measured. Think “some devs write tests” versus “we have CI.”
The maturity stages
Five stages. Not a scorecard, just a way to be honest about where you are so you pick the right next step.
- 0. Ad hocPersonal chat and IDE use. No config, no policy. Owner: nobody.
- 1. SanctionedApproved tools, data policy, central licences. Owner: IT / security.
- 2. ConventionsAGENTS.md, shared prompts, review rules. Owner: eng leadership.
- 3. IntegratedAgents invoked from tickets, review, CI, incidents. Humans own gates. Owner: platform / DevEx.
- 4. AI-nativeWork decomposed for agents, gated end to end, metrics drive automation. Owner: leadership + platform.
📊 How AI-native is your SDLC?
1. We have one or two approved AI coding tools and a written data policy.
Not at allCompletely2. Our active repos carry agent context files (AGENTS.md or equivalent) with an owner.
Not at allCompletely3. We have agreed review rules for agent-authored code, including PR size limits.
Not at allCompletely4. Agents are triggered from the workflow itself (tickets, CI, review), not only from someone's editor.
Not at allCompletely5. We've written down which types of work agents may do alone and which need a human gate.
Not at allCompletely6. We took a baseline and track flow and quality metrics for agent-involved work.
Not at allCompletely
The decisions only you can make
Enthusiasts will happily pick tools and write prompts. The trade-offs below belong to leadership, not to them.
1. Tooling standard
Pick a small, deliberate set. Model quality changes every quarter; your integration surface doesn’t. Revisit the choice every six months, not every week.
✕ Don't
- –Standardize on whatever is best this month
- –Judge tools on benchmark quality alone
- –Leave unapproved tools undefined, so people go shadow
✓ Do
- +One primary agentic tool everyone is trained on
- +One sanctioned alternative for its weak spots
- +Unapproved tools OK for experiments on non-sensitive code, not production repos
- +Check: repo instruction files, headless/CI mode, data policy, command control, usage export
2. Autonomy levels: where agents act alone and where humans gate
The most important decision in this guide. Define autonomy per type of work, not per tool.
| Level | Agent can… | Human… | Good fit |
|---|---|---|---|
| A. Suggest | Propose code in the editor | Accepts or rejects each change | Everything, by default |
| B. Draft | Open a branch or draft PR | Reviews and owns the merge | Features, bug fixes, refactors |
| C. Act with gate | Run end to end, incl. tests and PR | Approves at a defined gate | Dependency bumps, lint fixes, test backfill, docs |
| D. Act and report | Execute and notify | Audits after the fact | Triage labels, changelog drafts, stale-branch cleanup |
🎮 Autonomous or human-gated?
1 / 9 · Score: 0
Where would you put each agent action, following the autonomy table above?
3. Context and repo conventions
Agents are only as good as their context. Making every repo self-describing is the highest-leverage, lowest-cost move here.
🃏 What a self-describing repo has
Tap a card to flip it
Treat these files as code: reviewed, updated when the build changes, and a stale one is a bug. I’ve seen agents follow build instructions two migrations out of date because nobody owned the file.
4. Review and quality gates
Same bar for AI-generated code. What changes is how you hold it.
✕ Review collapse
- –Reviewers check the diff, not the intent
- –2,000-line agent PRs accepted as-is
- –Agent approvals count toward required approvals
- –"Tests pass" taken from the PR description
- –No way to tell which changes were agent-authored
✓ Healthy gates
- +First question: is this the right change?
- +Soft size cap, decomposition required
- +Agent review is a filter, never a gate
- +Tests run in CI; test-file edits visible in review
- +Provenance label, so you can measure outcomes later
5. Security and data policy
Write this down before you scale, not after the first incident. Most of these are design mistakes, not model mistakes.
✅ Security and data policy
0 / 6 completed
6. Measurement
Without numbers, it becomes “feels faster” versus “feels riskier,” and the loudest person wins. Measure the system, not individuals.
| Dimension | What to track |
|---|---|
| Flow | Lead time ticket to production, PR cycle time, review wait time |
| Quality | Change failure rate, escaped defects, reverts, incidents tied to recent changes |
| Adoption | Share of PRs with agent involvement, by repo and work type |
| Cost | Tool spend per engineer and per merged change |
| Experience | Short quarterly survey on friction and trust |
Take a baseline before the pilot and compare against a similar team. Two numbers I refuse to use as productivity metrics: lines of code generated and acceptance rate. Both reward volume, which agents already overproduce.
A phased rollout: 90 days
One pilot team of four to eight engineers, and one owner with at least a day a week of protected time.
- 1
Days 0–30
Foundations and a pilot (reach stage 2)
Pick a team with good tests and a willing lead. Baseline it and a comparison team. Decide tools, publish the data policy. Have an agent draft AGENTS.md, then the team fixes it. Conservative autonomy table (mostly A and B). Half-day hands-on on real tickets. 30-minute weekly retro.
- 2
Days 31–60
Integrate into the workflow (stage 3 for a few flows)
Wire two or three workflows (ticket to draft PR, first-pass review, test backfill) into CI or ticketing with least privilege and a sandboxed runner. Add provenance labels and PR size guidance. Promote one low-risk work type to level C. Start a shared prompt library. Review metrics at day 45: if quality slips, stop expanding.
- 3
Days 61–90
Expand and institutionalize
Write up the pilot honestly, failures included. Package conventions, autonomy table, review rules, CI jobs and onboarding. Roll out to two or three teams with a pilot buddy each. Hand ownership to platform or DevEx. Schedule a quarterly review.
Common failure modes
All of these are avoidable. Flip each card for the fix.
🃏 Failure mode → fix
Tap a card to flip it
The checklist
Run this as a leadership review at the end of each phase. Progress is saved in your browser.
✅ Phase-end leadership review
0 / 6 completed
🧠 Quick check
Score: 0 / 4
1. What's the best sign you're really at stage 3?
2. How should autonomy be defined?
3. Can an agent's approval count toward required PR approvals?
4. Which metric should you avoid as a productivity measure?
What to do this week
✅ This week
0 / 5 completed