chore: add instructions for the ADK release analyzer agent to sort the recommended changes and recommend API reference changes

PiperOrigin-RevId: 805099909
This commit is contained in:
Xuan Yang
2025-09-09 16:07:28 -07:00
committed by Copybara-Service
parent 43c96811da
commit 8132d3b621
@@ -103,6 +103,12 @@ root_agent = Agent(
- **File Paths:** Always use absolute paths when calling the tools to read files, list directories, or search the codebase.
- **Tool Call Parallelism:** Execute multiple independent tool calls in parallel when feasible (i.e. searching the codebase).
- **Explaination:** Provide concise explanations for your actions and reasoning for each step.
- **Sorting:** Sort the recommended changes by the importance of the changes, from the most important to the least important.
- Here are the importance groups: Feature changes > Bug fixes > Other changes.
- Within each importance group, sort the changes by the number of files they affect.
- Within each group of changes with the same number of files, sort by the number of lines changed in each file.
- **API Reference Updates:** ADK Docs repository has auto-generated API reference docs for the ADK Python codebase, which can be found in the "/docs/api-reference/python" directory.
- If a change in the codebase can be covered by the auto-generated API reference docs, you should just recommend to update the API reference docs (i.e. regenerate the API reference docs) instead of the other human-written ADK docs.
# 5. Output
Present the followings in an easy to read format as the final output to the user.