feat(plugin): axis-microsoft — additive Microsoft Graph tool via Axis (M2) - #3
Open
mcomageatlante wants to merge 1 commit into
Open
mcomageatlante wants to merge 1 commit into
mcomageatlante wants to merge 1 commit into
Conversation
…Axis platform (M2) New bundled plugin registering ONE tool, `microsoft_graph`, on top of the built-in toolset (never overrides/removes — narrow-waist doctrine). - Thin authenticated proxy to the Microsoft Graph REST API. Each call mints a short-lived DELEGATED access token from the Axis connectors service (C4 POST /internal/connectors/microsoft/token) and signs the call (Bearer). The sandbox holds no credential; the model never sees a token. Axis owns auth (OAuth client secret + per-user refresh token stay in the platform). - Additive & conditional: check_fn surfaces the tool ONLY when the connector is provisioned for the run (AXIS_CONNECTORS_URL + internal key, injected by Timonier). - Access token cache to avoid re-minting each call. Tests (7, no network): additive gating, register surface, Bearer mint + token reuse, error surfaces. Consumes C4 M1 endpoint (NousResearch#58). Enablement wiring = Timonier (M3). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LF5x35ogKS9ncccvuhf7nf
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.
Contexte
Volet msgraph du chantier connecteurs (auth C4 = M1, NousResearch#58). Ici M2 : le harness gagne un
connecteur Microsoft 365 sans toucher le cœur (plugin, doctrine narrow-waist).
Ce que fait cette PR (M2)
Nouveau plugin
plugins/axis_microsoftqui enregistre un seul tool,microsoft_graph, pardessus les tools bakés :
délégué court auprès du service connecteurs Axis (
POST /internal/connectors/microsoft/token,M1) → appel signé
Bearer. Le sandbox ne détient aucun credential, le modèle ne voit jamais detoken — Axis détient l'auth (client_secret OAuth + refresh token par-utilisateur restent en C4).
check_fnne fait apparaître le tool que si le connecteur estprovisionné (
AXIS_CONNECTORS_URL+ clé interne, injectés par le Timonier).Tests
tests/plugins/test_axis_microsoft_plugin.py(7, sans réseau) : gating additif, surfaced'enregistrement, mint
Bearer+ réutilisation cache, surfaces d'erreur (non provisionné / path /API / refus de mint).
Dépendances & suite
microsoft/token).microsoft → axis-microsoftdans_CONNECTOR_PLUGINS.microsoft/exchange).axis-github(P3, feat(plugin): axis-github — additive GitHub tool authenticated by Axis (P3) #2).🤖 Generated with Claude Code