Repository navigation
feat(host-provider): read engine facts and hardware with data.host_engine - #13206
Merged
Merged
Conversation
Plans read external model catalogs through data.nemoclaw_inference_capabilities although the read is advisory: it feeds only the plan's unverified list and onboarding suggestions. The catalog reader moves unchanged from nemoclaw-discovery into nemoclaw_sdk::inference_discovery, which nemoclaw-discovery re-exports. Plans call observe_endpoints beside observe_credentials and record each read as endpoint_N, after computing deferrals so catalogs only leave plans unverified. Discovery graphs drop catalog reads and the nemoclaw provider stops serving the data source.
…gine Plans read each engine through nemoclaw_engine_capabilities and nemoclaw_target_hardware, two reads of the same /info that belong to no NemoClaw object. A new host provider, with no settings, serves data.host_engine: one bounded /info read returning engine_json and hardware_json. Discovery graphs read it for the gateway and service engines, plan reports keep their engine and target observations, and the nemoclaw provider stops serving the two data sources.
# Conflicts: # crates/nemoclaw-provider/src/lib.rs # crates/nemoclaw-provider/src/provider.rs # crates/nemoclaw-provider/tests/schema.txt # crates/nemoclaw-sdk/src/deployment/plan.rs # crates/nemoclaw-sdk/src/deployment/reporting.rs # crates/nemoclaw-sdk/src/deployment/tests.rs # crates/nemoclaw-sdk/tests/discovery_graph.rs # crates/nemoclaw-sdk/tests/fixtures/discovery_graph/openclaw.json # docs/provider.md
Contributor
cv
added a commit
that referenced
this pull request
Oct 15, 2026
Closes #13148. Part of #13131. ## Failure After #13223, the `nemoclaw` provider served no types. Its types had moved to the `openshell`, `vllm`, `ollama` and `host` providers, or into the SDK. Yet every generated graph still declared it, the bundle shipped its binary, and teardown set `destroy` on it. ## Decision - Remove `NemoClawProvider` and its `terraform-provider-nemoclaw` binary. The `nemoclaw-provider` crate stays as the library behind the `vllm`, `ollama` and `host` binaries and the `openshell` provider's gateway installation types. - Generated graphs no longer declare `nemoclaw`, the bundle no longer ships it, and teardown sets `destroy` only on `openshell`, `fabric`, `vllm` and `ollama` (`host` has no settings). - `TofuWorkspace::new(bundle)` installs the bundle's providers. Contract tests that need a fixture provider under the `nemoclaw` name use `TofuWorkspace::with_fixture`. - The unit test of the provider's `destroy` setting now runs against `ServiceProvider`, which has the same setting. The `nemoclaw` schema snapshot and its "no type served by two providers" check go with the provider. A misplaced doc comment on `ServiceProvider`, from #13206, is fixed. - No state record version bump: old state can mention the provider only for data sources, which earlier renames handled without one. - Docs: the provider catalog lists `host` instead of `nemoclaw`, and the design docs credit the providers that now own each role. With this, #13148 is complete: the catalog moved to the SDK (#13205), engine and image reads moved to the `host` provider (#13206, #13223), and the `nemoclaw` provider is gone. ## Validation - SDK tests assert that compiled and teardown graphs no longer declare `nemoclaw`. - `cargo ci` passes locally (1537 unit tests; 137 lifecycle tests). The first run caught an e2e test that set `destroy` on an undeclared `nemoclaw` provider block, which made OpenTofu look for `hashicorp/nemoclaw`; the test now uses only declared providers. - `fern check` passes.
This was referenced Oct 15, 2026
Closed
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #13148. Part of #13131.
Failure
Plans observed each container engine through two
nemoclawdata sources:nemoclaw_engine_capabilitiesfor version, platform, CPUs and memory, andnemoclaw_target_hardwarefor engine features and advertised GPUs. Both read the same engine/info, so each engine was queried twice per plan. They also kept thenemoclawprovider alive although they belong to no NemoClaw object.Decision
hostprovider, with no settings and no resources. It servesdata.host_engine, which takesengineand returnsengine_json(the engine facts),hardware_json(the passive hardware read), plusstatusandavailable./inforead answers both observations:nemoclaw-discoverygainsobserve_host, which shares that read.observe_engine_factsandobserve_hardwarekeep their meaning for onboarding.statusandavailabledescribe the engine facts;hardware_jsoncarries its own status.data.host_engine.currentfor the gateway engine anddata.host_engine.target_Nfor service engines, takingengine_jsonorhardware_json. Fabric's platform inputs come fromcurrent.engine_json. Plan reports keep theirengineandtarget_Nobservations.hostis declared in every compiled graph and shipped in the bundle. It is not one of the providers teardown setsdestroyon, since it has no settings.nemoclawprovider no longer serves the two data sources; it now serves onlynemoclaw_runtime_image.host_engineshould export arefthat replaces plainenginestrings. Nothing needs daemon identity across types yet, so it isn't added here.Validation
host_engine: a reachable engine reports facts and hardware, and an unreachable one reports both as unknown. Its exact request count shows that one/inforead now answers both observations.host_engine: unknown inputs defer every output, an unreachable engine completes unknown observations without a provider error, and invalid values are never echoed. The gateway prerequisite tests stay with that data source.host_enginereads.schema-host.txt;nemoclawloses the two data sources.cargo ci --fullpasses locally (137 contract and system tests);fern checkpasses.