Instructions: Search for AMPDO: comments in the codebase to gather feedback and instructions about code changes.
Use ripgrep to find AMPDO: comments with context:
rg "AMPDO:" -C 3- Read each AMPDO comment and surrounding code context
- Take appropriate action based on the feedback: implement requested changes, address issues, or follow instructions
- Present findings organized by file and comment type
- Execute any action items or specific change requests
- Group by file path
- Show line numbers and full context for each AMPDO comment
- Summarize key themes and action items at the end
After finding AMPDO: comments, the agent should:
- Analyze the feedback or instructions in each comment
- Implement any requested code changes
- Address any issues or concerns raised
- Remove or update AMPDO: comments once addressed
- Provide a summary of all actions taken