Repository navigation
feat(fabric): upgrade to Fabric v0.5.0 without patching it - #13369
Merged
Merged
Conversation
The SDK set models.<role>.api in agents' Fabric configuration, a field from an unmerged Fabric change that Fabric v0.5.0 doesn't have. Agents now use the protocol their adapter selects for the provider; the configuration's api still selects how model catalogs are read.
…s only where accepted
cv
enabled auto-merge (squash)
October 16, 2026 19:59
Contributor
test_image.py still compared the catalog label with the removed discovery snapshot, read the old runtime-files.json declaration, and tested the removed OpenClaw search plugins and Hermes metadata patch. It now checks the label against catalog.installed(), reads the adapters the build declares, and allows the Pi adapter's locked harness packages.
…ric v0.5.0 Fabric v0.5.0's OpenClaw adapter launches its Gateway through setpriv, which fails inside OpenShell sandboxes (NVIDIA/NeMo-Fabric#430). Record the limitation (#13372), list the dashboard and web search losses, and run Deep Agents in the AMD64 live suites until Fabric fixes it.
This was referenced Oct 16, 2026
gaveezy
added a commit
that referenced
this pull request
Oct 19, 2026
PR-6 merged v1 up to #13411. Three v1 changes move code this branch builds on: - #13224 removed the `nemoclaw` provider, which served this branch's cluster model types. They become `openshell_kubernetes_service` and `openshell_kubernetes_service_storage`, served by the openshell provider beside the Kubernetes gateway installation types: two more `INSTALLATION_TYPES` entries, and `cluster_services::definitions()` in `all_definitions()`. Their contract tests move to `openshell-provider::contract` with the Kubernetes gateway tests, their schema to the openshell snapshot, and the docs name the new types. - #13286 plans and applies each deployment as one OpenTofu root. The cluster image preflight moves from the removed runtime stage into `Deployment::run`, before compilation. #13286 also removed the "unfinished Kubernetes platform apply" rule, so this branch's exception to it (`revises_only_model_workloads`), its test, and its usage.md paragraph go too. The compile test now checks that the apply-time gateway read, which every object waits on, waits on the cluster service, instead of checking that agents compile into a separate graph. - #13184 added `Definition::derived`: a computed attribute kept out of backend rows. This branch's `derived` is an optional input checked against the spec and kept in the row, so ownership checks still see `owner` and `generation`. It is renamed `derived_input`. Smaller follow-ups: - #13093 added `ServiceDefinition::Container`; the cluster matches cover it. The cluster service is no longer a `runtime_process` kind: that flag now also selects Docker readiness and compute, which decode a Docker spec. Its only other readers handle the cluster kind first. - #13223 dropped the `org.nemoclaw.runtime.spec` label everywhere; the cluster image check no longer requires it. - #13369 removed `model_metadata` from OpenClaw routes, since Fabric v0.5.0's adapter rejects it; the cluster fixtures and docs drop it. The remaining conflicts keep both sides. `openshell-provider::contract`'s summed budget rises from 105 to 130 s, keeping v1's margin: the 8 moved cluster model tests add 23.2 s in a local linux_arm64 run (slowest 3.9 s, within the 6 s limit), about 17 s at CI speed. `nemoclaw-provider::contract` keeps its v1 budget; this branch's earlier raise to 150 s went with the tests. Validation on linux_arm64: the `cargo ci` fmt, clippy, test, schema, bundle and lifecycle steps pass (161 lifecycle tests, among them the 8 cluster model contract tests), as does `nemoclaw-build docs --check`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
cv
added a commit
that referenced
this pull request
Oct 27, 2026
## Failure Two statements about the pinned Fabric are out of date. - **`docs/design/architecture.md`:** it said the Fabric revision "remains pinned until the descriptor catalog change (NeMo-Fabric#318) and its adapter follow-ups are available together", and that NemoClaw must stop using `config.schema` when adopting it. NeMo-Fabric#318 closed without merging. NemoClaw pins Fabric `main` at `67acf1c` for other reasons (#13318). The pinned descriptors' `config` holds only `accepts` and `system_instruction_modes`, and nothing in NemoClaw reads `config.schema`. - **`docs/inference.md`:** it said "the pinned Fabric has no per-model API setting" and cited #13320 as if open. #13320 was closed by #13369: the SDK sends the provider's API to any adapter whose Fabric descriptor declares a model `api`, as `docs/agents.md` describes. ## Decision - **`docs/design/architecture.md`:** replace the two sentences with the current fact. The pinned descriptors carry no `config.schema`, and NemoClaw does not use one to infer required workflows. - **`docs/inference.md`:** state the rule instead of a missing feature. An agent uses another protocol only when its adapter's descriptor declares a model `api`, linking to Pi model selection. The sentence no longer cites the closed issue. ## Validation - `cargo run --locked -p nemoclaw-build -- fern check` reports 0 errors and 1 warning, which is not from this change. - `git diff --check` is clean.
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 #13318. Closes #13320, #13321, #13322, #13323, #13324 and #13328. Supersedes #13329. PRs into
v1don't close issues, so I'll close them by hand once this merges.Failure
NemoClaw pinned Fabric at
24f068c8, a commit from an unmerged branch. On top of that pin, NemoClaw carried code that does Fabric's work:Fabric v0.5.0 is the first release covering what we need: a public adapter catalog package, and the
fabric-agent-ctlsandbox bridge.Decision
Pin Fabric v0.5.0 (
5574117f) and use what Fabric publishes. Drop what it doesn't support, with issues tracking each loss, and add no workarounds.Catalog
nemo-fabric-adapter-catalogpackage. The package is built from the pinned source archive and read throughget_adapter_descriptor().AdapterDescriptor. The discovery-result type it used before doesn't fit descriptors that come from Fabric's package.Removed
modeorinterfaces.native_config; those issues stay open until it can configure them.model_metadataandreasoning_effortin examples, which the adapters no longer accept.Model fields follow each adapter's descriptor
base_url: sent only to adapters whose descriptor accepts it. v0.5.0's remote agent rejects one, so every remote-agent deployment would otherwise have failed.api: sent from the provider definition only to adapters whose descriptor declares one. Pi does; the others no longer do, so they no longer receive it (Per-model API selection for agents is unavailable #13320).overrides.extensionsroute field: passes declared model extensions through, such as Pi'scontext_window, and Fabric validates them. Pi needs it for every model served through OpenShell's gateway. It can't set a field the deployment already sets.Bridge and images
fabric-agent-ctldoes. v0.5.0's adapters take a plain-text prompt. The object-only rule and the Hermes-only text unwrapping are gone.pi-coding-agent1.0.3), which packing the adapter had dropped.openclaw-dashboard.yamlbecomesopenclaw.yaml, which getting started uses; step 5 now sends a request throughopenshell sandbox exec.web-search.yaml.Tests
Validation
cargo cipasses locally: 1518 unit tests and 144 lifecycle tests.cargo images qualify.cargo ci live-dockerpasses (8 tests), and so doescargo ci live-kind(5 tests, with Pi on ARM64).nemoclaw-build fern checkreports 0 errors.Not run here: the Brev, Spark and hosted-parity live tests, and
live-kindwith OpenClaw, which runs on AMD64.Known limitation: OpenClaw doesn't start in OpenShell sandboxes (#13372)
CI's
live-kindon AMD64, which ran OpenClaw, found this, and I reproduced it on Docker and Kubernetes. Fabric v0.5.0's OpenClaw adapter launches its Gateway throughsetpriv --pdeathsig SIGTERM. Inside an OpenShell sandbox,setprivexits with "activate capabilities: Operation not permitted", and the adapter has no fallback, sofabric_start_failed. The same start succeeds outside the sandbox's confinement.The fix belongs to Fabric's adapter (NVIDIA/NeMo-Fabric#430), so this PR doesn't work around it:
docs/limits.mdand the getting-started guide note the limitation;limits.mdalso lists OpenClaw's dashboard (OpenClaw's dashboard is unavailable with the pinned Fabric #13360) and web search plugins (OpenClaw web search is unavailable with the pinned Fabric #13361).live-kindandlive-dockeron AMD64 run Deep Agents, which builds for AMD64 and passeslive-kindin a real Kubernetes sandbox.Also since opening
v1, which brought feat(hermes)!: remove the native API server, dashboard and TUI #13336 (Hermes's native server removed on the old pin). Overlapping changes kept feat(hermes)!: remove the native API server, dashboard and TUI #13336's choices, except the bridge's object-only input rule: v0.5.0's adapters take a plain-text prompt, so input passes through unchanged.image/test_image.py, which runs only in the images workflow, now checks catalogs against the build's declarations. Its tests for the removed OpenClaw search plugins and Hermes metadata patch are gone. The whole images workflow passes locally, and so docargo ciand both live suites.