cd /news/ai-agents/real-world-adlc-6-agents-4-gates-one… · home › topics › ai-agents › article
[ARTICLE · art-178594] src=engineeringexec.tech ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Real-World ADLC – 6 Agents, 4 Gates, One Real Control

A practitioner built an agentic development life cycle (ADLC) on top of Claude Code, wired into Jira and GitHub, and tested it on a real internal incident dashboard, using six subagents and four human gates. The workflow binds H3 plan approval to a hash of plan.md so any later edit blocks implementation, treats skipped tests as UNKNOWN, and gives the reviewer no Edit or Write tools so the agent judging code cannot modify it. The author reports that three of the four gates sit before any code is written and that a low-risk track requires explicit owner agreement at H1.

recommendation

Hash the approved plan and block implementation when the hash no longer matches, and run the reviewer without Edit or Write tools so it cannot alter the code it judges.

more in playbook: Working with AI coding agents
by read9 min views10 publishedNov 30, 2026
Real-World ADLC – 6 Agents, 4 Gates, One Real Control
Image: Engineeringexec (auto-discovered)

Most posts about AI coding agents describe the process the agent follows. Very few tell you which parts of that process the agent could simply skip, or what breaks when the demo meets a real codebase.

Over the last few months I built an agentic development life cycle (ADLC) on top of Claude Code, wired into Jira and GitHub. I designed it as a general-purpose workflow and tested it on a real internal product: an incident dashboard. This post covers how it works, what is actually enforced versus what only looks enforced, and the parts that still hurt.

The starting point was Anthropic’s AI-native SDLC playbook: intent, spec and plan as versioned files, with a human approving each one. What I added on top: approvals bound to a hash of the plan, a reviewer that never sees the implementer’s summary, skipped tests that count as UNKNOWN, Jira as a mirror rather than a source of truth, and an honest account of which gates are actually enforced. The playbook also puts a human in front of production deploys. My last human gate is the merge, and a story closes only once release validation passes.

One story, six agents, four gates #

The unit of work is a single Jira story. It travels from idea to validated release through a fixed line of stations:

Each station has its own subagent, with its own model and effort level:

  • Orchestrator (Opus, high). Routes the story, stops at gates, owns the PR and the checkpoint. Never writes code or tests.
  • Spec-writer (Opus, high). Producesintent.md andspec.md with observable acceptance criteria.
  • Architect (Opus, extra-high). Producesplan.md : approach, changes, a test plan per acceptance criterion, risks and rollback.
  • Implementer (Sonnet, high). Writes the code and the test tiers it owns, usually unit tests.
  • Tester (Sonnet, extra-high). Adds missing boundary and end-to-end tests and runs the full gate.
  • Reviewer (Opus, extra-high). Returns PASS, CONCERNS or FAIL against the repo’sREVIEW.md . It has no Edit or Write tools.

The split is deliberate. The stronger model goes where judgment matters: deciding what to build, how to build it and whether the result is any good. The cheaper model does the volume work of typing code and tests. The agent that judges the code can’t touch it.

“Approved” means approved #

The four H gates are where a human decides:

  • H1: intent accepted, spec writing may start.
  • H2: acceptance criteria signed off (plus HTML mockups for a UI story), planning may start.
  • H3: plan approved, implementation may start.
  • H4: a code owner approves the PR and a human merges it.

Three of the four gates sit before any code is written, and that’s deliberate. The framework is spec-driven: the agents decide how to build, you decide what gets built, and the verification loop checks that they built it.

The orchestrator waits for an explicit “approved”. Silence doesn’t count. “Looks good so far” doesn’t count. Approval of a different revision doesn’t count either: the H3 approval records a hash of plan.md, so if anyone edits the plan afterwards, human or agent, the approval no longer matches and implementation is blocked.

The reason is simple: agents are too eager to help. Hand one a plan that’s 90% right and it will happily “improve” it on the way to implementation. Binding the approval to the exact version you read takes that option away.

A lighter track, not a shortcut #

Every story runs the standard track unless the owner explicitly agrees to low-risk at H1. Low-risk requires all of the following:

  • no new integration, auth or security surface, and no change to secrets, CI/CD or deployment
  • migrations that are additive or touch only tables with no production data
  • a PR revert fully undoes it
  • no open product decision

Low-risk merges H1 and H2 into one approval, shortens the plan and drops the architect, tester and reviewer to high effort. H3 and H4 still apply.

What low-risk never does is remove a human decision, and “it’s a small fix” doesn’t qualify a story for it. Small describes the diff, not the risk, and anyone who has run production knows which of the two wakes you up at 3am.

A reviewer that never hears the pitch #

The verification loop runs in four steps:

  1. First round. Tester and reviewer run in parallel on the implementation commit. The tester works in its own worktree, writes the tests it owns and runs the full gate from a clean install. The reviewer reads the whole diff without ever seeing the implementer’s summary.
  2. Fix round (after FAIL, or CONCERNS worth fixing). The implementer fixes. The reviewer looks only at the delta plus its earlier findings. The tester reruns only the affected test files.
  3. Tester commits. Tests the tester adds are fast-forwarded onto the story branch and reviewed like any other change. No commit becomes the final candidate while it holds something no reviewer has seen.
  4. Final candidate. The full gate runs once more on that SHA and CI must be green. Only then does the orchestrator mark the PR ready and request code-owner review.

