Brownfield Agentic Engineering

Addy Osmani ยท article ยท 2026-09-14 source โ†— Reader ๐Ÿ–ฅ๏ธ

Agent HarnessAgent Work LedgerBack Pressure (Verification-Bound Autonomy)Legacy & Organizational ForgettingPull Requests & Async Code ReviewRisk TieringVerifiability (as the Quality Bar)
Agentic engineering in an old (brownfield) codebase succeeds by making hidden, undocumented constraints explicit and the cost of a wrong change cheap and visible โ€” through human-drawn risk zones, durable research artifacts, characterization tests, migrations completed as whole units, and review that scales with blast radius rather than code volume โ€” not by maximizing agent autonomy or parallelism first.

practical ยท mixed โ€” A practitioner playbook (slide-deck-derived) for operating agents in existing codebases, built from prescriptive patterns, cited case studies/benchmarks, and two personal anecdotes.

Structure

PartRole
Brownfield redefined + 'write down what the code can't say'framing / premise
Zones (green/yellow/red) and the three rules that make them a procedurecore mechanism
Durable research artifacts and the harness ('every repeated correction is a missing piece of the harness')core mechanism
Zero-risk-first sequencing: characterization tests, mechanical transforms, shadow-traffic diffingevidence / method
Migrate in complete units + the AOL homepage anecdoteevidence / method
'Receipts' from bigger migrations (Bun, VB6-to-C#, Stripe, Spotify, Asana)comparative evidence
Parallelize last + automated review designconclusion / prescription

Key terms

Propositions

Arguments

The rigor and autonomy applied to an agent's work should be set by the risk zone of the code it's touching, not by the agent's or model's general capability or confidence. strength: high
Explicit premises:
Implicit premises:
Inferences:
Migrations should be executed and verified as complete, narrow units (one full end-to-end route, old path deleted) rather than broad, partial conversions, even though broad partial conversion looks faster to start. strength: medium
Explicit premises:
Implicit premises:
Inferences:

Narratives

Questions addressed

Gaps

Closes gaps elsewhere

Related documents