johnandersen777.bsky.social/atlibs-socialweb-computer-requester
socialweb.computer market requester and policy modules for atlibs, with its web pages and lexicons
0
0
{
"name": "policy bidder-mutuals",
"description": "socialweb.computer market policy bidder-mutuals (kcp parity): Only bid on RFPs from a requester vouched by the bidder (or its operator) that vouches back.",
"actions": [
{
"entry": "evaluate",
"label": "Evaluate",
"description": "Returns the kcp verdict {allow, violations:[{msg, policyId}]} as the run result.",
"fields": [
{
"key": "selfDid",
"label": "Evaluator DID"
},
{
"key": "counterpartyDid",
"label": "Counterparty DID"
},
{
"key": "mode",
"label": "scope or full"
},
{
"key": "perspective",
"label": "requester or bidder (default: the policy's side)"
},
{
"key": "subjectDid",
"label": "Subject DID (full mode)"
},
{
"key": "rfp",
"label": "RFP {uri,cid,value?}"
},
{
"key": "bid",
"label": "Bid {uri,cid,value?}"
},
{
"key": "accept",
"label": "Accept {uri,cid,value?}"
},
{
"key": "args",
"label": "Policy args (JSON)"
},
{
"key": "snapshot",
"label": "Trust snapshot {operatorOf,vouchedBy} (optional; read if absent)"
}
]
}
],
"config": [
{"key": "args", "label": "Arguments", "type": "object", "description": "The policy's args, as an RFP's policy record names them."}
],
"calls": [
"com.atproto.repo.getRecord"
],
"implements": [
{
"nsid": "com.publicdomainrelay.temp.market.evaluatePolicy",
"entry": "evaluate"
}
]
}