ai-automation-consultant / Failure Lab

Agent Unrelated File Edits

A small bug fix arrives with broad changes outside the requested module.

Category

agent-operations

Difficulty

advanced

Last Run

none

Incident Brief

Diagnose the process failure and the review control that catches it.

Broken State

The agent edited unrelated UI and config files while fixing one API route.

Symptoms

  • The diff includes visual restyling never requested by the task.
  • The actual bug fix is mixed with unrelated churn.

Trace

git.diff files=api/route.ts, app/globals.css, README.md, dashboard.tsx
task.scope=fix webhook retry header

Diagnosis