Agent Mesh
Go a2aa2a-protocolagent-meshagentic-aiinferencemcpmeshmesh-networknetwork-securitynetworking-aip2p-network
docs: the label gate skips a provider only where the node picks one
Tomas Tormo6abfaeae0407
diff --git a/site/content/docs/concepts/authorization.md b/site/content/docs/concepts/authorization.mdindex 4d89db9c..2c9fb4c0 100644--- a/site/content/docs/concepts/authorization.md+++ b/site/content/docs/concepts/authorization.md@@ -270,7 +270,11 @@ Labels are used in four places:passes `required_labels` to `call_remote_tool`. Before it sends any requestdata, the calling node fetches the provider's credential through themutual handshake, verifies it, and confirms that every label named is- attested in it. A provider that cannot show them all is skipped.+ attested in it. When the request names the provider, the node refuses the+ request if the provider cannot show them all. On the `/v1` inference+ endpoints and on a `CONNECT` tunnel the node picks the provider itself.+ There the node skips a provider that fails the check and tries the next+ one.- **An operator drawing a boundary** sets `egress.require_labels` in thenode configuration. Every provider this node talks to must attest all ofthose labels, whether or not the caller asked for any. The caller can adddiff --git a/site/content/docs/concepts/boundaries.md b/site/content/docs/concepts/boundaries.mdindex 8c4bc7ea..9462b361 100644--- a/site/content/docs/concepts/boundaries.md+++ b/site/content/docs/concepts/boundaries.md@@ -67,15 +67,18 @@ a boundary:regardless of what the mesh policy granted.- **A caller refuses providers outside the boundary.** With`X-Mesh-Required-Labels` on a request, the calling node verifies the- provider's credential before it sends anything. A provider that cannot- show every label named is skipped.+ provider's credential before it sends anything. When the request names+ the provider, the node refuses the request if the provider cannot show+ every label named. On the `/v1` inference endpoints and on a `CONNECT`+ tunnel the node picks the provider itself. There the node skips a+ provider that fails the check and tries the next one.- **An operator sets a floor for a whole node.** `egress.require_labels` inthe node configuration applies to every outbound request from that node.Callers cannot lower it.All three mechanisms act on signed facts, not on discovery data, and all-three fail closed. A provider whose credential cannot be fetched or verified-is treated as if it did not have the label.+three fail closed. A provider whose credential does not verify, or that+does not answer, gets no request.## The host has the final say