lexicons and xrpc
- controlPlaneDown
- controlPlaneUp
- createCluster
- deleteCluster
- getKubeconfig
- listClusters
- listKubeconfigs
- revokeIdentity
- revokeKubeconfig
- subscribeClusters
- agentStart
- image
- memoryPressure
- oomKill
- publicKey
- r2Release
- r2Released
- r2Start
- requesterDid
- secrets
- secretsApplied
- secretsRequested
- secretsUpdated
- signalWebRTC
lexicon
computer.socialweb.temp.policy.ghalite
A market policy a requester publishes in its own repo before a contract's first RFP: a gha-lite workflow that every market.rfp of the contract strongRefs in policies[]. The bidder runs its own workflow and then every attached one, and allows only if all allow; the requester gate runs the same record, which must be in the requester's own repo and, for a bundled name, equal the bundled workflow. Unsigned; written once per contract at a TID and reused by its later RFP rounds.
definitions: #policy
record
| field | type | description |
|---|---|---|
name * | string | The policy name, e.g. requester-tangled-vouch: the bundled workflow of that name when there is one. |
workflow * | string | The gha-lite workflow as YAML text; readers also take a JSON mapping here. |
args * | unknown | The contract's policyArgs, an object of string values (empty when the contract sets none); recorded, and passed to no policy run today. |
requester * | string did | The requester's market DID. |
perspective * | string | Whose policy this is: requester. knownValues ["requester"] |
policies * | array of #policy | The one policy entry the record carries: its name and args. |
createdAt * | string datetime |
#policy object
One named policy and its arguments.
| field | type | description |
|---|---|---|
name * | string | The policy name, the same as the record's name. |
args | unknown | The policyArgs again, present only when the contract sets some. |
used in
Compute Contract Flow - Complete Architecture Map, market: the RFP flow, policy: policy records, attached policies, tangled-vouch
raw schema: lexicons/computer/socialweb/temp/policy/ghalite.json
{
"lexicon": 1,
"id": "computer.socialweb.temp.policy.ghalite",
"defs": {
"main": {
"type": "record",
"description": "A market policy a requester publishes in its own repo before a contract's first RFP: a gha-lite workflow that every market.rfp of the contract strongRefs in policies[]. The bidder runs its own workflow and then every attached one, and allows only if all allow; the requester gate runs the same record, which must be in the requester's own repo and, for a bundled name, equal the bundled workflow. Unsigned; written once per contract at a TID and reused by its later RFP rounds.",
"key": "tid",
"record": {
"type": "object",
"required": [
"name",
"workflow",
"args",
"requester",
"perspective",
"policies",
"createdAt"
],
"properties": {
"name": {
"type": "string",
"description": "The policy name, e.g. requester-tangled-vouch: the bundled workflow of that name when there is one."
},
"workflow": {
"type": "string",
"description": "The gha-lite workflow as YAML text; readers also take a JSON mapping here."
},
"args": {
"type": "unknown",
"description": "The contract's policyArgs, an object of string values (empty when the contract sets none); recorded, and passed to no policy run today."
},
"requester": {
"type": "string",
"format": "did",
"description": "The requester's market DID."
},
"perspective": {
"type": "string",
"knownValues": [
"requester"
],
"description": "Whose policy this is: requester."
},
"policies": {
"type": "array",
"items": {
"type": "ref",
"ref": "#policy"
},
"description": "The one policy entry the record carries: its name and args."
},
"createdAt": {
"type": "string",
"format": "datetime"
}
}
}
},
"policy": {
"type": "object",
"description": "One named policy and its arguments.",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The policy name, the same as the record's name."
},
"args": {
"type": "unknown",
"description": "The policyArgs again, present only when the contract sets some."
}
}
}
}
}