feat minor gateway feat/phase-2g-bundle
AI Agent git-import/a5c96270 · 100 days ago · Apr 17, 2026 · Diff

feat(gateway): add hosted MCP vault_sync tool (#155)

Register vault_sync behind isToolAllowed; POST JSON to the bridge at /api/v1/vault/sync with Authorization and X-Vault-Id (same as search/index).

Upstream: hub/bridge/server.mjs app.post('/api/v1/vault/sync', requireBridgeAuth, requireBridgeEditorOrAdmin, ...) returns ok, message, notesCount, proposalsCount; hub/gateway/server.mjs proxies OPTIONS 204 and POST to BRIDGE_URL + path.

Tests: golden tool lists for editor/admin; mcp-hosted-vault-sync asserts URL, headers, and body mapping.

Co-authored-by: Aaron Rene Carvajal <[email protected]>

sha256:987b71394bb5c6e7968ec0a1c1b2d3281ae62c5f3cf2bd1539986f6bb0534a45 sha
sha256:5f81d654d9c58d2af50bf5cbff36a58ab50fabdd572f472479ee864a854474d5 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:987b71394bb5c6e7968ec0a1c1b2d3281ae62c5f3cf2bd1539986f6bb0534a45 --body "your comment"