← Portfolio blog

AI-Driven SDLC
A guide to the AI-driven software development lifecycle

The software development lifecycle (SDLC) covers seven familiar stages. Plan → Design → Build → Test → Review → Deploy → Operate. Teams use this sequence to move a change from an idea into production.

This design assigns a specialist AI agent to the repeatable work in each stage. People own the checkpoints where judgment and accountability matter.

Agents prepare the change. People approve it. Named reviewers approve scope, sign off on design, and authorize release to production.
7
stages across the software development lifecycle
7
specialist agents, one per stage
5
human checkpoints for scope, design, PRs, releases, and incidents
2
feedback loops for failed checks and production findings

Explore the pipeline

Select any row to see who does the work, what it produces, and who makes the decision. Build and Test share a bounded retry loop that returns failed checks to the Coding Agent.

Three people, three machines, one shared ticket

The Product Owner, Tech Lead, and Engineer can each work from a different machine. They share one ticket. Each notification links the next reviewer to the exact document or change that needs attention.

PO

Product Owner

💻 Machine 1 · office or home

Opens the ticket and reads the Triage Agent’s assessment.

  • Sees the request, readiness score, and proposed scope
  • Selects Approve scope or asks to limit PDF export to paid orders
  • Records the decision in the ticket

◎ One shared board

Everyone opens the same ticket. The spec, pull request (PR), and pipeline link back to ERP-4821. The ticket holds the timeline of comments, decisions, and approvals.

🎫 Ticket ERP-4821📄 Spec (Notion)💬 Comments🔀 Pull Request✅ Approvals🚀 Pipeline

Everyone sees the same revision and the same history.

TL

Tech Lead

💻 Machine 2 · another location

Receives the design review notification and opens the spec from the ticket.

  • Reads the Architect Agent’s draft and dependency map
  • Leaves inline comments, then selects Sign off
  • The Engineer can read the same comments from their machine
EN

Engineer

💻 Machine 3 · code and pull requests

Opens the PR to inspect the diff, CI results, and the Review Agent’s first pass.

  • Comments on the exact line that needs attention
  • Selects Approve PR once the PR is ready. Required approvals unlock merging.

Release Manager & On-call

The Release Manager reviews the pending production deployment in the pipeline. The on-call engineer opens any alert from the monitoring dashboard or PagerDuty and keeps the response in the incident record.

AI Agents

Agents work in the same shared record. They read tickets, write specs, open PRs, and post test results using the statuses and comment fields the team already sees.

Working agreement. Record each action in the ticket or PR so another person can verify it.

1 · One shared record

Link the ticket, spec, PR, pipeline, and dashboard so any teammate can follow the chain.

2 · Comments in context

Discuss changes on the ticket, spec, or PR. Anyone joining later can see what was decided and why.

3 · Notify the next reviewer

Send a Slack, Teams, or email notification with a link to the item awaiting approval.

From the first request to Done

The workflow and simulations follow the same example. ERP-4821 adds a PDF invoice export to the order screen. Switch between Jira and Notion to see where the ticket, spec, and decisions live.

In Jira, the ticket links to a spec in Confluence or Notion and to code in GitHub. The shared identifier is ERP-4821.In Notion, each request is a database page with the spec, comments, and approval status. The code stays in GitHub and links back to the page.

Backlog

ERP-4821
PDF invoice export
● New

Triage

Triage complete →

Design

Spec approved →

In Progress

PR #913 open →

In Review

Approved →

Ready to Deploy

Awaiting release →

Done · Operate

ERP-4821 ✓
In production · SLOs monitored

The Jira board moves the ticket as each approval is recorded. The current column tells the team who needs to act next.

📥 Inbox / New requests

Page: PDF invoice export
Status: New

📝 Drafting the spec

Moved on →

🔨 Build / Review

PR merged →

✅ Done

PDF invoice export ✓
Released · PR and operations notes linked

In Notion’s board view, each page is a request. Moving the card or editing Status updates the same page that holds the spec, comments, and approval checklist.

1

A request comes in

Accounting reports a problem. “We need a PDF invoice to send customers after an order is complete.” The Product Owner records the problem and the desired outcome in a new request.

Jira: Create Issue · Type: StoryNotion: New page in the Product Requests databaseOwner: Product OwnerStatus: BacklogStatus: Inbox
Product Owner. “Prioritize this month. Accounting currently makes invoices by hand in Word.” The priority and its reason are visible on the ticket.
2

Triage the request and approve its scope PLAN

Triage Agent rates the request’s readiness 8.5/10 and proposes limiting export to paid orders. The Product Owner reviews and approves the scope in the ticket.

Jira: comment and status transitionNotion: page comment and status changeAgent: Triage AgentApproval: Product Owner ✓Backlog → Ready for DesignInbox → Approved
Product Owner. “Approved for PDF export. Excel export is out of scope for this release.” The agent and Tech Lead can both see the decision.
3

