@agentplat/mesh-protocol 0.3.0-alpha.5 → 0.3.0-beta.1

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.
Files changed (48) hide show
  1. package/README.md +10 -3
  2. package/dist/contracts.d.ts +26 -9
  3. package/dist/contracts.d.ts.map +1 -1
  4. package/dist/contracts.js +9 -2
  5. package/dist/contracts.js.map +1 -1
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/validation.d.ts +9 -1
  11. package/dist/validation.d.ts.map +1 -1
  12. package/dist/validation.js +88 -12
  13. package/dist/validation.js.map +1 -1
  14. package/fixtures/v0/README.md +5 -0
  15. package/fixtures/v0/manifest.json +384 -0
  16. package/fixtures/v1/README.md +16 -0
  17. package/fixtures/v1/capability-advertise.json +47 -0
  18. package/fixtures/v1/capability-withdraw.json +32 -0
  19. package/fixtures/v1/evidence-attest.json +40 -0
  20. package/fixtures/v1/evidence-challenge.json +46 -0
  21. package/fixtures/v1/evidence-claim.json +48 -0
  22. package/fixtures/v1/evidence-retract.json +39 -0
  23. package/fixtures/v1/lease-certificate.json +38 -0
  24. package/fixtures/v1/lease-renew.json +47 -0
  25. package/fixtures/v1/lease-takeover-proposal.json +52 -0
  26. package/fixtures/v1/lease-vote.json +34 -0
  27. package/fixtures/v1/manifest.json +477 -0
  28. package/fixtures/v1/objective-announce.json +59 -0
  29. package/fixtures/v1/objective-cancel.json +34 -0
  30. package/fixtures/v1/objective-revise.json +58 -0
  31. package/fixtures/v1/peer-card.json +44 -0
  32. package/fixtures/v1/peer-goodbye.json +32 -0
  33. package/fixtures/v1/peer-hello.json +30 -0
  34. package/fixtures/v1/peer-ping-ack.json +29 -0
  35. package/fixtures/v1/peer-ping.json +28 -0
  36. package/fixtures/v1/public-key.raw.json +6 -0
  37. package/fixtures/v1/trust-observation.json +54 -0
  38. package/fixtures/v1/work-accept.json +44 -0
  39. package/fixtures/v1/work-award.json +52 -0
  40. package/fixtures/v1/work-bid.json +54 -0
  41. package/fixtures/v1/work-cancel.json +46 -0
  42. package/fixtures/v1/work-checkpoint.json +48 -0
  43. package/fixtures/v1/work-decline.json +44 -0
  44. package/fixtures/v1/work-offer.json +51 -0
  45. package/fixtures/v1/work-progress.json +47 -0
  46. package/fixtures/v1/work-release.json +47 -0
  47. package/fixtures/v1/work-result.json +48 -0
  48. package/package.json +2 -2
