SDLC Mission Control is a developer-controlled dashboard for running autonomous coding missions against Azure DevOps (ADO) User Stories. The developer stays in charge at every decision point: they select a story, review an AI-generated task plan, and explicitly approve before anything is written to a repository or created in Azure DevOps.
The Problem
A typical development team manages a backlog of User Stories in Azure DevOps. Translating those stories into concrete implementation tasks—deciding which files to touch, which commands to run, which repositories are in scope—is repetitive analytical work that happens before a single line of code is written. Doing it well requires reading the story, its attachments, and linked work items, then cross-referencing the current state of the relevant repository.
At the same time, AI coding assistants have proven capable of exactly this kind of bounded analysis. The gap is control: giving an AI agent unrestricted access to a repository and a ticketing system creates an unpredictable blast radius. SDLC Mission Control closes that gap by making every AI action either read-only or explicitly developer-approved.
Architecture Overview
The system is a local Node.js/TypeScript dashboard. It has no cloud backend—everything runs on the developer’s machine against their existing local repository checkouts and their own ADO credentials. The pipeline has five named stages:
- Plan — an AI agent reads the story and the repository, then produces a structured task plan.
- Approve — the developer reviews and edits the plan, then approves creation of ADO Task work items.
- Develop — a second AI agent implements the approved plan inside an isolated git worktree.
- Gate — deterministic checks verify scope, test regressions, and secrets before any human review.
- Publish — after a critic pass, the commit is pushed to a feature branch and a pull request is opened.
Every stage after Approve is also developer-triggered. There is no autonomous pipeline that runs from Plan to Publish without human checkpoints.
Stage 1 โ Planning
When a developer selects a User Story from the dashboard, the planning stage assembles a Mission Packet: a versioned JSON file written to a local runtime/ directory. It captures the story text, attachments, linked work items, the selected repository’s current HEAD, the repository’s detected build and test commands, any repository-level planning instructions, and a bounded candidate file list.
The planning agent itself is strictly read-only. It cannot write files, call Azure DevOps, or browse the web. This is enforced externally, not by prompt instruction alone, through one of two providers the developer selects per mission:
- Claude Code CLI — runs with an explicit tool allow-list (
Read,Glob,Grep) and a deny-list that covers all write vectors:Bash,Write,Edit,NotebookEdit, delegation tools (Task,Agent,Workflow), and network egress (WebFetch,WebSearch). The deny-list is explicit because the allow-list alone was found not to remove every tool in practice. - Codex CLI — runs with
--sandbox read-only --ephemeral, which is OS-level enforcement. Codex needs a shell, so the mechanism must be at the OS level rather than at the tool level.
Both providers are read-only by different mechanisms, and those paths are intentionally kept separate. Unifying them behind a single boolean flag would put the guarantee one typo away from being lost.
The developer also selects a planning depth:
- Fast — the agent works from the candidate file list in the Mission Packet, with no git history access.
- Deep — the agent is allowed wider inspection of the current repository baseline, still without history.
The resulting plan names specific files, commands, and a bounded scope. If the story likely touches a second configured repository, the plan records that as a structured hypothesis—not a decision—that the developer can confirm or reject before approval.
Stage 2 โ Approval
The dashboard presents the completed plan with all its structured fields editable. A dry-run toggle previews the exact ADO Task title and description that would be created, without calling Azure DevOps. Only when the developer explicitly clicks Approve does the system call the ADO API to create Task work items linked as children of the User Story.
This is the only write path to Azure DevOps in the entire planning half of the system. Creating a Task is the approval artifact: it records what was planned and authorized before implementation begins.
Stage 3 โ Develop
After approval, the developer can launch a Develop mission. This stage runs a separate AI agent that implements the approved plan—but it does so inside an isolated git worktree created under <repo-parent>/.worktrees/, never inside the developer’s main checkout.
The worktree is disposable. Its remote push URL is overwritten with a sentinel value that causes every git push attempt to fail, enforced via git config --worktree remote.origin.pushurl. This uses git’s extensions.worktreeConfig so the protection is scoped to the worktree alone and does not affect the main checkout or any other worktrees. The code verifies at worktree creation time that the sentinel took effect.
The Develop agent has write access within its worktree but cannot call Azure DevOps and cannot push. It operates from the approved plan, the repository instructions, and the same planning skills that informed the plan. A repository-specific skill file gives the agent domain knowledge about the codebase’s conventions, test patterns, and known gotchas without requiring it to rediscover them from scratch.
Stage 4 โ Gates
Before any human reviews the diff, three deterministic gates run against the worktree:
- Scope gate — verifies that every changed file was named in the approved plan. Any file outside the approved scope fails the gate, surfaces a clear message, and halts the pipeline.
- Regression gate — runs the repository’s detected test command and checks that the test suite still passes. A new test failure is a hard stop.
- Secrets gate — scans the diff for patterns that match common credential formats. Any match blocks publication.
Gates are intentionally simple and deterministic. Their value is not in catching every possible problem; it is in catching the obvious ones before they reach code review, and in creating a machine-readable record of what passed and what did not.
Stage 5 โ Critic and Publish
Once gates pass, a Critic agent reviews the diff. The critic is also a read-only agent—it reads the worktree and the approved plan, then produces a structured verdict: pass, pass-with-notes, or block. A block verdict stops publication and surfaces the reason. Pass-with-notes attaches observations to the mission record but does not halt the pipeline.
After a passing critic verdict, the developer triggers Publish. This re-enables push on nothing—push is never re-enabled on the mission worktree. Instead, publish pushes the single reviewed commit from the worktree to an explicitly named feature branch (feature/{developer-alias}/ADO-{workItemId}) on the remote, then calls the ADO or GitLab API to open a pull request or merge request against the configured integration branch.
A GitLab Merge action (auto-merging the opened MR) requires a separate, explicit developer approval. No stage transitions a User Story’s state. No stage force-pushes or pushes to an integration branch directly.
The Audit Trail
Every mission writes append-only artifacts to the local runtime/missions/ directory. Plan revisions write new versioned files (mission-packet-v1.json, mission-packet-v2.json) rather than overwriting earlier ones. The gate results, critic verdict, develop run log, and publish record all land in the same directory structure. Nothing in the pipeline modifies a record after the fact.
This means a developer can reconstruct exactly what context the planning agent saw, what plan was approved, what gates ran, and what the critic said—purely from files on their own machine, without querying any remote service.
Key Design Decisions
External enforcement for read-only agents
Both planning providers enforce read-only access through mechanisms external to the model. The prompt’s read-only instructions are a belt, not the braces. This distinction matters: a model that is merely instructed to be read-only can still attempt writes; a model whose tool surface has been surgically reduced cannot, regardless of what it attempts.
The worktree as the blast radius
Isolating development to a disposable worktree limits the blast radius of any mistake—whether from the model or from the developer running missions against an unfamiliar codebase. The worktree can be deleted at any point. The main checkout is never touched by the develop agent.
Structured outputs, not prose
Every agent produces machine-readable outputs in addition to prose. The plan names repositories in a structured field (not just a sentence). The critic produces a typed verdict (not just a paragraph). Gates produce pass/fail records with structured reasons. This allows the dashboard to branch on agent outputs programmatically rather than parsing natural language.
Parse leniently at model boundaries
Malformed model output degrades to a typed “not detected” value rather than throwing an exception. The pipeline surface area that touches model output is kept narrow, and every parser returns a well-typed result for every case including malformed input. This avoids a class of operational failures where an unexpectedly formatted response breaks the dashboard.
Technology Stack
- Runtime: Node.js with TypeScript (ESM), Vitest for tests
- Dashboard UI: served locally, no cloud deployment
- AI providers: Claude Code CLI and Codex CLI (neither called via API key—each CLI handles its own authentication)
- ADO integration: Azure CLI with the DevOps extension, PAT-scoped to Work Items (read/write) and Code (read/write)
- GitLab integration: GitLab API via PAT
- Configuration validation: AJV against a JSON Schema; the configuration is machine- and person-specific and is never committed with absolute paths intact
Lessons Learned
Belt and braces, not belt alone
The biggest design lesson was that prompt-level safety instructions are insufficient on their own for read-only agents. External enforcement—tool deny-lists for Claude, OS-level sandboxing for Codex—is what makes the guarantee robust. The two mechanisms are not interchangeable; each was chosen to match the constraints of its provider.
The deny-list cannot be omitted
For Claude, the allow-list (Read, Glob, Grep) is not sufficient by itself. In practice, tools not on the allow-list are not always removed from the agent’s surface. The explicit deny-list is required, and delegation tools (Task, Agent, Workflow) must be denied separately because a subagent can carry tools its parent was denied.
Append-only audit trails compose naturally
Making the runtime directory append-only turned out to be easier to reason about than a mutable state store. Each stage can be re-run by writing a new artifact; the history of what happened is always recoverable; and tests can deposit synthetic runs without polluting real mission history by pointing to a separate runtime root.
Dry-run is essential for trust
The dry-run toggle on the approval step was not in the original design. Adding it significantly reduced the friction of using the system: developers who can see exactly what ADO Task would be created—before it is created—are much more willing to approve quickly and accurately. The marginal cost of implementing dry-run was low; the trust benefit was high.
What’s Next
- Extending the scope gate to verify not just file names but also that changes stay within the approved function or module boundaries
- A validation replay harness that re-runs planning against recorded story + repository snapshots to catch regressions in plan quality when the planning prompt or agent configuration changes
- A broader repository catalog with per-repository planning skills for more domain-specific planning coverage
- Surfacing gate and critic outputs directly in the ADO pull request description so reviewers have the machine-checked summary without leaving the PR
Have you built developer tooling that combines AI agents with human approval checkpoints? I’d be interested in how others have approached the control boundary. Drop a comment below.
Resources
- SDLC Mission Control โ GitHub Repository
- Claude Code CLI Documentation
- Codex CLI โ GitHub Repository
- Azure DevOps Documentation
Tags: #AI #AzureDevOps #AutonomousCoding #ClaudeCode #Codex #AgentSafety #DeveloperTools #TypeScript