Draft and sign off on the design DESIGN

Architect Agent writes a spec that reuses the existing PDF library, maps the Orders and Printing modules, and sets acceptance criteria. The Tech Lead opens it from the ticket and comments inline.

Jira ticket → link Confluence / Notion specNotion: Technical Spec section on the request pageAgent: Architect AgentApproval: Tech Lead ✓Spec: Draft → Approved
Tech Lead, spec comment. “Keep the existing print API compatible. Preserve the endpoint in section 2.” The Architect Agent updates the spec, then the Tech Lead signs off.
4

Build the change and open a PR BUILD

Coding Agent (Claude Code or Codex) follows the approved spec, works on ERP-4821-pdf-export, and opens PR #913 in GitHub. The PR links back to the ticket.

GitHub: Pull Request #913Agent: Coding AgentJira: In Progress, synced from GitHubNotion: In Progress, with the PR linked on the page
5

Run CI and retry failed checks TEST · AUTO-RETRY

QA Agent runs CI. Two invoice date-format tests fail, leaving 41 of 43 passing. The Coding Agent fixes the issue and CI reports 43/43 pass. The results are posted to both the PR and the ticket.

GitHub Actions / CIAgent: QA Agent + Coding AgentHuman review if the retry limit is reachedChecks: 🔴 → 🟢 All pass
6

Run the first review and get an Engineer’s approval REVIEW

Review Agent posts a first pass on the PR with spec conformance, the security scan result, and a sample scorecard of 92/100. The Engineer reviews the summary and diff, leaves comments, then selects Approve. Merging also requires the configured checks and approvals.

GitHub PR ReviewAgent: Review AgentApproval: Engineer ✓ MergeJira: In Review → Ready to DeployNotion: Status → Ready to Deploy
Engineer, line 84. “Format currency using the Vietnamese locale.” The Coding Agent updates the line and CI reruns.
7

Approve the production release DEPLOY

The pipeline waits for production approval. Release Agent prepares a rollout starting with a feature flag for 5% of users. The Release Manager reviews the PR and test results, then selects Approve deployment.

GitHub Actions / ArgoCD: Environment approvalAgent: Release AgentApproval: Release Manager ✓Deploy: 5% → 100%
✓

Monitor the release and capture feedback OPERATE

SRE Agent monitors the release. In this example, the error rate is 0.02% and there are no incidents. The ticket moves to Done with links to the PR, release, and operations notes. A later request for Excel export becomes a new ticket.

Dashboard / Grafana · Incidents: PagerDutyAgent: SRE AgentOwner: On-call EngineerJira: Done ✓ and a new issue from feedbackNotion: Done ✓ and a new request page
What the team can see. The ticket preserves the initial request, comments, approvals, PR, test results, and deployment history in one place.

How does an agent know a ticket was approved?

In the event-driven setup, the reviewer makes a single decision. An approval starts the next step. The tool records the status change and notifies the orchestrator, which verifies the approval before calling the next agent.

① Human · in Jira or GitHub
The Product Owner selects Approve scope
The decision is recorded on ERP-4821, alongside the Triage Agent’s proposal.
② System · sends the event
A status change generates an event
The ticket moves to Approved / Ready for Design. The webhook identifies the item and the event so the orchestrator can look up the transition.
③ Orchestrator · verifies permission to proceed
The orchestrator reads the ticket again
The orchestrator checks the current approval record. It starts the next step only if the status and approval are valid for the current revision.
④ Agent · picks up the next step
The Architect Agent starts the spec
The agent adds the spec link to the ticket, updates the status to Design Review, and notifies the Tech Lead.
Scheduled

2 · Polling for approval

The orchestrator pulls the latest status on a schedule and starts only when it sees the required approval.

  • Simple setup. The source tool needs no outbound webhook.
  • Trade-off. Polling adds delay and API requests. A status that changes between polls may go unseen.
  • When to use it. Choose polling if webhook delivery is unavailable or if a periodic sweep meets your latency needs.
Human-triggered

3 · Manual start

A person can start an approved step with a Start agent button, a restricted /run command, or a manual workflow run.

  • Recovery. Rerun a step when webhook delivery fails.
  • Separation of duties. Record approval first. Start the job as a separate action.
  • Local workflow. For example, confirm the spec and plan before asking a coding agent to begin implementation.

Approve a ticket and watch the event flow

Select Approve at each checkpoint and watch the log. The browser demo shows the event, the status check, and the next agent’s response. Select Request changes to see the ticket return for edits.

ERP-4821 · Jira / GitHub

Add PDF invoice export to the order screen

Status: Awaiting scope approval⏳ Waiting for Product Owner

Current checkpoint. The Triage Agent rated readiness 8.5/10 and proposed a scope. Work resumes once the Product Owner approves.

