Skip to content

Conversation

iany0
Copy link
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
Collaborator

/gcbrun exp -n wq -ag

@DonggeLiu
Copy link
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
Collaborator Author

iany0 commented Sep 4, 2025

/gcbrun exp -n wq -ag

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.

2 participants