@agentplat/mesh-protocol 0.3.0-alpha.1 → 0.3.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +294 -1
- package/dist/contracts.d.ts +335 -2
- package/dist/contracts.d.ts.map +1 -1
- package/dist/contracts.js.map +1 -1
- package/dist/validation.d.ts +1 -1
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +1654 -16
- package/dist/validation.js.map +1 -1
- package/fixtures/v0/README.md +6 -2
- package/fixtures/v0/capability-advertise.json +35 -0
- package/fixtures/v0/capability-withdraw.json +26 -0
- package/fixtures/v0/lease-certificate.json +29 -0
- package/fixtures/v0/lease-renew.json +41 -0
- package/fixtures/v0/lease-takeover-proposal.json +46 -0
- package/fixtures/v0/lease-vote.json +28 -0
- package/fixtures/v0/objective-announce.json +43 -0
- package/fixtures/v0/objective-cancel.json +28 -0
- package/fixtures/v0/objective-revise.json +44 -0
- package/fixtures/v0/peer-card.json +31 -0
- package/fixtures/v0/peer-goodbye.json +26 -0
- package/fixtures/v0/work-accept.json +38 -0
- package/fixtures/v0/work-award.json +46 -0
- package/fixtures/v0/work-bid.json +46 -0
- package/fixtures/v0/work-cancel.json +40 -0
- package/fixtures/v0/work-checkpoint.json +42 -0
- package/fixtures/v0/work-decline.json +38 -0
- package/fixtures/v0/work-offer.json +39 -0
- package/fixtures/v0/work-progress.json +41 -0
- package/fixtures/v0/work-release.json +41 -0
- package/fixtures/v0/work-result.json +42 -0
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"protocol": "agentplat.mesh",
|
|
3
|
+
"wireVersion": 0,
|
|
4
|
+
"messageId": "GGGGGGGGGGGGGGGGGGGGGA",
|
|
5
|
+
"tenantId": "tenant-a",
|
|
6
|
+
"meshId": "mesh-a",
|
|
7
|
+
"type": "peer.goodbye",
|
|
8
|
+
"sender": { "peerId": "peer-a", "instanceId": "instance-a" },
|
|
9
|
+
"audience": { "kind": "mesh", "topic": "membership" },
|
|
10
|
+
"sequence": 4,
|
|
11
|
+
"sentAt": "2026-07-30T00:00:00.000Z",
|
|
12
|
+
"expiresAt": "2026-07-30T00:01:00.000Z",
|
|
13
|
+
"causationId": "CCCCCCCCCCCCCCCCCCCCCA",
|
|
14
|
+
"payloadHash": "sha256:GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGA",
|
|
15
|
+
"payload": {
|
|
16
|
+
"type": "peer.goodbye",
|
|
17
|
+
"peerCardId": "card-a",
|
|
18
|
+
"cardRevision": 1,
|
|
19
|
+
"instanceId": "instance-a"
|
|
20
|
+
},
|
|
21
|
+
"proof": {
|
|
22
|
+
"algorithm": "Ed25519",
|
|
23
|
+
"keyId": "key-a",
|
|
24
|
+
"value": "SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSA"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"protocol": "agentplat.mesh",
|
|
3
|
+
"wireVersion": 0,
|
|
4
|
+
"messageId": "AAAAAAAAAAAAAAAAAAAAAg",
|
|
5
|
+
"tenantId": "tenant-a",
|
|
6
|
+
"meshId": "mesh-a",
|
|
7
|
+
"objectiveId": "objective-a",
|
|
8
|
+
"type": "work.accept",
|
|
9
|
+
"sender": { "peerId": "peer-a", "instanceId": "instance-a" },
|
|
10
|
+
"audience": { "kind": "peer", "peerId": "peer-b" },
|
|
11
|
+
"sequence": 12,
|
|
12
|
+
"sentAt": "2026-07-30T00:00:03.000Z",
|
|
13
|
+
"expiresAt": "2026-07-30T00:00:30.000Z",
|
|
14
|
+
"causationId": "AAAAAAAAAAAAAAAAAAAAAQ",
|
|
15
|
+
"payloadHash": "sha256:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAg",
|
|
16
|
+
"payload": {
|
|
17
|
+
"type": "work.accept",
|
|
18
|
+
"acceptanceId": "acceptance-a",
|
|
19
|
+
"awardId": "award-a",
|
|
20
|
+
"objectiveId": "objective-a",
|
|
21
|
+
"objectiveDocumentId": "objective-document-a",
|
|
22
|
+
"objectiveRevision": 1,
|
|
23
|
+
"workItemId": "work-item-a",
|
|
24
|
+
"workItemRevision": 1,
|
|
25
|
+
"ownerPeerId": "peer-b",
|
|
26
|
+
"ownerEpoch": 1,
|
|
27
|
+
"assigneePeerId": "peer-a",
|
|
28
|
+
"assignmentEpoch": 1,
|
|
29
|
+
"assignmentAuthorityId": "award-a",
|
|
30
|
+
"fencingToken": "award-a",
|
|
31
|
+
"acceptanceDeadline": "2026-07-30T00:15:00.000Z"
|
|
32
|
+
},
|
|
33
|
+
"proof": {
|
|
34
|
+
"algorithm": "Ed25519",
|
|
35
|
+
"keyId": "key-a",
|
|
36
|
+
"value": "SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSA"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"protocol": "agentplat.mesh",
|
|
3
|
+
"wireVersion": 0,
|
|
4
|
+
"messageId": "AAAAAAAAAAAAAAAAAAAAAQ",
|
|
5
|
+
"tenantId": "tenant-a",
|
|
6
|
+
"meshId": "mesh-a",
|
|
7
|
+
"objectiveId": "objective-a",
|
|
8
|
+
"type": "work.award",
|
|
9
|
+
"sender": { "peerId": "peer-b", "instanceId": "instance-b" },
|
|
10
|
+
"audience": { "kind": "peer", "peerId": "peer-a" },
|
|
11
|
+
"sequence": 11,
|
|
12
|
+
"sentAt": "2026-07-30T00:00:02.000Z",
|
|
13
|
+
"expiresAt": "2026-07-30T00:00:30.000Z",
|
|
14
|
+
"causationId": "BBBBBBBBBBBBBBBBBBBBBA",
|
|
15
|
+
"payloadHash": "sha256:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
|
16
|
+
"payload": {
|
|
17
|
+
"type": "work.award",
|
|
18
|
+
"awardId": "award-a",
|
|
19
|
+
"offerId": "offer-a",
|
|
20
|
+
"bidId": "bid-a",
|
|
21
|
+
"bidRevision": 1,
|
|
22
|
+
"objectiveId": "objective-a",
|
|
23
|
+
"objectiveDocumentId": "objective-document-a",
|
|
24
|
+
"objectiveRevision": 1,
|
|
25
|
+
"workItemId": "work-item-a",
|
|
26
|
+
"workItemRevision": 1,
|
|
27
|
+
"ownerPeerId": "peer-b",
|
|
28
|
+
"ownerEpoch": 1,
|
|
29
|
+
"offerAttempt": 1,
|
|
30
|
+
"assigneePeerId": "peer-a",
|
|
31
|
+
"assignmentEpoch": 1,
|
|
32
|
+
"authorityKind": "award",
|
|
33
|
+
"assignmentAuthorityId": "award-a",
|
|
34
|
+
"fencingToken": "award-a",
|
|
35
|
+
"budgetReservationUnits": 100,
|
|
36
|
+
"workDeadline": "2026-07-30T01:00:00.000Z",
|
|
37
|
+
"leaseStartsAt": "2026-07-30T00:00:02.000Z",
|
|
38
|
+
"leaseExpiresAt": "2026-07-30T00:30:00.000Z",
|
|
39
|
+
"acceptanceDeadline": "2026-07-30T00:15:00.000Z"
|
|
40
|
+
},
|
|
41
|
+
"proof": {
|
|
42
|
+
"algorithm": "Ed25519",
|
|
43
|
+
"keyId": "key-b",
|
|
44
|
+
"value": "SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSA"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"protocol": "agentplat.mesh",
|
|
3
|
+
"wireVersion": 0,
|
|
4
|
+
"messageId": "BBBBBBBBBBBBBBBBBBBBBA",
|
|
5
|
+
"tenantId": "tenant-a",
|
|
6
|
+
"meshId": "mesh-a",
|
|
7
|
+
"objectiveId": "objective-a",
|
|
8
|
+
"type": "work.bid",
|
|
9
|
+
"sender": { "peerId": "peer-a", "instanceId": "instance-a" },
|
|
10
|
+
"audience": { "kind": "peer", "peerId": "peer-b" },
|
|
11
|
+
"sequence": 10,
|
|
12
|
+
"sentAt": "2026-07-30T00:00:01.000Z",
|
|
13
|
+
"expiresAt": "2026-07-30T00:00:30.000Z",
|
|
14
|
+
"causationId": "WWWWWWWWWWWWWWWWWWWWWA",
|
|
15
|
+
"payloadHash": "sha256:BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBA",
|
|
16
|
+
"payload": {
|
|
17
|
+
"type": "work.bid",
|
|
18
|
+
"bidId": "bid-a",
|
|
19
|
+
"bidRevision": 1,
|
|
20
|
+
"offerId": "offer-a",
|
|
21
|
+
"objectiveId": "objective-a",
|
|
22
|
+
"objectiveDocumentId": "objective-document-a",
|
|
23
|
+
"objectiveRevision": 1,
|
|
24
|
+
"workItemId": "work-item-a",
|
|
25
|
+
"workItemRevision": 1,
|
|
26
|
+
"ownerPeerId": "peer-b",
|
|
27
|
+
"ownerEpoch": 1,
|
|
28
|
+
"offerAttempt": 1,
|
|
29
|
+
"bidderPeerId": "peer-a",
|
|
30
|
+
"advertisementId": "advertisement-a",
|
|
31
|
+
"capabilityId": "capability-a",
|
|
32
|
+
"capabilityRevision": 1,
|
|
33
|
+
"capacityReservationUnits": 1,
|
|
34
|
+
"budgetUnits": 100,
|
|
35
|
+
"bidDeadline": "2026-07-30T00:01:00.000Z",
|
|
36
|
+
"workDeadline": "2026-07-30T01:00:00.000Z",
|
|
37
|
+
"expectedCompletionAt": "2026-07-30T00:30:00.000Z",
|
|
38
|
+
"bidExpiresAt": "2026-07-30T00:00:30.000Z",
|
|
39
|
+
"assumptions": ["Input is accessible to the assigned peer."]
|
|
40
|
+
},
|
|
41
|
+
"proof": {
|
|
42
|
+
"algorithm": "Ed25519",
|
|
43
|
+
"keyId": "key-a",
|
|
44
|
+
"value": "SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSA"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"protocol": "agentplat.mesh",
|
|
3
|
+
"wireVersion": 0,
|
|
4
|
+
"messageId": "GGGGGGGGGGGGGGGGGGGGGA",
|
|
5
|
+
"tenantId": "tenant-a",
|
|
6
|
+
"meshId": "mesh-a",
|
|
7
|
+
"objectiveId": "objective-a",
|
|
8
|
+
"type": "work.cancel",
|
|
9
|
+
"sender": { "peerId": "peer-b", "instanceId": "instance-b" },
|
|
10
|
+
"audience": { "kind": "peer", "peerId": "peer-a" },
|
|
11
|
+
"sequence": 18,
|
|
12
|
+
"sentAt": "2026-07-30T00:10:04.000Z",
|
|
13
|
+
"expiresAt": "2026-07-30T00:12:04.000Z",
|
|
14
|
+
"causationId": "AAAAAAAAAAAAAAAAAAAAAg",
|
|
15
|
+
"payloadHash": "sha256:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
|
16
|
+
"payload": {
|
|
17
|
+
"type": "work.cancel",
|
|
18
|
+
"cancellationId": "work-cancellation-a",
|
|
19
|
+
"assignmentState": "active",
|
|
20
|
+
"objectiveId": "objective-a",
|
|
21
|
+
"objectiveDocumentId": "objective-document-a",
|
|
22
|
+
"objectiveRevision": 1,
|
|
23
|
+
"workItemId": "work-item-a",
|
|
24
|
+
"workItemRevision": 1,
|
|
25
|
+
"ownerPeerId": "peer-b",
|
|
26
|
+
"ownerEpoch": 1,
|
|
27
|
+
"assigneePeerId": "peer-a",
|
|
28
|
+
"awardId": "award-a",
|
|
29
|
+
"assignmentEpoch": 1,
|
|
30
|
+
"assignmentAuthorityId": "award-a",
|
|
31
|
+
"fencingToken": "award-a",
|
|
32
|
+
"leaseExpiresAt": "2026-07-30T00:30:00.000Z",
|
|
33
|
+
"acceptanceId": "acceptance-a"
|
|
34
|
+
},
|
|
35
|
+
"proof": {
|
|
36
|
+
"algorithm": "Ed25519",
|
|
37
|
+
"keyId": "key-b",
|
|
38
|
+
"value": "SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSA"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"protocol": "agentplat.mesh",
|
|
3
|
+
"wireVersion": 0,
|
|
4
|
+
"messageId": "DDDDDDDDDDDDDDDDDDDDDA",
|
|
5
|
+
"tenantId": "tenant-a",
|
|
6
|
+
"meshId": "mesh-a",
|
|
7
|
+
"objectiveId": "objective-a",
|
|
8
|
+
"type": "work.checkpoint",
|
|
9
|
+
"sender": { "peerId": "peer-a", "instanceId": "instance-a" },
|
|
10
|
+
"audience": { "kind": "peer", "peerId": "peer-b" },
|
|
11
|
+
"sequence": 15,
|
|
12
|
+
"sentAt": "2026-07-30T00:10:01.000Z",
|
|
13
|
+
"expiresAt": "2026-07-30T00:15:01.000Z",
|
|
14
|
+
"causationId": "AAAAAAAAAAAAAAAAAAAAAg",
|
|
15
|
+
"payloadHash": "sha256:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
|
16
|
+
"payload": {
|
|
17
|
+
"type": "work.checkpoint",
|
|
18
|
+
"checkpointId": "checkpoint-a",
|
|
19
|
+
"checkpointSequence": 1,
|
|
20
|
+
"objectiveId": "objective-a",
|
|
21
|
+
"objectiveDocumentId": "objective-document-a",
|
|
22
|
+
"objectiveRevision": 1,
|
|
23
|
+
"workItemId": "work-item-a",
|
|
24
|
+
"workItemRevision": 1,
|
|
25
|
+
"ownerPeerId": "peer-b",
|
|
26
|
+
"ownerEpoch": 1,
|
|
27
|
+
"assigneePeerId": "peer-a",
|
|
28
|
+
"awardId": "award-a",
|
|
29
|
+
"acceptanceId": "acceptance-a",
|
|
30
|
+
"assignmentEpoch": 1,
|
|
31
|
+
"assignmentAuthorityId": "award-a",
|
|
32
|
+
"fencingToken": "award-a",
|
|
33
|
+
"leaseExpiresAt": "2026-07-30T00:30:00.000Z",
|
|
34
|
+
"checkpointDigest": "sha256:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
|
35
|
+
"checkpointSummary": "Source selection is complete."
|
|
36
|
+
},
|
|
37
|
+
"proof": {
|
|
38
|
+
"algorithm": "Ed25519",
|
|
39
|
+
"keyId": "key-a",
|
|
40
|
+
"value": "SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSA"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"protocol": "agentplat.mesh",
|
|
3
|
+
"wireVersion": 0,
|
|
4
|
+
"messageId": "AAAAAAAAAAAAAAAAAAAAAw",
|
|
5
|
+
"tenantId": "tenant-a",
|
|
6
|
+
"meshId": "mesh-a",
|
|
7
|
+
"objectiveId": "objective-a",
|
|
8
|
+
"type": "work.decline",
|
|
9
|
+
"sender": { "peerId": "peer-a", "instanceId": "instance-a" },
|
|
10
|
+
"audience": { "kind": "peer", "peerId": "peer-b" },
|
|
11
|
+
"sequence": 13,
|
|
12
|
+
"sentAt": "2026-07-30T00:00:03.000Z",
|
|
13
|
+
"expiresAt": "2026-07-30T00:00:30.000Z",
|
|
14
|
+
"causationId": "AAAAAAAAAAAAAAAAAAAAAQ",
|
|
15
|
+
"payloadHash": "sha256:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw",
|
|
16
|
+
"payload": {
|
|
17
|
+
"type": "work.decline",
|
|
18
|
+
"declineId": "decline-a",
|
|
19
|
+
"awardId": "award-a",
|
|
20
|
+
"objectiveId": "objective-a",
|
|
21
|
+
"objectiveDocumentId": "objective-document-a",
|
|
22
|
+
"objectiveRevision": 1,
|
|
23
|
+
"workItemId": "work-item-a",
|
|
24
|
+
"workItemRevision": 1,
|
|
25
|
+
"ownerPeerId": "peer-b",
|
|
26
|
+
"ownerEpoch": 1,
|
|
27
|
+
"assigneePeerId": "peer-a",
|
|
28
|
+
"assignmentEpoch": 1,
|
|
29
|
+
"assignmentAuthorityId": "award-a",
|
|
30
|
+
"fencingToken": "award-a",
|
|
31
|
+
"acceptanceDeadline": "2026-07-30T00:15:00.000Z"
|
|
32
|
+
},
|
|
33
|
+
"proof": {
|
|
34
|
+
"algorithm": "Ed25519",
|
|
35
|
+
"keyId": "key-a",
|
|
36
|
+
"value": "SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSA"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"protocol": "agentplat.mesh",
|
|
3
|
+
"wireVersion": 0,
|
|
4
|
+
"messageId": "WWWWWWWWWWWWWWWWWWWWWA",
|
|
5
|
+
"tenantId": "tenant-a",
|
|
6
|
+
"meshId": "mesh-a",
|
|
7
|
+
"objectiveId": "objective-a",
|
|
8
|
+
"type": "work.offer",
|
|
9
|
+
"sender": { "peerId": "peer-a", "instanceId": "instance-a" },
|
|
10
|
+
"audience": { "kind": "peer", "peerId": "peer-b" },
|
|
11
|
+
"sequence": 9,
|
|
12
|
+
"sentAt": "2026-07-30T00:00:00.000Z",
|
|
13
|
+
"expiresAt": "2026-07-30T00:01:00.000Z",
|
|
14
|
+
"payloadHash": "sha256:WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWA",
|
|
15
|
+
"payload": {
|
|
16
|
+
"type": "work.offer",
|
|
17
|
+
"offerId": "offer-a",
|
|
18
|
+
"objectiveId": "objective-a",
|
|
19
|
+
"objectiveDocumentId": "objective-document-a",
|
|
20
|
+
"objectiveRevision": 1,
|
|
21
|
+
"workItemId": "work-item-a",
|
|
22
|
+
"workItemRevision": 1,
|
|
23
|
+
"ownerPeerId": "peer-a",
|
|
24
|
+
"ownerEpoch": 1,
|
|
25
|
+
"offerAttempt": 1,
|
|
26
|
+
"requiredCapabilityKeys": ["summarize"],
|
|
27
|
+
"matchingAttributes": { "language": "en" },
|
|
28
|
+
"inputSummary": "Summarize the approved material.",
|
|
29
|
+
"completionCriteria": ["Return a concise summary."],
|
|
30
|
+
"budgetReservationUnits": 100,
|
|
31
|
+
"bidDeadline": "2026-07-30T00:01:00.000Z",
|
|
32
|
+
"workDeadline": "2026-07-30T01:00:00.000Z"
|
|
33
|
+
},
|
|
34
|
+
"proof": {
|
|
35
|
+
"algorithm": "Ed25519",
|
|
36
|
+
"keyId": "key-a",
|
|
37
|
+
"value": "SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSA"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"protocol": "agentplat.mesh",
|
|
3
|
+
"wireVersion": 0,
|
|
4
|
+
"messageId": "CCCCCCCCCCCCCCCCCCCCCA",
|
|
5
|
+
"tenantId": "tenant-a",
|
|
6
|
+
"meshId": "mesh-a",
|
|
7
|
+
"objectiveId": "objective-a",
|
|
8
|
+
"type": "work.progress",
|
|
9
|
+
"sender": { "peerId": "peer-a", "instanceId": "instance-a" },
|
|
10
|
+
"audience": { "kind": "peer", "peerId": "peer-b" },
|
|
11
|
+
"sequence": 14,
|
|
12
|
+
"sentAt": "2026-07-30T00:10:00.000Z",
|
|
13
|
+
"expiresAt": "2026-07-30T00:15:00.000Z",
|
|
14
|
+
"causationId": "AAAAAAAAAAAAAAAAAAAAAg",
|
|
15
|
+
"payloadHash": "sha256:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
|
16
|
+
"payload": {
|
|
17
|
+
"type": "work.progress",
|
|
18
|
+
"progressId": "progress-a",
|
|
19
|
+
"progressSequence": 1,
|
|
20
|
+
"objectiveId": "objective-a",
|
|
21
|
+
"objectiveDocumentId": "objective-document-a",
|
|
22
|
+
"objectiveRevision": 1,
|
|
23
|
+
"workItemId": "work-item-a",
|
|
24
|
+
"workItemRevision": 1,
|
|
25
|
+
"ownerPeerId": "peer-b",
|
|
26
|
+
"ownerEpoch": 1,
|
|
27
|
+
"assigneePeerId": "peer-a",
|
|
28
|
+
"awardId": "award-a",
|
|
29
|
+
"acceptanceId": "acceptance-a",
|
|
30
|
+
"assignmentEpoch": 1,
|
|
31
|
+
"assignmentAuthorityId": "award-a",
|
|
32
|
+
"fencingToken": "award-a",
|
|
33
|
+
"leaseExpiresAt": "2026-07-30T00:30:00.000Z",
|
|
34
|
+
"progressSummary": "The assigned peer has started the summary."
|
|
35
|
+
},
|
|
36
|
+
"proof": {
|
|
37
|
+
"algorithm": "Ed25519",
|
|
38
|
+
"keyId": "key-a",
|
|
39
|
+
"value": "SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSA"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"protocol": "agentplat.mesh",
|
|
3
|
+
"wireVersion": 0,
|
|
4
|
+
"messageId": "FFFFFFFFFFFFFFFFFFFFFA",
|
|
5
|
+
"tenantId": "tenant-a",
|
|
6
|
+
"meshId": "mesh-a",
|
|
7
|
+
"objectiveId": "objective-a",
|
|
8
|
+
"type": "work.release",
|
|
9
|
+
"sender": { "peerId": "peer-a", "instanceId": "instance-a" },
|
|
10
|
+
"audience": { "kind": "peer", "peerId": "peer-b" },
|
|
11
|
+
"sequence": 17,
|
|
12
|
+
"sentAt": "2026-07-30T00:10:03.000Z",
|
|
13
|
+
"expiresAt": "2026-07-30T00:12:03.000Z",
|
|
14
|
+
"causationId": "AAAAAAAAAAAAAAAAAAAAAg",
|
|
15
|
+
"payloadHash": "sha256:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
|
16
|
+
"payload": {
|
|
17
|
+
"type": "work.release",
|
|
18
|
+
"releaseId": "release-a",
|
|
19
|
+
"releaseAuthority": "assignee",
|
|
20
|
+
"releaseDisposition": "reoffer",
|
|
21
|
+
"objectiveId": "objective-a",
|
|
22
|
+
"objectiveDocumentId": "objective-document-a",
|
|
23
|
+
"objectiveRevision": 1,
|
|
24
|
+
"workItemId": "work-item-a",
|
|
25
|
+
"workItemRevision": 1,
|
|
26
|
+
"ownerPeerId": "peer-b",
|
|
27
|
+
"ownerEpoch": 1,
|
|
28
|
+
"assigneePeerId": "peer-a",
|
|
29
|
+
"awardId": "award-a",
|
|
30
|
+
"assignmentEpoch": 1,
|
|
31
|
+
"assignmentAuthorityId": "award-a",
|
|
32
|
+
"fencingToken": "award-a",
|
|
33
|
+
"leaseExpiresAt": "2026-07-30T00:30:00.000Z",
|
|
34
|
+
"acceptanceId": "acceptance-a"
|
|
35
|
+
},
|
|
36
|
+
"proof": {
|
|
37
|
+
"algorithm": "Ed25519",
|
|
38
|
+
"keyId": "key-a",
|
|
39
|
+
"value": "SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSA"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"protocol": "agentplat.mesh",
|
|
3
|
+
"wireVersion": 0,
|
|
4
|
+
"messageId": "EEEEEEEEEEEEEEEEEEEEEA",
|
|
5
|
+
"tenantId": "tenant-a",
|
|
6
|
+
"meshId": "mesh-a",
|
|
7
|
+
"objectiveId": "objective-a",
|
|
8
|
+
"type": "work.result",
|
|
9
|
+
"sender": { "peerId": "peer-a", "instanceId": "instance-a" },
|
|
10
|
+
"audience": { "kind": "peer", "peerId": "peer-b" },
|
|
11
|
+
"sequence": 16,
|
|
12
|
+
"sentAt": "2026-07-30T00:10:02.000Z",
|
|
13
|
+
"expiresAt": "2026-07-30T00:15:02.000Z",
|
|
14
|
+
"causationId": "AAAAAAAAAAAAAAAAAAAAAg",
|
|
15
|
+
"payloadHash": "sha256:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
|
16
|
+
"payload": {
|
|
17
|
+
"type": "work.result",
|
|
18
|
+
"resultId": "result-a",
|
|
19
|
+
"resultDigest": "sha256:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
|
20
|
+
"objectiveId": "objective-a",
|
|
21
|
+
"objectiveDocumentId": "objective-document-a",
|
|
22
|
+
"objectiveRevision": 1,
|
|
23
|
+
"workItemId": "work-item-a",
|
|
24
|
+
"workItemRevision": 1,
|
|
25
|
+
"ownerPeerId": "peer-b",
|
|
26
|
+
"ownerEpoch": 1,
|
|
27
|
+
"assigneePeerId": "peer-a",
|
|
28
|
+
"awardId": "award-a",
|
|
29
|
+
"acceptanceId": "acceptance-a",
|
|
30
|
+
"assignmentEpoch": 1,
|
|
31
|
+
"assignmentAuthorityId": "award-a",
|
|
32
|
+
"fencingToken": "award-a",
|
|
33
|
+
"leaseExpiresAt": "2026-07-30T00:30:00.000Z",
|
|
34
|
+
"checkpointId": "checkpoint-a",
|
|
35
|
+
"resultSummary": "A concise summary was produced."
|
|
36
|
+
},
|
|
37
|
+
"proof": {
|
|
38
|
+
"algorithm": "Ed25519",
|
|
39
|
+
"keyId": "key-a",
|
|
40
|
+
"value": "SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSA"
|
|
41
|
+
}
|
|
42
|
+
}
|