Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions .github/workflows/managed-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3023,9 +3023,10 @@ jobs:

# Record the intended root pointers for every shipped agent in its
# exact contract. They are not moved until all v2 evidence artifacts
# are durable. Hermes ships alongside OpenClaw (#11228); Deep Agents
# Code stays cohort-only until its own publication decision.
shipped_agents=(openclaw hermes)
# are durable. Hermes ships alongside OpenClaw (#11228), and Deep
# Agents Code alongside both (#11341), matching
# SHIPPED_MANAGED_IMAGE_AGENTS in src/lib/onboard/managed-image.
shipped_agents=(openclaw hermes langchain-deepagents-code)
release_tag="$(jq -r '.[0].release // empty' "$CANDIDATE_SET")"

while IFS= read -r candidate; do
Expand Down Expand Up @@ -3269,12 +3270,14 @@ jobs:
exit 1
fi
cohort="$PUBLICATION_COHORT"
# Root pointers move for every shipped agent: OpenClaw and, per
# #11228, Hermes. Deep Agents Code stays cohort-only. Every shipped
# agent's contract and exact cohort bytes are validated before any
# pointer moves. A registry failure can leave an earlier agent's
# pointers moved; rerunning this job reconciles them to this cohort.
shipped_agents=(openclaw hermes)
# Root pointers move for every shipped agent: OpenClaw, Hermes
# (#11228), and Deep Agents Code (#11341), matching
# SHIPPED_MANAGED_IMAGE_AGENTS in src/lib/onboard/managed-image.
# Every shipped agent's contract and exact cohort bytes are validated
# before any pointer moves. A registry failure can leave an earlier
# agent's pointers moved; rerunning this job reconciles them to this
# cohort.
shipped_agents=(openclaw hermes langchain-deepagents-code)
release_tag="$(jq -r '.source.release // empty' "$cohort_contract")"
if [[ ! "$GITHUB_SHA" =~ ^[0-9a-f]{40}$ ]]; then
echo "ERROR: durable managed image pointer identity is invalid." >&2
Expand Down Expand Up @@ -3319,7 +3322,7 @@ jobs:
expected_digest="$(jq -er --arg agent "$agent" '.agents[$agent].digest' "$cohort_contract")"
expected_size="$(jq -er --arg agent "$agent" '.agents[$agent].descriptor.size | tostring' "$cohort_contract")"
if [ "$image" != "ghcr.io/nvidia/nemoclaw/${agent}-sandbox" ] ||
[[ ! "$exact_reference" =~ ^ghcr\.io/nvidia/nemoclaw/(openclaw|hermes)-sandbox@sha256:[0-9a-f]{64}$ ]] ||
[[ ! "$exact_reference" =~ ^ghcr\.io/nvidia/nemoclaw/(openclaw|hermes|langchain-deepagents-code)-sandbox@sha256:[0-9a-f]{64}$ ]] ||
[ "${exact_reference%@*}" != "$image" ]; then
echo "ERROR: durable managed image pointer identity is invalid for ${agent}." >&2
exit 1
Expand Down
2 changes: 2 additions & 0 deletions docs/get-started/quickstart-langchain-deepagents-code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ If you use the coding-agent prompt in the preceding section, you can skip this p
If registry or catalog availability prevents resolution, stock onboarding stops before sandbox creation and does not build a shipped Dockerfile.
Invalid or inconsistent catalog evidence fails closed before sandbox creation.
An explicit `nemo-deepagents onboard --from <Dockerfile>` remains a separate custom-image path.
Start a custom Dockerfile from the published complete image, `FROM ghcr.io/nvidia/nemoclaw/langchain-deepagents-code-sandbox@sha256:<digest>`, which already carries every managed Deep Agents Code layer.
Releases publish that image with `:<release>` and `:<revision>` tags alongside `openclaw-sandbox` and `hermes-sandbox`; pin the digest rather than a tag so rebuilds stay reproducible.

</Step>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function expectedReceipt(cohort: string, receiptAttempt: number): Record<string,
}

describe("managed-image publication promotion", () => {
it("stages all multi-platform cohort aliases before moving the shipped root pointers (#7744, #11228)", () => {
it("stages all multi-platform cohort aliases before moving the shipped root pointers (#7744, #11228, #11341)", () => {
const promotion = required(
step(
managedPromoter(readWorkflow("managed-images.yaml")),
Expand All @@ -77,6 +77,7 @@ describe("managed-image publication promotion", () => {
expect(failedCalls).toContain(`openclaw-sandbox:cohort-${cohort}`);
expect(failedCalls).not.toContain(`openclaw-sandbox:${revision}`);
expect(failedCalls).not.toContain(`hermes-sandbox:${revision}`);
expect(failedCalls).not.toContain(`langchain-deepagents-code-sandbox:${revision}`);

const accepted = runManagedImagePromotion(promotion, "", pointer);
const acceptedCalls = accepted.calls.join("\n");
Expand All @@ -97,6 +98,7 @@ describe("managed-image publication promotion", () => {
);
const rootPointer = acceptedCalls.indexOf(`openclaw-sandbox:${revision}`);
const hermesPointer = acceptedCalls.indexOf(`hermes-sandbox:${revision}`);
const dcodePointer = acceptedCalls.indexOf(`langchain-deepagents-code-sandbox:${revision}`);

expect(accepted.calls.filter((call) => call.startsWith("pull ")).sort()).toEqual(
expectedPullCalls.sort(),
Expand All @@ -110,10 +112,10 @@ describe("managed-image publication promotion", () => {
});
expect(lastCohortStage).toBeGreaterThanOrEqual(0);
expect(rootPointer).toBeGreaterThan(lastCohortStage);
// Hermes ships its root pointer alongside OpenClaw (#11228); Deep Agents
// Code stays cohort-only.
// Every shipped agent's root pointer moves only after all cohort aliases
// stage: Hermes per #11228, Deep Agents Code per #11341.
expect(hermesPointer).toBeGreaterThan(lastCohortStage);
expect(acceptedCalls).not.toContain(`langchain-deepagents-code-sandbox:${revision}`);
expect(dcodePointer).toBeGreaterThan(lastCohortStage);
expect(Object.keys(accepted.platformContracts).sort()).toEqual(
publicationAgents
.flatMap((agent) => publicationPlatforms.map((platform) => `${agent}|${platform}`))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1254,12 +1254,12 @@ fi
expect(promotion.run).toContain('"${descriptor_args[@]}"');
expect(promotion.run).toContain('cmp -s "$expected_descriptors" "$actual_descriptors"');
expect(promotion.run).toContain(') == ["linux/amd64", "linux/arm64"]');
expect(promotion.run).toContain("shipped_agents=(openclaw hermes)");
expect(promotion.run).toContain("shipped_agents=(openclaw hermes langchain-deepagents-code)");
expect(promotion.run).toContain(
'aliases+=("$(jq -r \'.image\' <<<"$cohort_manifest"):${GITHUB_SHA}")',
);
expect(promotion.run).not.toContain('imagetools create "${consumer_tag_args[@]}"');
expect(pointer.run).toContain("shipped_agents=(openclaw hermes)");
expect(pointer.run).toContain("shipped_agents=(openclaw hermes langchain-deepagents-code)");
expect(pointer.run).toContain(
"exact_reference=\"$(jq -er --arg agent \"$agent\" '.agents[$agent].reference'",
);
Expand Down
Loading