- AI tools used openly under one policy instead of unofficially
- Review effort concentrated on payments, identity and data handling code
- Routine changes moving faster through automated review
- Every merge traceable to the human or agent that approved it
- Delivery and stability measured before and after, not assumed
Anonymised composite. Client names, identifying details and confidential figures are withheld; public facts are cited in the references.
The situation
A Nairobi-based fintech scale-up built payment and lending products on top of mobile money and card rails. Its engineering team had grown quickly, and code review had become the bottleneck: senior engineers spent much of their week reviewing, and simple changes waited days. Engineers were already using AI coding assistants on their own accounts, with no agreed rules on what code or data could be shared with them.
Leadership wanted the productivity, but the products moved customers' money and handled personal data, and bank and mobile money partners expected evidence of a controlled development process. Unreviewed or poorly reviewed changes to payments code were the risk nobody could accept.
Why now. In November 2026 Anthropic launched Claude Ship, a set of agents for GitHub pull requests: code review, an agent that fixes failing checks and conflicts, and an approvals agent that can approve routine changes when a policy file in the repository allows it1. Coverage noted Anthropic's warning that it may miss bugs or security issues2. Tools that can approve code changed the question from "should we use AI to write code?" to "who is allowed to say yes?".
What had to be true
- One policy for AI tools: which tools, which repositories, what data may be shared.
- Review effort matched to risk: humans on code that moves money, agents on routine change.
- Approval rules in the repository, versioned and reviewed like code.
- A complete trail for every merge: reviewer, approver, checks, policy.
- Evidence, not belief: delivery and stability measured before and after.
Architecture
The data flow, end to end
- OpenAn engineer opens a pull request, often written with AI help
- ReviewAI review agents comment; a fix agent resolves failing checks
- ClassifyChanged paths decide the risk tier and required approvers
- ApproveRoutine tier: agent may approve under policy. Other tiers: named human owners
- GateRulesets enforce checks, scans and the merge queue
- RecordThe merge, approvals and policy version go to the audit trail
The hard part: deciding who may say yes
The team's first instinct was to argue about whether AI review was good enough. The more useful question was where any reviewer's approval should be sufficient. The answer was a risk tier for every path in the main repositories: payments and ledger code, identity and access, personal data handling and infrastructure were high risk; internal tools, documentation, copy and test-only changes were routine.
Code ownership made the tiers enforceable. GitHub's code owners feature assigns owners to paths, and repository rules can require their review before merging3, with rulesets applying required reviews and status checks consistently across branches4. High-risk paths named human owners; routine paths allowed an agent approval when the approval policy file permitted it, and that policy file was itself owned by the engineering leadership group.

The approval policy file is the most important file in the repository. Whoever can edit it decides what agents may merge, so it needs the strictest owners of all.
The rollout followed the team's existing AI coding policy work, set out in AI coding policy for engineering teams, and agent credentials followed the lessons in coding agents and secrets and the agent-framework compromise: agents ran with scoped tokens and never with deployment credentials.
How it ran
- AI tool policy
- Risk tiers and owners
- Approval policy file
- Company accounts for tools
- Rulesets, scans and merge queue
- Audit log export
- Use agents on every pull request
- Flag false positives and misses
- Own approvals on their paths
- Delivery and stability metrics
- AI tool inventory
- One policy
- AI review on all pull requests
- Fix agent for checks
- Compare with human reviews
- Risk tiers by path
- Code owners
- Rulesets
- Agent approvals in observation mode
- Then on routine paths only
- Review the policy regularly
Key decisions and trade-offs
| Decision | Alternative | Why |
|---|---|---|
| Company accounts for AI tools | Let engineers use personal tools | Control over data shared and a record of use |
| Risk tiers by path | Same review rules for all code | Spends senior attention where losses happen |
| Agent approval only on routine paths | No agent approvals at all | Captures most of the speed gain with little risk |
| Observation mode first | Turn approvals on immediately | Evidence of agent judgement before trusting it |
| Measure stability alongside throughput | Measure pull requests merged | Faster merging that breaks production is not faster |
What I'd do again, and differently
Again: start with risk tiers and ownership; once those existed, every tool decision became easier, and it improved human review too. Differently: involve partner banks' and mobile money providers' assurance teams earlier. They cared less about which AI tool was used than about whether approvals on payment code were traceable, and showing them the audit trail early would have saved a round of questions. DORA's research on software delivery performance gave a shared vocabulary for measuring the change5; see DORA metrics for AI-assisted engineering.
If you lead engineering at a fintech in Africa or beyond, see my regional work, or analyse your challenge and bring the result to a call.
- 1Anthropic launches Claude Ship, letting AI agents review, fix, and approve code changesTechCrunch · 23 Nov 2026
- 2Claude Ship gives AI a seat on both sides of code reviewHelp Net Security · 24 Nov 2026
- 3About code ownersGitHub Docs
- 4About rulesetsGitHub Docs
- 5DORA researchDORA