Repository navigation
fix: avoid redundant Node/npm during Docker agent setup - #193
Merged
Merged
Conversation
Signed-off-by: Christopher Kevin <[email protected]>
Resolved the CHANGELOG.md conflict under Unreleased by keeping both Fixed entries. Signed-off-by: Narendran Raghavan <[email protected]>
On apt images the CA bundle used by the Codex NVM and Claude Code bootstrap downloads arrived only as a dependency of the npm package. With Node/npm skipped, images that already have curl but no CA bundle failed setup with curl error 77. The installer probe now also checks for a CA bundle and requests Harbor's ca_certificates dependency when none is present. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
reviewed
Oct 14, 2026
rng1995
left a comment
Collaborator
There was a problem hiding this comment.
Automated review: 2 findings (0 P1, 1 P2, 1 P3); 2 posted inline.
Skipping the distribution nodejs/npm packages also removes npx and the gcc/g++/make toolchain those packages pulled in on Debian-based images, so Claude Code containers have no Node.js and neither agent has a compiler. Record the change in the CHANGELOG and show skill authors how to install these tools through scripts/apt-packages.txt or a custom Dockerfile. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
marked this pull request as ready for review
October 14, 2026 02:53
rng1995
added a commit
that referenced
this pull request
Oct 14, 2026
Resolve conflicts with #193: keep both imports in local_agents.py (provider_config model checks and the installed-agent classes) and both sides' Changed and Fixed entries in CHANGELOG.md. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
added a commit
to mavericksea-ai/SkillEvaluator
that referenced
this pull request
Oct 14, 2026
Resolve the CHANGELOG.md conflict with NVIDIA#188 and NVIDIA#193 by keeping both sides' Fixed entries. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
added a commit
that referenced
this pull request
Oct 14, 2026
Resolve the CHANGELOG.md conflict with #188 and #193 by keeping both sides' Fixed entries. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
added a commit
to YMuskrat/SkillEvaluator
that referenced
this pull request
Oct 14, 2026
Resolve the CHANGELOG.md conflict with NVIDIA#188 and NVIDIA#193 by keeping both sides' Fixed entries. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
added a commit
to YMuskrat/SkillEvaluator
that referenced
this pull request
Oct 14, 2026
Resolve the CHANGELOG.md conflict with NVIDIA#188 and NVIDIA#193 by keeping both sides' Fixed entries. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
added a commit
to YMuskrat/SkillEvaluator
that referenced
this pull request
Oct 14, 2026
Resolve the CHANGELOG.md conflict with NVIDIA#188 and NVIDIA#193 by keeping both sides' Fixed entries. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
added a commit
to YMuskrat/SkillEvaluator
that referenced
this pull request
Oct 14, 2026
Resolve the CHANGELOG.md conflict with NVIDIA#188 and NVIDIA#193 by keeping both sides' Fixed entries. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
added a commit
that referenced
this pull request
Oct 14, 2026
Conflicts: - src/skillevaluator/tier3/harbor/runner.py: main (#193) routes Docker agents through DOCKER_AGENT_IMPORT_PATHS so Codex and Claude Code skip the redundant distribution Node/npm bootstrap; the branch widened the Docker branch to HARBOR_DOCKER_ENGINE_ENV_MODES and picks the Kata environment for --env-mode kata. Kept the branch's docker+kata branch and Kata environment selection, and resolved the agent through main's wrapper lookup, so Kata (which runs the same hardened Docker backend and container installers) gets the same bootstrap behaviour. An explicit agent_import_path still wins. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
added a commit
that referenced
this pull request
Oct 14, 2026
Main now routes Docker-engine trials through DOCKER_AGENT_IMPORT_PATHS (#193), and the merge applies that lookup to --env-mode kata as well, so test_kata_runs_the_hardened_kata_backend expects the SkillEvaluatorCodex import path instead of the bare "codex" agent name. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
added a commit
that referenced
this pull request
Oct 14, 2026
Brings in #184, #187 (SkillSpector version in the HTML report), #188 (GPT-6.1 Sol / Claude Opus 5.5 defaults, reasoning effort, structured output, token sizing, refusal fallback), #191 (multiline catalog descriptions), #193 (Docker agent bootstrap) and #199 (per-step token runtime-failure detection). Conflicts: - .gitleaks.toml: keep every allowlist from both sides (the PR's three history allowlists and main's Bedrock model ID allowlist). - CHANGELOG.md: every entry from both sides under Unreleased, one Added, Changed, Fixed and Security heading each; the shared docs entry once. - deduplication/intra_skill/intra_skill_validator.py: the client keeps the PR's LLM_VERIFY_MAX_TOKENS and gains main's medium reasoning effort. - deduplication/intra_skill/llm_analyzer.py: the PR's bounded prompt and verdict parsing, with main's structured-output schema request. - embedding/registry.py: keep the PR's _embed_texts refactor (main only reformatted the old loop); main's multiline-description check merged. - inference/__init__.py: export both sides' names. - reporting/html.py: the PR's run-status tables plus main's SkillSpector version helper; is_tier2_validator_name stays in run_status.py. - tier3/eval_core/llm_judge.py: drop _is_native_openai_chat_url (removed by main) and _configured_secret_values (moved by the PR). - tier3/harbor/collector.py: keep the PR's shared-metric pass lift and main's judge-model helpers; _compute_lift takes main's per-trial rewards and the PR's keyword-only N/A lists, and its overall uses the paired scores with the PR's N/A-aware basket check; lift.json keeps the PR's _paired_lift. - tier3/harbor/local_agents.py: the PR's SkillEvaluatorCodex (subagent rollouts, setup network errors) now extends main's bootstrap-aware installed_agents.SkillEvaluatorCodex; NVIDIA Build Claude Code keeps SetupNetworkErrorAgent on main's SkillEvaluatorClaudeCode. - tier3/harbor/runner.py: imports from both sides; Docker uses main's DOCKER_AGENT_IMPORT_PATHS, other Harbor backends the PR's HARBOR_AGENT_IMPORT_PATHS; agent kwargs from main's _harbor_agent_kwargs. - tier3/harbor/templates/eval.py: the PR's skill-metric N/A helpers and allow_not_applicable judges, with main's 16,384-token judge ceiling and judge_model_used / reasoning effort / fallback provenance. - utils/tool_runner.py: main's pinned SkillSpector v2.12.0 hint plus the PR's scanner hints. - validators/security.py: imports from both sides. - tests/inference/test_llm_client.py: keep both sides' tests. - tests/test_harbor_local_mode.py: main's parametrized Docker route check plus the PR's Codex subclass assertion. - tests/tier3/test_judge_parse_robustness.py: the PR's partial-salvage assertions plus main's new provenance and refusal tests. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
added a commit
that referenced
this pull request
Oct 14, 2026
…pper Main's #193 routed Docker Codex to installed_agents.SkillEvaluatorCodex, which skips the redundant distribution Node/npm install. The PR routed it to local_agents.SkillEvaluatorCodex, which converts the main thread's rollout when Codex spawns subagents and renames setup network failures for --trial-retries. The merge made the PR's class extend main's, so DOCKER_AGENT_IMPORT_PATHS now names local_agents.SkillEvaluatorCodex and Docker Codex keeps all three behaviours. The Docker route test expects that class and the bootstrap test covers it. The trial-retries fixture answers the bootstrap's local installer-branch probe like a glibc image with a CA bundle, so the network failure still comes from the install step it is testing. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
added a commit
to kweinmeister/SkillEvaluator
that referenced
this pull request
Oct 16, 2026
Brings in NVIDIA#188 (GPT-6.1 Sol / Claude Opus 5.5 defaults, reasoning effort, refusal handling, per-model token sizing), NVIDIA#193 (Docker agent Node/npm bootstrap) and NVIDIA#199 (per-step token runtime-failure evidence). Conflicts: - src/skillevaluator/inference/client.py: keep main's per-provider _openai_kwargs builder, reasoning effort and _extract_choice_content refusal/truncation checks; wrap that call in the PR's one-shot ADC token refresh on 401 for Vertex AI OpenAPI endpoints. - src/skillevaluator/tier3/harbor/runner.py: import both sides' provider_config names; docker and gke share the PR's branch, with docker defaulting to main's DOCKER_AGENT_IMPORT_PATHS and gke to the PR's CONTAINER_AGENT_IMPORT_PATHS, and the GKE secure environment kept. - src/skillevaluator/tier3/harbor/templates/eval.py: take main's _call_openai_compatible refactor (refusal fallback, empty-reply fallback, judge-call recording) and move the PR's Vertex ADC 401 refresh into _call_openai_compatible. - tests/test_provider_agent_routing.py: union of both sides' imports. - tests/validators/test_security.py: keep the PR's Vertex ADC SkillSpector tests and main's SkillSpector model/effort tests. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
added a commit
to kweinmeister/SkillEvaluator
that referenced
this pull request
Oct 16, 2026
…t bootstrap After merging main, local_agents imported main's installed_agents SkillEvaluatorClaudeCode (Node/npm bootstrap fix from NVIDIA#193) and then redefined the name with this branch's Vertex AI / MCP wrapper, so the NVIDIA Build Claude wrapper lost main's bootstrap fix and Docker mode lost this branch's Vertex AI routing. - local_agents.SkillEvaluatorClaudeCode now extends the installed-agent wrapper, so Docker, GKE, and NVIDIA Build Claude Code keep both the installer fix and Vertex AI routing. - DOCKER_AGENT_IMPORT_PATHS routes claude-code to that container wrapper; Codex keeps main's installed-agent wrapper. - The Docker import-route test expects the container wrapper, and the repaired-bootstrap test also covers it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
added a commit
that referenced
this pull request
Oct 16, 2026
Brings in main through 3d91107, including #182 (Kata), #188 (model defaults), #193 (Docker agent bootstrap), and #77 (publication evidence). Kata, Runta, and Mosaic are all exposed: 26 Harbor-native backends plus local, 27 modes in total. cua-cloud, opensandbox, hf-sandbox, podman, prime, and smol stay disabled. Conflicts: - src/skillevaluator/tier3_environments.py: the registry-only comment lists the six backends that remain unexposed. - src/skillevaluator/tier3/harbor/runner.py: took main's Sequence import and staged_task_paths.extend(task_paths) for the #77 runtime-binding check. The Mosaic staging check from this branch stays after it. - docs/cli-reference.mdx, docs/tier3-live-evaluation.mdx, docs/agents-and-sandboxes.mdx: 27 modes / 26 Harbor-native backends, with kata, runta, and mosaic listed. The disabled list is the six above. Kept main's Kata kwarg notes, and kept both main's Podman rationale and this branch's Prime/Smol rationale. - tests/test_harbor_environment_contract.py: kept main's Kata tests and this branch's Runta/Mosaic tests. - tests/test_harbor_local_mode.py: the unexposed-backend set is the six above. - tests/test_oss_packaging.py: 27 environments, 26 native, and matching doc counts. - CHANGELOG.md (auto-merged into the released 0.5.0 section): restored 0.5.0 to main's text. Moved the Runta/Mosaic entry to Unreleased/Added, and folded the backend count into main's Unreleased/Changed Kata entry (24th-26th backends, six still disabled). Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
added a commit
that referenced
this pull request
Oct 19, 2026
…seline's wrapper Decision 4. On Docker, Kata and GKE the baseline, skills-only and sum-of-parts arms run Claude Code through main's container wrapper (local_agents.SkillEvaluatorClaudeCode: Vertex AI routing, the #193 installer that skips the Node/npm packages, setup network failures renamed), but the native plugin arm and the loose-parts arm built on Harbor's stock ClaudeCode. A ladder run therefore compared arms with different routing and installers, and a Vertex AI run sent the plugin arms through the direct Anthropic path. - runner: _default_agent_import_path names the agent each environment runs without a routing wrapper (the same choice build_harbor_run_command makes, which now uses it), and _arm_base_import_paths gives each agent's arm base: the routing wrapper, else that default. The native and loose-parts wrappers are looked up over this base. - NativeContainerClaudeCode and LoosePartsContainerClaudeCode add the plugin launch rewrite to the container wrapper; the native table maps the Docker Codex wrapper to NativeCodex, which already builds on it. Harbor-native backends keep the stock agent in every arm, NVIDIA Build keeps its routing wrapper in every arm, and local mode still refuses native loading. - Docs: the native and loose-parts arms share the other arms' agent. Tests (tests/tier3/test_plugin_arm_agent_parity.py): on Docker and Kata both plugin arms subclass the baseline's container wrapper with the same installer, auth resolution and setup; on GKE they build on it and are allowed there; on a Harbor-native backend all arms keep the stock agent; NVIDIA Build routing reaches both plugin arms; Vertex settings reach both plugin arms (auth env, no inferred API key, direct credentials unset). Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
11 tasks done
chrisknvidia
added a commit
that referenced
this pull request
Oct 30, 2026
* fix: avoid redundant Docker agent Node bootstrap Signed-off-by: Christopher Kevin <[email protected]>
chrisknvidia
pushed a commit
that referenced
this pull request
Oct 30, 2026
* fix(tier3): install a CA bundle when skipping Docker agent Node/npm * docs: note that Docker agent setup no longer installs Node/npm Signed-off-by: Narendran Raghavan <[email protected]>
chrisknvidia
pushed a commit
that referenced
this pull request
Oct 30, 2026
Brings in #184, #187 (SkillSpector version in the HTML report), #188 (GPT-6.1 Sol / Claude Opus 5.5 defaults, reasoning effort, structured output, token sizing, refusal fallback), #191 (multiline catalog descriptions), #193 (Docker agent bootstrap) and #199 (per-step token runtime-failure detection). Conflicts: - .gitleaks.toml: keep every allowlist from both sides (the PR's three history allowlists and main's Bedrock model ID allowlist). - CHANGELOG.md: every entry from both sides under Unreleased, one Added, Changed, Fixed and Security heading each; the shared docs entry once. - deduplication/intra_skill/intra_skill_validator.py: the client keeps the PR's LLM_VERIFY_MAX_TOKENS and gains main's medium reasoning effort. - deduplication/intra_skill/llm_analyzer.py: the PR's bounded prompt and verdict parsing, with main's structured-output schema request. - embedding/registry.py: keep the PR's _embed_texts refactor (main only reformatted the old loop); main's multiline-description check merged. - inference/__init__.py: export both sides' names. - reporting/html.py: the PR's run-status tables plus main's SkillSpector version helper; is_tier2_validator_name stays in run_status.py. - tier3/eval_core/llm_judge.py: drop _is_native_openai_chat_url (removed by main) and _configured_secret_values (moved by the PR). - tier3/harbor/collector.py: keep the PR's shared-metric pass lift and main's judge-model helpers; _compute_lift takes main's per-trial rewards and the PR's keyword-only N/A lists, and its overall uses the paired scores with the PR's N/A-aware basket check; lift.json keeps the PR's _paired_lift. - tier3/harbor/local_agents.py: the PR's SkillEvaluatorCodex (subagent rollouts, setup network errors) now extends main's bootstrap-aware installed_agents.SkillEvaluatorCodex; NVIDIA Build Claude Code keeps SetupNetworkErrorAgent on main's SkillEvaluatorClaudeCode. - tier3/harbor/runner.py: imports from both sides; Docker uses main's DOCKER_AGENT_IMPORT_PATHS, other Harbor backends the PR's HARBOR_AGENT_IMPORT_PATHS; agent kwargs from main's _harbor_agent_kwargs. - tier3/harbor/templates/eval.py: the PR's skill-metric N/A helpers and allow_not_applicable judges, with main's 16,384-token judge ceiling and judge_model_used / reasoning effort / fallback provenance. - utils/tool_runner.py: main's pinned SkillSpector v2.12.0 hint plus the PR's scanner hints. - validators/security.py: imports from both sides. - tests/inference/test_llm_client.py: keep both sides' tests. - tests/test_harbor_local_mode.py: main's parametrized Docker route check plus the PR's Codex subclass assertion. - tests/tier3/test_judge_parse_robustness.py: the PR's partial-salvage assertions plus main's new provenance and refusal tests. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
chrisknvidia
pushed a commit
that referenced
this pull request
Oct 30, 2026
…pper Main's #193 routed Docker Codex to installed_agents.SkillEvaluatorCodex, which skips the redundant distribution Node/npm install. The PR routed it to local_agents.SkillEvaluatorCodex, which converts the main thread's rollout when Codex spawns subagents and renames setup network failures for --trial-retries. The merge made the PR's class extend main's, so DOCKER_AGENT_IMPORT_PATHS now names local_agents.SkillEvaluatorCodex and Docker Codex keeps all three behaviours. The Docker route test expects that class and the bootstrap test covers it. The trial-retries fixture answers the bootstrap's local installer-branch probe like a glibc image with a CA bundle, so the network failure still comes from the install step it is testing. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
chrisknvidia
pushed a commit
that referenced
this pull request
Oct 30, 2026
…seline's wrapper Decision 4. On Docker, Kata and GKE the baseline, skills-only and sum-of-parts arms run Claude Code through main's container wrapper (local_agents.SkillEvaluatorClaudeCode: Vertex AI routing, the #193 installer that skips the Node/npm packages, setup network failures renamed), but the native plugin arm and the loose-parts arm built on Harbor's stock ClaudeCode. A ladder run therefore compared arms with different routing and installers, and a Vertex AI run sent the plugin arms through the direct Anthropic path. - runner: _default_agent_import_path names the agent each environment runs without a routing wrapper (the same choice build_harbor_run_command makes, which now uses it), and _arm_base_import_paths gives each agent's arm base: the routing wrapper, else that default. The native and loose-parts wrappers are looked up over this base. - NativeContainerClaudeCode and LoosePartsContainerClaudeCode add the plugin launch rewrite to the container wrapper; the native table maps the Docker Codex wrapper to NativeCodex, which already builds on it. Harbor-native backends keep the stock agent in every arm, NVIDIA Build keeps its routing wrapper in every arm, and local mode still refuses native loading. - Docs: the native and loose-parts arms share the other arms' agent. Tests (tests/tier3/test_plugin_arm_agent_parity.py): on Docker and Kata both plugin arms subclass the baseline's container wrapper with the same installer, auth resolution and setup; on GKE they build on it and are allowed there; on a Harbor-native backend all arms keep the stock agent; NVIDIA Build routing reaches both plugin arms; Vertex settings reach both plugin arms (auth env, no inferred API key, direct credentials unset). Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
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
Codex and Claude Code Docker jobs can exhaust agent setup before inference because Harbor 0.24 installs distribution Node/npm before running an installer that supplies its own runtime. Codex uses NVM on glibc, and Claude uses its native installer outside the apk branch.
Use narrow SkillEvaluator agent subclasses that match each installer's platform branch before provisioning Node/npm. Route native Docker agents, gateway Codex, and NVIDIA Build wrappers through the repair. Keep Harbor's installers, requested-version checks, other system dependencies, local installation bypass, and report agent names intact. System Node/npm is still installed for Codex's musl fallback and Claude's apk fallback.
Verification
CHANGELOG.md; CLI options and onboarding commands are unchangedmake lint PYTHON=.venv/bin/pythonsuccessfully843b672make testcompleted successfully — the duplicate macOS run was interrupted at 33% after CI finished; it recorded seven failure markers and did not produce a reliable final summary. Separate checks reproduced five process-output/Bedrock deadline failures on unmodifiedmain; this does not classify every failure in the interrupted run.make build PYTHON=.venv/bin/pythonsuccessfully[all]with isolateduv tool install --python 3.13, and verified both default Docker classes load from the installed package through Harbor's factory843b672, and verified package provenance plus both Docker routes from that installed toolReal Harbor setup through SkillEvaluator's secure Docker environment passed with fresh containers and actual vendor downloads/package installation:
Verified Codex 0.124.0 and Claude Code 2.1.296. Debian skipped redundant Node/npm; Alpine provisioned them using apk. All test-owned containers were deleted. The unmodified Codex installer exceeded a separately bounded 90-second setup window at its Node/npm apt step.
Model inference and evaluator grading were not run because provider credentials were unavailable in the test session. These are real setup and package-installation checks, not complete scored evaluations.
Release Impact
CHANGELOG.md