feat: write evolution run reports#64
Closed
steezkelly wants to merge 1 commit into
Closed
Conversation
This was referenced May 9, 2026
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 was referenced May 9, 2026
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 2: local, machine-readable promotion artifacts for evolution runs.
Adds:
evolution/core/run_report.pybuild_run_report(...)for constructing sanitized report payloadswrite_run_report(...)for writingreports/runs/<timestamp>-<target>.jsonskill.diffevolve_skill.pyso successful non-dry-run evolutions write and print a run report pathReport fields include:
evolved_hash/evolved_sizeSafety / privacy notes
The report stores artifact hashes, sizes, metrics, paths, and constraint messages. It does not persist raw session dumps or raw private tool outputs. The diff is the baseline-vs-optimized artifact diff already written for local review.
No remote mutation or PR automation is introduced here.
Test Plan
pytest tests/core/test_run_report.py -qfailed becauseevolution.core.run_reportdid not existpytest tests/core/test_run_report.py -qpytest -qgit diff --checkResult: 142 passed, 11 warnings (DSPy deprecation warnings only).
Partially addresses #54.