Step 1Context
Dev leads walk us through the codebase, the review habits and the code that moves money or checks identity.
CONSULTANTWhich code moves points or decides who you are?
DEV LEADredeem(), the ledger client and the partner callback parser. And auth, obviously.
DEVELOPERBut every PR gets the same review. One approval, from whoever is free.
Leaves the roomRisky paths: auth, redeem, ledger, partner parser
Step 2Audit
We read past merged PRs and review rules to see which risky changes went through without a security look.
CONSULTANTI went through your last forty merged PRs. Nine touched those paths.
DEVELOPER 2And how many had a security look?
CONSULTANTTwo. Both because someone happened to be curious. That is Ad hoc.
Leaves the roomLast 40 PRs: 9 risky, 2 reviewed
Step 3Consulting
Risky paths, checklists, PR rules and a champions rota, with named reviewers and a roadmap.
CONSULTANTRisky paths go into CODEOWNERS. A security reviewer approves, or there is no merge.
CHAMPIONI will be the reviewer for payments. I already know that code.
CONSULTANTThen you own the money-paths checklist. Eight checks, kept in the repo.
DEV LEADAnd I own the rota, so it is not always the same two people.
Leaves the roomCODEOWNERS, 3 checklists, a champions rota
Step 4KPIs
Coverage of risky PRs, review time against the SLA and issues caught in review, tracked every sprint.
CONSULTANTFirst number: how many risky PRs got a security approval. The target is all of them.
DEVELOPERAnd if nobody reviews for three days, I am stuck.
DEV LEAD48-hour SLA, then it escalates to me. I report both every sprint.
Leaves the roomKPIs: coverage, review time, caught in review
Step 5Results
Rules live in the repo, champions run the reviews, and the dev lead reports the KPIs each sprint.
CONSULTANTYou keep the path list, three checklists, the PR rules and a six-month roadmap.
CHAMPIONNext quarter I train two more champions on the same checklists.
DEVELOPER 2So it runs without you.
CONSULTANTThat is the point. I am back in three months to check the numbers.
Leaves the roomRules in the repo, rota running, sprint report
- Atalaia
- CONSULTANT
- Company A
- DEV LEAD
- DEVELOPER
- DEVELOPER 2
- CHAMPION