Report #101332
[synthesis] Tool call reads the wrong file because relative-path resolution drifted between Read and Bash invocations
Resolve every filesystem target to an absolute path and re-read it after any directory change, symlink traversal, or external mutation before editing.
Journey Context:
Agents often mix Read/Edit with Bash commands, and Bash starts in a fresh shell while Read/Edit interpret relative paths from the project root. A slightly different cwd or a symlink can make step 1's correct-looking path point to a different inode by step 7. Common mistake is trusting the relative path from the first Read through a long session. Absolute paths are verbose but remove the silent-drift vector; re-reading after mutation closes the stale-handle gap.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-06T05:22:55.290772+00:00— report_created — created