Repository navigation
feat(hermes): hand off resources-server MCP sessions - #2778
Draft
cwing-nvidia wants to merge 17 commits into
Draft
cwing-nvidia wants to merge 17 commits into
cwing-nvidia wants to merge 17 commits into
Conversation
Carry adapter-observed MCP provenance separately from model-facing aliases so verification remains correct across harnesses and external servers. Signed-off-by: Chris Wing <[email protected]>
Advertise the authoritative Gym MCP tool list so new Claude trajectories use structured provenance while historical artifacts retain the legacy fallback. Signed-off-by: Chris Wing <[email protected]>
Keep the structured provenance PR limited to harnesses that can run Gym MCP end to end, and move OpenClaw integration behind issue #2670. Signed-off-by: Chris Wing <[email protected]>
Document the rollout sidecar, legacy Claude fallback, and reverification behavior so the MCP tutorial matches the new verification contract. Signed-off-by: Chris Wing <[email protected]>
Remove the post-release MCP provenance entry so the published release notes continue to describe only shipped v0.5.0 behavior. Signed-off-by: Chris Wing <[email protected]>
Inject each seeded resources-server endpoint into the isolated Hermes runtime so stateful tools are callable without sharing credentials across rollouts. Signed-off-by: Chris Wing <[email protected]>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Keep upstream dispatcher translation out of observability while hardening rollout MCP metadata validation and failure cleanup coverage. Signed-off-by: Chris Wing <[email protected]>
Map rollout-advertised Hermes aliases back to canonical server and tool names so verification does not depend on client-specific flattened names. Signed-off-by: Chris Wing <[email protected]>
Assert the serialized sidecar contract so the test passes both before and after the shared provenance model lands. Signed-off-by: Chris Wing <[email protected]>
Document why Hermes needs a pre-execution alias map and a post-execution call-id join for structured verification. Signed-off-by: Chris Wing <[email protected]>
Derive structured provenance once from the completed response and make Hermes configuration translation explicit, avoiding callback plumbing across response helpers. Signed-off-by: Chris Wing <[email protected]>
Centralize seed metadata validation, alias joins, and explicit execution results so agent adapters retain only their native config and event translation. Signed-off-by: Chris Wing <[email protected]>
Keep only Hermes wire-name and config translation local while sharing metadata validation, alias joins, and explicit provenance results. Signed-off-by: Chris Wing <[email protected]>
Contributor
|
🌿 Preview your docs: https://nvidia-preview-feat-hermes-mcp-handoff-2667.docs.buildwithfern.com/nemo/gym Here are the markdown pages you've updated: |
5 tasks done
Avoid shadowing the upstream MCP package and fail closed unless every seeded tool is registered before constructing the agent. Signed-off-by: Chris Wing <[email protected]>
This branch has not been deployed
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.
Summary
Enables Hermes to call stateful Gym resources-server tools over rollout-scoped MCP while isolating session credentials and preserving canonical MCP identity for verification.
Details
RolloutMCPServercontract from/seed_sessionand write the seeded MCP configuration inside each rollout's temporaryHERMES_HOMEAIAgentsnapshots its toolsmcp__<server>__<tool>wire-name translation local while shared infrastructure handles metadata validation, aliases, response joins, and typed provenanceAgentExecutionResultandAgentEpisode/seed_sessionreturns no MCP metadata and propagate the seeded resources-server cookie through verificationCloses #2667.
Testing
Automated
pytest responses_api_agents/hermes_agent/tests -q— 72 passedpre-commit run --files ...— passedHERMES_HOMEdirectories plus success and failure cleanupReal rollout evidence
A fresh Workplace analytics rollout with
nvidia/nvidia/nemotron-3.5-lightning:mcp__workplace_assistant__analytics_total_visits_countandmcp__workplace_assistant__analytics_create_plotcall_idvaluesA five-example follow-up covered analytics, CRM, project-management, and calendar tasks at concurrency five:
1.0; both policy failures still retained complete MCP provenanceStack
The implementation and rollout validation are complete. This PR remains draft while its stack dependencies are under review.