Files
gemini-cli/packages
Moisés Gana Obregón 9b5c3775e0 fix(core): strip redundant plan directory prefix in plan mode
This fix updates `resolveAndValidatePlanPath` to detect and strip redundant prefixes from file paths when the agent provides a path that begins with the basename of the plans directory (e.g., stripping `conductor/` when writing to `conductor/product.md` inside the `conductor` plan directory).

 This prevents the creation of nested directories (e.g., `conductor/conductor/product.md`) while maintaining path compatibility between Plan Mode and Execution Mode.
2026-04-16 21:01:51 +00:00
..