{ "name": "policy bidder-only-me", "description": "socialweb.computer market policy bidder-only-me (kcp parity): Only bid on RFPs from a requester that resolves to the bidder's own operator.", "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" } ] }