Adding outside engineers is easy to approve and hard to govern. The headcount line is simple. The harder question comes a week later: who is allowed to approve and merge the code those engineers write? If the honest answer is "whoever is available" or "the person who opened the pull request," your capacity plan has quietly created a risk plan.
This guide is for a VP of Engineering who already decided to scale with an augmented or managed team and now needs a defensible code review governance model. It covers how to separate writing, reviewing and merging authority, how to tier that authority by the risk of the code path, how to enforce it with repository settings instead of good intentions, and which controls are mandatory before anyone gets write access.
One note on method. The tiered model below is a proposed design, not a published standard and not a claim that any vendor already runs it exactly this way. Repository features are described from GitHub's own documentation, and you should confirm them against your plan and platform. Numeric examples are illustrative and should be replaced with your own measurements.
- 🎯 Audience: VP Engineering, CTO and engineering managers adding augmented capacity.
- 🧭 Stage: execution and delivery, after the vendor decision is made.
- ⚙️ Outcome: a review and merge policy you can write down, enforce and audit.
Key Takeaways
- 🔑 Separate three authorities: who writes code, who approves it, and who can merge or deploy it. Augmented developers can hold the first without holding the other two for sensitive paths.
- 🪜 Tier authority by code path risk. Documentation and test changes need less ceremony than authentication, payments, migrations, pipeline definitions and access rules.
- 🔒 Enforce server-side. Branch rules, required reviews, code owner review and a tightly controlled bypass list work. A written policy that nothing enforces does not.
- 📏 Budget reviewer capacity. Every added developer creates review demand. If you do not plan it, review becomes a rubber stamp or a bottleneck.
- ✅ Use go/no-go controls, not a score. Every required control must be in place before write access is granted. Passing them does not certify production readiness.
- 🤝 Keep repository ownership and final authority on the client side. Partner-side review is a useful first line, never the only line.
Why Merge Authority Gets Weaker Exactly When You Scale Capacity
Key takeaway: Scaling adds authors faster than it adds trusted reviewers. Merge authority is the control that decides whether that gap becomes defects, security exposure or rework.
In a stable in-house team, review works because of shared context. Reviewers know the domain, the risky modules and the history behind odd code. When you add augmented developers, authorship grows quickly while that context does not. New engineers write good code and still lack the tribal knowledge about why a billing rounding rule exists or why a particular migration must run in two steps.
That gap is not a talent problem. It is a system problem, and it shows up in three structural ways:
- Review demand rises linearly with authors, but the pool of people qualified to approve sensitive changes rises slowly.
- Approval habits get inherited from small-team days. One quick thumbs-up from a nearby colleague was fine when five people knew everything. It is not fine when twenty people touch the same repository.
- Access gets granted in bulk during onboarding. Write permission is easy to give and rarely revisited. Our related guide on the first 90 days of integrating managed engineering teams covers the onboarding side of this problem.
Writing, approving and merging are different powers
Most teams treat "can push code" as one permission. It is at least three. Splitting them is the foundation of everything else in this article, and it is the same separation-of-duties logic auditors expect for change management.
| Authority | Question it answers | Default risk if unmanaged | Who should hold it |
|---|---|---|---|
| Write (author) | Who can propose a change? | Low, if changes only arrive through pull requests | Augmented and internal developers |
| Approve (review) | Who confirms the change is correct and safe? | High: self-approval, rubber stamps, reviewers without context | Designated reviewers, tiered by code path |
| Merge and release | Who can put the change on the protected branch and into production? | Highest: direct pushes, bypass rights, pipeline edits | A small, named group controlled by the client |
Secure development guidance points the same direction. The NIST Secure Software Development Framework (SP 800-218) includes a practice for reviewing or analyzing human-readable code to find vulnerabilities and verify compliance with security requirements. It is voluntary guidance by itself. Whether it becomes a contractual or legal obligation for your organization depends on your customers, contracts and sector, so confirm that with counsel rather than assuming either way.
Review is also about more than defects. Google's published code review standard for reviewers frames the goal as improving the overall health of the codebase over time, and it cautions against demanding perfection. That balance matters for augmented teams: you want review that is rigorous where risk is high and fast where risk is low.
Why This Fails in the Real World: Three Review Failure Patterns
Key takeaway: Intelligent teams fail here because the review process was designed for a smaller, higher-context team and nobody redesigned it. These are system gaps, not people problems.
The scenarios below are illustrative composites of patterns commonly described by engineering leaders. They are not reports about any specific customer, and they contain no real results.
Pattern 1: The mutual approval loop
Illustrative scenario. A company adds a group of augmented developers to a product team. Review rules require one approval, and any developer with write access counts. Within weeks, two newer engineers are approving each other's pull requests because they are online at the same hours and the internal seniors are in meetings. Nobody did anything unreasonable. The rule simply allowed it.
Why smart teams still fail: the policy counted approvals but never defined who is qualified to approve. Review became a checkbox that satisfied the setting without delivering the safety.
Pattern 2: Approved once, changed later
Illustrative scenario. A pull request receives approval. The author then pushes additional commits to address a minor comment, and the final diff includes changes nobody reviewed. The merge button is green because the earlier approval still counts.
Why it happens: approvals were treated as attached to the pull request rather than to the exact code that was reviewed. GitHub documents settings that address this, including dismissing stale approvals when new commits are pushed and requiring approval of the most recent reviewable push. They only help if somebody turns them on for the branches that matter.
Pattern 3: The pipeline is the unreviewed path
Illustrative scenario. Source code changes require code owner approval, but the CI workflow files, dependency manifests and deployment configuration do not. A well-intentioned change to the pipeline relaxes a required check. Every later pull request passes more easily, and nobody notices because the product code review looked healthy.
Why it happens: governance was designed around application code. The files that define the controls were not covered by the controls. For vendor-delivered code more broadly, see our provenance checklist for vendor-delivered code.
Failure pattern diagnostic
| Symptom you can observe | Likely system gap | First fix |
|---|---|---|
| Pull requests approved within minutes with no comments | Reviewers lack context or time | Assign owners by path and budget review hours |
| Reviewers and authors are always the same two people | Approval pool is undefined | Define eligible reviewers per tier |
| Merged code differs from what was discussed | Stale approvals persist | Dismiss stale approvals; require approval of the latest push |
| Direct pushes or admin overrides appear in the audit log | Bypass list is too broad | Shrink bypass to named break-glass roles |
| Check requirements changed without notice | Pipeline files unprotected | Add code owners for workflow and infrastructure paths |
A Proposed Design: The Merge Authority Ladder
Key takeaway: Do not apply one review rule to every file. Tier your repository by risk, then assign approval and merge authority per tier. This is a proposed design for you to adapt, not an industry standard.
A uniform rule fails in both directions. Too strict, and documentation fixes wait days for a senior reviewer. Too loose, and a change to an authentication module gets the same single approval as a typo fix. The ladder below ties rigor to consequence.
| Tier | Typical paths | Suggested approvals (design choice) | Who may approve | Can an augmented developer merge? |
|---|---|---|---|---|
| Tier 0: Low consequence | Documentation, comments, test-only changes | 1 approval | Any eligible reviewer other than the author | Yes, after approval and passing checks |
| Tier 1: Standard product code | Feature and bug-fix code in non-sensitive modules | 1 approval, from an owner of the area | Area owners; vetted augmented seniors once they have passed your trial period | Yes, after approval and passing checks |
| Tier 2: Sensitive paths | Authentication, authorization, payments, personal data handling, schema migrations | 2 approvals, including a code owner | Client-designated code owners | Only after code owner approval; no self-merge |
| Tier 3: Control surfaces | CI and CD definitions, infrastructure as code, dependency manifests and lockfiles, secrets configuration, CODEOWNERS and rules themselves | Code owner approval from the platform or security owner | Client platform and security owners only | No bypass. Proposals only |
How to use the ladder
- Map your repository. List top-level directories and assign each a tier. Start with a conservative map. It is easier to relax a tier than to recover from an incident.
- Name eligible reviewers per tier. "Anyone with write access" is not a reviewer policy.
- Decide how partner reviewers fit. Partner-side peer review is valuable as a first pass and for knowledge sharing. In this design it supplements, and for Tier 2 and Tier 3 never replaces, client-designated approval.
- Write the exception path. Emergencies happen. Define who can break glass, how that is logged and when it is reviewed after the fact. Our guide on production change control for augmented teams covers the release side of that process.
Tying review to your definition of done
Merge authority answers who may accept a change. Acceptance criteria answer what "accepted" means. Keep them aligned: the checks a pull request must pass should be the same gates your team uses to declare work finished. See our acceptance gates playbook for a definition-of-done structure that pairs well with this ladder.
Turning Policy Into Enforceable Repository Settings
Key takeaway: A policy only counts if the platform enforces it on the server. Pull requests alone are not review: GitHub's own documentation notes a required pull request does not need to be approved unless approvals are configured separately.
The examples here use GitHub because its documentation is public and specific. Other platforms such as GitLab and Azure DevOps offer comparable controls under different names. Verify exact behavior, plan availability and repository visibility limits in your platform's current documentation before relying on any setting.
Controls that map to the ladder
| Control | What it prevents | Limit to remember |
|---|---|---|
| Require a pull request before merging | Direct changes to the protected branch | Does not require approval by itself |
| Require approving reviews (set the number) | Merging with fewer approvals than your tier demands | Counts approvals; it does not judge reviewer quality |
| Require review from code owners | Sensitive paths merged without the named owners | Only as good as the CODEOWNERS file and its protection |
| Dismiss stale approvals on new commits | Approving one version and merging another | Increases re-review effort, which is the intended trade |
| Require approval of the most recent reviewable push, including from someone other than the last pusher | The person who pushed last approving their own final change | Needs enough eligible reviewers to avoid deadlock |
| Block force pushes | Rewriting history after review | Admin bypass can reintroduce the risk |
| Require status checks to pass | Merging with failing or missing tests and scans | Checks defined in editable pipeline files need Tier 3 protection |
| Code scanning and secret scanning merge rules | Merging code with open findings of selected severities or types | Availability depends on your licensing and configuration; GitHub labels the secret scanning rule as public preview |
| Narrow the bypass list | Admin or app overrides of all of the above | Every bypass entry is a hole by design; list them and review quarterly |
These options are described in GitHub's documentation on available rules for rulesets. Bypass is configured separately, as covered in GitHub's guide to creating rulesets, which also describes a mode that lets an actor bypass only through a pull request so the change leaves a visible trail.
An illustrative CODEOWNERS file
Code owners map paths to the people or teams who must approve changes to them. GitHub documents the format in its code owners guide. In that format, a later matching pattern takes precedence over an earlier one, so place the catch-all first and specific paths after it. The team names below are placeholders.
# Illustrative only: replace team names with your own # Catch-all first; more specific patterns below take precedence @example-org/product-reviewers # Tier 2: sensitive application paths /src/auth/ @example-org/security-owners /src/payments/ @example-org/payments-owners @example-org/security-owners /db/migrations/ @example-org/data-owners # Tier 3: control surfaces /.github/workflows/ @example-org/platform-owners /.github/CODEOWNERS @example-org/platform-owners /infra/ @example-org/platform-owners /package-lock.json @example-org/platform-owners Two details trip teams up. First, a CODEOWNERS file does nothing to merging unless the branch rule also requires code owner review. Second, if the CODEOWNERS file itself is not protected, anyone who can get a change through the Tier 1 path can quietly edit who must approve. That is why the example lists it as a Tier 3 path.
Who owns the repository
Keep the repository, its organization settings and its rulesets in an account your company controls. If the partner hosts code in its own environment and you receive exports later, you lose the ability to enforce server-side rules and to prove what happened. Contract terms for IP, access and exit belong with procurement; our enterprise staff augmentation contract checklist is a good companion.
Practical Implications: Reviewer Capacity, Evidence and Go/No-Go Controls
Key takeaway: Review is a capacity line item. Budget it, measure it with your own data, and gate write access on mandatory controls rather than a composite score.
Budget reviewer hours before adding authors
A simple model: weekly review demand equals added developers multiplied by pull requests per developer per week multiplied by average review minutes, divided by 60. Replace every input with measurements from your own repositories.
| Input (illustrative assumption) | Example value | Replace with |
|---|---|---|
| Added developers | 8 | Your planned headcount |
| Pull requests per developer per week | 6 | Your median from recent history |
| Average review effort per pull request | 25 minutes | Your observed review time, including re-review |
| Resulting review demand | 8 x 6 x 25 = 1,200 minutes, about 20 hours per week | Your computed figure |
This arithmetic is illustrative, not a benchmark. The point is that 20 hours of weekly review demand has to land on someone. If your internal reviewers cannot absorb it, you have three honest options: hire or designate more qualified reviewers, reduce the share of Tier 2 and Tier 3 work given to new authors, or slow intake. Quietly lowering review rigor is not a fourth option.
Signals to track with your own data
| Signal | What it can reveal | How to read it |
|---|---|---|
| Time to first review | Reviewer bottlenecks | Compare by tier, not as one average |
| Review rounds per pull request | Spec clarity or context gaps | Rising rounds suggest onboarding or definition-of-ready gaps |
| Share of approvals with no comments on large changes | Possible rubber-stamping | Investigate patterns; do not treat as proof of fault |
| Count of bypass or admin-merge events | Policy leakage | Each event needs a recorded reason |
| Post-merge rework or reverts | Escaped defects | Trace back to the review tier involved |
Avoid turning these into individual performance rankings. They are system health indicators. If you want a broader measurement framework, see our KPI framework for augmented developer teams.
Go/no-go controls before write access
Every control below is required. A single missing control is a no-go for the affected scope. There is no scoring threshold, and meeting all of them does not certify production readiness. It means the minimum review guardrails exist.
| # | Required control | No-go if |
|---|---|---|
| 1 | Repository and rulesets are owned by the client organization | Partner controls the only admin account |
| 2 | Protected branches reject direct pushes and force pushes | Any developer can push to the default branch |
| 3 | Approval count and eligible reviewers are defined per tier | Any write-access holder can approve anything |
| 4 | Code owner review is required for Tier 2 and Tier 3 paths | CODEOWNERS is missing, stale or unprotected |
| 5 | Stale approvals are dismissed and the latest push needs approval | A later commit can ride on an earlier approval |
| 6 | Required status checks are enforced, and pipeline definitions are Tier 3 | Authors can edit the checks that gate their own changes |
| 7 | Bypass list is named, minimal and logged | Broad roles can override rules without a recorded reason |
| 8 | Named reviewer capacity exists for the planned pull request volume | Review demand exceeds available reviewer hours |
| 9 | Access removal steps are defined for departures and role changes | No offboarding path exists; see our offboarding framework |
A paid trial period is a natural time to exercise these controls under real conditions. Our go/no-go framework for paid trials shows how to structure that evaluation.
Risks, Constraints and Trade-Offs You Should Plan For
Key takeaway: Strong merge controls cost speed and reviewer time. The goal is to spend that cost where consequences are highest, and to be honest about what settings cannot prove.
Trade-offs
| Choice | Benefit | Cost or risk | Mitigation |
|---|---|---|---|
| Strict approval on every path | Uniform and simple | Slows low-risk work; encourages shallow approvals | Use the tiered ladder |
| Dismiss stale approvals | Approval matches reviewed code | More re-review work | Encourage smaller pull requests and clear commit hygiene |
| Client-only approval for Tier 2 and 3 | Strongest control | Client reviewers can become a bottleneck | Pre-schedule review windows; add designated owners |
| Partner reviewers approve Tier 1 | Faster flow | Dependence on partner review quality | Sample audits; restrict to vetted reviewers after trial |
| Narrow bypass list | Fewer overrides | Slower emergency response | Documented break-glass role with after-action review |
What settings cannot do
- They cannot make reviewers competent. An approval from someone who does not understand the code satisfies the rule and nothing else.
- They cannot detect compromised accounts by themselves. If an authorized account is taken over, rules limit what it can do, but you still need identity controls and a response plan. See our credential compromise containment playbook.
- They do not replace testing, security scanning or architectural review. They only make sure those steps are required.
- Availability varies. Some protections depend on plan tier or repository visibility. Verify yours instead of assuming.
- Compliance mapping is your responsibility. Repository controls can produce useful evidence for change management reviews, but they do not by themselves satisfy SOC 2, ISO 27001 or any contractual requirement. Auditors assess scope and operation of controls, not a single setting.
AI-assisted code changes the review load
When developers use AI coding assistants, pull requests can grow faster than reviewers can read them, and plausible-looking code can hide subtle faults. Treat AI-assisted changes as ordinary authored code subject to the same tiers, and consider smaller pull request limits for Tier 2 paths. Our guide to the governance of AI-generated code goes deeper on quality, security and IP questions.
2027 Update: what to re-check, whatever the year
Repository platforms add and rename protection features frequently, and some documented rules begin in preview and later change. Each year, re-read your platform's rule documentation, re-verify that your branch and ruleset configuration still matches your ladder, and review the bypass list. The principle stays stable even when menus change: separate authoring from approval, tier by consequence, enforce on the server, and keep final authority with the party accountable for the outcome.
A Lower-Risk Approach: Governing Review Through a Managed Marketplace
Key takeaway: Ask any partner how their review practice plugs into your merge authority, not how good their reviews are in isolation. The safest arrangement keeps your controls primary and uses partner discipline as an added layer.
How delivery models typically differ on review governance
The table describes typical patterns, not universal facts. Individual freelancers, agencies and marketplaces vary widely, so test claims in diligence.
| Dimension | Individual freelancers (typical) | Traditional agency (typical) | Managed marketplace (what to verify) |
|---|---|---|---|
| Internal peer review before your review | Often absent; one person per task | Varies by agency practice | Ask for the documented practice and a sample of review records |
| Reviewer continuity when someone leaves | Usually none | Depends on staffing depth | Ask about replacement terms and how context transfers |
| Fit with client-owned repositories and rules | Works if you insist | Often prefers vendor-hosted repositories | Confirm in writing that work happens in your organization |
| Evidence for audit and change management | Ad hoc | Varies | Request how pull request and approval evidence is retained |
| Accountability when review fails | Individual | Contractual, varies | Review shared-accountability terms in the contract |
Questions to put to any partner
- Do your developers work inside our repositories and under our rulesets, with no direct push rights to protected branches?
- What internal review happens before a pull request reaches our reviewers, and can we see examples?
- How do you handle a developer's departure mid-sprint, including knowledge transfer and access removal?
- How are AI coding tools used on our code, and what disclosure and review rules apply?
- Which certifications and attestations apply, to which scope, and can we see the reports or certificates under NDA?
That last question matters because a logo is not evidence. Our guide on verifying SOC 2, ISO 27001 and CMMI claims explains how to check scope, dates and coverage.
Where Coders.dev fits
Coders.dev describes itself as a managed developer marketplace that supplies vetted engineers from its internal teams and trusted agency partners, with a paid two-week trial and free replacement of non-performing professionals with zero-cost knowledge transfer. It also states that it holds CMMI Level 5, SOC 2 and ISO 27001. Those are vendor statements. Treat them as starting points, confirm scope and currency in your own diligence, and write the terms you rely on into your agreement. The merge authority design in this article works regardless of vendor, which is the point: your controls should not depend on anyone's promises.
Adding engineers faster than you can add reviewers?
Map your repository into tiers, set your required controls, then match capacity to the review hours you actually have.
Talk to Coders.dev about vetted engineers who work inside your review and merge rules.
Contact UsConclusion: Five Decisions to Make Before the Next Developer Gets Write Access
Merge authority is not a tooling detail. It is how you decide, in advance, which changes the business will accept without a conversation. Make these decisions explicitly rather than inheriting them from defaults:
- Tier your repository. Assign every top-level path to Tier 0 through Tier 3 and name the eligible approvers for each.
- Enforce the tiers on the server. Require pull requests, the right number of approvals, code owner review, stale-approval dismissal and required checks, and protect the files that define those rules.
- Shrink the bypass list. Keep a named break-glass role, log every use and review it afterward.
- Budget reviewer hours with your own numbers. If demand exceeds supply, adjust intake or add qualified reviewers before adding authors.
- Run the go/no-go table. Treat every control as required, and re-verify the setup at least yearly and whenever your platform changes its rules.
This is guidance for a decision, not a guarantee. It reduces one category of delivery risk and works alongside testing, security practice and sound contracts.
About Coders.dev
Coders.dev is a B2B managed developer marketplace operating from the USA and India since 2015. It states that it supplies vetted engineers from internal teams and trusted agency partners, with no freelancers or contractors, and that it maintains CMMI Level 5, SOC 2, ISO 27001 and ISO 9001 process credentials. Verify certificate scope and currency directly before relying on them. Reviewed by Coders.dev Expert Team.
Frequently Asked Questions
Should augmented developers be allowed to approve each other's pull requests?
It depends on the tier. For low-consequence paths, peer approval from vetted reviewers is a reasonable way to keep flow fast. For sensitive paths and pipeline definitions, require approval from client-designated code owners. Whatever you choose, make sure no one can approve their own change and that the policy defines eligible reviewers rather than relying on write access alone.
How many approvals should a pull request require?
There is no universal number. A practical starting point is one approval for standard code and two, including a code owner, for sensitive paths. Raise the number only where the added scrutiny buys real risk reduction, because extra approvals without reviewer capacity tend to produce shallower reviews.
Does branch protection satisfy SOC 2 or ISO 27001 requirements?
Not by itself. Branch rules and required reviews can provide useful evidence for change management controls, but auditors evaluate the design and operation of your controls within a defined scope. Your obligations depend on your own attestations, customer contracts and regulators, so confirm with your compliance advisor.
How do we stop code review from becoming a bottleneck?
Tier your paths so low-risk changes move quickly, keep pull requests small, set a target for time to first review, and budget reviewer hours before adding authors. Track time to first review by tier using your own data and add designated owners where queues grow.
Who should own the repository when working with a staff augmentation partner?
Your organization should own the repository, the organization settings and the rulesets. That lets you enforce rules on the server, retain audit evidence and revoke access directly. Reflect this in the contract, including IP terms and exit procedures.
How should we handle AI-assisted code in review?
Treat it as ordinary authored code under the same tiers. Consider smaller pull request limits for sensitive paths, require the author to explain and own the change, and agree disclosure expectations with your partner. Review remains necessary because plausible code can still be wrong.
What if a partner insists on using its own repositories?
Ask why, and understand what you would lose: server-side enforcement of your rules, direct audit evidence and immediate access control. If a vendor-hosted setup is unavoidable, require mirroring into your organization, written access and logging terms, and an exit plan. Many buyers treat client-owned repositories as a precondition.
Scale engineering capacity without loosening your review standards.
Coders.dev provides vetted engineers through a managed marketplace model, with a paid two-week trial so you can test your merge and review controls before committing.