Repository navigation
Description
Investigation Summary
crates/nemoclaw-runtime/src/main.rsinstalls signal handlers and callsnemoclaw_sdk::services::run_runtime; the crate has no other code.nemoclaw-sdkdepends unconditionally onbollard,tonic,openshell-sdk,openshell-core,openshell-policy,nemo-fabric-core, andjsonschema, so the runtime compiles all of them.- A static file-level trace from the runtime entry points reaches about 24.5k of the SDK's ~26.6k non-test lines; Runtime input contract is the public YAML service type #12427, Service installer modules mix configuration, planning, provider backends, and runtime code #12428, and Small SDK helpers pull deployment, Docker, and OpenShell code into the runtime #12429 describe the coupling.
- The supervisor, vLLM and Ollama launch, snapshot downloads, and recipe preparation run only in the inference container.
Description
The inference container's executable is the SDK plus a thin main.
Runtime-only code lives in the public SDK crate, and the runtime builds every SDK dependency, including the OpenShell gRPC, Docker, and Fabric planner crates it never calls.
Expected: nemoclaw-runtime becomes a library and binary that owns runtime code and its input contract, without OpenShell, Docker, or Fabric dependencies.
The accepted scope permits a crate for an existing consumer with a deployment boundary; the inference image is both.
Reproduction Steps
Run from a NemoClaw checkout at 515fad88f.
-
Show the runtime crate:
cat crates/nemoclaw-runtime/Cargo.toml crates/nemoclaw-runtime/src/main.rs
-
Show the SDK's unconditional dependencies:
sed -n '/^\[dependencies\]/,/^\[target/p' crates/nemoclaw-sdk/Cargo.toml -
Show the Linux-only runtime modules inside the SDK:
grep -rn 'cfg(target_os = "linux")' crates/nemoclaw-sdk/src/services
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
Activity
fix(build): scope extracted imports to supported platforms
chore(deps): remove unused extraction dependencies
cv commentedon Sep 29, 2026
Completed on
v1in 87cdf3f8fe.The existing
nemoclaw-runtimecrate now owns a library, executable, serving contract, preparation, snapshot verification, hardware protection, and supervision. The SDK consumes its contract with execution disabled. The runtime's normal dependency graph excludes the SDK, provider, OpenShell, Fabric, and Docker transport.Validation: Runtime contract and dependency-closure tests pass; the runtime also builds and tests without
protoc. final native CI passed.