{"slug": "real-world-adlc-6-agents-4-gates-one-real-control", "title": "Real-World ADLC – 6 Agents, 4 Gates, One Real Control", "summary": "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.", "body_md": "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.\n\nOver 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.\n\nThe starting point was Anthropic’s [AI-native SDLC playbook](https://claude.com/resources/articles/the-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.\n\n## One story, six agents, four gates\n\nThe unit of work is a single Jira story. It travels from idea to validated release through a fixed line of stations:\n\nEach station has its own subagent, with its own model and effort level:\n\n- **Orchestrator** (Opus, high). Routes the story, stops at gates, owns the PR and the checkpoint. Never writes code or tests.\n- **Spec-writer** (Opus, high). Produces`intent.md` and`spec.md` with observable acceptance criteria.\n- **Architect** (Opus, extra-high). Produces`plan.md` : approach, changes, a test plan per acceptance criterion, risks and rollback.\n- **Implementer** (Sonnet, high). Writes the code and the test tiers it owns, usually unit tests.\n- **Tester** (Sonnet, extra-high). Adds missing boundary and end-to-end tests and runs the full gate.\n- **Reviewer** (Opus, extra-high). Returns PASS, CONCERNS or FAIL against the repo’s`REVIEW.md` . It has no Edit or Write tools.\n\nThe 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.\n\n## “Approved” means approved\n\nThe four H gates are where a human decides:\n\n- **H1:** intent accepted, spec writing may start.\n- **H2:** acceptance criteria signed off (plus HTML mockups for a UI story), planning may start.\n- **H3:** plan approved, implementation may start.\n- **H4:** a code owner approves the PR and a human merges it.\n\nThree 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.\n\nThe 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.\n\nThe 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.\n\n## A lighter track, not a shortcut\n\nEvery story runs the standard track unless the owner explicitly agrees to low-risk at H1. Low-risk requires all of the following:\n\n- no new integration, auth or security surface, and no change to secrets, CI/CD or deployment\n- migrations that are additive or touch only tables with no production data\n- a PR revert fully undoes it\n- no open product decision\n\nLow-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.\n\nWhat 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.\n\n## A reviewer that never hears the pitch\n\nThe verification loop runs in four steps:\n\n1. **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.\n2. **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.\n3. **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.\n4. **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.\n\nTwo rules here matter more than they look.\n\nThe 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.\n\nA 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.\n\n## The repo is the truth, Jira is the mirror\n\nEach 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.\n\nA 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.\n\nAfter 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.\n\nTwo 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.\n\n## One plugin, any repo\n\nThe 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.\n\nThe config holds everything that differs between repos:\n\n- branch pattern and base branch\n- code owners\n- Jira URL and status map\n- test tiers, each owned by the implementer or the tester\n- deploy and release validation commands\n- docs-only paths and UI paths\n\nThe 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.\n\n## Only one gate is real\n\nThis is the table I wish every agent demo included:\n\n| Gate | Enforced by | Strength | \n|---|---|---|\n| H1, H2 | The workflow skill only | The orchestrator writes the approval line itself | \n| H3 | A hook on the tool that spawns agents | Blocks the implementer unless `story.md` records H3 with the hash of the current`plan.md` | \n| H4 | GitHub branch protection and code owners | The only gate enforced outside the agent | \n\nTwo Claude Code hooks do the enforcing that happens inside the agent:\n\n- **`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.\n- **`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-only`git` and`gh` . 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.\n\n`guard-git` still has blind spots, and I’d rather list them than pretend otherwise. It doesn’t see:\n\n- merges or approvals made through MCP tools\n- script files that a command runs\n- `curl` calls straight to the GitHub API\n\nSo it isn’t a security boundary. There are other paths to the same API.\n\nBoth 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.\n\nIf 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.\n\n## What still hurts\n\nThe pilot surfaced real problems. Some I worked around, some are still open.\n\n**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.\n\n**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.\n\n**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.\n\n**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.\n\n**It’s proven on one repo.** One product, GitHub only. Other stacks and other source control platforms are untested.\n\n## The easy part\n\nThe 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.\n\nIf you’re building something similar, I’d like to compare notes, especially on making agent-sized PRs reviewable by humans.", "url": "https://wpnews.pro/news/real-world-adlc-6-agents-4-gates-one-real-control", "canonical_source": "https://engineeringexec.tech/posts/agentic-delivery-cycle/", "published_at": "2026-11-30 13:24:22+00:00", "updated_at": "2026-11-30 13:47:34.923357+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-tools"], "entities": ["Claude Code", "Anthropic", "Jira", "GitHub"], "also_reported_by": [], "takeaway": "Bind human plan approval to a hash of plan.md so any later edit by a human or agent invalidates it and blocks implementation, and give the reviewing agent no Edit or Write tools.", "recommendation": {"advice": "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.", "playbook": "coding-agents", "playbook_url": "https://wpnews.pro/playbooks/coding-agents"}, "alternates": {"html": "https://wpnews.pro/news/real-world-adlc-6-agents-4-gates-one-real-control", "markdown": "https://wpnews.pro/news/real-world-adlc-6-agents-4-gates-one-real-control.md", "text": "https://wpnews.pro/news/real-world-adlc-6-agents-4-gates-one-real-control.txt", "jsonld": "https://wpnews.pro/news/real-world-adlc-6-agents-4-gates-one-real-control.jsonld"}}