✓ Use a structured approval

Give the orchestrator a clear approval record.

  • Select Approve or move the ticket to Approved
  • Apply an approved label or record design sign-off on the spec revision.
  • Select Approve in GitHub’s PR review and enforce the required approval count.

✗ A free-form “OK” is ambiguous

Comment “OK, go ahead” leaves the agent to infer intent. The reviewer may simply be acknowledging the message.

  • A loose trigger can start a job before a reviewer has approved it.
  • A comment may leave the approver, timing, or approved revision unclear.
  • Working rule. Record the rationale in a comment and the decision in a dedicated approval field.

Jira and Notion approval triggers

CapabilityJira / GitHubNotion
Automation and webhooksJira and GitHub. A Jira status transition or GitHub PR review can generate an event.Notion. Database automations can send webhooks, and integrations can subscribe to page changes.
How work startsA webhook handler reads the current issue or PR and checks whether it can advance.A webhook can signal a page change. The handler verifies the approval property in Notion. Scheduled polling is another option.
Delivery reliabilityRecord event IDs, handle retries, and verify the current state before acting.Use the same checks for Notion. A relay adds a service whose delivery and errors need monitoring.
Where each fitsIf the work already lives in Jira and GitHub, use the existing issue and PR events.A Notion database can hold the spec and approval together and use a webhook or manual start.

Platform details are documented in Notion webhook actions and GitHub deployment reviews.

Run a ticket through the pipeline

This simulation follows one illustrative issue through release and monitoring. Watch the first test run fail, the retry succeed, and the four release-path approvals. An on-call engineer owns incident decisions during Operate.

Sample issue #4821  “Add PDF invoice export to the order screen”

Two feedback loops keep the pipeline moving

The short loop fixes failed checks during a build. The longer loop brings evidence from production into the backlog.

Automatic retries · Build ↔ Test

Build and Test share a retry loop. The Coding Agent implements the spec, QA runs CI, and a failure goes back to the Coding Agent. Work advances when the required checks pass within the configured limit.

Set a retry and cost budget. If the limit is reached, send the failure evidence to a person. Keep changes to test expectations under review.

loop: write → test → inspect failure → fix → retest (at most N retries)

Production feedback · Operate → Plan

The SRE Agent watches SLOs, recurring errors, and customer impact. Those findings become new issues that the Triage Agent can prioritize with evidence attached.

This is how the team learns from production. A finding becomes a ticket, an explicit requirement, or a check the next run can use.

loop: monitor → incident pattern → new issue → triage

Four principles behind the pipeline

The seven stages define where agents can act and where a person must decide.

PRINCIPLE 01

Give each agent a defined role

Give each agent one responsibility at a time. Triage assesses readiness. Review checks the change against the spec. A narrow scope helps the team measure quality and locate failures.

PRINCIPLE 02

Place checkpoints where mistakes cost most

Keep people at high-consequence decisions such as scope, architecture, and production release. Let the Build–Test loop retry checks that are cheap to rerun.

PRINCIPLE 03

Assign a person to each decision

Every checkpoint has a named owner. The Product Owner, Tech Lead, Engineer, Release Manager, and on-call engineer each know the decision they own.

PRINCIPLE 04

Make each handoff explicit

The Coding Agent reads the spec, the Review Agent reads the PR, and the SRE Agent watches the rollout. Define what each stage must hand off so the next one can verify its inputs.

How this maps to a Claude Code harness

A local harness can use the same pattern with fewer roles. The examples below connect the seven-stage design to the Leader, Worker, and Reviewer setup and the spec-driven workflow on this blog.

In the pipelineIn a local harness
Architect Agent and Tech Lead sign-offIn the SPEC → PLAN steps, acceptance criteria are written and reviewed before implementation.
Coding AgentWorker subagent works in its own context from an approved task and returns a summary with evidence.
QA Agent + auto-retryA PostToolUse test hook and a Stop hook can run checks after edits and keep failed checks visible when the agent tries to finish.
Review AgentReviewer subagent checks the change independently against the spec. A person approves the PR.
Human checkpointsPermissions and approval gates enforce approval boundaries and keep writes scoped to the assigned role.
Shared workflow stateSTATUS.md and features.json make progress visible. Use a designated writer for workflow state when multiple agents hand work off.

Where the workflow needs care

Three problems can undermine a well-structured pipeline in everyday use.

Approvals need a real review

A product or engineering approval has value when the reviewer reads the evidence and understands the change. Make the spec, diff, and check results easy to find at the checkpoint.

Review generated code independently

Check generated changes for security risks, spec conformance, and gaps in test coverage. An automated scan and a review scorecard give the engineer a starting point for the final review.

Retries have a cost

Each retry uses model tokens and CI time. Set a limit, review any changes to test expectations, and hand unresolved failures to a person with the logs attached.