Skip to content

Integrate long-term memory for build error handling#1160

Open
iany0 wants to merge 11 commits intogoogle:mainfrom
iany0:RAG
Open

Integrate long-term memory for build error handling#1160
iany0 wants to merge 11 commits intogoogle:mainfrom
iany0:RAG

Conversation

@iany0
Copy link
Copy Markdown
Collaborator

@iany0 iany0 commented Aug 25, 2025

This PR brings RAG-based long-term memory into the Prototyper for build error handling.

First, the Prototyper now has new prompt templates and an updated workflow so it can pull in guidance from stored error knowledge when dealing with build failures.

Second, under the helper folder there are two additions:

  • error_classifier.py – to categorize build errors.
  • error_patterns.yaml – a small database of regex patterns with “good” and “bad” strategies, built from past fixes.

With this setup the Prototyper can match new errors against known patterns, retrieve useful hints, and reuse past reasoning to handle recurring build issues.

@DonggeLiu
Copy link
Copy Markdown
Collaborator

/gcbrun exp -n wq -ag

@DonggeLiu
Copy link
Copy Markdown
Collaborator

No need to worry about lint/format CI failure at the moment given the main goal is iterating on the best approach.
We can resolve it when the PR is ready to merge. This hook can automatically run the linter/formatter locally when you push:
https://github.com/google/oss-fuzz-gen/blob/main/USAGE.md#development-environment

@iany0
Copy link
Copy Markdown
Collaborator Author

iany0 commented Sep 4, 2025

/gcbrun exp -n wq -ag

@iany0
Copy link
Copy Markdown
Collaborator Author

iany0 commented Sep 16, 2025

/gcbrun exp -n wq -ag -rc

@iany0
Copy link
Copy Markdown
Collaborator Author

iany0 commented Sep 16, 2025

/gcbrun exp -n wq -ag -rag

@iany0
Copy link
Copy Markdown
Collaborator Author

iany0 commented Sep 16, 2025

/gcbrun exp -n wq-rag -ag -- -rag

@iany0
Copy link
Copy Markdown
Collaborator Author

iany0 commented Sep 19, 2025

/gcbrun exp -n wq -m vertex_ai_gemini-2-5-pro-chat -ag

@wenta0g
Copy link
Copy Markdown
Collaborator

wenta0g commented Sep 20, 2025

/gcbrun exp -n wqrag -m vertex_ai_gemini-2-5-pro-chat -ag -- -rag

@iany0
Copy link
Copy Markdown
Collaborator Author

iany0 commented Sep 28, 2025

/gcbrun exp -n wqrag -m vertex_ai_gemini-2-5-pro-chat -ag

@iany0
Copy link
Copy Markdown
Collaborator Author

iany0 commented Oct 28, 2025

/gcbrun exp -n wqragg -m vertex_ai_gemini-2-5-pro-chat -ag

@github-actions
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants