feat: APS-AgentMesh adapter — structural authorization gates#598
Draft
aeoess wants to merge 3 commits intomicrosoft:mainfrom
Draft
feat: APS-AgentMesh adapter — structural authorization gates#598aeoess wants to merge 3 commits intomicrosoft:mainfrom
aeoess wants to merge 3 commits intomicrosoft:mainfrom
Conversation
…t-driven cache, feedback isolation
…agents Bridges APS (Agent Passport System) structural authorization into AGT's PolicyEngine as external trust signals. Components: - APSPolicyGate: inject APS PolicyDecision into AGT evaluation context - APSTrustBridge: map APS passport grades (0-3) to AGT trust scores (0-1000) - APSScopeVerifier: validate APS delegation scope chains for task assignment - aps_context(): build AGT-compatible context dict from APS artifacts - verify_aps_signature(): Ed25519 signature verification Architecture: APS governs BETWEEN processes (cryptographic proof of authorization scope) AGT governs INSIDE the process (policy evaluation, trust scoring) APS structural authorization = hard constraint (gate) AGT behavioral trust = soft signal (modifies score, doesn't override gate) 17 tests. Zero dependencies (APS SDK optional for full signature verification). Responds to: microsoft#478 (imran-siddique invitation) APS: https://aeoess.com | npm: agent-passport-system v1.29.1 (1,919 tests)
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.
APS-AgentMesh Integration
Responds to @imran-siddique's invitation in #478.
Bridges Agent Passport System (APS) structural authorization into AGT's PolicyEngine as external trust signals.
What this PR adds
packages/agentmesh-integrations/aps-agentmesh/— a new integration package with:APSPolicyGatePolicyDecisioninto AGTevaluate(action, context)APSTrustBridgeAPSScopeVerifieraps_context()Architecture
APS governs between processes (cryptographic proof of authorization scope). AGT governs inside the process (policy evaluation, trust scoring). APS structural authorization = hard constraint (gate). AGT behavioral trust = soft signal.
AGT policy rule example
Tests
17 tests covering: decision parsing, scope chain validation, trust bridging, policy gate context building, scope verification (prefix match, wildcard, depth, budget), and AGT context shape compatibility.
Next steps from #478
PolicyDecisionartifactsdid:agentmesh:DID schemeAPS: aeoess.com | SDK v1.29.1 (1,919 tests) | MCP v2.19.0 (125 tools) | Paper