Skip to content

fix(images): stop the dummy agent claiming Fabric validation - #13046

Merged
cv merged 1 commit into
v1from
fix/dummy-review-followups
Oct 12, 2026
Merged

cv merged 1 commit into
v1from
fix/dummy-review-followups

Conversation

@cv

@cv cv commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #13036 from a fresh adversarial review of the merged change.

Failure

  • The dummy image stored its Fabric contract pin in /opt/nemoclaw/provenance.json. The host reads that file to report which Fabric revision validated a configuration, so the dummy's validate began reporting 24f068c8…, though dummy_backend.py did the validating and the dummy has no Fabric.
  • The lifecycle test's post-destroy check passed whether or not the sandbox was gone: destroy also removes the gateway, so contacting the agent fails either way.
  • After a failed manual run, the documented UID-label cleanup missed the sandbox's objects, and the test had already deleted the state that nemoclaw destroy needs.
  • Archive loads removed every nc-live-images:* name, including names another worktree's cargo ci live-images build on the same Docker daemon might hold.

Decision

  • The dummy writes its pin to contract.json, which only dummy_catalog.py reads; validate reports a null Fabric revision again.
  • The live test asserts Docker holds none of the gateway's sandbox containers or volumes after destroy and still holds the retained storage. It also checks that plan defers the sandbox and that the reapply succeeds, and it keeps its state directory when it fails, printing the path for nemoclaw destroy --state-dir.
  • Archive loads remove only the platform's archive names that the step does not use.
  • Smaller changes: invocation input goes through OpenShell::exec_input instead of a sh -c pipe; GatewayInputs.settings is a JSON map; the descriptor's runner.module names the installed backend; the dummy catalog test runs whenever the reference-tests stage sets NEMOCLAW_REFERENCE_TESTS=1, so a missing installed file fails instead of skipping.

No action on the reviewer's note that production images copy the dummy's files under /opt/nemoclaw/source/local/; every production image already copies all of image/fabric/ by design.

Validation

  • The null-revision test (test_reference.py) and the archive-name test (ci_lifecycle.rs) failed before their fixes and pass now.
  • The live dummy test passes locally in 38.8 s with the new assertions; a deliberately failing run kept and printed its state directory.
  • cargo ci passes (1,384 tests, 127 lifecycle), as do the image lint, reference-tests (21 tests), unit-tests (79, 2 skipped), cargo images qualify --require-ready, and the docs check.

Follow-up to #13036 from a fresh adversarial review.

The dummy stored its contract pin in provenance.json, which the host reports
as the Fabric revision that validated a configuration; Fabric validates
nothing in the dummy. It now uses contract.json, and validate reports a null
revision again.

The lifecycle test's post-destroy check could not tell a removed sandbox from
a removed gateway. It now asserts Docker holds none of the gateway's sandbox
objects and still holds the retained storage, checks that plan defers the
sandbox and that reapply succeeds, invokes through exec_input, and keeps its
state directory when it fails so nemoclaw destroy still works.

Archive loads now remove only the platform archive names a step does not use,
not every nc-live-images name another worktree's build may hold. Gateway
documents take harness settings as a JSON map. The dummy descriptor names
the module the image installs, and the dummy catalog test runs whenever the
reference-tests stage sets NEMOCLAW_REFERENCE_TESTS instead of skipping when
a file is missing.

Validation: the null-revision and archive-name tests failed before the fixes;
cargo ci (1384 tests, 127 lifecycle), the image lint, reference-tests (21),
unit-tests (79, 2 skipped), qualification, and the live dummy test (38.8 s)
pass locally.
@cv cv added the v1 NemoClaw v1 branch label Oct 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@cv
cv merged commit 025b95a into v1 Oct 12, 2026
@cv
cv deleted the fix/dummy-review-followups branch October 12, 2026 22:27
@wscurran wscurran added area: ci CI workflows, checks, release automation, or GitHub Actions area: e2e End-to-end tests, nightly failures, or validation infrastructure chore Build, CI, dependency, or tooling maintenance labels Oct 28, 2026
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, checks, release automation, or GitHub Actions area: e2e End-to-end tests, nightly failures, or validation infrastructure chore Build, CI, dependency, or tooling maintenance v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants