You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Share Hermes tool gateway profile validation across registration and sandbox creation #13196
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.
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
refactor(hermes): share tool gateway profile contract (#13377)