We can allow deploying arbitrary capability provider (implement as ucanto server) using special provider/deploy
capability.
Once provider is deployed all invocations with audience matching provider DID will be routed accordingly.
If deployed provider is UcantoService
all matching invocations will be forwarded to that endpoint.
If provider is InboxSpace
all matching invocations will be added to that space.
All routed invocations will be indexed by w3up and made queryable by provider authorized agents using index/query
capability.
With content claims, the aud
is the CID, and the iss
is the provider DID noted above.
These should be stored in the same provider space, but still indexed by aud
(CID) and we'll allow an open query interface for CID claims this way.
We should consider any claim sent to a CID to be stored in this way (in the issuers space). In the future, we may wish to restrict or limit the actors who can publish claims to CIDs, but for now we can leave it open.