Two years ago, a developer's day was mostly writing and debugging code, with an assistant suggesting lines along the way. In many teams today, it looks different: a morning planning and dispatching tasks, agents working in parallel in cloud sandboxes, and an afternoon reviewing pull requests, some from colleagues and some from agents, with CI doing much of the first-pass checking.
This post describes that workflow as we see it working in practice, and the habits that make it effective.
The shape of the new workflow
flowchart TB B[Backlog & specs] --> D[Developer plans & decomposes] D -->|small, clear tasks| A1[Agent sandbox 1] D --> A2[Agent sandbox 2] D --> H[Hands-on work<br/>design, tricky logic] A1 --> PR[Pull requests] A2 --> PR H --> PR PR --> CI[CI: build, tests, types,<br/>SAST, SCA, policy] CI --> RV[Human review] RV --> M[Merge & deploy] M --> O[Observe in production] O --> B
Three activities dominate:
- Decomposing and specifying work into tasks an agent can complete and a human can review.
- Reviewing the output: checking intent, correctness, security and fit with the design.
- Hands-on work on the parts that need deep thought: design, tricky algorithms, debugging production issues.
Practice 1: standard task templates
Well-specified tasks are the biggest lever on agent output quality. Many teams now keep a task template in their issue tracker:
## Goal
One or two sentences on the outcome, from the user's point of view.
## Context
Relevant files, modules, APIs, related tickets or ADRs.
## Constraints
- Must not change: …
- Performance / security requirements: …
- Follow patterns in: …
## Acceptance criteria
- [ ] Behaviour 1 (with example input/output)
- [ ] Behaviour 2
- [ ] Tests added for …
## Out of scope
- …A task that fits the template is usually agent-ready. One that does not is a sign that more thinking is needed first, by a human.
Practice 2: CI/CD as the shared quality gate
When more code arrives faster, the pipeline carries more of the quality burden. Teams strengthen it with:
- fast, reliable tests, because flaky tests waste agent and human time alike,
- type checking and linters configured strictly,
- security scanning (SAST, dependency and secrets scanning) on every PR,
- policy checks for infrastructure and configuration changes,
- coverage and mutation testing on critical modules, so weak tests are visible, and
- preview environments for UI and integration changes.
The same gates apply to every change, whoever or whatever wrote it. That consistency is what makes the workflow safe.
Practice 3: small pull requests, clear descriptions
Reviewers cannot meaningfully review a 3,000-line agent-generated diff. Keep tasks small enough that the resulting PR fits in one sitting. Ask agents to include a structured description:
- what changed and why,
- how it was tested,
- anything the agent was uncertain about, and
- any files touched outside the expected scope.
Practice 4: review with a risk lens
Not every change deserves the same scrutiny. Many teams label PRs by risk and route them accordingly:
| Risk | Examples | Review |
|---|---|---|
| Low | Tests, docs, dependency patch bumps | One reviewer, automated gates |
| Medium | Features behind flags, refactors | Code owner review |
| High | Auth, payments, data migrations, IaC for production | Code owner + security or platform review |
Code-owner rules can enforce this automatically based on the paths a PR touches.
Practice 5: agents are team members, with the same controls
- Identity: each agent integration has its own account or app identity, so its commits and actions are attributable.
- Least privilege: agents can open PRs but cannot merge to protected branches, change CI configuration or access production secrets.
- Sandboxes: agents run in isolated environments with restricted network access.
- Audit trail: tasks, prompts, commands and results are logged.
What developers say they value, and miss
Teams that have adopted this workflow often report:
- less time on boilerplate, upgrades and chasing flaky tests,
- more time on design, product conversations and hard problems,
- review fatigue when task sizes creep up, and
- concern about skills atrophy, especially for early-career engineers.
Deliberate countermeasures help: rotating who does hands-on implementation of tricky features, pairing juniors with seniors on reviews, and occasionally having humans implement tasks agents could do, for learning.
Measuring whether it works
Watch the DORA metrics and a few additional signals:
- lead time for changes and deployment frequency,
- change failure rate and time to restore,
- review turnaround time and PR size,
- percentage of agent PRs merged without major rework, and
- developer satisfaction.
If throughput rises but change failure rate rises with it, slow down and strengthen the gates.
The bottom line
The new developer workflow is a partnership: humans decide what to build and whether it is right, agents do more of the implementation, and CI/CD holds everyone to the same standard. The teams getting it right are not the ones with the most agents. They are the ones with the clearest specs, the strongest pipelines and the most disciplined reviews.
Our secure SDLC and DevSecOps teams help engineering organisations design workflows and pipelines built for human and agent collaboration.