Paths Subjects Questions Quizzes Pricing Search
Intermediate Open Free

Why the Migration Got a Manual Look in Accept-Edits Mode

The session in the case study was running in accept-edits mode, which normally waves through routine file edits without asking. The engineer still reviewed the migration file by hand before approving it.

Why, given that accept-edits was already active?

Solution

The correct answer is "A schema-affecting change is worth a deliberate look even mid-session."

A migration is exactly the category of change — schema-affecting, harder to casually revert once applied — that's worth a deliberately higher bar than the routine file edits accept-edits mode otherwise waves through. Nothing in the tooling forced this review: the PreToolUse hook in this repo only blocks writes under the generated Prisma directory, not migrations, so the extra scrutiny came from the engineer's own judgment about what's risky, not from a technical gate.

The distractors invent a mechanism that isn't there: accept-edits mode doesn't carve out .sql files as a special case by default; the PreToolUse hook doesn't block migrations, only the generated-schema directory; and nothing in the case study's CLAUDE.md requires a second engineer's sign-off.

Share this question

← Back to Case Study: Shipping a Fix with Claude Code, End to End practice

We use cookies for product analytics to improve OmniAtlas. See our Privacy Policy.