Repository navigation
Task docs: the two ways a benchmark runs, Harbor's environments or Hermit's own - #126
Merged
Merged
Conversation
…rmit's own docs/framework/task.md gains a section before "Task directories" that compares the two ways a benchmark enters Hermit: A, in Harbor's environments (environment.harbor; Harbor's Trial.run() owns the container and the verifier, the agent's commands go through the bridge), and B, in Hermit's own environment (task directories in Harbor's format, bubblewrap by default, the host or environment.image; Hermit runs tests/test.sh or a host judge). Two diagrams of the same geometry (docs/_includes/benchmark-modes.html, styled by harbor-diagrams.css) and a table: config, environment/, where the agent runs, who runs the task, verifier, task.toml limits, Harbor at run time, what is refused, and the examples of each. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
iamziyuzhao
added a commit
to mmjzmy/hermit
that referenced
this pull request
Nov 24, 2026
main moved hermit/task.py into the hermit/task package and replaced the Harbor runner (agent.name: harbor, hermit/harbor/runner.py, harborside) with Hermit's own agents in each task's HarborEnvironment (Infini-AI-Lab#112-Infini-AI-Lab#126). Conflicts in hermit/task, the rollout, the Trainer and tests/selection.py are resolved to main's side: they were the RunUnavailable plumbing, which the next commits drop in favour of main's infra handling. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
11 tasks done
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.
What
A benchmark enters Hermit in one of two ways, and the docs described them in separate places with no side-by-side
view.
docs/framework/task.mdgains a section, "Two ways a benchmark runs", before "Task directories":environment.harbor): Harbor'sTrial.run()owns the task's container and itsverifier; the agent's commands reach the container through the bridge.
(
environment.runner: host) orenvironment.image; Hermit runstests/test.shor a host judge; Harbor is notneeded at run time.
Two diagrams of the same geometry (
docs/_includes/benchmark-modes.html, styled by the existingharbor-diagrams.css), then a table: run config,environment/, where the agent runs, who runs the task, theverifier,
task.tomllimits, Harbor at run time, what is refused, and the examples of each (checked against everyfolder in
examples/: the ones withenvironment.harborare A, the rest B).Docs only; no code changes.
Checks
bash docs/build.sh(warnings as errors): passes.hermit/environment/spec.pychecks network andmemory_mb,not
cpus; the refusals are the onestask.mdalready lists for each mode.Review
None, at the maintainer's request (docs only).
🤖 Generated with Claude Code