Bump harnesses verifiers minimum#1552
Open
xeophon wants to merge 8 commits into
Open
Conversation
This reverts commit 451e045.
# Conflicts: # pyproject.toml
ApprovabilityVerdict: Needs human review This PR restructures the configuration API across multiple harness implementations, moving version specification from ProgramConfig to HarnessConfig and introducing a new You can customize Macroscope's approvability policy. Learn more. |
224ebdc to
2dcd264
Compare
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.
Replacement for closed #1545.
Stacked on #1544 by branch ancestry, while still targeting
main:harnesses-verifiers-dev158is one commit on top ofharnesses-0.1.2-main(50bf7c27).This bumps the standalone
harnessespackage dependency fromverifiers>=0.1.15.dev11toverifiers>=0.1.15.dev158, soharnesses==0.1.2only installs with averifiersbuild that includes theHarness.load_program_confighook used by the versioned harness config changes.Addresses #1544 (comment).
Verification:
UV_FROZEN=1 uv build --out-dir /tmp/harnesses-verifiers-dev158-restacked packages/harnessesRequires-Dist: verifiers>=0.1.15.dev158Note
Medium Risk
Breaking config renames (
package/release/rlm_*fields) affect eval TOML and Python callers; dependency floor ties releases to verifiers dev158+.Overview
Raises
harnesses’ minimumverifiersdependency to>=0.1.15.dev158and bumps environment packages toharnesses>=0.1.2, soharnesses==0.1.2only installs against averifiersbuild that includesHarness.load_program_config.Harness.__init__now resolves programs viaload_program_configinstead of callingconfig.program.resolve()directly; command harnesses (OpenCode, Pi, MiniSWEAgent, Terminus2) override it to pass a top-levelversionintoprogram.resolve(version=...). Per-programpackage/releasefields are removed in favor ofHarnessConfig.version; docs show[eval.harness]withid+version.RLMProgramConfigandrlm_swe_v1renamerlm_*knobs (rlm_tools→tools,rlm_repo_url→repo_url, etc.). Tests assertharness.program_configfor resolved install scripts.Reviewed by Cursor Bugbot for commit 2dcd264. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Move version configuration to harness-level in verifiers and harnesses packages
MiniSWEAgentProgramConfig,OpenCodeProgramConfig,PiProgramConfig,Terminus2ProgramConfig) to their parent harness config dataclasses as a top-levelversionfield.load_program_configas an extension point on the baseHarnessclass so subclasses can inject the harness-level version during program resolution.rlm_*-prefixed fields inRLMProgramConfigandRlmSweProgramConfig(e.g.rlm_tools→tools,rlm_exec_timeout→exec_timeout) and updates utility functions inrlm_utils.pyto match.verifiersminimum from>=0.1.15.dev11to>=0.1.15.dev158andharnessesminimum from>=0.1.1to>=0.1.2across environment packages.program.release,program.package,program.harbor_package, orrlm_tools/rlm_exec_timeoutfield names will no longer be valid.Macroscope summarized 2dcd264.