Repository navigation
Private runtime: prepared packages, native loading and evidence over the existing engine - #264
Conversation
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
…sults Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
…ures Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
6e80aec to
834a636
Compare
rng1995
left a comment
There was a problem hiding this comment.
Automated review: 19 findings (1 P1, 12 P2, 6 P3); 19 posted inline.
Reviewed at 834a636. The trial merge with main a61e1f3 is clean. From #301, only the text of audit rows for unresolved members changes. Please start with the P1. The other comments cover native staging and load evidence per client, the combined dataset, the setup-network retry, the results directory, and the retry and transport rules.
Resolve agent routing before worker dispatch, collect evidence before engine cleanup, preserve native member layout and portable with-arm MCP configuration, and verify the complete prepared source. Classify setup failures across private arms and inspect causal HTTP/TLS failures before retrying. Add regression and local integration coverage and clarify shared transport release behavior. Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Re-review at 51942eb (85795cf plus two clean merges of main).
All 19 findings from the previous review are fixed. I re-ran each original reproduction against this head, and each now behaves correctly. The checks covered the real worker pool for the P1, retries through real Harbor result models and the collector, native layouts with the generated setup.sh, the MCP projections, and the fixture and eval-leak cases on relative and unresolved macOS roots. They also covered LiteLLM Bedrock against loopback 501/505 and self-signed TLS servers, source-tree identity mutations, and the init matrix.
Not approving yet. The fix commit ad90f05 introduces the regressions below: 1 P1, 3 P2 and 3 P3, all reproduced at this head. The P1 is a credential-forwarding path in the native Claude Code MCP projection. The P2s are:
- native runs fail on plugins without a root
evals/directory; - wrapper-mode runs crash on backend-specific agent wrappers;
- direct Tier 3 skills lose non-dataset
eval/directories.
CI: the only failure, test_streamed_exec_cancellation_reaps_descendants, also fails on main at d82cfe0, so it is not caused by this PR. The trial merge with main at 765ab5e is clean.
…g regressions - Apply the task MCP credential policy (validate_mcp_server_declarations) to the native Claude Code .mcp.json, so a plugin cannot forward operator credentials or stage literal secrets through env, headers or URLs. - Rewrite foreign plugin-root placeholders in declared MCP env and headers. - Ignore directories without files in the source-tree identity, so the default <plugin>/evals/results no longer fails native staging; refuse a results directory inside the plugin source up front. - Keep a custom backend's agent route when no setup error wrapper exists, and record an unsupported native route as a pre-execution failure. - Strip a legacy eval/ only when it holds dataset.*, so runtime helpers in eval/ still reach the agent in direct Tier 3 and plugin copies. - Reset native evidence before each attempt and keep host-only PrivateLocal* wrappers out of the remote-backend import-path gate. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
Bind generated results to a separate runtime guard while retaining canonical source provenance and support for custom output locations. Reuse secure copy exclusions for wrapper members, including authenticated previous outputs. Validate native MCP declarations against each task environment before staging, including cached bundles and client-owned path placeholders. Reset attempt state before dispatch and persist unsupported native routes before preparation. Cover cross-client staging, custom backend routes, retries, filesystem aliases, and runtime helper preservation. Scope the synthetic credential fixture scan exception to its exact value and test paths. Signed-off-by: Christopher Kevin <[email protected]>
${CLAUDE_PLUGIN_ROOT:-.} and similar defaults are client-expanded paths, so
they no longer trip the operator-credential check. A default that names
another variable is still validated, so it cannot hide a credential.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]> # Conflicts: # src/skillevaluator/tier3/harbor/runner.py
Signed-off-by: Narendran Raghavan <[email protected]>
* docs(changelog): move entries released in 0.7.0-0.7.2 out of Unreleased 0.7.0 (#314) and 0.7.1 (#327) never cut their sections on main, and 0.7.2 (#335) added its section below the whole Unreleased block, so Unreleased still listed work that had already shipped. Place each Unreleased entry under the release that shipped the PR that added it: - 0.7.0: the published section from the 0.7.0 tag, verbatim. It already holds the six entries that main had filed under 0.6.0, so 0.6.0 again matches the v0.6.0 tag, including the original run_config.json entry. - 0.7.1: #264 #271 #274 #281 #284 #289 #293 #299 #316 #317 #318 #323 #324 #326 #327, plus the #320 wording of the Windows Git-root entry, since #320 changed that 0.7.0 fix in 0.7.1. - 0.7.2: #263 #265 #269 #270 #276 #279 #287 #290 #296 #309 #328 #330 merged with the existing #335 entries. Only post-v0.7.2 entries stay under Unreleased, with one heading per subsection. Entry text is unchanged, apart from the published tag wording in 0.7.0 and 0.6.0. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore(release): prepare v0.8.0 Set the package, fallback, lock, citation and developer-guide versions to 0.8.0 and move every entry merged since v0.7.2 under '## 0.8.0 - 2026-11-05', leaving Unreleased empty. The refusal-fallback documentation test now reads the release section that names CLAUDE_CODE_DISABLE_REFUSAL_FALLBACK, requires it to be 0.8.0, and requires exactly one entry there to name the switch. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore(release): pin the verified 0.8.0 Tier 1 image and add its CI bundle Pin onboarding to the Tier 1 image published by the reviewed main revision 55d2d04 in "Build and publish Tier 1 image" run 42158955180: ghcr.io/nvidia/skillevaluator-tier1@sha256:9d5483243918937be4f2178f74cf7c622a531dee41e3176906994d52fa14950a (config sha256:d17d6f5105ec5f1bf0cbe4dff0d693aae4ecf01e9c1c6a6ddb7830518acace33). The workflow and publisher refs both move to 55d2d04. ci/bundles/0.8.0 mirrors the 0.7.2 bundle. The templates, README and release.json are the run's github-actions-onboarding artifact and match ci/render_templates.py output for these pins byte for byte. The scanner inventory and verification receipt come from the build's runtime-stage version step, the five-case smoke receipt, the onboarding job's anonymous pull, and the public manifest, whose config digest equals the smoke-tested image ID. The ZIP uses the 0.7.2 layout (sorted members, inner checksums, 1980 timestamps, 0644, deflate level 9) and rebuilds to identical bytes. Point the current-bundle links at 0.8.0 and list 0.7.2 as historical. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]> --------- Signed-off-by: Narendran Raghavan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
Summary
Adds a private evaluation runtime over the existing
EvaluationServiceand Harbor runner.Public CLI activation remains disabled. Baselines receive no plugin components; private baseline agents participate in setup-failure classification. Ordinary runtime helpers under
eval/remain available; recognized datasets stay verifier-only.Verification
make lintmake buildand verified an isolated installation of the resulting wheelmake testwith four workers: 19,035 passed, 30 skipped, one malformed-proxy classification assertion failedFocused checks cover real Harbor result models, worker-thread dispatch, task generation, cleanup/cancellation, setup retries, filesystem aliases and source changes, and HTTP/TLS SDK behavior. Generated runtime helper paths passed offline Docker execution. Installed client checks validate generated native configuration, and installed OpenCode completed a real local stdio MCP handshake and tool discovery.
The failing proxy-preflight case passed three isolated reruns on the final commit and three on its parent. Its test and owning production files are unchanged; the full-suite failure was not reproduced and is retained here as a validation limitation.
Live model/provider-backed evaluation, remote backend execution and MCP tool invocation remain unverified; integration validation used isolated local clients and containers without provider credentials. Repeated custom in-source output runs can reuse a bound prepared package; fresh preparation still enforces the existing source-link policy.
Release Impact
CHANGELOG.md