feat: add local-first pr builder#65
Closed
steezkelly wants to merge 1 commit into
Closed
Conversation
Author
|
Closing this split PR in favor of consolidated PR #67. Local integration found review/merge overhead across the stack (notably #61/#64 overlap in evolution/skills/evolve_skill.py), and #67 preserves the combined local test evidence: targeted stack tests 21 passed; full suite 160 passed; GitHub checks were absent on the split PRs. Review #67 instead. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements issue #54 step 4: local-first PR preparation from evolution run reports.
Adds:
evolution/core/pr_builder.pybuild_pr_title(report)build_pr_body(report)prepare_pr(...)with remote mutation off by defaultpython -m evolution.core.pr_builder --report <report.json> --dry-runThe generated PR body includes:
Safety / mutation behavior
Default behavior is local-only and dry-run:
Remote mutation requires explicit flags and
--execute:No push or GitHub PR creation occurs unless those explicit flags are set.
Test Plan
pytest tests/core/test_pr_builder.py -qfailed becauseevolution.core.pr_builderdid not existpytest tests/core/test_pr_builder.py -qpytest -qgit diff --checkResult: 144 passed, 11 warnings (DSPy deprecation warnings only).
Partially addresses #54.