← All selected work
02 / APPLIED AI / DEVELOPER TOOLS

Code review that keeps up with the code.

Taking an open-source review extension further: follow-up reviews, token-aware prioritisation and feedback that stays useful across revisions.

CONTEXTAzure DevOps integration
MY ROLEExtension development and production integration
PERIOD2026
REVIEW / ITERATEDEVELOPER TOOLS
↳ publish-plan.ts+ 12 − 4
18async function publish(plan) {
19 await savePlan(plan);
20 await notifyForecast(plan);↳
✦Consider the failure pathP1

If notification fails after the save, how does the caller safely retry?

RECOVERY · LINE 20 · SYNTHETIC EXAMPLE
21}
CONTEXT → REVIEW → VALIDATEIllustration, not live inference
01 / CONTEXT

The challenge.

A model can comment on a diff. The harder problem is making those comments useful inside a real review process: changes arrive in iterations, context is limited and repeated feedback creates noise.

02 / OWNERSHIP

What I built.

I extended an open-source Azure DevOps review extension with follow-up reviews across PR iterations, priority-ordered line comments, structured model output and a fixture-based local test harness. This work builds on the original extension rather than claiming its entire implementation as my own.

  • ↗︎Follow-up reviews across PR iterations
  • ↗︎Deduplicated, line-level comments
  • ↗︎Fixture-based local test harness
03 / THE REASONING

The decisions behind it.

01

Spend context where it matters

Priority-ordered review allocates a bounded token budget to the most relevant changes. It makes context limits an explicit part of the workflow.

02

Treat model output as input

Structured JSON, parsing fallbacks and line-level mapping turn a model response into reviewable comments. Output still needs validation before it reaches a pull request.

03

Remember the review state

Hidden metadata supports idempotent comments and deduplication across revisions. A follow-up review can focus on what changed instead of repeating itself.

04 / REFLECTION

What matters most.

The integration around the model determines whether an AI feature is useful. Context selection, validation and state management turn a one-off generation into a repeatable engineering tool.

This case study describes my extension work. The displayed code review is a synthetic illustration, not a customer pull request or a live model response.

UP NEXT / AI PRODUCT / FULL-STACK

Airtail

↗︎

Working on something similar?

Let’s talk