Ship OpenFleet contracts and the OpenWall draft proposal (#177)

* feat: add OpenFleet membership and CoinPay rental contracts

* Propose OpenWall broadcasts and direct messaging contracts

* release: prepare OpenFleet and OpenWall public contracts

* fix: use tested npm for compatible CLI installs
This commit is contained in:
Anthony Ettinger 2026-09-13 00:57:45 -07:00 • committed by GitHub
parent a333726a1e
commit 45c7629953
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 2021 additions and 12 deletions

View file

@ -0,0 +1,86 @@
{
"type": "logicsrc.openfleet",
"version": "0.1",
"id": "https://example.com/fleets/research",
"name": "Research and distribution fleet",
"owner_did": "operator.coinpay",
"description": "An analyst agent and an encrypted reference-data swarm, offered together or separately.",
"updated_at": "2026-09-13T12:00:00Z",
"availability": "available",
"tags": [
"research",
"distribution"
],
"capabilities": [
"analysis",
"paid-seeding"
],
"metadata": {
"region": "eu-west",
"support_url": "https://example.com/support"
},
"members": [
{
"kind": "openagent",
"id": "analyst.coinpay",
"url": "https://example.com/agents/analyst.json",
"name": "Analyst",
"role": "analysis",
"metadata": {
"languages": [
"en"
]
}
},
{
"kind": "openswarm",
"id": "ed25519:0d87e09c7fea3ad6ba6c2f3e027ea47f5b245452899910948470906704c5295d",
"url": "https://example.com/swarms/references/manifest.json",
"name": "Reference corpus",
"role": "reference-data"
}
],
"rentals": [
{
"id": "fleet-hourly",
"scope": {
"kind": "fleet"
},
"rate": {
"amount": "25.000000",
"currency": "USD",
"unit": "hour"
},
"minimum_units": 1,
"maximum_units": 24,
"terms_url": "https://example.com/rental-terms",
"payment": {
"provider": "coinpay",
"payee_did": "operator.coinpay",
"checkout_url": "https://example.com/rentals/research"
}
},
{
"id": "analyst-task",
"scope": {
"kind": "members",
"members": [
{
"kind": "openagent",
"id": "analyst.coinpay"
}
]
},
"rate": {
"amount": "5.500000",
"currency": "USD",
"unit": "task"
},
"payment": {
"provider": "coinpay",
"payee_did": "operator.coinpay",
"checkout_url": "https://example.com/rentals/analyst"
}
}
]
}

View file

@ -0,0 +1,16 @@
{
"openwall": "0.1-draft",
"id": "urn:uuid:5bb154dd-edb3-47b7-8fc6-4cb65a19a9f8",
"sender": "did:web:ops.example",
"createdAt": "2026-09-13T12:00:00Z",
"expiresAt": "2026-09-20T12:00:00Z",
"visibility": "public",
"topic": "releases",
"audience": {
"kind": "public"
},
"content": {
"mediaType": "text/plain",
"text": "Version 1.2 is available."
}
}

View file

@ -0,0 +1,27 @@
{
"openwall": "0.1-draft",
"id": "urn:uuid:94d908df-2876-48f1-bec8-c931f5c847d4",
"sender": "did:web:ops.example",
"createdAt": "2026-09-13T12:00:00Z",
"expiresAt": "2026-09-13T12:10:00Z",
"visibility": "private",
"topic": "maintenance",
"audience": {
"kind": "relationships",
"selectors": [
{
"source": "https://dev.example/contacts",
"actor": "did:web:ops.example",
"groups": [
"users"
],
"scope": "https://dev.example/workspaces/main"
}
],
"exclude": []
},
"content": {
"mediaType": "text/plain",
"text": "SERVER NOTICE\nMaintenance starts in 10 minutes.\nPlease save your work and pause running jobs."
}
}

View file

@ -0,0 +1,17 @@
{
"openwall": "0.1-draft",
"id": "urn:uuid:07b2b83e-27f6-4d59-bdfa-cdcd42548678",
"sender": "did:web:ops.example",
"createdAt": "2026-09-13T12:00:00Z",
"expiresAt": "2026-09-13T12:10:00Z",
"visibility": "private",
"topic": "maintenance",
"audience": {
"kind": "direct",
"recipient": "did:web:ada.example"
},
"content": {
"mediaType": "text/plain",
"text": "Ready when you are."
}
}

View file

@ -0,0 +1,13 @@
{
"openwall": "0.1-draft",
"id": "urn:uuid:963f9109-803f-4f0c-8506-10c70ec47ee6",
"messageId": "urn:uuid:94d908df-2876-48f1-bec8-c931f5c847d4",
"recipient": "did:web:ada.example",
"sequence": 3,
"state": "accepted",
"at": "2026-09-13T12:00:03Z",
"attempt": 1,
"route": "https://chat.example",
"providerMessageId": "provider-msg-123",
"deliveryId": "urn:uuid:db925d64-4e1a-4e5a-83c1-e37b68aa5eef"
}

View file

@ -0,0 +1,14 @@
{
"openwall": "0.1-draft",
"id": "urn:uuid:211bb615-90e1-4773-b7c0-49d59d7cd6bc",
"messageId": "urn:uuid:94d908df-2876-48f1-bec8-c931f5c847d4",
"recipient": "did:web:ada.example",
"sequence": 3,
"state": "retrying",
"at": "2026-09-13T12:00:03Z",
"attempt": 1,
"route": "https://chat.example",
"reason": "rate-limited",
"nextAttemptAt": "2026-09-13T12:01:00Z",
"deliveryId": "urn:uuid:db925d64-4e1a-4e5a-83c1-e37b68aa5eef"
}