GitLab Duo Agent Platform loses track of working files during markdown translation tasks
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=588997) </details> <!--IssueSummary end--> ## Summary GitLab Duo Agent Platform lost track of a working file during a markdown translation task, resulting in a "File not found" error and halting the process. ## Steps to Reproduce 1. Start a markdown translation task using GitLab Duo Agent Platform 2. Request translation of a markdown file to Japanese 3. During the translation process, the agent attempts to save/access a working file 4. The agent loses track of the file it had created in its temporary workspace 5. Process stops with "ファイルが見つかりませんでした。" (File not found) error ## Current Behavior The agent loses the reference to its own working file mid-process, causing the task to fail with a file not found error. The translation content appears to be generated but cannot be saved properly. ## Expected Behavior The agent should maintain references to all working files it creates during a task and complete the translation without losing track of intermediate files. ## Environment - **Feature**: GitLab Duo Agent Platform (DAP) - **Task type**: Markdown translation (English to Japanese) - **File path attempted**: `content/handbook/customer-success/professional-services-engineering/education-services/gitlabcicdhandsonlab7-ja.md` - **Session ID**: 1850088 ## Additional Context This appears to be an issue with the agent's internal file management in its temporary workspace. The agent created intermediate files during processing but lost track of their location, preventing completion of the task. ## Impact - Task could not be completed automatically - User had to manually intervene to save translation results - Reduces confidence in using DAP for longer-running tasks ## Possible Causes - File path references not properly maintained across agent execution steps - Temporary workspace cleanup occurring prematurely - File handle/reference loss during multi-step operations - Working directory context not preserved between agent operations
issue