feat(peachfuzz): import reviewed PeachTree seed manifests - #1
feat(peachfuzz): import reviewed PeachTree seed manifests#10ai-Cyberviser wants to merge 4 commits into
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 70c298e140
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| destination = out / source.name | ||
| shutil.copyfile(source, destination) |
There was a problem hiding this comment.
Avoid clobbering seeds with identical basenames
Using destination = out / source.name flattens every imported seed to its basename, so two valid manifest entries like a/seed.json and b/seed.json overwrite each other in the output directory. In that case imported is incremented twice but only one file remains, which silently drops corpus coverage and can corrupt experiment inputs. This should preserve a unique path per seed (or detect and reject collisions) instead of overwriting.
Useful? React with 👍 / 👎.
Summary
Adds a local-only importer for reviewed PeachTree seed manifests so PeachFuzz can consume approved corpus exports from PeachTree.
Changes
PeachTreeSeedImporterSafety controls
no_networkandno_executionTests
pytest -q tests/test_peachtree_import.pypytest -qruff check src testsmypy srcRollback plan
Revert the importer module, tests, CLI registration, and docs. Existing PeachFuzz commands remain unchanged.
Release note
PeachFuzz can import reviewed PeachTree seed manifests into local fuzz corpora.