feat: consolidate evolution gates stack (#55-#61)#70
Closed
steezkelly wants to merge 14 commits into
Closed
Conversation
Author
|
Closing — unintentional duplicate of the earlier #68 (already closed). Active development has moved to steezkelly/hermes-agent-self-evolution where PRs #8-#16 have been merged. See https://github.com/steezkelly/hermes-agent-self-evolution for current state. |
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
Consolidation of evolution-gates PR stack: #55, #56, #57, #58, #59, #60, #61.
Also supersedes the narrower consolidation PR #67 (which covered #60-#66, now fully absorbed here).
This is a lower-overhead alternative to reviewing 7 overlapping PRs individually. All merged locally (conflicts resolved), tests pass clean.
What's included (18 files, 1441 additions, 95 deletions vs upstream origin/main)
From #55: ingestion reports and promotion gates
evolution/core/benchmark_gate.py(new)evolution/core/dataset_builder.py(updated)evolution/core/external_importers.py(updated)evolution/core/pr_builder.py(new)evolution/core/run_report.py(new)evolution/skills/evolve_skill.py(updated — wiring for all gates)tests/core/test_issue54_ingestion.py(new)tests/core/test_issue54_promotion.py(new)From #56: DSPy 3.x GEPA construction fix
evolution/skills/evolve_skill.py(GEPA optimizer helper)tests/skills/test_evolve_skill_gepa.py(new)From #57: LLM judge feedback for skill fitness
evolution/core/fitness.py(rubric-based LLM judge scoring)evolution/skills/evolve_skill.py(wired into metric)tests/core/test_fitness.py(new)From #58: enforce run-tests evolution gate
evolution/core/constraints.py(pytest gate)evolution/skills/evolve_skill.py(wired into pipeline)tests/core/test_constraints.py(updated)tests/skills/test_evolve_skill_gates.py(new)From #59: reject empty holdout datasets
evolution/skills/evolve_skill.py(holdout gate)tests/skills/test_evolve_skill_dataset_gates.py(new)From #60: declare reportlab dependency
pyproject.toml(reportlab>=4.0)tests/test_generate_report.py(new)From #61: fail fast on invalid baseline skills
evolution/skills/evolve_skill.py(baseline constraint gate)tests/skills/test_evolve_skill_constraint_gates.py(updated)Conflict resolution
Two conflict sites in
evolution/skills/evolve_skill.py:fix: enforce run-tests evolution gate #58 vs fix: update GEPA construction for DSPy 3 #56: Both added helper functions in the same region. Resolution keeps
_create_gepa_optimizer(),_run_pytest_gate_if_requested(), and_save_failed_variant()— all independently needed.fix: reject empty holdout datasets #59 + fix: fail fast on invalid baseline skills #61 vs earlier merges: Added
_require_non_empty_holdout(),_require_constraints_pass(), and_validate_baseline_constraints()— all preserved.No other conflicts. Merge order used: #55 → #56 → #57 → #58 → #59 → #60 → #61.
Local test evidence
GitHub reports no configured checks on any of these PRs (statusCheckRollup length 0). Local verification:
Warnings are DSPy deprecation noise (
prefixargument in InputField/OutputField) from installed dependency paths only — not from changed code.Test environment: local venv
.venv-review, installed viapip install -e '.[dev]'at commit 74f5da3.Superseded PRs
Local evidence file at
issue-55-61-superstack-local-evidence.mdin the fork worktree.Post-merge
Closes #54 (ingestion and promotion gates slice is now a single reviewable unit).