Graphite pencil illustration of the Phantom Intern, code that appears with no author or review trail

The Phantom Intern is the code that appears in your repository with no clear author, no review trail, and no institutional memory. It was generated, pasted, and committed. Now it's your problem, and you can't ask the author what they were thinking because the author is a statistical model.

Symptom
Modules with no owner. Edge cases nobody considered. Security findings that map to commits whose 'why' has evaporated.
Why it matters
Code without an author is code without accountability. When it breaks at 2am, you don't have a colleague to ask — you have a statistical model that has already moved on.
What the chapter gives you
How to keep human authorship visible in an AI-assisted workflow, what to require in PRs that touch generated code, and how to assign ownership in a way that survives the next refactor.

From Volume 1 of The AI Developer's Field Guide

Read the full chapter in The AI Developer's Field Guide.

Recognize this one in your codebase?

The book has the full chapter, the symptoms, and the interventions.