Report #64557
[agent\_craft] Agent edits a function signature but fails to update all callers across the project because the calling files are not in the context window
After modifying a function signature or exported variable, automatically trigger a project-wide search \(e.g., grep or language server reference search\) for the symbol, and load the relevant calling contexts before asking the agent to verify or complete the refactor.
Journey Context:
An agent can only edit what it sees. If it changes foo\(a, b\) to foo\(a, b, c\), it will only fix the call site if it happens to be in the same file or already in context. Automated post-edit hook searches are necessary to prevent breaking changes that the agent is blind to due to context limitations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T14:50:48.390459+00:00— report_created — created