@@ -0,0 +1,59 @@
1
+ {
2
+ "protocol": "agentplat.mesh",
3
+ "wireVersion": 1,
4
+ "messageId": "OOOOOOOOOOOOOOOOOOOOOA",
5
+ "tenantId": "tenant-a",
6
+ "meshId": "mesh-a",
7
+ "objectiveId": "objective-a",
8
+ "type": "objective.announce",
9
+ "sender": {
10
+ "peerId": "peer-a",
11
+ "instanceId": "instance-a"
12
+ },
13
+ "audience": {
14
+ "kind": "mesh",
15
+ "topic": "objective"
16
+ },
17
+ "sequence": 6,
18
+ "sentAt": "2026-07-30T00:00:00.000Z",
19
+ "expiresAt": "2026-07-30T00:05:00.000Z",
20
+ "payloadHash": "sha256:aaWY6Ri5IFizJMJ6NhoWgsFcez2Jetwc0HMjArKg704",
21
+ "payload": {
22
+ "type": "objective.announce",
23
+ "objectiveDocumentId": "objective-document-a",
24
+ "objectiveId": "objective-a",
25
+ "objectiveRevision": 1,
26
+ "issuerPeerId": "peer-a",
27
+ "summary": "Summarize the approved material.",
28
+ "successCriteria": [
29
+ "A concise summary is produced."
30
+ ],
31
+ "permittedCapabilityKeys": [
32
+ "summarize"
33
+ ],
34
+ "maximumWorkItems": 10,
35
+ "maximumConcurrentAssignments": 2,
36
+ "maximumBudgetUnits": 1000,
37
+ "bidWindowMs": 60000,
38
+ "acceptanceWindowMs": 30000,
39
+ "maximumLeaseDurationMs": 3600000,
40
+ "recoveryGraceMs": 60000,
41
+ "maximumLeaseRenewals": 3,
42
+ "recoveryWitnessPeerIds": [
43
+ "peer-b",
44
+ "peer-c",
45
+ "peer-d"
46
+ ],
47
+ "recoveryWitnessThreshold": 2,
48
+ "validFrom": "2026-07-30T00:00:00.000Z",
49
+ "validUntil": "2026-08-29T00:00:00.000Z",
50
+ "authorizedObserverPeerIds": [
51
+ "peer-observer"
52
+ ]
53
+ },
54
+ "proof": {
55
+ "algorithm": "Ed25519",
56
+ "keyId": "fixture-key-v1",
57
+ "value": "nGLRfgM_gxNhn-H8G8UA94y8dQvn0ymieILnxXAckDgvq50pO-tqHDfsx7cV-04vb7VkQ14qUnt-WCoJ-ysdDQ"
58
+ }
59
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "protocol": "agentplat.mesh",
3
+ "wireVersion": 1,
4
+ "messageId": "XXXXXXXXXXXXXXXXXXXXXA",
5
+ "tenantId": "tenant-a",
6
+ "meshId": "mesh-a",
7
+ "objectiveId": "objective-a",
8
+ "type": "objective.cancel",
9
+ "sender": {
10
+ "peerId": "peer-a",
11
+ "instanceId": "instance-a"
12
+ },
13
+ "audience": {
14
+ "kind": "mesh",
15
+ "topic": "objective"
16
+ },
17
+ "sequence": 8,
18
+ "sentAt": "2026-07-30T00:00:00.000Z",
19
+ "expiresAt": "2026-07-30T00:02:00.000Z",
20
+ "causationId": "RRRRRRRRRRRRRRRRRRRRRA",
21
+ "payloadHash": "sha256:zEvvs4zCe31fNXTxQ5g4U8u1Lz4zBigSqsByppdrUXI",
22
+ "payload": {
23
+ "type": "objective.cancel",
24
+ "cancellationId": "cancellation-a",
25
+ "objectiveId": "objective-a",
26
+ "objectiveRevision": 2,
27
+ "objectiveDocumentId": "objective-document-b"
28
+ },
29
+ "proof": {
30
+ "algorithm": "Ed25519",
31
+ "keyId": "fixture-key-v1",
32
+ "value": "W5JGykHrlRQnbRSkTwDUrUaCeujE2jcBfN99o5GKrrQJIFyyzTYEmFhWPBxepwRXHLCnBO4DWTey4yuwlvvcBw"
33
+ }
34
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "protocol": "agentplat.mesh",
3
+ "wireVersion": 1,
4
+ "messageId": "RRRRRRRRRRRRRRRRRRRRRA",
5
+ "tenantId": "tenant-a",
6
+ "meshId": "mesh-a",
7
+ "objectiveId": "objective-a",
8
+ "type": "objective.revise",
9
+ "sender": {
10
+ "peerId": "peer-a",
11
+ "instanceId": "instance-a"
12
+ },
13
+ "audience": {
14
+ "kind": "mesh",
15
+ "topic": "objective"
16
+ },
17
+ "sequence": 7,
18
+ "sentAt": "2026-07-30T00:00:00.000Z",
19
+ "expiresAt": "2026-07-30T00:05:00.000Z",
20
+ "causationId": "OOOOOOOOOOOOOOOOOOOOOA",
21
+ "payloadHash": "sha256:4CJw5j_o5kgK34-C7YLuXd5-lTt1NkUkbwDNKZftspY",
22
+ "payload": {
23
+ "type": "objective.revise",
24
+ "objectiveDocumentId": "objective-document-b",
25
+ "objectiveId": "objective-a",
26
+ "objectiveRevision": 2,
27
+ "issuerPeerId": "peer-a",
28
+ "summary": "Summarize the approved material with sources.",
29
+ "successCriteria": [
30
+ "A concise summary includes sources."
31
+ ],
32
+ "permittedCapabilityKeys": [
33
+ "summarize"
34
+ ],
35
+ "maximumWorkItems": 10,
36
+ "maximumConcurrentAssignments": 2,
37
+ "maximumBudgetUnits": 1000,
38
+ "bidWindowMs": 60000,
39
+ "acceptanceWindowMs": 30000,
40
+ "maximumLeaseDurationMs": 3600000,
41
+ "recoveryGraceMs": 60000,
42
+ "maximumLeaseRenewals": 3,
43
+ "recoveryWitnessPeerIds": [
44
+ "peer-b",
45
+ "peer-c",
46
+ "peer-d"
47
+ ],
48
+ "recoveryWitnessThreshold": 2,
49
+ "validFrom": "2026-07-30T00:00:00.000Z",
50
+ "validUntil": "2026-08-29T00:00:00.000Z",
51
+ "previousObjectiveDocumentId": "objective-document-a"
52
+ },
53
+ "proof": {
54
+ "algorithm": "Ed25519",
55
+ "keyId": "fixture-key-v1",
56
+ "value": "4_0eYh_P8dXWHMu7XF4tjthpo39Cdk3P_rWr93oUB6Wg0g1PQqbeUIbUOgixwiSfpN52V461XPnk2mQAhtFUBQ"
57
+ }
58
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "protocol": "agentplat.mesh",
3
+ "wireVersion": 1,
4
+ "messageId": "CCCCCCCCCCCCCCCCCCCCCA",
5
+ "tenantId": "tenant-a",
6
+ "meshId": "mesh-a",
7
+ "type": "peer.card",
8
+ "sender": {
9
+ "peerId": "peer-a",
10
+ "instanceId": "instance-a"
11
+ },
12
+ "audience": {
13
+ "kind": "mesh",
14
+ "topic": "membership"
15
+ },
16
+ "sequence": 3,
17
+ "sentAt": "2026-07-30T00:00:00.000Z",
18
+ "expiresAt": "2026-07-30T00:02:00.000Z",
19
+ "payloadHash": "sha256:_ZB1owJOVx2dYbHW5R6gCXGL9CFoxUp5HO2hex2AXYQ",
20
+ "payload": {
21
+ "type": "peer.card",
22
+ "peerCardId": "card-a",
23
+ "cardRevision": 1,
24
+ "subjectPeerId": "peer-a",
25
+ "instanceId": "instance-a",
26
+ "protocolVersions": [
27
+ 0,
28
+ 1
29
+ ],
30
+ "transportHints": [
31
+ "https://peer-a.example.test/mesh"
32
+ ],
33
+ "capabilityIds": [
34
+ "capability-a"
35
+ ],
36
+ "validFrom": "2026-07-30T00:00:00.000Z",
37
+ "validUntil": "2026-07-30T00:02:00.000Z"
38
+ },
39
+ "proof": {
40
+ "algorithm": "Ed25519",
41
+ "keyId": "fixture-key-v1",
42
+ "value": "NqWKUJd0bwMCOHfPiKX95jGPBk-xoHejuaSE1TtikqXWQkMIBq5znlpfJEjjneWDnW5swobp0H_unf1XbOE7Cw"
43
+ }
44
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "protocol": "agentplat.mesh",
3
+ "wireVersion": 1,
4
+ "messageId": "GGGGGGGGGGGGGGGGGGGGGA",
5
+ "tenantId": "tenant-a",
6
+ "meshId": "mesh-a",
7
+ "type": "peer.goodbye",
8
+ "sender": {
9
+ "peerId": "peer-a",
10
+ "instanceId": "instance-a"
11
+ },
12
+ "audience": {
13
+ "kind": "mesh",
14
+ "topic": "membership"
15
+ },
16
+ "sequence": 4,
17
+ "sentAt": "2026-07-30T00:00:00.000Z",
18
+ "expiresAt": "2026-07-30T00:01:00.000Z",
19
+ "causationId": "CCCCCCCCCCCCCCCCCCCCCA",
20
+ "payloadHash": "sha256:pI66KOrIwBdngedRkrg-QspvJJGvXK8NQpPpaDdoE2o",
21
+ "payload": {
22
+ "type": "peer.goodbye",
23
+ "peerCardId": "card-a",
24
+ "cardRevision": 1,
25
+ "instanceId": "instance-a"
26
+ },
27
+ "proof": {
28
+ "algorithm": "Ed25519",
29
+ "keyId": "fixture-key-v1",
30
+ "value": "RYqK6WDInn7nWKn4v0qkkAiqpNPwjhTcUaLAXnzfg9bWsxa6J79gUyKUMXGu4TEKXggktOVF56VmcKtwytNiCA"
31
+ }
32
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "protocol": "agentplat.mesh",
3
+ "wireVersion": 1,
4
+ "messageId": "HHHHHHHHHHHHHHHHHHHHHA",
5
+ "tenantId": "tenant-a",
6
+ "meshId": "mesh-a",
7
+ "type": "peer.hello",
8
+ "sender": {
9
+ "peerId": "peer-a",
10
+ "instanceId": "instance-a"
11
+ },
12
+ "audience": {
13
+ "kind": "mesh",
14
+ "topic": "membership"
15
+ },
16
+ "sequence": 1,
17
+ "sentAt": "2026-07-30T00:00:00.000Z",
18
+ "expiresAt": "2026-07-30T00:02:00.000Z",
19
+ "payloadHash": "sha256:De9Hh1iOinkYALuf7SSfUIL2AyAoUyqLlDUQyoIuWsg",
20
+ "payload": {
21
+ "type": "peer.hello",
22
+ "peerCardId": "card-a",
23
+ "cardRevision": 1
24
+ },
25
+ "proof": {
26
+ "algorithm": "Ed25519",
27
+ "keyId": "fixture-key-v1",
28
+ "value": "G_ZJ7gotOkKYTsJpAuF_R77OjPVPfcW9UkIcsnneBofxqpgS58n2-dFLbGM3tM4D9zB3hUy4jU3Sg-snBW6JBA"
29
+ }
30
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "protocol": "agentplat.mesh",
3
+ "wireVersion": 1,
4
+ "messageId": "RRRRRRRRRRRRRRRRRRRRRA",
5
+ "tenantId": "tenant-a",
6
+ "meshId": "mesh-a",
7
+ "type": "peer.ping_ack",
8
+ "sender": {
9
+ "peerId": "peer-b",
10
+ "instanceId": "instance-b"
11
+ },
12
+ "audience": {
13
+ "kind": "peer",
14
+ "peerId": "peer-a"
15
+ },
16
+ "sequence": 1,
17
+ "sentAt": "2026-07-30T00:00:01.000Z",
18
+ "expiresAt": "2026-07-30T00:00:31.000Z",
19
+ "causationId": "PPPPPPPPPPPPPPPPPPPPPA",
20
+ "payloadHash": "sha256:Loa9rRILGDC4aStCEscqo37McJwV-rOm_vrt8GbiXeo",
21
+ "payload": {
22
+ "type": "peer.ping_ack"
23
+ },
24
+ "proof": {
25
+ "algorithm": "Ed25519",
26
+ "keyId": "fixture-key-v1",
27
+ "value": "-CUge8edAUx0adQrsoPMW7ukwskI0bfqlSqqCRlxLkuUw0UFy3uYmfUjVuxcxep1SkC2eHsArLtLIr5ms9U7Dw"
28
+ }
29
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "protocol": "agentplat.mesh",
3
+ "wireVersion": 1,
4
+ "messageId": "PPPPPPPPPPPPPPPPPPPPPA",
5
+ "tenantId": "tenant-a",
6
+ "meshId": "mesh-a",
7
+ "type": "peer.ping",
8
+ "sender": {
9
+ "peerId": "peer-a",
10
+ "instanceId": "instance-a"
11
+ },
12
+ "audience": {
13
+ "kind": "peer",
14
+ "peerId": "peer-b"
15
+ },
16
+ "sequence": 2,
17
+ "sentAt": "2026-07-30T00:00:00.000Z",
18
+ "expiresAt": "2026-07-30T00:00:30.000Z",
19
+ "payloadHash": "sha256:_8czW4AY8gjthq7NnzCIs73fOeWdOh62geiHthPxdyI",
20
+ "payload": {
21
+ "type": "peer.ping"
22
+ },
23
+ "proof": {
24
+ "algorithm": "Ed25519",
25
+ "keyId": "fixture-key-v1",
26
+ "value": "DC_tTexcCMQCKt2TErukHdFZJaj-OfJ3p2RgdFtY6osWR0v5TMMMzcukHvdsYkafYchYe8X7Kd2780XNSGX_BA"
27
+ }
28
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "algorithm": "Ed25519",
4
+ "keyId": "fixture-key-v1",
5
+ "publicKeyRaw": "Eg7lXVfD5tB2AIuZulNsDKBy5N2aMwEMzAj4HPg7gO8"
6
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "protocol": "agentplat.mesh",
3
+ "wireVersion": 1,
4
+ "messageId": "AAAAAAAAAAAAAAAAAAAABQ",
5
+ "tenantId": "tenant-a",
6
+ "meshId": "mesh-a",
7
+ "type": "trust.observation",
8
+ "sender": {
9
+ "peerId": "peer-a",
10
+ "instanceId": "instance-a"
11
+ },
12
+ "audience": {
13
+ "kind": "peer",
14
+ "peerId": "peer-b"
15
+ },
16
+ "sequence": 35,
17
+ "sentAt": "2026-07-30T00:00:00.000Z",
18
+ "expiresAt": "2026-07-30T00:04:00.000Z",
19
+ "payloadHash": "sha256:NcVy_873dZD1lQzEDxd05XS0XucEya4ttsh801IQejc",
20
+ "payload": {
21
+ "type": "trust.observation",
22
+ "observationId": "observation:00013fb11f4c1dbb750a1565df85f2f1cc3a34716770231f3cd624d77029a98d",
23
+ "subject": {
24
+ "kind": "peer",
25
+ "peerId": "peer-a"
26
+ },
27
+ "scope": {
28
+ "kind": "mesh"
29
+ },
30
+ "policyId": "policy-a",
31
+ "policyVersion": 1,
32
+ "policyDigest": "c1f7278b77bb9eb3977b9d5373b60680c8bf81ae32ab0aebd7c16b4b9884e4d8",
33
+ "profileDigest": "104c4491498717b382d124bbe81ae4e87648fbab08ecba7e24135ead5fc97554",
34
+ "fusionDecisionDigest": "0170fe1b852fc4776968e128e0f1ee552cf68bbf6f8365a16ca5a3f761e7ed90",
35
+ "dimensionId": "dimension-a",
36
+ "scoreBand": "high",
37
+ "uncertaintyBand": "low",
38
+ "disposition": "eligible",
39
+ "evidenceIds": [
40
+ "attestation:f8318373b604044ad4e9764839c4287defe31c9a55337eb9d7f9328308f7c3f6",
41
+ "claim:5c02337f46ec7143b2ab82b9f0913226420e335952b3c4d882cfe4a0562ee01d"
42
+ ],
43
+ "observedAt": "2026-07-30T00:00:00.000Z",
44
+ "validUntil": "2026-07-30T02:00:00.000Z",
45
+ "reasonCodes": [
46
+ "accepted"
47
+ ]
48
+ },
49
+ "proof": {
50
+ "algorithm": "Ed25519",
51
+ "keyId": "fixture-key-v1",
52
+ "value": "k6mpr1Kr7caGqKOcNdM9jD1hjHO9SDkzaj7SDZlxyE-e1owkLSDStceGeZl7IKDJlI_Hx3x0NBwDqhuvxayUBw"
53
+ }
54
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "protocol": "agentplat.mesh",
3
+ "wireVersion": 1,
4
+ "messageId": "AAAAAAAAAAAAAAAAAAAAAg",
5
+ "tenantId": "tenant-a",
6
+ "meshId": "mesh-a",
7
+ "objectiveId": "objective-a",
8
+ "type": "work.accept",
9
+ "sender": {
10
+ "peerId": "peer-a",
11
+ "instanceId": "instance-a"
12
+ },
13
+ "audience": {
14
+ "kind": "peer",
15
+ "peerId": "peer-b"
16
+ },
17
+ "sequence": 12,
18
+ "sentAt": "2026-07-30T00:00:03.000Z",
19
+ "expiresAt": "2026-07-30T00:00:30.000Z",
20
+ "causationId": "AAAAAAAAAAAAAAAAAAAAAQ",
21
+ "payloadHash": "sha256:CvGmwWLTWcS-9Ldc02apSHOazEIqVp7iWqd_xZ7C-Kk",
22
+ "payload": {
23
+ "type": "work.accept",
24
+ "acceptanceId": "acceptance-a",
25
+ "awardId": "award-a",
26
+ "objectiveId": "objective-a",
27
+ "objectiveDocumentId": "objective-document-a",
28
+ "objectiveRevision": 1,
29
+ "workItemId": "work-item-a",
30
+ "workItemRevision": 1,
31
+ "ownerPeerId": "peer-b",
32
+ "ownerEpoch": 1,
33
+ "assigneePeerId": "peer-a",
34
+ "assignmentEpoch": 1,
35
+ "assignmentAuthorityId": "award-a",
36
+ "fencingToken": "award-a",
37
+ "acceptanceDeadline": "2026-07-30T00:15:00.000Z"
38
+ },
39
+ "proof": {
40
+ "algorithm": "Ed25519",
41
+ "keyId": "fixture-key-v1",
42
+ "value": "nwwj99IAgLkQIOcszST-ETbo6yRtP6A4j3fxCHOYpxDYI6gVqed1n_tAFjPumyNrsUepKH2cx02d1aLIVKx-BA"
43
+ }
44
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "protocol": "agentplat.mesh",
3
+ "wireVersion": 1,
4
+ "messageId": "AAAAAAAAAAAAAAAAAAAAAQ",
5
+ "tenantId": "tenant-a",
6
+ "meshId": "mesh-a",
7
+ "objectiveId": "objective-a",
8
+ "type": "work.award",
9
+ "sender": {
10
+ "peerId": "peer-b",
11
+ "instanceId": "instance-b"
12
+ },
13
+ "audience": {
14
+ "kind": "peer",
15
+ "peerId": "peer-a"
16
+ },
17
+ "sequence": 11,
18
+ "sentAt": "2026-07-30T00:00:02.000Z",
19
+ "expiresAt": "2026-07-30T00:00:30.000Z",
20
+ "causationId": "BBBBBBBBBBBBBBBBBBBBBA",
21
+ "payloadHash": "sha256:ouB6Or91wym5YNoVP4HY1_BQF5tpqUuNpRrA-sSGsaU",
22
+ "payload": {
23
+ "type": "work.award",
24
+ "awardId": "award-a",
25
+ "offerId": "offer-a",
26
+ "bidId": "bid-a",
27
+ "bidRevision": 1,
28
+ "objectiveId": "objective-a",
29
+ "objectiveDocumentId": "objective-document-a",
30
+ "objectiveRevision": 1,
31
+ "workItemId": "work-item-a",
32
+ "workItemRevision": 1,
33
+ "ownerPeerId": "peer-b",
34
+ "ownerEpoch": 1,
35
+ "offerAttempt": 1,
36
+ "assigneePeerId": "peer-a",
37
+ "assignmentEpoch": 1,
38
+ "authorityKind": "award",
39
+ "assignmentAuthorityId": "award-a",
40
+ "fencingToken": "award-a",
41
+ "budgetReservationUnits": 100,
42
+ "workDeadline": "2026-07-30T01:00:00.000Z",
43
+ "leaseStartsAt": "2026-07-30T00:00:02.000Z",
44
+ "leaseExpiresAt": "2026-07-30T00:30:00.000Z",
45
+ "acceptanceDeadline": "2026-07-30T00:15:00.000Z"
46
+ },
47
+ "proof": {
48
+ "algorithm": "Ed25519",
49
+ "keyId": "fixture-key-v1",
50
+ "value": "i9Ncw8jl1ZPwy5lIG6df9dD4Y8lSy1fdEEaCZhH19ktw6NJWBlnObONpgC6_dMgbArHDRkk6Yu0N0caKlEPFCA"
51
+ }
52
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "protocol": "agentplat.mesh",
3
+ "wireVersion": 1,
4
+ "messageId": "BBBBBBBBBBBBBBBBBBBBBA",
5
+ "tenantId": "tenant-a",
6
+ "meshId": "mesh-a",
7
+ "objectiveId": "objective-a",
8
+ "type": "work.bid",
9
+ "sender": {
10
+ "peerId": "peer-a",
11
+ "instanceId": "instance-a"
12
+ },
13
+ "audience": {
14
+ "kind": "peer",
15
+ "peerId": "peer-b"
16
+ },
17
+ "sequence": 10,
18
+ "sentAt": "2026-07-30T00:00:01.000Z",
19
+ "expiresAt": "2026-07-30T00:00:30.000Z",
20
+ "causationId": "WWWWWWWWWWWWWWWWWWWWWA",
21
+ "payloadHash": "sha256:NegvCQutpJ2vs2mV89u8kDkfW9f9aNpttM6Au6aiEYg",
22
+ "payload": {
23
+ "type": "work.bid",
24
+ "bidId": "bid-a",
25
+ "bidRevision": 1,
26
+ "offerId": "offer-a",
27
+ "objectiveId": "objective-a",
28
+ "objectiveDocumentId": "objective-document-a",
29
+ "objectiveRevision": 1,
30
+ "workItemId": "work-item-a",
31
+ "workItemRevision": 1,
32
+ "ownerPeerId": "peer-b",
33
+ "ownerEpoch": 1,
34
+ "offerAttempt": 1,
35
+ "bidderPeerId": "peer-a",
36
+ "advertisementId": "advertisement-a",
37
+ "capabilityId": "capability-a",
38
+ "capabilityRevision": 1,
39
+ "capacityReservationUnits": 1,
40
+ "budgetUnits": 100,
41
+ "bidDeadline": "2026-07-30T00:01:00.000Z",
42
+ "workDeadline": "2026-07-30T01:00:00.000Z",
43
+ "expectedCompletionAt": "2026-07-30T00:30:00.000Z",
44
+ "bidExpiresAt": "2026-07-30T00:00:30.000Z",
45
+ "assumptions": [
46
+ "Input is accessible to the assigned peer."
47
+ ]
48
+ },
49
+ "proof": {
50
+ "algorithm": "Ed25519",
51
+ "keyId": "fixture-key-v1",
52
+ "value": "MXZF3ub7lzdZlGVt1qGZNBRpd8LDxyo4A0YV_cukmIE3MZBCw8aU12RPeE7WaSC4OeFppK-BryjmhmHlQzkuCg"
53
+ }
54
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "protocol": "agentplat.mesh",
3
+ "wireVersion": 1,
4
+ "messageId": "GGGGGGGGGGGGGGGGGGGGGA",
5
+ "tenantId": "tenant-a",
6
+ "meshId": "mesh-a",
7
+ "objectiveId": "objective-a",
8
+ "type": "work.cancel",
9
+ "sender": {
10
+ "peerId": "peer-b",
11
+ "instanceId": "instance-b"
12
+ },
13
+ "audience": {
14
+ "kind": "peer",
15
+ "peerId": "peer-a"
16
+ },
17
+ "sequence": 18,
18
+ "sentAt": "2026-07-30T00:10:04.000Z",
19
+ "expiresAt": "2026-07-30T00:12:04.000Z",
20
+ "causationId": "AAAAAAAAAAAAAAAAAAAAAg",
21
+ "payloadHash": "sha256:-6OCPUmS9DFIei74Uk2dYWabxv7hB8GyNeV672_tWB0",
22
+ "payload": {
23
+ "type": "work.cancel",
24
+ "cancellationId": "work-cancellation-a",
25
+ "assignmentState": "active",
26
+ "objectiveId": "objective-a",
27
+ "objectiveDocumentId": "objective-document-a",
28
+ "objectiveRevision": 1,
29
+ "workItemId": "work-item-a",
30
+ "workItemRevision": 1,
31
+ "ownerPeerId": "peer-b",
32
+ "ownerEpoch": 1,
33
+ "assigneePeerId": "peer-a",
34
+ "awardId": "award-a",
35
+ "assignmentEpoch": 1,
36
+ "assignmentAuthorityId": "award-a",
37
+ "fencingToken": "award-a",
38
+ "leaseExpiresAt": "2026-07-30T00:30:00.000Z",
39
+ "acceptanceId": "acceptance-a"
40
+ },
41
+ "proof": {
42
+ "algorithm": "Ed25519",
43
+ "keyId": "fixture-key-v1",
44
+ "value": "VCqIbYLYmJGB3zKBsQcDHd2ZgOvtfqH_XKLaz00nSeHNj_KNdQmDEfRVGFqiy3BbEwk6_d1jkBgR8F85CRg1Cw"
45
+ }
46
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "protocol": "agentplat.mesh",
3
+ "wireVersion": 1,
4
+ "messageId": "DDDDDDDDDDDDDDDDDDDDDA",
5
+ "tenantId": "tenant-a",
6
+ "meshId": "mesh-a",
7
+ "objectiveId": "objective-a",
8
+ "type": "work.checkpoint",
9
+ "sender": {
10
+ "peerId": "peer-a",
11
+ "instanceId": "instance-a"
12
+ },
13
+ "audience": {
14
+ "kind": "peer",
15
+ "peerId": "peer-b"
16
+ },
17
+ "sequence": 15,
18
+ "sentAt": "2026-07-30T00:10:01.000Z",
19
+ "expiresAt": "2026-07-30T00:15:01.000Z",
20
+ "causationId": "AAAAAAAAAAAAAAAAAAAAAg",
21
+ "payloadHash": "sha256:0KnIS5C1_1d1HCFx1VY1rzW6e4DEQp6WR8RAgKsJeQw",
22
+ "payload": {
23
+ "type": "work.checkpoint",
24
+ "checkpointId": "checkpoint-a",
25
+ "checkpointSequence": 1,
26
+ "objectiveId": "objective-a",
27
+ "objectiveDocumentId": "objective-document-a",
28
+ "objectiveRevision": 1,
29
+ "workItemId": "work-item-a",
30
+ "workItemRevision": 1,
31
+ "ownerPeerId": "peer-b",
32
+ "ownerEpoch": 1,
33
+ "assigneePeerId": "peer-a",
34
+ "awardId": "award-a",
35
+ "acceptanceId": "acceptance-a",
36
+ "assignmentEpoch": 1,
37
+ "assignmentAuthorityId": "award-a",
38
+ "fencingToken": "award-a",
39
+ "leaseExpiresAt": "2026-07-30T00:30:00.000Z",
40
+ "checkpointDigest": "sha256:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
41
+ "checkpointSummary": "Source selection is complete."
42
+ },
43
+ "proof": {
44
+ "algorithm": "Ed25519",
45
+ "keyId": "fixture-key-v1",
46
+ "value": "e28hHMOFirIzSSZVpwi8cUz4Puzmw0yTaZ0vvefDuxILG5irtpVDhXjSYmoAHY79-vqQCnVytL-W4jbkciowDQ"
47
+ }
48
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "protocol": "agentplat.mesh",
3
+ "wireVersion": 1,
4
+ "messageId": "AAAAAAAAAAAAAAAAAAAAAw",
5
+ "tenantId": "tenant-a",
6
+ "meshId": "mesh-a",
7
+ "objectiveId": "objective-a",
8
+ "type": "work.decline",
9
+ "sender": {
10
+ "peerId": "peer-a",
11
+ "instanceId": "instance-a"
12
+ },
13
+ "audience": {
14
+ "kind": "peer",
15
+ "peerId": "peer-b"
16
+ },
17
+ "sequence": 13,
18
+ "sentAt": "2026-07-30T00:00:03.000Z",
19
+ "expiresAt": "2026-07-30T00:00:30.000Z",
20
+ "causationId": "AAAAAAAAAAAAAAAAAAAAAQ",
21
+ "payloadHash": "sha256:ABWZorHJw0qPb7Ap13tQobEXg6c5z5l5AR-3ZW17jk8",
22
+ "payload": {
23
+ "type": "work.decline",
24
+ "declineId": "decline-a",
25
+ "awardId": "award-a",
26
+ "objectiveId": "objective-a",
27
+ "objectiveDocumentId": "objective-document-a",
28
+ "objectiveRevision": 1,
29
+ "workItemId": "work-item-a",
30
+ "workItemRevision": 1,
31
+ "ownerPeerId": "peer-b",
32
+ "ownerEpoch": 1,
33
+ "assigneePeerId": "peer-a",
34
+ "assignmentEpoch": 1,
35
+ "assignmentAuthorityId": "award-a",
36
+ "fencingToken": "award-a",
37
+ "acceptanceDeadline": "2026-07-30T00:15:00.000Z"
38
+ },
39
+ "proof": {
40
+ "algorithm": "Ed25519",
41
+ "keyId": "fixture-key-v1",
42
+ "value": "NkvsNWJ-b5KSvpoI7UcY-97BJYPYbE46GffQ_iRcM4F45md-FWwCq494FjPSOq4Xd3pY-B2K1h8ZFXKyrmmyAA"
43
+ }
44
+ }