AI-Friendly Code (Code Health for Agents)

The idea, quantified by Adam Tornhill's research, that a codebase's health determines how safely and effectively AI can refactor itβ€”AI-friendliness being the probability that AI-generated refactorings preserve behavior and improve maintainability.

Also known as: AI-friendliness, AI-friendly, Code for Machines, Not Just Humans

Part of: Code Quality

How authors use it

Oldest first (extraction date when no publication date is known).

AuthorTheir termTheir meaning
Fragments: February 18
Martin Fowler Β· 2026-02-18
AI-friendlinessAdam Tornhill's metric: the probability that AI-generated refactorings preserve behavior and improve maintainability, shown to be higher in healthy code

Documents (5)

Propositions touching this concept (3)

By publication month, oldest first (extraction month when no publication date is known).

2026-02

2026-04

2026-07

Tensions

Should the harness/platform and its safety be centralized or left distributed across teams?
from: What is the future of software development in the agentic/AI age?
Assessment: A real operating-model split. Edwards-Alexander's distributed stance rests almost entirely on the DevOps-team analogy (his own extraction flags it as asserted-on-intuition, not argued), whereas the platform camp has the stronger concrete case for the citizen-developer safety problem β€” you cannot distribute production-data guardrails to non-engineers. The tension is partly reconcilable: Ocytko himself concedes a platform tight enough for non-engineers may be too constraining for expert engineers' identity and innovation, which is exactly the freedom Edwards-Alexander is protecting. The unresolved question is whether one platform can be both.

Open gaps (9)