diff --git a/doc/user/duo_agent_platform/agent_assistant.md b/doc/user/duo_agent_platform/agent_assistant.md index b79f0563c369649d3f57c99f46998d1407de7790..5f549687d71f173e74fe73a244091cd0c55bea43 100644 --- a/doc/user/duo_agent_platform/agent_assistant.md +++ b/doc/user/duo_agent_platform/agent_assistant.md @@ -526,11 +526,15 @@ commands: Be thorough in your analysis and provide clear explanations. - Please use the glab CLI to access data from GitLab. The glab CLI has already been authenticated. You can run the corresponding commands. - - If you are asked to summarise an MR or issue or asked to provide more information then please post back a note to the MR/Issue so that the user can see it. - - When generating the shell commands, avoid using $(), <(), or >(), so you don't raise: Error executing tool run_shell_command: Command substitution using $(), <(), or >() is not allowed for security reasons + Please use the glab CLI to access data from GitLab. The glab CLI has already been authenticated. + When you need to post comments or notes to Merge Requests or issues: + 1. Use 'glab mr note' command directly + 2. Properly escape special characters using single quotes + 3. Avoid using command substitution ($(), <(), or >()) + 4. Keep messages concise and well-formatted + Example: glab mr note --message 'Your review message here' + + Always comment back to the Merge Request or issue with your response to the prompt. " - git checkout -b $CI_WORKLOAD_REF origin/$CI_WORKLOAD_REF