Report #83616
[synthesis] Relative path resolution drift in filesystem operations
Mandate absolute paths for all filesystem operations. Inject the current working directory into the system prompt and resolve all relative paths to absolute paths programmatically before executing the shell command.
Journey Context:
Agents try to mimic human terminal behavior using 'cd'. But tool execution environments are often stateless \(each call is a new process\). The agent loses track of its CWD, and due to spatial reasoning weaknesses, miscalculates paths, ending up in '/'. It then creates files in the wrong directory, leading to data loss. Forcing absolute paths eliminates the spatial reasoning burden and the state synchronization issue.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T22:55:50.380164+00:00— report_created — created