Repository navigation
fix(sdk): key Fabric harness reads by sandbox name - #13744
Merged
Merged
Conversation
## Failure #13080's review asked which positional uses remain now that sandboxes are keyed by name (#13705). One did: each sandbox's Fabric harness read was named `sandbox_<n>`, numbered in name order. Adding a sandbox whose name sorts first renumbered the reads, so the existing sandbox's `openshell_sandbox` block, its read, and its inference registration all changed in the compiled graph. ## Decision - Reads are named `sandbox_<name>` and `sandbox_<name>_acquired`, by one helper that the discovery graph and compile share. Sandbox names have no underscores, so these names can't collide with other reads such as `gateway` or `target_<n>`. The plan's discovery output uses the same names. - Stored resources were already keyed by sandbox name or image digest. - A registration that several sandboxes share still takes its `binaries` from the first sharing sandbox in name order. Registrations are keyed by image and harness, so every sharing sandbox's read gives the same binaries. ## Validation - New test `compile::adding_a_sandbox_that_sorts_first_leaves_existing_sandboxes_unchanged` failed before the change on three blocks (the existing sandbox, its read, and its inference registration) and now passes: every block of the original deployment is unchanged. - `multiple_sandboxes::adding_a_sandbox_preserves_existing_resource_addresses_and_values` no longer has to ignore the sandbox's `launch_json`. - The OpenShell contract fixtures, compiled from every example, are unchanged; their generator now finds each read by sandbox name. - `cargo ci --full` passed on v1 `58fcea38c`: 1,714 unit and 156 lifecycle tests. Part of #13080. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
cv
approved these changes
Oct 26, 2026
cv
added a commit
that referenced
this pull request
Nov 11, 2026
…ms (#14413) The release notes now list every user-visible change on `v1` since the `v0.1.0-rc9` tag, including the breaking ones, and four example pages drop claims that later changes made false. ## Problem `docs/about/release-notes.md` listed three breaking changes and none of the features, fixes, and onboarding changes that reached `v1` after `v0.1.0-rc9`; it didn't name the configuration shapes the parser now rejects or the intent record version `v0.1.0-rc9` writes. Some example claims went stale: - `examples/spark/README.md` said the pinned OpenShell has the Podman TLS initialization blocker, ai-openshell/openshell#3427; its fix merged before OpenShell 0.1.0, and `v1` pins 0.1.7. - `examples/station/README.md` and `examples/gtc-dc/README.md` required exactly one visible GPU on the host; since #13929, `container.gpuDevices` lets a service on a host with more GPUs request one. - `examples/hcl/travel-team` said Fabric's Deep Agents adapter can't turn reasoning off, NVIDIA/NeMo-Fabric#433; NVIDIA/NeMo-Fabric#439 fixed that, and the pinned catalog's Deep Agents `reasoning_effort` accepts `none`. - The travel team cited #13313 for the booking key its service doesn't receive, but #13313 closed when `openshell_api` landed. ## Change - `docs/about/release-notes.md` gains "Changes Since v0.1.0-rc9", grouped by area, from the commits in `v0.1.0-rc9..origin/v1`; where a later commit changed an earlier one, the entry describes the current code, and changes added and removed after the tag aren't listed: - Agents and interfaces: #14037, #14038, #14269, #13981, #14024, #14186, #14052, #14385, #13971, #13858, #13947, #14039, #14042, #14044, #14343. - Inference: #13929, #14391, #14396, #14398, #14400, #13963, #13912, #13964, #14388, #14390, #14397. - Gateways and Kubernetes: #13909, #13970, #13922 (an existing namespace, refused at plan by #13756, is now bound; cluster-wide reads dropped), #14014, #14169, #13921. - Plan, apply, and diagnostics: #14224, #13756, #14141, #14133, #14135, #13775, #13744, #13701. - Onboarding: #13693, #13695, #13741, #13757, #13851, #13978, #14228, #14233, #14334, #14336. - Examples and builds: #14166, #14184, #14188, #14191, #14192, #14200, #13889, #14267, #14312, #14315, #14355, b30e9b4, #13781, #13813, #14246, and the pins in `versions.json` and `image/fabric/Dockerfile`. - Its breaking changes since the tag: - the intent record moving from 15, which `v0.1.0-rc9` writes, through 16 (#14266), 17 (#14343), 18 (#13929), 19 (#14391) and 20 (#14394); - name-keyed `sandboxes` and `inferenceProviders` (#13703, #13705); - a recipe `compatibility.gpu` outside every hardware profile (#13912); - model tuning the adapter doesn't accept (#14111), and Hermes's `max_tokens` losing its default (#14296); - `skills.paths` resolution (#14296); - endpoint and `networkCIDR` validation (#13847, #14081); - the HCL `gateway_values` attribute (#14014), and Kubernetes ownership receipts from before #13922 and #14014. The two earlier items stay, under their own heading. - `examples/spark/README.md` replaces the closed OpenShell#3427 blocker with the Podman and remote-model limits in `docs/resources/limits.md`. - `examples/station/README.md` and `examples/gtc-dc/README.md` require one GPU visible in the model container, and point to `container.gpuDevices` for a host with more. - `examples/hcl/travel-team/README.md` and `WALKTHROUGH.md` drop the NeMo-Fabric#433 limitation, and the travel team's booking-key statements link #14417 instead of #13313. Not listed, because both changes landed after the tag: Deep Agents Code (#14043, #14250), `compatibility.gpuCount` (#14391, #14394), and the "Creating infrastructure state" progress step (#14169, #14248). Checked and left unchanged: the root `README.md`, `crates/nemoclaw-onboarding/README.md`, `crates/nemoclaw-cli/assets/README.md`, `internal-docs/README.md`, the other example READMEs, and every example YAML header comment. The GPU autoscaling README and `load.sh` read the JSON fields `OperationResult` serializes, and ai-openshell/openshell#4287 is fixed only after the pinned 0.1.7. The two pre-tag release-note items still match the schema and SDK. `docs/README.md` is left to #14412, which retires the stale field reference snapshot it describes. Not verified: whether Hermes sends the booking key's placeholder to MCP servers; #14417 tracks the live check. ## Beyond CI Each relative link and anchor in the changed files resolves to an existing file and heading.
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.
Failure
#13080's review asked which positional uses remain now that sandboxes are keyed by name (#13705). One did: each sandbox's Fabric harness read was named
sandbox_<n>, numbered in name order. Adding a sandbox whose name sorts first renumbered the reads, so the existing sandbox'sopenshell_sandboxblock, its read, and its inference registration all changed.Decision
flowchart LR subgraph Before["Before: reads numbered in name order"] A1["assistant: sandbox_0"] -->|"add aaa"| A2["aaa: sandbox_0<br/>assistant: sandbox_1"] end subgraph After["After: reads named after the sandbox"] B1["assistant: sandbox_assistant"] -->|"add aaa"| B2["aaa: sandbox_aaa<br/>assistant: unchanged"] endsandbox_<name>(andsandbox_<name>_acquired) by one helper shared by the discovery graph and compile. Sandbox names have no underscores, so the names can't collide with other reads such asgateway.binariesfrom the first sharing sandbox in name order; registrations are keyed by image and harness, so every sharing sandbox's read gives the same binaries.Validation
adding_a_sandbox_that_sorts_first_leaves_existing_sandboxes_unchangedfailed before the change on those three blocks and now passes.launch_json.cargo ci --fullpassed on v158fcea38c: 1,714 unit and 156 lifecycle tests.Part of #13080.