{ "$type": "com.fedfork.exec.composition", "name": "atirc agents", "description": "agents launches an atirc agent on a socialweb.computer VM and shuts it down by its launch rkey; the requester does the market dance (contract, release, watch); allow-bidders keeps contracts to the bidders listed here. One session for both modules in the page and the service (both are the signed-in account).", "instances": [ { "name": "agents", "module": "agents", "session": "agents", "budget": { "wallMs": 1200000, "calls": 100, "events": 2000 } }, { "name": "requester", "module": "requester", "session": "requester", "budget": { "wallMs": 900000, "calls": 500, "events": 5000 } }, { "name": "allow-bidders", "module": "agents" }, { "name": "bid-policy", "module": "policy-open" } ], "edges": [ { "from": "agents", "nsid": "com.fedfork.market.contract", "to": "requester", "reason": "an agent needs a VM: rfp, accept, guest reports, the ssh command that starts the agent, VM kept (release: false)", "policies": [ { "instance": "allow-bidders", "entry": "allow_bidders", "args": { "bidders": [ "did:plc:7q5lnitxv4meizdon5fmhzrq", "did:plc:4vcig7s43z3nyqrnepmcfzqt" ] } } ] }, { "from": "agents", "nsid": "com.fedfork.market.release", "to": "requester", "reason": "shutting an agent down releases its VM (signed vm.delete + market.event)" }, { "from": "agents", "nsid": "com.fedfork.market.watch", "to": "requester", "reason": "agent status and shutdown read the guest's reports (vm.terminated)" }, { "from": "requester", "nsid": "com.publicdomainrelay.temp.market.evaluatePolicy", "to": "bid-policy", "reason": "the requester's policy hook: open, since allow-bidders on the contract edge already limits the bidders to the two listed (route policy-requester-tangled-vouch here to also require a vouch)" } ], "limits": { "depth": 3, "calls": 40 } }