Repository navigation
test(e2e): consume v0 export for hosted parity - #11813
Conversation
Failure: issue #11810 had no retained comparison contract for the pinned v0 Linux/Docker OpenClaw deployment and its closest v1 hosted NVIDIA inference desired state. Decision: retain the exact v0 manifest, add the credential-reference-only v1 fixture, and require clean revisions, owned fresh state, redacted v0 proof, real agent verification, stable identities, export/reapply, and destroy evidence before emitting the architectural-difference verdict. Validation: cargo fmt --check; cargo clippy --workspace --all-targets -- -D warnings; cargo test --workspace. The hosted live test remains ignored and was not run because no owned Linux deployment or credential was supplied.
|
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. |
A fresh Linux ARM64 build produced an immutable Fabric image digest that differed from the SDK fixture pin, so the live parity scenario could not run on a clean daemon. Keep the desired-state fixture pinned, but permit one explicitly acknowledged nc-prototype-fabric digest in the copied live input and require that exact digest to exist in the owned Docker daemon. Tags, alternate repositories, uppercase digests, and unacknowledged changes remain rejected. Validated with cargo fmt --check, cargo clippy --workspace --all-targets -- -D warnings, cargo test -p nemoclaw-e2e --test hosted_parity, and cargo test --workspace.
|
Local exploratory validation update for #11810 I exercised the first hosted NVIDIA/OpenClaw comparison locally using an Ubuntu 24.04 ARM64 controller against Docker Desktop for macOS. This is feedback from an unofficial local environment, not native-Linux qualification evidence and not a parity verdict. What passed:
What failed: The v1 initial apply stopped at Read-only inspection showed that Docker Desktop canonicalized the requested gateway bind source from Interpretation and next steps:
|
The behavioral scenario first failed because no v0 export translation boundary existed. Translate the pinned v0 export strictly into a new v1 desired state, require explicit v1-only runtime bindings, bind evidence to the export and execution environment, and compare the v1 export with the translation. Unknown v0 fields fail closed; this does not migrate runtime state. Validated with the focused hosted_parity test, cargo fmt --check, cargo clippy --workspace --all-targets -- -D warnings, cargo test --workspace, and git diff --check.
The pinned canonical target cleaned up before the scenario could retain a configuration export, so the v1 translation gate had no reproducible live input. Add a hash-pinned validation overlay and fail-closed wrapper that probe the real agent, export before cleanup, and finalize redacted proof only after target cleanup succeeds. Document the least-friction disposable ARM64 Brev path without making architecture part of the generic Linux gate. Validation: cargo fmt --check; cargo clippy --workspace --all-targets -- -D warnings; cargo test --workspace; focused hosted_parity and hosted_parity_tools tests; shellcheck; bash -n; node --check; git diff --check; independent documentation review.
|
Harness handoff after exploratory validation The next step should replace the v0 source overlay with a v1-owned black-box driver. Do not repair or extend Suggested implementation boundary:
Test-first shape:
Useful live evidence already obtained:
Keep #11810 as the parent objective. This PR should remain draft until the overlay is removed, the behavioral driver tests pass, and a complete native-Linux v0-export-to-v1 lifecycle produces a redacted verdict. |
Failure: the first design coupled parity validation to a patched pinned v0 harness and same-host proof, which made reusable export artifacts and independent v1 validation unnecessarily inseparable. Docker Desktop also rewrites the declared Docker socket source, causing otherwise equivalent managed gateway observation to fail. Decision: consume exact-hash redacted v0 YAML with explicit source identity, strictly translate it into v1 desired state with separately bound runtime artifacts, and run the complete v1 lifecycle behind issue-specific qualification and feedback gates. Remove the v0 capture overlay and accept only Docker Desktop's exact socket proxy rewrite when daemon identity confirms Docker Desktop. Validation: cargo fmt --check; cargo clippy --workspace --all-targets -- -D warnings; cargo test --workspace. A feedback-only Docker Desktop run reached sandbox creation and intentionally failed on the preserved v0 process principal: the policy requires sandbox while the selected v1 Fabric image provides node. The owned deployment was destroyed and the failed verdict retained.
|
Local feedback update for the first #11810 scenario (not qualification evidence): The scenario now consumes an exact-hash, redacted v0 YAML artifact and drives the v1 lifecycle independently. It no longer patches or runs the v0 harness. The checked-in synthetic artifact is modeled from v0 revision The Docker Desktop feedback run used an Ubuntu 24.04 ARM64 controller, LinuxKit kernel What we learned:
That third result is the first real v0→v1 compatibility blocker found by this scenario. The v0 OpenClaw policy declares No hosted inference request was made. The result remained The product decision before the native Linux/Brev run is whether:
I recommend deciding that compatibility rule explicitly rather than changing the synthetic artifact to Checks for |
|
v1 documentation preview: https://nvidia-preview-nemoclaw-v1-pr-11813.docs.buildwithfern.com/nemoclaw |
Failure: merging the latest v1 changed the harness and inference schema, and the translated v0 sandbox:sandbox principal is absent from the current Fabric image. The earlier Docker Desktop observer exception also expanded beyond the native-Linux scenario. Decision: update the strict translator for the current schema, require declared source and target process principals plus a reviewed decision reference, pin the current gateway contract, assert exact resource identities, and remove the Desktop-specific SDK behavior. Validation: cargo test -p nemoclaw-e2e --test hosted_parity; cargo fmt --check; cargo clippy --workspace --all-targets -- -D warnings; cargo test --workspace; python3 tools/docs/fern.py check; git diff --check. No live deployment or Brev resource was run.
|
Refreshed this draft after merging current The scenario is now a strict consumer of a real, hashed v0 export rather than a patch to a v0 E2E test. It is aligned with the current v1 harness/inference schema, requires an explicit source/target process-principal binding, records the mapping decision reference, pins the current SDK gateway image, and asserts exact lifecycle resource identities. The earlier Docker Desktop observer exception was removed, so the baseline remains native Linux/Docker. All focused and workspace checks listed in the updated description pass. I intentionally stopped before another Brev/live run. The concrete review needed before that run is whether |
…ted-parity Resolve the validation index by retaining both the hosted parity scenario and the new native-inference blocker record. Adapt the strict v0 translator and expected fixture to v1's sandbox-owned harness selection. The focused test first failed because Agent no longer exposes harness, then passed after the scope-preserving update. Validation: cargo test -p nemoclaw-e2e --test hosted_parity; cargo fmt --check; cargo clippy --workspace --all-targets -- -D warnings; cargo test --workspace; python3 tools/docs/fern.py check; git diff --check. No live or Brev test was run.
|
Final pre-live refresh: The focused test first failed at compile time because Still intentionally not run: any live deployment or Brev test. The principal-mapping review and exact v0 export remain the next gates described above. |
|
CI note at final pushed head Local required checks remain green. The docs and image workflows are still pending at the time of this note. |
Failure: the live harness rejected an otherwise valid curated export unless the operator supplied an expected hash and nonempty producer identity, coupling v1 execution to formal v0 provenance. Decision: treat v0 exports as manually reviewed v1 fixtures, compute the consumed bytes' hash for evidence, and retain source identity only as optional audit metadata. Schema translation, redaction, runtime bindings, and lifecycle verification remain strict. Validation: cargo test -p nemoclaw-e2e --test hosted_parity; cargo fmt --check; cargo clippy --workspace --all-targets -- -D warnings; cargo test --workspace; python3 tools/docs/fern.py check; git diff --check. No live or Brev test was run.
|
Follow-up from team alignment, implemented in The live harness no longer requires an operator-supplied expected SHA-256 or a nonempty producer/version identity. It computes and records the hash of the bytes actually consumed, and records source metadata only when provided. The behavioral test was first observed failing under the old provenance requirement and now passes without producer metadata. This does not relax the compatibility test: redaction, strict parsing, unknown-field rejection, explicit v1 runtime bindings, the reviewed process-principal mapping, lifecycle behavior, cleanup, and evidence review remain required. The PR description and validation guide now document the manual update flow. |
|
LGTM when ready |
|
Live validation is currently blocked by NVIDIA/OpenShell#3377. The gated v1 Brev run reached sandbox startup, but the initial sandbox command did not receive values supplied through This is a product-path failure rather than a parity-harness assertion failure. The scenario remains strict and does not add a launch-command workaround. We can retry the owned Linux/Docker lifecycle after the upstream fix is available in a compatible NemoClaw OpenShell pin. No parity verdict was produced by this run. |
The hosted parity translation failed after merging the fixed OpenShell pin because its runtime binding still selected the previous gateway digest. Use the SDK default in the behavioral test and align the expected desired state and live operator example with the exact pinned gateway. Validated with the focused hosted parity test, cargo fmt, workspace Clippy, and the workspace test suite.
|
OpenShell blocker update: NVIDIA/OpenShell#3392 merged as I reran the same credential-free local Docker sentinel against revision-matched artifacts:
This branch is now merged with current |
The Brev parity run reached the fixed OpenShell canonical environment path but Python could not read its virtualenv metadata, and OpenClaw could not read its application entrypoint under the translated v0 filesystem policy. Retain the source allowlist while adding the three read-only roots required by the explicitly bound v1 Fabric image. A hosted-parity behavior assertion failed before this change and now passes. Validated with cargo fmt --check, the hosted_parity test target, and clippy for nemoclaw-e2e with warnings denied.
A successful Brev apply and real agent probe failed its unchanged plan because OpenShell enriches authored filesystem grants with its restrictive runtime baseline. NemoClaw previously accepted only the /var/log addition. Compare against the exact filesystem baseline supplied by the pinned OpenShell policy crate while continuing to reject every other policy difference. Validated with the full nemoclaw-sdk tests, the hosted parity target, cargo fmt, and clippy for nemoclaw-sdk and nemoclaw-e2e with warnings denied.
Resolve the OpenShell policy baseline overlap in favor of the stronger upstream observer and filesystem validation. Adapt the hosted parity assertions to the per-sandbox harness API introduced on v1.\n\nValidation: cargo test -p nemoclaw-e2e --test hosted_parity
The native Pi fixture configures inference through NEMOCLAW_INFERENCE_CONFIG, but the protocol client compared the host response with its omitted argument and returned exit code 2 after successful configuration. Resolve the environment-backed value before building and verifying the expected response.\n\nTest-first: the new client regression failed 2 != 0 before the fix. Validation: docker buildx bake check; python3 tools/fabric-adapter-experiment.py --harness pi.
The native adapter descriptor now requires the provider and connection fields emitted by the v1 compiler. The isolated OpenClaw fixture still supplied only API and tuning, so Fabric rejected it before startup. Supply a complete fixture-owned route and its anonymous credential reference. Test-first: the exact CI protocol fixture reproduced the missing provider rejection. Validation: the OpenClaw interfaces fixture and docker buildx bake check pass.
|
CI maintenance update after syncing this branch to current
Local validation passed:
The only remaining red check is |
## Summary - keep the required growth-guardrail job visible for every `pull_request_target` event - skip its main-only npm tooling when a pull request targets a non-default branch such as `v1` - protect the branch gate with the existing workflow trust-boundary validator This unblocks the repository-wide check failure seen on #11813. That PR targets `v1`, which does not contain the main branch npm action or package workspace. ## Validation - observed the new trust-boundary regression fail before the workflow gate was added - `npx vitest run --project integration test/automation/pull-requests/growth-guardrails-workflow-boundary.test.ts` - `npm run source-shape:check` - `npm run validate:pr` repository and file checks; corrected the commit-message-only failure and verified it with commitlint Signed-off-by: Kao Félix <me@kaofelix.dev> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated pull request validation to run when pull requests are edited, in addition to existing activity triggers. - Restricted growth checks to pull requests targeting the repository’s default branch. - **Tests** - Added coverage to verify that both the edited-event trigger and default-branch restriction remain enforced. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
…ted-parity # Conflicts: # docs/validation/README.md
Summary
nemoclaw config exportas a checked-in v1 test inputParent objective: #11810. This PR covers the first Linux/Docker OpenClaw scenario with NVIDIA hosted inference; it does not close the parent issue.
Temporary Compatibility Boundary
The translator in this PR is a temporary bridge, not the long-term export contract.
#11977 assigns projection into the v1 YAML contract to the v0 exporter. Once a supported v0 export is accepted directly by the ordinary v1 parser and planner, #11978 removes this translator and changes the scenario to consume the raw aligned export while preserving its lifecycle and evidence checks.
Until then, the curated v0 export remains the authoritative input to this scenario. v1 augments it only with recorded target runtime dependencies that the current v0 format cannot provide. Fixture refresh is manual; this test does not depend on a v0 CI pipeline or automatically consume cross-pipeline artifacts.
This is configuration projection into a new deployment, not resource adoption or migration of an existing v0 deployment.
Explicit Runtime Decisions
The current v0 input declares
sandbox:sandbox; the v1 Fabric image uses numeric1000:1000. The bridge requires the source and target principals plus a NemoClaw issue or PR recording the decision. It fails closed on a source mismatch or incomplete target binding.The translation also adds read-only access to the target Fabric roots
/app,/opt/fabric, and/opt/nemoclaw. The live run showed that preserving only the v0 filesystem paths prevents Python virtualenv initialization and OpenClaw startup in the v1 image.Native Linux with the local Docker socket is the qualification boundary. Architecture is recorded evidence, not a requested support matrix. Docker Desktop canonicalization remains outside this scenario.
Test-first Findings
Behavioral tests were observed failing before the supporting changes were added. The Brev runs then found two integration gaps:
/opt/fabric/pyvenv.cfg, followed by/opt/nemoclaw/fabric.pyand/app/openclaw.mjsas narrower grants were tested.The OpenShell canonical-process environment regression previously tracked in NVIDIA/OpenShell#3377 is fixed in the repository pin used by the successful run.
Live Validation
An owned Brev Linux/ARM64 Docker run passed at v1 revision
5b374d871355ceabcd1c43a625eaa4080c3f8fa2:b901635f9bee4be1f99eb9312ed6c63f05d5c6fdc55fff5e10d6d448d353cd60FOUR109dece1c98130f12927da876ef914b44b04d35b656e16ba1f6594d62be6bcd6The evidence reports
passed: trueandqualificationCandidate: true. It deliberately leavesqualified: false; qualification requires human review of the curated input, runtime decisions, and evidence.The NVIDIA credential was streamed from 1Password to the live process over standard input. It was not written to the input, state evidence, command arguments, or published artifacts.
Validation
cargo fmt --checkcargo clippy --workspace --all-targets -- -D warningscargo test --workspacecargo test -p nemoclaw-e2e --test hosted_paritygit diff --checkReview Focus