Repository navigation
Closed
Closed
Copy link
Labels
area: architectureArchitecture, design debt, major refactors, or maintainabilityarea: inferenceInference routing, serving, model selection, or outputsrefactorPR restructures code without intended behavior changev1NemoClaw v1 branch
Milestone
Description
Investigation Summary
crates/nemoclaw-sdk/src/services/installers/vllm/recipes/preparation.rs:9importsstate::save_json;state/mod.rs:313also runstofu showthroughprocess::run, which uses the deploymentProgresstype.services/placement.rs:64andconfig/validation.rs:177calldocker::Engine::validate_endpoint, a string check defined on the bollard-backedEngine.compile.rs:118andcompile.rs:139callopenshell::inference_profileandopenshell::policy_json, and installer modules call intocompile.
Description
These calls are small, but each links a runtime or configuration module to deployment, Docker, or OpenShell code.
They are the cheapest first cuts toward #12426.
Expected: save_json and endpoint validation move to dependency-free helpers, and configuration validation no longer depends on docker::Engine.
Reproduction Steps
Run from a NemoClaw checkout at 515fad88f.
-
Show the state helper and its tofu dependency:
grep -n save_json crates/nemoclaw-sdk/src/services/installers/vllm/recipes/preparation.rs crates/nemoclaw-sdk/src/state/mod.rs; grep -n 'crate::process::run' crates/nemoclaw-sdk/src/state/mod.rs
-
Show endpoint validation on the Docker engine type:
grep -n 'Engine::validate_endpoint' crates/nemoclaw-sdk/src/services/placement.rs crates/nemoclaw-sdk/src/config/validation.rs -
Show compilation calling OpenShell helpers:
grep -n 'crate::openshell::' crates/nemoclaw-sdk/src/compile.rs
Environment
- NemoClaw:
v1at515fad88f - OpenShell pin:
1fe79f53991debf32776853a60f0cbd4e127dcfb(versions.json) - NeMo Fabric pin:
24f068c895e5cbc30286bc743498be4e5014d658(crates/nemoclaw-sdk/Cargo.toml) - OpenTofu: 1.12.6 (
versions.json) - Host: macOS arm64 source checkout; static inspection only, no deployment
Debug Output
Not applicable: this finding comes from static source inspection at the revisions above.
No deployment ran, so there is no nemoclaw debug output.
Logs
No response
Checklist
- I confirmed this bug is reproducible
- I searched existing issues and this is not a duplicate
Metadata
Metadata
Assignees
Labels
area: architectureArchitecture, design debt, major refactors, or maintainabilityarea: inferenceInference routing, serving, model selection, or outputsrefactorPR restructures code without intended behavior changev1NemoClaw v1 branch
Activity
cv commentedon Sep 29, 2026
Completed on
v1in 2e2ef1ee57, 87cdf3f8fe, fadc3b0969, eb1e54fce6.Separated the small helpers from deployment and transport ownership: durable file helpers belong to the runtime, endpoint parsing belongs to pure SDK configuration, policy/profile compilation is separate from OpenShell transport, and configuration diagnostics share the runtime-owned type. Configuration validation no longer calls
docker::Engine.Validation: Endpoint validation, runtime dependency-closure, configuration diagnostics, and schema regressions pass. final native CI passed.