Skip to content

feat(skillsbench): run SkillsBench on the harbor environment server - #5699

Merged
weijiac0619 merged 3 commits into
mainfrom
weijiac/n4p0-skillsbench
Nov 6, 2026
Merged

weijiac0619 merged 3 commits into
mainfrom
weijiac/n4p0-skillsbench

Conversation

@weijiac0619

@weijiac0619 weijiac0619 commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

What and why

SkillsBench gains a second execution path, on Gym's harbor environment server, beside the existing one, which runs a whole Harbor job with an OpenHands SDK agent through harbor_agent_general behind the legacy_agent relay. On the new path the server owns the task sandbox, the skills and the verifier, and any session harness that accepts a lent task sandbox and declares supports_task_tool_context can run the benchmark. Skills stay plain files at a path the task declares, so how they are loaded and which tools the model uses to read them do not depend on the harness. The new path is the README's default; the OpenHands path stays as it is.

  • harbor environment server: task skills are uploaded at seed. When a task declares [environment].skills_dir and ships environment/skills/, the server uploads that folder to skills_dir once the working directory exists, as a Dockerfile COPY would leave it. Harbor expects the image to hold the folder already through a Dockerfile COPY skills ..., but tasks that run a prebuilt image keep their skills only in the build context; runtime-deploying runners such as BenchFlow's take them from there, and this does the same. Only 1 of the 87 official SkillsBench images copies its skills in.
    • When. In a single sandbox, before the task's entrypoint, healthcheck and the harness's session. In a Compose group the adapter has already started main, run its command and waited for its image healthcheck, so there the skills reach the harness's session only. No SkillsBench task depends on its skills at startup; delivering them through main's Compose uploads is left for a task that does.
    • Only into an empty folder. A skills_dir the image already filled is left as built, and a task without environment/skills/ uploads nothing.
    • Narrow modes. The upload runs as root and opens only the uploaded skill folders to every user, plus skills_dir itself when the upload created it. The folders above keep the image's modes, so a task user other than root needs a skills_dir it can reach; every SkillsBench task runs as root. A skills_dir of / or the working directory, or one only a shell resolves (~, $), is refused at seed as a task error. The files the digest already ignores (__pycache__, *.pyc) stay out.
    • Absolute path for harnesses. A relative skills_dir is read from the working directory, and /tmp/.nemo-gym/task.json now carries the absolute path the skills went to, as Harbor asks for.
    • A failed upload is a retryable seed failure, like the server's other seed uploads.
  • Two SkillsBench dataset entries. environments/harbor/skillsbench and environments/harbor/skillsbench_no_skill follow the terminal_bench_4 layout: each commits a README and a dataset.toml (type = "benchmark", domain = "agent", license = "Apache 2.0", no source), and gym dataset validate and gym eval run resolve them by name. The task folders are gitignored beside them.
  • SkillsBench preparation for the server. The new benchmarks/skillsbench/prepare_harbor_env.py reuses prepare.py's pinned checkout, task conversion, task.toml writer and image-manifest loader, and writes each condition's tasks into its entry. It converts them beside the entry with a copy of the entry's committed files (README.md, dataset.toml, *.yaml) and swaps the result in by renaming, so an interrupted preparation leaves the previous tasks:
    • with-skill tasks declare skills_dir = "/skills", the location Harbor's own skills example uses. It stays out of every task's working directory, and four of the reference solutions that import a skill's scripts already search it. The other four search only /app/skills, where BenchFlow's oracle mode puts skills, so the with-skill oracle wrapper links /app/skills to /skills while solve.sh runs and removes the link afterwards. The agent and the verifier see one skills folder.
    • no-skill tasks declare no skills_dir and carry no environment/skills/. The one image that builds skills in runs with an overlay RUN that clears the agent skill locations; the server applies it at seed, with no build.
    • Tasks use the digest-pinned official images (images.json) by default, and task.toml uses network_mode instead of the deprecated allow_internet.
  • prepare.py shares its helpers. fetch_official_tasks, task_definition, task_toml, adapt_task and the new load_image_manifest are public, so the new script imports no private names. task_toml takes the image, skills_dir and a current_schema switch (Harbor's current spellings); the OpenHands path keeps allow_internet and version, which its pinned Harbor reads, and its output is byte-identical to main's.
  • Docs: the SkillsBench README (the new path first, the OpenHands path kept as its own section), the two entry READMEs, and the harbor server README. Two Fern pages get a line each: Harbor Tasks says an entry may declare no source when a preparation script writes its tasks, and Agent Skills says a Harbor task can bring its own skills. The SkillsBench notes in run-and-babysit-eval now cover both paths; on the harbor server a harness timeout carries no failure kind, and mini-SWE records it as response.metadata.miniswe_termination = "timeout".

This PR does not change any harness, the Harbor task loader, the other benchmarks, harbor_agent_general, or the OpenHands path's configs and manifests; its prepare.py changes only in shape, and its test only in the one import it renames. DeepSWE's migration is covered separately in #4560. No issue is linked: the work is tracked internally.

How to run:

python -m benchmarks.skillsbench.prepare_harbor_env
gym eval run skillsbench --agent miniswe_sandboxed_agent --sandbox opensandbox \
  --skip-unloadable --exclude-tasks fix-visual-stability --model-type openai_model --model <model> --model-url <url>

Compatibility

  • The OpenHands path behaves as before. skillsbench/harbor and skillsbench/harbor_opensandbox (harbor_agent_general, skillsbench_app.py, openhands_agent.py, environment.py) keep their files, names and behavior. prepare.py's helpers lost their leading underscore and gained the shared pieces; converting all 87 tasks in both conditions, with and without the image manifest, gives byte-identical task folders before and after. Both paths share the pinned checkout in data/source; their outputs sit apart (data/tasks and data/skillsbench_official.jsonl against the two entries), so preparing one does not touch the other.
  • On the new path only mini-SWE runs the with-skill condition for now. At this revision miniswe_sandboxed_agent is the only session harness that declares supports_task_tool_context; the server refuses a skills_dir task for any other harness, and the no-skill folder runs on any session harness. mini-SWE reads skills_dir from /tmp/.nemo-gym/task.json and tells the model "Task skills are in /skills. Read the relevant SKILL.md files." OpenHands stays on the legacy relay until its session adapter (feat(openhands): add the OpenHands harness adapter #5543) supports task skills. Claude Code and Codex stage only a run-level skills.path, not a per-task skills_dir.
  • Scores from the two paths are not comparable. The OpenHands path gives the model an invoke_skill tool over a skill catalog; the new path gives it the folder and its shell.
  • Open PRs: Allow disabling TLS verification for opensandbox env #5204 (OpenSandbox TLS option) and feat(biomlbench): add BioML-bench v0.1a CPU tasks through Harbor and OpenSandbox #5290 (BioML-bench through harbor_agent_general) touch only files this PR leaves alone, including skillsbench_app.py, which feat(biomlbench): add BioML-bench v0.1a CPU tasks through Harbor and OpenSandbox #5290 subclasses. Add BenchFlow environment and SkillsBench benchmark #1870 (BenchFlow SkillsBench integration) edits benchmarks/skillsbench/README.md too.

Validation

Unit tests

At e1ec7b38 (the review fixes on top of c2d82038; main at f4ae9752c), Linux, the repository venv.

Command Result
pytest environment_servers/harbor/tests 711 passed, 3 failed (below)
pytest tests/unit_tests/benchmarks 868 passed, 7 skipped
pytest tests/unit_tests/test_public_api_facades.py tests/unit_tests/test_public_api.py 935 passed
pytest tests/unit_tests -k "harbor and (entr or dataset)" (dataset entries and loader) 257 passed, 5 skipped

The 3 harbor failures are TestPromptTemplate in test_compose_overlay.py, which needs jinja2; it is not in the repository venv, and the same 3 fail on main. The benchmark and entry runs turn off a global commit.gpgsign = true on the test machine, which the unchanged fixtures' git commit otherwise picks up. harbor_agent_general is not touched and was not re-run (110 passed, 2 skipped on the previous revision).

The OpenHands path's conversion was compared with main's prepare.py directly: all 87 tasks, both conditions, with and without the pinned image, 348 conversions, 0 differing files.

New and rewritten tests:

  • TestTaskSkills in environment_servers/harbor/tests/test_app.py: the skills reach skills_dir before the task's entrypoint starts and before the agent seed, as root, without the ignored files; only the uploaded skill folders are opened, plus skills_dir when the upload made it; a skills_dir the image already filled is left as built and still reaches task.json; /, ., ./, the working directory, a path that resolves to it, ~/... and $HOME/... are refused at seed as task errors with nothing uploaded; a relative skills_dir is read from the working directory and written to task.json as an absolute path; a task with no skills_dir uploads nothing; a failed upload is a retryable seed failure.
  • A Compose group test: main is started (command and image healthcheck) before the upload, and the skills land in main before the task context and the harness's session.
  • tests/unit_tests/benchmarks/test_skillsbench_harbor_env_prepare.py (new): prompt and sandbox policy carried over and loadable by HarborTaskConfig; no-skill tasks without environment/skills/ unless their own build still copies it; the with-skill oracle wrapper links /app/skills for solve.sh only, and the no-skill one does not; the no-skill overlay for an image that builds skills in, and the Dockerfile append without an image; clone at the pinned revision, both conditions written into their entries with the committed files kept (README.md, dataset.toml and *.yaml, as .gitignore keeps them) and stale task folders replaced, an entry left aside by a preparation stopped between its two renames put back, re-preparing one condition without touching the other, and leaving the OpenHands path's task tree and index alone; both committed entries resolve by name, with no source and the Apache 2.0 license. test_skillsbench_prepare.py changes only in the renamed import.

Preparing both entries at e1ec7b38 writes 87 task folders into each and leaves the committed files untouched; all 87 with-skill tasks declare skills_dir = "/skills" and carry the oracle link, and no no-skill task carries environment/skills/ or the link.

Real runs

At e1ec7b38. Sandbox provider: OpenSandbox. Oracle rows use gym dataset validate; mini-SWE rows use Qwen3.5-122B-A10B through an OpenAI-compatible endpoint, one repeat, the task's own 600 s agent timeout.

The eight reference solutions that failed gym dataset validate on the earlier skills location (with-skill):

Result Tasks
1.0 3d-scan-calc, jax-computing-basics, pddl-airport-planning, pddl-tpp-planning, pptx-reference-formatting, travel-planning, video-silence-remover
0.0, twice exceltable-in-ppt: its skill scripts now resolve and 6 of its 8 tests pass, but the workbook's formula cells come back NaN after the LibreOffice recalculation it runs through the xlsx skill
Run Task Reward Health Tool calls Wall time
mini-SWE, with-skill powerlifting-coef-calc 0.0 healthy 34 (2 on the skills folder) 331 s
mini-SWE, no-skill radar-vital-signs 0.0 healthy 27 (none on a skills path) 327 s

Both rows ended completed and were graded by the verifier, with no model-call errors. In the with-skill row the first model request carried "Task skills are in /skills", and the model listed /skills and read its SKILL.md files. These rows use a different model from the ones below, so their rewards are not comparable with them.

Earlier revisions. Model: a Nemotron checkpoint served by vLLM through Gym's vllm_model server (thinking on, temperature 1.0, top_p 0.95). Sandbox provider: OpenSandbox. Harness: miniswe_sandboxed_agent; oracle rows use gym dataset validate (harbor_oracle_agent). One repeat per task, the task's own 600 s agent timeout.

On 51733c41, run by entry name, with skills at /root/.agents/skills:

Run Task Reward Health Tool calls Wall time
mini-SWE, with-skill (--skip-unloadable --exclude-tasks fix-visual-stability, with the three Compose tasks selected) powerlifting-coef-calc 1.0 healthy 22 (8 on the skills folder) 174 s
mini-SWE, no-skill radar-vital-signs 0.0 healthy 24 (none on a skills path) 297 s

In the with-skill row the first model request carried "Task skills are in /root/.agents/skills". The same run left out drone-planning-control and react-performance-debugging in skipped.json (see Known limits), so 1 of the 4 selected tasks ran. The radar-vital-signs 0.0 is a graded answer, as on the earlier revision.

On an earlier revision of this change, with main at 4a94129e7 (the same server code with the upload after the healthcheck, and the dataset folders under benchmarks/skillsbench/data/), concurrency 2:

Run Task Reward Health Model calls Wall time
Oracle, with-skill powerlifting-coef-calc 1.0 unobserved (no model) 0 43 s
Oracle, with-skill radar-vital-signs 1.0 unobserved (no model) 0 46 s
Oracle, no-skill (overlay image) radar-vital-signs 1.0 unobserved (no model) 0 51 s
mini-SWE, with-skill pddl-airport-planning 1.0 healthy 8 168 s
mini-SWE, with-skill powerlifting-coef-calc 1.0 healthy 23 240 s
mini-SWE, no-skill powerlifting-coef-calc 1.0 healthy 22 481 s
mini-SWE, no-skill radar-vital-signs 0.0 healthy 22 265 s

Wall time is the row's elapsed time from seed through verification. Every mini-SWE row ended completed; there were no model-call errors, masked samples or failure rows, and the health check found 0 issues. In both with-skill rows the first model request carried the line "Task skills are in /root/.agents/skills", and the model listed that folder and read SKILL.md files (2 of its bash calls in each row). In the no-skill rows neither the prompt nor any tool call names a skills path. The radar-vital-signs 0.0 is a graded answer, not an error. These runs show that the path works; they are not a score.

Reference solutions that read skills. Twelve official oracles mention a skills path. gym dataset validate on all twelve, with-skill, concurrency 4, with skills at /root/.agents/skills (the eight in the second row are re-run above):

Result Tasks
1.0 dialogue-parser (falls back to its own classes), lab-unit-harmonization (names a skill file it never reads)
0.0, skill scripts not found 3d-scan-calc, exceltable-in-ppt, jax-computing-basics, pddl-airport-planning, pddl-tpp-planning, pptx-reference-formatting, travel-planning, video-silence-remover
0.0, not about skills reserves-at-risk-calc (its IMF data download did not return an Excel file; its missing recalc.py has a CSV fallback), citation-check (Semantic Scholar rate limit marked a real citation as fake)

The other 75 oracles name no skills path.

Checks

  • pre-commit on the changed files: passed.
  • DCO sign-off and a GPG signature on the commit.

Known limits

  • On the new path only miniswe_sandboxed_agent can run the with-skill condition. OpenHands stays on the legacy relay (skillsbench/harbor*) until its session adapter (feat(openhands): add the OpenHands harness adapter #5543) supports task skills by declaring supports_task_tool_context.
  • exceltable-in-ppt's reference solution scores 0.0 on this path. It finds its skill scripts, but the formula cells it recalculates through LibreOffice come back NaN; the cause was not investigated. The eight skill-importing reference solutions all fail in the no-skill condition, which has no skills.
  • bike-rebalance requests no-network, which the Harbor loader refuses, so --skip-unloadable leaves it out. The OpenHands path's OpenSandbox config still runs it with open egress by explicit opt-in.
  • Three tasks (3d-scan-calc, lean4-proof, video-silence-remover) ship skills that name scripts under /root/.claude/skills/, which is not where the new path installs them (/skills); the model has to follow the folder it was given, as any non-Claude harness does in the official runner.
  • The three Compose tasks need an image builder. drone-planning-control, fix-visual-stability and react-performance-debugging build Compose services from their own Dockerfiles, and the published images cover only each task's main image. Without an image builder the server refuses the first and the third (--skip-unloadable names them in skipped.json), and fix-visual-stability's build fails the run's preparation, so the documented commands add --exclude-tasks fix-visual-stability. On such a host a run covers 83 of the 87 tasks. Runs with a builder configured were not tried. In a Compose group the skills arrive after main's command and image healthcheck, which no SkillsBench Compose task depends on.
  • No full-benchmark evaluation and no score parity with the OpenHands path is claimed. Neither entry sets verified; validate counts over the 83 loadable tasks and a reward profile for both conditions (one model, at least 3 repeats) are left to baselining.

🤖 Generated with Claude Code

@copy-pr-bot

copy-pr-bot Bot commented Nov 5, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

Add a second SkillsBench path on the harbor environment server beside
the existing OpenHands path through harbor_agent_general, which
behaves as before.

- harbor env server: when a task declares [environment].skills_dir and
  ships environment/skills/, upload that folder to skills_dir at seed,
  as root, before the task's entrypoint, healthcheck and harness
  session; the uploaded tree is opened to every user.
- Two committed dataset entries, environments/harbor/skillsbench and
  environments/harbor/skillsbench_no_skill (README and dataset.toml,
  as terminal_bench_4), so gym eval run resolves them by name.
- prepare_harbor_env.py writes each condition's tasks into its entry
  on the digest-pinned official images: with-skill declares
  skills_dir = /root/.agents/skills; no-skill drops environment/skills
  and clears baked-in skills with a seed-time overlay.
- prepare.py exposes its checkout, task conversion, task.toml writer
  and a new image-manifest loader for both scripts; the OpenHands
  path's task output is unchanged.
- README: the new path first, the OpenHands path kept as its own
  section; harbor server README and run-and-babysit-eval notes cover
  both paths.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: weijia chen <[email protected]>
@weijiac0619
weijiac0619 force-pushed the weijiac/n4p0-skillsbench branch from ace9006 to 51733c4 Compare November 6, 2026 00:11
- prepare_harbor_env.py keeps every file the repository's .gitignore
  keeps in an entry (README.md, dataset.toml and *.yaml) and swaps the
  converted tasks in by renaming, so an interrupted preparation leaves
  the previous tasks in place.
- Restore the name of test_adapt_task_preserves_prompt_and_sandbox_policy
  in test_skillsbench_prepare.py, which the helper rename had changed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: weijia chen <[email protected]>
@weijiac0619
weijiac0619 marked this pull request as ready for review November 6, 2026 01:22
@weijiac0619
weijiac0619 requested a review from yaoyu-33 November 6, 2026 01:22
@nemo-automation-bot
nemo-automation-bot Bot requested review from a team November 6, 2026 01:23
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

@svcnvidia-nemo-ci svcnvidia-nemo-ci left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SHIP WITH CARE — 1 RISK and 2 documentation NOTEs.

The Compose path starts its commands and checks image health before the new skill upload runs. Tasks that need those files during startup can therefore fail before reaching the harness.

I reviewed all 15 changed files and traced the affected preparation, dataset, sandbox and harness contracts. The delegated runtime report wasn't available, so I completed that inspection directly. This was a static review; I didn't execute tests or independently verify the reported rollout artifacts.

Review generated by codex. This was a full review. Request a full review with /review reset=true.

session.workdir = await self._prepare_workdir(sandbox, task, task.workdir)
# The task's skills are in place before its entrypoint, healthcheck and agent, as a Dockerfile `COPY`
# would leave them; a Compose group's main was already started by the adapter.
await self._upload_task_skills(sandbox, task, session.workdir)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RISK — Upload skills before Compose starts main's command and healthcheck.

For Compose tasks, this upload happens too late. _seed first awaits _create_compose, whose adapter starts service commands and waits for image healthchecks before returning. For example, a task with skills_dir = "/opt/task-skills", environment/skills/demo/SKILL.md, and a main healthcheck of test -f /opt/task-skills/demo/SKILL.md fails startup when its image doesn't already contain the skills. The upload is never reached, and seed is retried instead of handing a ready task to the harness. This also affects plain tasks made into groups by a job-level Compose overlay.

Please deliver the skills through main's pre-command setup in _start_compose_group, and keep this post-create upload only for non-Compose sandboxes. The invariant is that the declared skills exist before main's entrypoint, command, hooks and image healthcheck. The exact integration needs care around Compose's deferred working-directory creation, so I wouldn't suggest a standalone one-line move.

Preserve: overlay execution and working-directory ownership must still precede delivery; relative skills paths must resolve to the same working directory as today. Keep root extraction, readable modes, ignored-file filtering, no upload without a declaration/source folder, and cleanup on transfer failure.

Proposed checks, not executed: run the minimal healthcheck case through the real Compose adapter and assert successful seed and file availability before command/healthcheck execution; repeat through a job-level overlay. Retain TestTaskSkills assertions for /app/.skills, ignored caches, absent source/declaration and retryable upload failure with sandbox cleanup.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed against the real Compose adapter: when main's image healthcheck tests for a skill file, the group fails with Compose service 'main' unhealthy before the upload at L1999 runs (docker_compose.py#L1038-L1067). It fails closed, as a retryable seed failure before any agent exists, and no SkillsBench task hits it: the Compose mains run sleep infinity, and no pinned Dockerfile declares a HEALTHCHECK. So we'd treat it as a note for this PR.

To close it:

  • Either put the skills on main's x-sandbox.uploads for groups (docker_compose.py#L975-L985). That stage runs after setup and working-directory creation and before the command. It fits better than setup_main, which only some tasks register and which runs before the working directory exists (sandboxes.py#L750-L751).
  • Or scope the docstring (session.py#L299) and the README (README.md#L113-L116) to single sandboxes, and add a Compose group test.

Scores from the two paths are not comparable: OpenHands loads skills into its `invoke_skill` tool, while the
environment server gives the model the folder and its shell.

## Run on the `harbor` environment server

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE — Document the source-less preparation workflow in Fern.

The new user workflow is covered by repository READMEs, but not by the published user docs, where the review rubric requires notable features to be documented. The existing Harbor Tasks guide describes committed entries as declaring source and being populated by a pull. Applying that guidance to gym dataset pull skillsbench fails because the resolver rejects entries without a source; these entries need the new preparation command instead.

Could you add a short SkillsBench section to that Fern page, link this README, and show python -m benchmarks.skillsbench.prepare_harbor_env followed by the two evaluation commands? Explain that these source-less entries are prepared locally, not pulled. Include the with-skill harness restriction, task exclusions and warning that scores aren't comparable with the OpenHands path.

Preserve and accept: keep the sourced-entry pull instructions for Terminal-Bench. A static documentation check should confirm that readers can reach both SkillsBench preparation/run commands from the published guide without being directed to gym dataset pull skillsbench, while the existing Terminal-Bench examples remain valid. This is a documentation suggestion, not an executed command result.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, with a smaller ask.

  • harbor-tasks.mdx: one sentence in harbor-tasks.mdx#L395-L399 saying an entry may declare no source when a preparation script writes its tasks, with a link to the SkillsBench README. Today gym dataset pull skillsbench tells the user to add a source (entries.py#L315-L319). The exclusions and the comparability warning can stay in the README.
  • agent-skills.mdx: agent-skills.mdx#L11 says skills are "a run-level knob, not a dataset field". Harbor tasks can now bring their own skills_dir, which the environment server places, so this page needs a line too.

- **SkillsBench agent timeouts.** On the OpenHands path the row is final and scored. Many are zeros
without a verifier result (the sandbox was discarded before verification, or the verifier produced
nothing). Report the score over the rows the verifier graded beside the headline score. On the `harbor`
environment server a harness that stops at the task's `[agent].timeout_sec` reports `agent_limit` and the

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE — Name the timeout signal the supported harness writes.

The new agent_limit description doesn't match mini-SWE, currently the only supported with-skill harness. At its execution deadline, mini-SWE records termination.reason = "timeout", then returns response.metadata.miniswe_termination = "timeout". The environment verifies it, and a valid reward returns without an agent_limit failure kind. An operator filtering for the documented signal would miss those timeout rows.

Suggested replacement for the Harbor-path sentences at lines 378–381:

On the harbor environment server, a harness that returns at the task's [agent].timeout_sec is verified and scored as usual. The timeout signal is harness-specific: mini-SWE records response.metadata.miniswe_termination = "timeout", not a generic agent_limit kind. An episode that overruns the task's whole budget fails with harbor:task_deadline and is retried.

Preserve: execution timeouts remain gradable, setup timeouts remain infrastructure failures, and whole-episode overruns remain retryable. No runtime change is needed.

Static acceptance: check the text against _episode_turn_response and _deadline_failure; don't infer timeout from reward 0 alone. Retain the setup-timeout test's 503 assertion. I haven't executed tests.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed: at its deadline mini-SWE returns an ordinary, verified response with metadata.miniswe_termination = "timeout" (app.py#L498-L504, #L589-L596). The kind name is off for other harnesses too: Gym's timeout kind is agent_timeout, and agent_limit is the iteration cap (failure_kinds.py#L88-L90).

@yaoyu-33 yaoyu-33 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the careful write-up and the real runs. This PR moves SkillsBench onto the harbor environment server. Preparation writes two dataset entries that declare no source (with skills and without), and the server uploads a task's environment/skills/ to its skills_dir at seed.

Is the new _upload_task_skills needed? Yes. Without it, the with-skill condition would quietly run as no-skill on 86 of the 87 tasks, while mini-SWE still told the model where the skills are. Four reasons:

  • At the pinned SkillsBench revision, only radar-vital-signs copies its skills into the image.
  • The preparation adds no COPY on purpose.
  • Overlay mode cannot COPY without an image builder.
  • No harness uploads a task's own skills; mini-SWE only names the folder in its prompt.

Because it lives in the generic server, though, it now applies to every Harbor task that declares skills_dir. Harbor itself does not do this (skills.mdx#L42-L47). The inline comment on session.py suggests narrowing it.

No blockers. Inline comments:

  • Narrowing and hardening the upload.
  • Picking a skills location the reference solutions already search.

Replies in the three existing threads:

  • The Compose ordering problem is real, but it fails closed and does not affect any SkillsBench task.
  • The Fern note holds, with a smaller ask plus one more page.
  • The agent_limit note holds, with one refinement.

Baselining (not requested for merge): neither entry sets verified, and the smoke runs meet the bar. Before marking them verified, please add:

  • gym dataset validate counts for both entries over the 83 loadable tasks.
  • A reward profile for both conditions: same model, at least 3 repeats.

Checked locally at c2d82038 (macOS):

  • environment_servers/harbor/tests: the same 21 failures as the merge base. They are local-shell and /private/var path tests, none caused by this PR.
  • The SkillsBench preparation tests pass.
  • The OpenHands path's conversion is byte-identical to main's on the test fixture.
  • A reproduction of the Compose ordering against the real Compose adapter.

Not run: real sandboxes, GPU, mini-SWE's own tests.

Comment thread environment_servers/harbor/session.py Outdated
source = task.path / "environment" / "skills"
if not skills_dir or not source.is_dir():
return
target = posixpath.join(workdir, skills_dir)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

environment_servers/harbor/session.py:314

The upload is needed for SkillsBench. Because it sits in the generic server, though, it also writes over the skills_dir of any Harbor task whose image already built or trimmed its own skills. Could it make three changes?

  1. Skip the upload when skills_dir already exists and is non-empty in the sandbox. radar-vital-signs keeps working.
  2. Make only the uploaded folders readable, not the whole target. Today it runs chmod -R a+rX over all of it (transfer.py#L211), which covers all of / or the whole working directory for / or .. Refuse those values and ~/$.
  3. Write the resolved path into task.json (L331). Today it carries the raw relative value that the upload resolved against the working directory, and Harbor asks for an absolute path (skills.mdx#L38).

ENTRY_SUFFIXES = (".yaml",)
# Where the with-skill condition's skills land at seed: the environment server uploads the task's
# `environment/skills/` there, and harnesses read the path from the task context.
SKILLS_DIR = "/root/.agents/skills"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

benchmarks/skillsbench/prepare_harbor_env.py:40

Could the one skills location be a path the reference solutions already search? All eight oracles that fail validate look in /app/skills. Four of them also look in /skills (for example 3d-scan-calc solve.sh#L14-L18), which is also the path Harbor's hello-skills example uses (Dockerfile#L9). /skills would let validate cover those four without uploading the skills to several places, and it stays out of the working directory, which /app/skills would not for the tasks that work in /app.

yaoyu-33
yaoyu-33 previously approved these changes Nov 6, 2026

@yaoyu-33 yaoyu-33 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving at c2d8203: no blockers. The notes in the earlier review (narrowing the skills upload, the skills location, and the Compose ordering docs) can land here or as a follow-up.

@yaoyu-33 yaoyu-33 added the ready-to-merge PR is approved, current, and waiting for final CI or merge label Nov 6, 2026
@weijiac0619

Copy link
Copy Markdown
Contributor Author

Approving at c2d8203: no blockers. The notes in the earlier review (narrowing the skills upload, the skills location, and the Compose ordering docs) can land here or as a follow-up.

thank you for the review. resolving the notes in this PR and will push soon

Copy link
Copy Markdown
Contributor

I'll watch this ready-to-merge PR and report substantive progress. Running on nim-gpt-6-1-sol.

Address review on the harbor environment server's task skills upload:

- Upload only when skills_dir is missing or empty in the sandbox, so an
  image that built or trimmed its own skills keeps them.
- Open only the uploaded skill folders (and skills_dir itself when the
  upload created it); refuse a skills_dir of /, the working directory, or
  one only a shell resolves (~, $) as a task error.
- Write the absolute skills_dir to task.json.
- Scope the docstring and README to single sandboxes: a Compose group's
  main has already run its command and image healthcheck before the
  upload. Add a Compose group test.

SkillsBench with-skill tasks now declare skills_dir = "/skills", which
four skill-importing reference solutions search; the with-skill oracle
wrapper links /app/skills to /skills for the length of solve.sh for the
other four.

Docs: Fern notes on source-less entries and task-brought skills, and the
run-and-babysit-eval timeout note now names mini-SWE's own signal.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: weijia chen <[email protected]>
@weijiac0619
weijiac0619 added this pull request to the merge queue Nov 6, 2026
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/42298503083

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/42300340478

@nemo-automation-bot
nemo-automation-bot Bot requested a review from a team November 6, 2026 22:03
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 6, 2026
@weijiac0619
weijiac0619 added this pull request to the merge queue Nov 6, 2026
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/42304576478

Merged via the queue into main with commit e62f8ae Nov 6, 2026
68 checks passed
@weijiac0619
weijiac0619 deleted the weijiac/n4p0-skillsbench branch November 6, 2026 22:40

Copy link
Copy Markdown
Contributor

The PR is no longer an open ready-to-merge PR targeting main.

Copy link
Copy Markdown
Contributor

The PR is no longer an open ready-to-merge PR targeting main.

adil-a added a commit that referenced this pull request Nov 7, 2026
Conflicts:
- data/harbor-tasks.mdx: this PR splits it into data/task-folders/*. Main's new
  text moves to the matching page: the numeric USER note to Task Folder Format
  [agent], the Compose healthcheck user to Multi-Container Tasks, the job-overlay
  startup paragraph (#5186) to its overlay section, and the source-less committed
  entry (SkillsBench) to Author Task Folders. The skills_dir upload (#5699) is
  added to the [environment] table.
- integrate-existing-agents.mdx: keep the Harbor task folders column and take
  main's intro and BrowseComp row. BrowseComp runs task folders only as root,
  because it refuses a task user.
- environment_servers/harbor/README.md: keep the trimmed README. Its facts are
  now on the pages above.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Adil Asif <[email protected]>
adil-a added a commit that referenced this pull request Nov 10, 2026
The Agent Skills note said a task folder's skills_dir must already be in
its image and named one harness. Since #5699 the harbor server uploads
environment/skills/ at seed, and any harness that declares
supports_task_tool_context takes such a task. The note now only says
run-level skills don't apply to task folders yet and links #5640; the
paragraph below is the one description of task skills. Its link moves
to the post-split /main/data/task-folders/harbor-tasks path.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Adil Asif <[email protected]>
shuyixiong pushed a commit to shuyixiong/Gym that referenced this pull request Nov 10, 2026
… harbor server README (NVIDIA-NeMo#5131)

* docs(harbor): document task folders in the job-based nav and trim the harbor server README

Task folders get documented where readers already look, instead of in a separate
top-level "Harbor Tasks" section:

- Prepare Data is retitled Prepare Tasks (URLs unchanged). Its index compares JSONL
  rows plus a Resources Server with task folders, and it holds the task-folder pages:
  Author Task Folders (data/harbor-tasks, same URL as before), Task Folder Format,
  Task Folder Verifiers, Multi-Step Task Folders (data/multi-step-tasks, same URL),
  Multi-Container Tasks and Task Folder Patterns.
- A new Design Agent Interactions section introduces Environment Servers, compares the
  six on main, and documents the harbor Environment Server.
- Reference gains Task Folder Files and Storage, the image builds and environment
  variables in Configuration, and the missing CLI flags; Troubleshooting gains Task
  Folders; the OpenSandbox and Docker pages say how they run task folders.
- The Terminal-Bench 2.1 tutorial is the one task-folder evaluation tutorial.
- Pages that assumed every task is JSONL rows plus a Resources Server now cover both
  paths: architecture, the environments concept page, Configure Agents, Build
  Verifiers, Build Environments, the Contribute checklist, the glossary and the home
  page. AGENTS.md points coding agents to the task-folder path.
- environment_servers/harbor/README.md goes from 24,329 words to about 1,700: what the
  server does, how to run and test it, a code map and a docs map by repo path. The
  dataset READMEs and the .gitignore comment that cited removed README sections now
  point to the docs, and the hello_* examples use the agent name the CLI accepts.

test_fern_docs_links.py pins the evaluation-tutorial link count, which goes from 15 to
20 for the five new links.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Adil Asif <[email protected]>

* docs(sandbox): restructure the Docker provider's Interactive Terminals section

The section was three paragraphs of about 1,300 words. It now has a short intro and
subsections for how a session runs, the pid record, signals and close, errors and
limitations, with the tamper-protection internals in a collapsible block. No facts
were dropped. The pid read's timeout is stated precisely: PID_READ_TIMEOUT_S, or
exec.default_timeout_s when that is shorter.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Adil Asif <[email protected]>

* docs(harbor): correct task-folder wording against current main

A sentence-by-sentence check of the pages this PR adds, against the code on
main, found 95 places where the wording was wrong, stale, imprecise, unclear
or inconsistent across pages. Each finding was re-verified by a second pass
before the fix went in.

The outright errors:
- Sandboxed harnesses (OpenCode, Hermes) call Gym's Model Server on the
  host, not the model endpoint, so only the host must reach `<url>`.
- The 429 entry quoted an error prepare never prints.
- A numeric `[verifier].user` is not resolved to a name.
- A later fetch also re-downloads recorded task folders missing from disk.
- Compose `cpus` and `mem_limit` are accepted.
- `BaseEnvironmentServer` now lives in nemo_gym/server_runtime, and flat
  simple_agent rows run on `single_agent_turn_legacy`.
- The ATIF link pointed at a page main deleted.

The hello_* READMEs now all start a model server with `--model-type
openai_model` and validate on Docker, as hello_world does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Adil Asif <[email protected]>

* docs(harbor): address review comments on task folders

- Say "Harbor task folders" on Prepare Tasks, since a Gym-specific format is
  planned.
- Explain what `--sandbox opensandbox` loads and the order in which the CLI
  composes a task-folder run's configuration.
- State that the task.toml tables are curated and point to Harbor's
  reference, and that the [gym] tables are complete.
- Fix three settings rows: only the first `gpu_types` entry is sent, the
  multipliers' reach, and how a `verifier.environment` override merges.
- Say that `verify` declares only the arguments it uses.
- Link the overview to the top of Author Task Folders, and move "Coming
  from Harbor" up to just after that page's intro.
- Drop a date from the OpenSandbox page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Adil Asif <[email protected]>

* docs(harbor): fix recall-pass findings, cover task folders in Configure Agents, and group Prepare Tasks

Accuracy: a claim-by-claim recall pass over every page this PR touches
(2,248 atomic claims, each checked against main's code) found 216 more
issues that an independent re-check confirmed: 13 wrong, 36 overstated,
13 inconsistent, 20 unclear and 134 omissions. This commit fixes all of
them, each with the fewest words that keep a reader from acting wrongly.
hello_mcp_tool now runs with miniswe_sandboxed_agent, the only model
harness that takes a task's stdio MCP server.

Configure Agents (Hayden's review): the section now covers both task paths.
- Choose a Path names `--agent` for Harbor task folders.
- The sandboxed-harness table says which harnesses run task folders.
- It also explains that task folders use the dataset's `[gym]
  allowed_agents`, not the Resources Server lists.
- Agent Skills and Remote Agent say how they apply to task folders.
- The Pi row now lists its MCP grants.

Prepare Tasks (Hayden's review): the sidebar now has two groups, JSONL
Datasets and Harbor Task Folders, each with a landing page. The JSONL half
of the old Prepare Tasks page becomes the JSONL landing page; the chooser
stays. Pages that main already publishes get redirects.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Adil Asif <[email protected]>

* Remove the redundant example-copy step and group local task reuse

Signed-off-by: haydeniw <[email protected]>

* docs(harbor): clarify task examples and sandbox configuration

Restore links to the hello task examples. Move provider setup and configuration precedence to the Harbor server page, leaving a short setup link in the hub workflow.

Signed-off-by: haydeniw <[email protected]>

* docs(harbor): explain when to use shared and separate verification

Signed-off-by: haydeniw <[email protected]>

* docs(harbor): address review comments from Hayden, Heather and Matt

- Task Folder Verifiers: say which image test.sh runs in (the task's own, or the
  verifier's in separate mode), that verification needs no Dockerfile of its own,
  and how the sample is masked when bash, timeout, tar, gzip or find is missing.
- Prepare Tasks:
  - The "Best fit" row now leads the table.
  - The heading reads "Two kinds of task formats", with every link updated.
  - A short JSONL paragraph says which Environment Server runs JSONL rows.
- JSONL Datasets: an opening line on what JSONL rows fit best; the task-folder
  guide cards are removed.
- Harbor Task Folders: a "Start here" section for Author Task Folders, with
  the other pages under "Guides and reference".
- Architecture, Configure Agents and Design Agent Interactions: apply Heather's
  wording suggestions. The Agent Server intro keeps "it is orchestration code",
  which a docs test asserts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Adil Asif <[email protected]>

* docs(harbor): present task folders without requiring Harbor (NVIDIA-NeMo#5687)

* docs(harbor): rename agent interactions section and drop repeated titles

- Sidebar label "Design Agent-Environment Interactions", page title
  "Design How Agents Interact with Environments"; link text updated.
- Remove the body H1 that repeats the frontmatter title on the pages
  this PR adds or changes (Fern already renders the title).
- Task-folder entry pages: move the Harbor repo link from the first
  sentence into "Coming from Harbor", and say there that results are
  Gym rollouts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(agent-interactions): list only the Environment Servers readers choose

The chooser table now lists single_agent_turn, nemo_user_sim and harbor
in plain language. legacy_agent and single_agent_turn_legacy get one
sentence, since shipped configurations set them, and benchmark-specific
servers such as swe_together get one sentence pointing to the
benchmark's README, so the table does not grow with every benchmark.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(agent-interactions): point routing and episode limits at the code

Routing is done for readers by rollout collection, so the paragraph now
points to SharedRolloutCollectionConfig instead of describing the modes.
The episode limits table keeps what each key means but drops the
per-server defaults, which live in each server's config class.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(agent-interactions): link the full config example instead of a fragment

Replace the partial single_agent_turn YAML block, which duplicated the
runnable example in Integrate Existing Agents and hard-coded per-server
defaults, with a short explanation and a link to that example.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(harbor): keep the only link to Harbor in "Coming from Harbor"

Drop the links to Harbor's repository from the About, architecture,
concepts, terminology and Harbor Environment Server pages, so readers
are not sent off-site from Gym's own explanations. The task folder
format page now says its tables list every key Gym acts on, instead of
sending authors to Harbor's configuration reference.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(data): describe JSONL datasets for evaluation and training

The JSONL Datasets intro read as if JSONL were only for RL training and
ended on a bare "compare" pointer. Say rows serve evaluation or
training, drop the legacy_agent aside, and say when task folders fit
better instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(data): drop the Prerequisites section from JSONL Datasets

"NeMo Gym installed" and the git clone block repeated Installation on a
reference page. Move the no-OpenAI-account note into Data Format.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(data): describe both task formats in plain terms in the chooser

The "What you write" row named internal fields for JSONL rows but
described task folders in everyday terms. Describe both by what they
contain and link each to its format details.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(data): open JSONL and task-folder pages with what a task contains

Both section pages now start by saying what one task holds, in the same
plain terms as the Prepare Tasks chooser, and say when the other format
fits better.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(task-folders): simplify the landing page and sort Harbor compatibility

- Task folders landing page: drop the Harbor sentence from the opening
  and fold "Start here" into the guides table as its first row.
- Compatibility with Harbor: group the items under Supported features,
  What Gym adds, Current limitations and Behavior differences, so a
  reader can tell which is which. The seed transcript row now says what
  it means: a multi-step task that seeds the agent with a transcript
  runs only with the oracle.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(task-folders): fold Behavior differences into where readers look

Clearing /tests before a shared verifier is a protection Gym adds, so it
moves under What Gym adds. Overlay RUN timing is already in the
Dockerfile modes table, and the prebuilt image ENTRYPOINT note now sits
on the docker_image setting, so the separate section goes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(task-folders): state the Compose limit once

Supported features listed Compose "on OpenSandbox", repeating the
limitation already under Current limitations. List the feature alone
and link its page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(harbor): fill in Check the result for the hello examples

Replace the TODO in five hello_* READMEs with the output of
gym dataset validate --sandbox docker, run on this branch, and the
result files to inspect, matching hello_world.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* fix(harbor): accept the hello examples' line without a final newline

The instructions ask for a file containing one line, but the shell tests
also required a trailing newline, so an agent that wrote the line
exactly scored 0. Accept the line with or without one final newline,
as hello_python_verifier's verifier.py already does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* fix(harbor): name the exact greeting in uppercase-greeting's instruction

The verifier accepts only HELLO FROM NEMO GYM!, but the instruction asked
for any uppercase greeting to NeMo Gym, so a reasonable answer such as
HELLO NEMO GYM! scored 0. State the greeting to uppercase.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(task-folders): make Coming from Harbor a short how-to

List what a Harbor user does to run their tasks in NeMo Gym instead of a
paragraph of differences. Drop the digest rule, which Task Folder Format
already covers, and move the note on editing pulled tasks to Pull from
the Harbor hub.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(task-folders): list task MCP servers as supported, not a limitation

Which harness can start task tools is a harness choice that Task Folder
Patterns and Integrate Existing Agents already cover. List task MCP
servers and skills under Supported features with a link there, and drop
the bullet from Current limitations.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(task-folders): rename What Gym adds to Additional features

The list covers a few task-folder features, not what NeMo Gym offers as a
whole. Under Compatibility with Harbor, Additional features keeps that
scope and matches Supported features and Current limitations.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(harbor): describe the hello examples in NeMo Gym's own terms

The hello examples are a new user's first task folders, but they defined
datasets and dataset.toml through Harbor and mentioned publishing for
Harbor. Describe them in NeMo Gym's terms, keep one compatibility line
in hello_world, and say task folder, the term the docs use.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

* docs(task-folders): fix two statements flagged in review

Point readers at each Environment Server's shipped configs, whose limits
differ from the config class defaults, and state that a single-step
task's root trajectory.json is refused for model harnesses too, not only
a multi-step task's first-step transcript.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

---------

Signed-off-by: Chris Wing <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>

* docs(harbor): document the two settings local Docker runs need

From Chris Wing's run of the hello_* examples on macOS with Docker Desktop:
- When the hostname resolves to loopback or to nothing, the run stops with
  `Cannot resolve host ... for use_absolute_ip=true`. Add
  `+default_host=<LAN IP>`.
- OpenCode's default `max_output_tokens` (131,072) exceeds caps such as
  gpt-4.1's 32,768, so every call is rejected and each task scores 0. Set
  `++opencode_agent.responses_api_agents.opencode_agent.max_output_tokens`.

hello_world's Run it section explains both, and the other hello_* READMEs link to
it. Troubleshooting covers the resolve error and adds an entry for an all-zero
OpenCode run.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Adil Asif <[email protected]>

* Revert "docs(harbor): document the two settings local Docker runs need"

This reverts commit b86804a. The local Docker workarounds move to the follow-up
code PR that fixes their causes, so that the docs and the fixes land together.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Adil Asif <[email protected]>

* docs(skills): describe task-folder skills once and match the seed upload

The Agent Skills note said a task folder's skills_dir must already be in
its image and named one harness. Since NVIDIA-NeMo#5699 the harbor server uploads
environment/skills/ at seed, and any harness that declares
supports_task_tool_context takes such a task. The note now only says
run-level skills don't apply to task folders yet and links NVIDIA-NeMo#5640; the
paragraph below is the one description of task skills. Its link moves
to the post-split /main/data/task-folders/harbor-tasks path.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Adil Asif <[email protected]>

* docs(skills): state the run-level skills gap without linking the issue

Docs that link an open issue go stale when it closes. State that task
folders don't yet support run-level skills, and leave tracking to NVIDIA-NeMo#5640.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Chris Wing <[email protected]>

---------

Signed-off-by: Adil Asif <[email protected]>
Signed-off-by: haydeniw <[email protected]>
Signed-off-by: Chris Wing <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: haydeniw <[email protected]>
Co-authored-by: Chris Wing <[email protected]>

This branch was previously deployed

1 inactive deployment
public — e1ec7b38 Deployed Nov 6, 2026 by copy-pr-bot[bot] via release / finalize / notify #10744
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge PR is approved, current, and waiting for final CI or merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants