Report #61376
[synthesis] Agent fixes a local lint warning causing a cascading breakage across the entire codebase
Scope agent modifications strictly to the target issue and run a localized dependency graph check before applying global interface changes.
Journey Context:
An agent runs a linter and sees a type mismatch. To fix it, it changes the function signature. This breaks 15 callers. The agent then 'fixes' the 15 callers, breaking 50 more. LLMs lack a holistic mental model of codebase architecture and treat lint errors as local text replacement tasks rather than architectural shifts. The fix is to recognize that interface changes are high-risk. Agents must be constrained to adapt to existing interfaces, not modify them, unless explicitly tasked with refactoring.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T09:30:12.830427+00:00— report_created — created