Two rules here matter more than they look.

The reviewer never reads the implementer’s summary. An agent’s summary of its own work is a sales pitch, and human reviewers fall for it too: read “refactored for clarity, no behavior change” and you start skimming. The reviewer gets the diff and has to form its own opinion.

A skipped required test tier counts as UNKNOWN, never PASS, which caps the verdict at CONCERNS. Agents love to report green, and “tests passed” too often means “the tests I chose to run passed”. Making missing evidence explicit closes that gap.

The repo is the truth, Jira is the mirror #

Each story has a folder, specs/<KEY>-<slug>/, holding the intent, spec, plan and a story.md. That last file is the checkpoint: state, track, commit SHAs, PR, approvals, blocker, next action, a gate record per test tier, the review history and a log.

A story moves through intent, specified, designed, in-progress, implemented, draft-pr, in-review, ready-to-merge, merged and released, with blocked and abandoned as exits.

After each durable station, a jira-sync skill transitions the ticket, posts a short checkpoint comment and links the PR. Jira is never read to decide an outcome, and a Jira failure is recorded and retried without blocking delivery. Jira is for the humans who want to know where things stand. The repo is the audit trail.

Two more rules come straight from running production. Merged is not released: the story closes only after the deployment and the release validation checks are confirmed. And after an interruption, the orchestrator reconciles git, the PR, CI and Jira against the checkpoint before retrying, treating any uncertain write as possibly done. If you’ve ever written an idempotent migration, you know why.

One plugin, any repo #

The whole flow ships as a Claude Code plugin, so a new repo doesn’t copy agents and skills around. A single /agentic-delivery-cycle:init command sets a repo up. It writes the repo-specific data into .claude/delivery.json, adds a REVIEW.md for the reviewer, and enables the plugin in the repo’s Claude settings.

The config holds everything that differs between repos:

  • branch pattern and base branch

  • code owners

  • Jira URL and status map

  • test tiers, each owned by the implementer or the tester

  • deploy and release validation commands

  • docs-only paths and UI paths The smallest valid config is a single test tier, and unknown keys are errors rather than silently ignored. A typo in a config that controls gates should fail loudly.

Only one gate is real #

This is the table I wish every agent demo included:

Gate Enforced by Strength
H1, H2 The workflow skill only The orchestrator writes the approval line itself
H3 A hook on the tool that spawns agents Blocks the implementer unless story.md records H3 with the hash of the currentplan.md
H4 GitHub branch protection and code owners The only gate enforced outside the agent

Two Claude Code hooks do the enforcing that happens inside the agent:

  • guard-gates runs on the tool that spawns agents. It can’t prove a human approved anything. It catches a skipped gate or a plan edited after approval.
  • guard-git runs on Bash and PowerShell commands. It blocks merges, approvals, auto-merge, force pushes and pushes to protected branches, and limits the reviewer to read-onlygit andgh . It parses through aliases, wrappers,eval , nested shells, heredocs and GraphQL calls. Before a push it also runs a security review of the committed files, looking for secrets, PII, SQL injection and other common vulnerabilities.

guard-git still has blind spots, and I’d rather list them than pretend otherwise. It doesn’t see:

  • merges or approvals made through MCP tools
  • script files that a command runs
  • curl calls straight to the GitHub API

So it isn’t a security boundary. There are other paths to the same API.

Both hooks fail closed, act only in repos that have opted in with a .claude/delivery.json config, and both are tripwires. They catch mistakes, which is most of what agents make. The real control is the one that lived outside the agent all along: branch protection and a human with merge rights.

If your agentic workflow depends on the agent following its own instructions for anything that matters, you don’t have a control. You have a convention.

What still hurts #

The pilot surfaced real problems. Some I worked around, some are still open.

Test runs don’t scale. Pre-push hooks run the tests, and once a story has accumulated enough of them, every push takes forever. I introduced a lightweight partial run for intermediate pushes. The full gate still runs on the final candidate.

The final PR is too big for a human. Even a medium-sized story ends with a lot of commits: every station, every fix round and every tester commit adds history. Reviewing that trail properly is very hard, sometimes impossible. This one bothers me most, because H4 is the only gate that is actually enforced, and it rests on a human review that the process itself makes harder.

Tokens cost real money. Three stations at extra-high effort per story, two of them on Opus, add up. On a personal subscription it gets expensive fast. On a team plan I never crossed session limits. I haven’t measured cost per story yet, and every story runs at least the low-risk track, so there is no cheap path.

Parallelism needs hardware. Separate worktrees let you run several stories at once. In practice my laptop ran out of memory and CPU at three concurrent sessions. If you want a team of agents, budget for the machine they live on.

It’s proven on one repo. One product, GitHub only. Other stacks and other source control platforms are untested.

The easy part #

The agents turned out to be the easy part. The hard part was the same as with any delivery process I’ve run: deciding what you trust, writing it down and making sure the thing you trust doesn’t depend on anyone’s good intentions. Including the agent’s.

If you’re building something similar, I’d like to compare notes, especially on making agent-sized PRs reviewable by humans.

── more in #ai-agents 4 stories · sorted by recency
── more on @claude code 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/real-world-adlc-6-ag…] indexed:0 read:9min 2026-11-30 · —