Skip to content

Share Hermes tool gateway profile validation across registration and sandbox creation #13196

Description

@rsliter

Problem

PR #13189 verifies the Hermes tool gateway provider profile before direct sandbox creation. The broker already checks the same owned profile and narrow legacy generic binding during provider registration. Both paths use the shared credential-binding matcher, but they choose the provider type, profile path, and import handling separately. A later contract change could make the two paths disagree.

The PR Review Advisor finding raised this as a P1 maintainability concern. Rebecca waived it for #13189 because the review found no current behavior mismatch and the proposed broker refactor exceeds that PR's post-attachment warning scope.

Outcome

Give broker registration and direct sandbox creation one shared Hermes tool gateway profile validation contract. Keep each caller responsible for its own cleanup and error context.

Acceptance evidence

  • Both callers use the same decision for the NemoClaw-owned profile and an existing legacy generic provider with the exact non-secret credential binding.
  • A different provider type, credential binding, or conflicting owned profile still stops before provider or sandbox mutation.
  • Focused broker and direct-create tests cover those cases and prove that neither path changes the other's lifecycle behavior.
  • No automatic migration, provider replacement, new profile type, or change to fix(onboard): warn on direct create profile drift #13189's post-attachment warning behavior.

This is follow-up work for #12940 after #13189. If sharing the contract requires a new provider behavior or broader migration, resolve that scope separately before implementation.

Activity

  1. added
    area: integrations
    area: security
    integration: hermes
    on Oct 15, 2026
  2. added theissue type on Oct 15, 2026
  3. added a commit that references this issue on Oct 18, 2026
    8da11a7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: integrationsarea: securityintegration: hermes

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions