Home / Insights / Dedicated Teams and Outsourcing
Dedicated Teams and Outsourcing
Who Approves What When Coding Agents Run for Days: A 2027 Delivery Working Agreement for Client and Vendor Teams
Coding agents now take a ticket on Monday and are still working on Thursday: they split the job, open pull requests, run tests and, if you let them, merge. Most delivery contracts and sprint rituals were written for people. Here is the working agreement I put in place before an agent touches a client repository: decision rights by risk tier, agent budgets, a Definition of Done that names the human, weekly reporting, and an exit clause for the tools themselves.
TopicsDedicated Teams and OutsourcingAI Agents and Automation
Key takeaways
- In November 2026 coding agents became long-running team members: Cognition’s Devin Bots, GitHub’s plan-implement-verify loop and configurable auto-merge all moved approval decisions from people to settings.
- DORA 2025 found AI now helps throughput but still hurts delivery stability, and 30% of practitioners have little or no trust in AI-generated code. The working agreement is where that risk is managed.
- Replace “all changes are reviewed” with a four-tier approval matrix: tiers set by file paths, the prompter never approves, and only a client-signed T0 tier may auto-merge.
- Write agent budgets, time boxes and a client stop button into the contract, and make the Definition of Done name a human reviewer who can explain the change in two sentences.
- Add agent identities, secret isolation and a tool exit clause: agent tools are being acquired and shut down within weeks, so the repository, not the tool, must hold the record.
On this page
- Why the working agreement has to change now
- What breaks when an agent works for days
- Decision rights: an approval matrix by risk tier
- Agent budgets, scope and stop rules
- A Definition of Done that names the human
- Cadence and reporting: what the client sees each week
- Access, identity and secrets
- Tool continuity and the exit clause
- The one-page working agreement template
- Rolling it out in the first 30 days
- Frequently asked questions
- Sources and methodology
There is a question I expect to hear from clients on every project in 2027: “If your agents can work through the weekend, why does a change still wait for Tuesday’s review?” It is a fair question. The honest answer is that the agent was never the slow part. The slow part is deciding who is allowed to say yes, to what, and on what evidence, and most working agreements between a client and a delivery team say nothing about that once software starts writing software.
I plan delivery and run QA at PoliteTech, so this article is written from the project side, not the tooling side. My colleague Leo has covered the pipeline permissions in AI Agents in Your CI/CD Pipeline in 2027. Here I want to cover the agreement that sits above the pipeline: the rules a client and a vendor team write down together so that long-running agents speed the project up instead of quietly moving risk onto whoever approves the last pull request.
Why the working agreement has to change now
Three things happened in November 2026 that move agents from “assistant in the editor” to “member of the delivery team”.
- On 17 November, Fortune reported that Cognition had launched Devin Bots, persistent agents that split work into tasks, run multiple sessions and keep context over long periods. In the vendor’s own framing, teams decide which changes require human review, low-risk edits can be set to approve and merge automatically, each Bot can have its own budget, and Bots run on separate cloud machines rather than on engineers’ laptops.
- On 6 November, GitHub published a developer’s guide to agentic engineering that describes a plan, implement and verify loop. Its advice is to review and approve the plan before handing it to the agent, and it notes that, if configured, Copilot will merge pull requests once verification steps pass. The same guide cites a Faros AI study in which pull requests spent 441% longer in review at high AI adoption.
- On 5 November, GitHub described its new Git storage architecture and said internal testing had shown a repository supporting 5,000 concurrent agents and 7,200 pushes per second. That is a test figure, not a typical project, but it tells you what the platform owners are designing for.
The research base points the same way. The 2025 DORA report, based on nearly 5,000 technology professionals, found that 90% use AI at work and more than 80% believe it has increased their productivity, yet 30% report little or no trust in AI-generated code. DORA also found that AI adoption now has a positive relationship with delivery throughput but still a negative relationship with software delivery stability. Its summary line is the one I quote to clients: AI does not fix a team, it amplifies what is already there.
Developers say the same. In the Stack Overflow 2025 Developer Survey, 84% of respondents were using or planning to use AI tools, but more developers actively distrusted the accuracy of those tools (46%) than trusted it (33%). Stack Overflow’s write-up adds that the top frustration, cited by 45%, is AI solutions that are almost right but not quite, and that 66% spend more time fixing almost-right code.
Put those together and the planning problem is clear. Output is no longer the constraint. Trust, review and stability are. A working agreement is the cheapest tool a project has for managing all three, because it is decided once, in writing, before anyone is under deadline pressure.
What breaks when an agent works for days
Classic agile agreements assume that the person who writes a change is also the person who can explain it, that work arrives in chunks a human can hold in their head, and that a sprint review shows what was built. Long-running agents break each of those assumptions in a specific way.
| Assumption in today’s agreement | What changes with long-running agents | Risk if the agreement is silent |
|---|---|---|
| The author can explain the change | The author is an agent session that may have been restarted, resumed or split | Nobody can answer “why was this done?” during an incident or audit |
| Work arrives at human pace | Agents open pull requests overnight and at weekends | Review queues grow, reviewers skim, and approval becomes a formality |
| Scope is controlled at sprint planning | An agent can decompose a ticket into ten sub-tasks on its own | Scope creep happens inside a ticket, out of sight of the product owner |
| Cost is people × days | Cost includes model usage, sandbox compute and tool licences | The invoice surprises the client, or the vendor absorbs it and cuts corners |
| Access belongs to named people | Agents need repository, CI and sometimes cloud access | Credentials spread to places nobody tracks |
| Tools are stable for the life of the project | Agent tools are bought, merged and shut down quickly | A workflow the team depends on disappears mid-project |
Thoughtworks’ November 2026 macro trends names the failure mode precisely: the risk is not bad code but unread code that everyone believes was reviewed. Every clause below exists to stop that from happening.
Decision rights: an approval matrix by risk tier
The single most useful page in the agreement is an approval matrix. It replaces “all changes are reviewed” (which becomes untrue the week agents arrive) with an honest statement of who approves which class of change, on what evidence. Thoughtworks recommends risk-tiered human oversight and funding review as capacity rather than overhead; Cognition and GitHub both now let teams configure which changes merge automatically. The matrix is where you make those settings a client decision instead of a tool default.
| Tier | Typical changes | Who approves | Evidence required | Auto-merge allowed? |
|---|---|---|---|---|
| T0: Routine | Dependency patch bumps within policy, formatting, typo fixes in copy, regenerated docs | Automated checks; vendor tech lead spot-checks a weekly sample | All tests green, no new warnings, change under an agreed size limit | Yes, if the client signs off this tier in writing |
| T1: Standard | Feature work inside an approved plan, new tests, internal refactors | One vendor engineer who did not prompt the agent | Linked ticket and plan, tests for new behaviour, reviewer notes | No |
| T2: Sensitive | Authentication, payments, personal data, permissions, migrations, infrastructure | Vendor tech lead plus a named client approver | Threat or impact note, migration rollback tested, security scan clean | No |
| T3: Contractual | Anything changing scope, licences, data residency, third-party services or cost ceilings | Client product owner, in writing | Change request with cost and schedule impact | No, and the agent may not start without approval |
Three rules make the matrix work in practice:
- The prompter cannot be the approver. The engineer who briefed the agent is too close to the plan. On T1 and above, a second person reviews.
- Tiers are decided by file paths and labels, not by the agent. Agree a list of sensitive paths (auth, billing, schema migrations, infrastructure code) so a change is tiered automatically. An agent must not be able to downgrade its own work.
- Reviewers get a work-in-progress limit. Thoughtworks suggests a WIP limit per reviewer. We use a cap on open T1 and T2 reviews per person; when it is hit, agents queue rather than open more pull requests.
I covered how to size review capacity in Code Review Is the Critical Path in 2027. The agreement is where that capacity is promised to the client, rather than hoped for.
Agent budgets, scope and stop rules
Persistent agents make cost a variable that can run while everyone is asleep. Cognition’s Devin Bots allow a budget per Bot, according to Fortune’s report, and other platforms are moving the same way. The agreement should turn that feature into a commercial rule.
What to write down
- Who pays for model and compute usage: included in the rate, passed through at cost, or capped per sprint. Any of these can work; silence does not.
- A ceiling per task and per sprint, with an alert at 80% and a hard stop at 100% that requires a human to extend.
- A time box per agent task: if an agent has not produced a reviewable result within the box, it stops and a person decides whether to re-plan, split or drop the task.
- No self-expanding scope: an agent may split a ticket into sub-tasks, but new sub-tasks that fall outside the approved plan go back to the product owner as a T3 item.
- A stop button the client can press: the client product owner can pause all agent activity on their repositories at any time, without notice, and the vendor confirms within one working hour.
These rules also protect estimates. If you plan with a coding line and a verification line, as in our 2027 estimating guide, the budget clause stops the coding line from growing silently while the verification line stays fixed.
A Definition of Done that names the human
Most Definitions of Done list conditions: tests pass, code reviewed, deployed to staging. With agents, every one of those can be true while nobody actually understood the change. The fix is to make the Definition of Done name people and evidence, not only states.
| Done criterion | Old wording | 2027 wording |
|---|---|---|
| Review | Code reviewed | Reviewed by a named person who did not prompt the agent; reviewer can explain the change in two sentences in the ticket |
| Tests | Unit tests pass | New behaviour has tests that would fail without the change; agent-written tests checked by a person for meaningful assertions |
| Acceptance | Accepted by PO | Acceptance criteria demonstrated on staging by a person, with the evidence (recording, screenshots or test run) linked |
| Traceability | Linked to ticket | Linked to ticket, plan and agent session log; agent involvement labelled on the pull request |
| Stability | Deployed | Deployed behind a flag or with a tested rollback for T2 changes; error budget checked after release |
| Accessibility and quality | QA passed | QA passed, including accessibility checks for UI changes; known issues logged, not waived silently |
The “two sentences” test sounds simple, and it is the most effective control I know. If the reviewer cannot write what changed and why in two plain sentences, the change is not done, however green the pipeline is. For how we decide what counts as a pass when agents run the tests, see AI Test Runners in 2027.
This also answers DORA’s stability finding. DORA’s AI Capabilities Model sets out seven capabilities that amplify the benefits of AI, and TechTarget’s summary of the report lists strong version control practices and working in small batches among them. A Definition of Done with size limits, flags and rollbacks is how a project turns those capabilities into daily habits.
Cadence and reporting: what the client sees each week
When agents work continuously, a two-week sprint review is too slow to catch drift and a daily stand-up is too short to explain it. We keep the sprint rhythm for planning and add a short written weekly report that covers agent work specifically.
The weekly agent section of the status report
- Pull requests opened, merged and rejected, split by tier and by agent versus human author.
- Median time in review for T1 and T2, and the oldest open review.
- Agent spend against budget, per task and for the sprint.
- Changes reverted or hot-fixed after merge, with a one-line cause for each.
- Any auto-merged T0 changes the weekly spot-check flagged.
- Decisions needed from the client, with the date each one blocks.
Two numbers in that list matter more than the rest: reverts after merge and the age of the oldest open review. Rising reverts mean the Definition of Done is being bent. A growing oldest review means review capacity is not keeping up, and reviewers will soon start skimming. Both are early warnings that show up weeks before a missed milestone.
Keep the meeting count the same. Agents should change what is reported, not add ceremonies. The sprint review still demonstrates working software, shown by a person who can answer questions about it.
Access, identity and secrets
On 5 November, Microsoft Threat Intelligence reported that threat actors are using agentic AI tooling to find exposed secrets in public GitHub repositories. In one case the chain from a secret search to data from Azure Key Vault took about five minutes. Microsoft’s guidance is that exposed credentials stay usable until they are revoked or rotated, and should be treated as compromised even after the original file is edited or deleted.
For a project agreement, that translates into concrete clauses rather than a security appendix nobody reads:
- Agents get their own identities, never a person’s token. Each identity is listed in the agreement with its repositories, environments and expiry date.
- Least privilege by tier. Agents can write to branches, never to protected branches or production environments directly.
- Secrets stay outside the agent’s reach. Thoughtworks recommends isolating secrets behind a proxy rather than an environment file and running agents in sandboxes; GitHub and Cognition both run agent work in cloud sandboxes, away from developer machines.
- Secret scanning and push protection are on for every repository agents can write to, as Microsoft recommends.
- A rotation runbook is agreed up front: who rotates which credential, within what time, if a leak is suspected.
- Offboarding covers agents: when the project ends or a vendor engineer leaves, their agent identities and tokens are revoked on the same day.
Tool continuity and the exit clause
On 4 November, TechCrunch reported that Meta had acquired Conductor, a startup whose product lets users run multiple coding agents in parallel workspaces. According to the report, the cloud service was due to shut down on 20 November, after which the company would begin deleting user cloud data. That is a two-week horizon for a tool some teams had built their workflow around.
Agent tooling will keep consolidating through 2027. The working agreement should assume it, with three clauses:
- The repository is the record. Plans, decisions and acceptance evidence are stored in the client’s repository or ticket system, not only in an agent platform’s session history.
- Named tools, named fallbacks. List the agent tools in use and, for each, what the team does if it is withdrawn: switch to an alternative, or fall back to human-only delivery at an agreed rate.
- Exports on demand. The vendor can export agent session logs relevant to the client’s code within an agreed time, so an audit or dispute does not depend on a third party still existing.
These clauses also matter when the engagement ends. A handover that only transfers code, without the reasoning behind agent-made changes, leaves the next team with exactly the “who decided this?” problem the agreement is meant to prevent. Our Software Maintenance handovers include the decision log for that reason.
The one-page working agreement template
This is the structure we use. It fits on one page, and each line has a named owner on both sides.
| Section | What it states | Owner |
|---|---|---|
| 1. Agent use | Which agents and tools are used, on which repositories, for which kinds of task | Vendor delivery lead |
| 2. Approval matrix | Tiers T0 to T3, approvers, evidence, auto-merge decision per tier | Client product owner and vendor tech lead |
| 3. Budgets and stops | Who pays for usage, ceilings per task and sprint, time boxes, client stop button | Client budget holder |
| 4. Definition of Done | Named reviewer, two-sentence test, tests, acceptance evidence, traceability, rollback | Vendor QA lead |
| 5. Reporting | Weekly agent section, the two warning metrics, decisions needed | Vendor delivery lead |
| 6. Access and secrets | Agent identities, privileges, scanning, rotation runbook, offboarding | Client security owner and vendor tech lead |
| 7. Tool continuity | Repository as record, fallbacks, export timelines | Vendor delivery lead |
| 8. Review date | When the agreement is revisited (we suggest after the first month, then quarterly) | Both |
Checklist before an agent touches a client repository
- Approval matrix signed, including the explicit decision on T0 auto-merge.
- Sensitive paths listed and enforced by branch protection and code owners.
- Agent identities created, scoped and listed with expiry dates.
- Secret scanning and push protection enabled.
- Budget ceilings and alerts configured, stop procedure tested once.
- Definition of Done updated and pasted into the pull request template.
- Weekly report template agreed, first report date set.
- Fallback for each agent tool written down.
Rolling it out in the first 30 days
Do not start with full autonomy. The DORA finding that AI still hurts stability is an argument for introducing agents the way you introduce any process change: small, measured, reversible.
| Week | What agents may do | What we measure | Gate to the next step |
|---|---|---|---|
| 1 | T1 tasks in one repository, one agent per engineer, no auto-merge | Review time, reverts, reviewer confidence | No reverts caused by missed review; reviewers can pass the two-sentence test |
| 2 | T1 across the agreed repositories; agents may split tasks inside an approved plan | Spend against budget, oldest open review | Spend within ceiling; oldest review under the agreed limit |
| 3 | T0 auto-merge switched on, if the client signed it, with a weekly spot-check | Spot-check findings | No spot-check finding that should have been T1 |
| 4 | First review of the agreement with the client | All of the above, plus team feedback | Agreement updated and re-signed |
If a gate fails, stay at that step for another week. That is not a setback; it is the agreement doing its job. Clients rarely object to a slower ramp when they can see the evidence behind it.
This is how we run projects at PoliteTech; you can read more about our cadence and roles on How We Work and our technical standards on Engineering Practices. If you are starting a new engagement, a short discovery phase is a good place to agree these rules before the first sprint.
Frequently asked questions
Should we allow agents to merge code without a human review?
Only for a narrow, written T0 tier of low-risk changes, with automated checks and a weekly human spot-check, and only if the client signs that decision. Everything else needs a named human approver who did not prompt the agent.
Does this slow delivery down?
It slows the first month slightly and speeds up everything after it. The agreement removes debates about who approves what, keeps review queues bounded and catches drift early through the weekly report, which is where long-running agent work usually loses time.
Who is accountable for a bug in agent-written code?
The same people as for human-written code: the delivery team that merged it, under the Definition of Done. Agents are tools, so the agreement names the human reviewer and approver for every change. That is the point of the matrix.
How should agent usage costs appear on an invoice?
Any model works if it is written down: included in the rate, passed through at cost or capped per sprint. What matters is a ceiling, an alert before it is reached, and a human decision to extend it.
We already have a security policy. Do we still need the access clauses?
Usually yes, because most policies were written for people. Check that your policy covers agent identities, their expiry, secret isolation, rotation after a suspected leak and revocation at offboarding. If it does, reference it in the agreement instead of repeating it.
Sources and methodology
Every figure in this article was checked in the source listed here. Vendor announcements are reported as the vendor or the publication describes them, not as independent findings, and test figures are labelled as such. The approval tiers, Definition of Done, weekly report and 30-day rollout describe PoliteTech’s own practice and are offered as recommendations, not as findings from these sources.
- Fortune: Exclusive: Cognition launches Devin Bots to compete with OpenAI’s Dots and Anthropic’s Duet (17 November 2026) — accessed 23 November 2026. Supports: Devin Bots launch; teams decide which changes need human review; auto-approval for low-risk edits; budget per Bot; separate cloud machines. Vendor claims as reported.
- GitHub Blog: Beyond code generation: A developer’s guide to agentic engineering (6 November 2026) — accessed 23 November 2026. Supports: Plan approval before implementation; optional auto-merge once verification passes; Faros AI figure of 441% longer review at high AI adoption; cloud sandboxes.
- GitHub Blog: Inside GitHub’s new Git storage architecture (5 November 2026) — accessed 23 November 2026. Supports: Internal testing with 5,000 concurrent agents and 7,200 pushes per second on one repository.
- Google Cloud: Announcing the 2025 DORA Report, State of AI-assisted Software Development (23 September 2025) — accessed 23 November 2026. Supports: Nearly 5,000 respondents; 90% use AI at work; more than 80% report productivity gains; 30% little or no trust in AI-generated code; positive link with throughput, negative link with stability; AI as amplifier.
- DORA: AI Capabilities Model report (last updated 25 November 2025) — accessed 23 November 2026. Supports: Seven capabilities that amplify the benefits of AI.
- TechTarget: Google DORA: Software delivery caught up to AI coding tools — accessed 23 November 2026. Supports: Summary of the seven capabilities, including strong version control practices and working in small batches.
- Stack Overflow 2025 Developer Survey: AI section — accessed 23 November 2026. Supports: 84% using or planning to use AI tools; 46% distrust vs 33% trust AI accuracy.
- Stack Overflow Blog: Developers remain willing but reluctant to use AI: the 2025 Developer Survey results are here — accessed 23 November 2026. Supports: 45% cite almost-right AI solutions as top frustration; 66% spend more time fixing almost-right code.
- Thoughtworks: Macro trends in the tech industry, November 2026 (Chris Ford, 4 November 2026) — accessed 23 November 2026. Supports: Fund review as capacity; risk-tiered oversight; WIP limit per reviewer; unread code believed reviewed as the failure mode; sandboxing and secrets behind a proxy.
- Microsoft Security Blog: Threat actors use agentic AI tooling to find and abuse exposed secrets (5 November 2026) — accessed 23 November 2026. Supports: Agentic tooling used to find exposed secrets; about five minutes to Key Vault data in one case; treat exposed credentials as compromised; secret scanning and push protection.
- TechCrunch: Meta acquires AI coding startup Conductor (4 November 2026) — accessed 23 November 2026. Supports: Acquisition of a parallel coding-agent tool; cloud service shutdown on 20 November and deletion of user cloud data.
Bringing coding agents into a client project in 2027?
Tell us about your team, your repositories and how you approve changes today. We will help you draft an approval matrix, agent budgets and a Definition of Done that fit your risk, before the first agent opens a pull request. See How We Work and our QA and Testing service.
