~ knotless Search/
↑↓ move↵ open⇧↵ all results

socialweb.computer/socialweb-computer-kcp

socialweb.computer: a compute market on atproto (kcp)

1 collaborator
0
0
21 lines · 1.7 KB Raw History
{
	"name": "assert",
	"description": "The acceptance runbooks' assertions: records gone (RecordNotFound x3), PLC tombstones, an agent VM's ident.link chain.",
	"actions": [
		{ "entry": "records_gone", "label": "Records gone", "description": "Reads each record 3 times: left, errors.", "readOnly": true },
		{ "entry": "tombstoned", "label": "Tombstoned", "description": "PLC log/last plc_tombstone and no document: alive.", "readOnly": true },
		{ "entry": "agent_chain", "label": "Agent chain", "description": "The renter -> R2 -> agent pair + grant chain and walk.", "readOnly": true },
		{ "entry": "none_since", "label": "None since", "description": "No market or compute record of the DID created since a time (every page, {uri, createdAt} each, from the host): left, declined (accepts a bidder refused, given by the caller: kept by design), undated, errors.", "readOnly": true }
	],
	"calls": ["com.atproto.repo.getRecord", "com.atproto.repo.describeRepo", "computer.socialweb.test.repo.listCreated", "com.fedfork.exec.identlink.plc", "com.fedfork.exec.identlink.walk"],
	"implements": [
		{ "nsid": "computer.socialweb.test.assert.recordsGone", "entry": "records_gone" },
		{ "nsid": "computer.socialweb.test.assert.tombstoned", "entry": "tombstoned" },
		{ "nsid": "computer.socialweb.test.assert.agentChain", "entry": "agent_chain" },
		{ "nsid": "computer.socialweb.test.assert.noneSince", "entry": "none_since" }
	],
	"hooks": [
		{ "nsid": "com.fedfork.exec.identlink.plc", "required": true, "entries": ["tombstoned", "agent_chain"], "reason": "PLC log/last and documents from the host (its PLC)" },
		{ "nsid": "com.fedfork.exec.identlink.walk", "required": true, "entries": ["agent_chain"], "reason": "the ident.link walk, verified, by the host" }
	]
}