Files
mesh-delivery/contracts/seats/mesh-catalog/fixtures/events.json
T
jschoubben c8b11baf04 CT3: the seat mesh-catalog: registrations, versions, outdated, input, entry, version-released, versions-filled, entries with languages
Definition and fixtures; the generated contracts come with CT11 (their fixture
test is the proof: it fails on a fixture the definition does not read).

Builds: design 47 G §2, §3, §4, §100, §108, §394 (registrations read; register,
policy, watch, unwatch act, callers operator and sessions), §349, §372, §375,
§354, §443 (versions, outdated, input, entry; version-released, versions-filled
with no age limit; layouts versions, build-edges, inputs), §307, §260
(catalog-revision.<branch>), §47, §323, §365, §374, §378 (entry: artifacts with
language, edges with stale/order, word and part, the events the streams declare),
§331, §396 (keep objects), §400 (no verb optional), §391 (class).

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
2026-11-11 10:44:02 +01:00

112 lines
2.7 KiB
JSON

[
{
"name": "a trunk revision kept, on the seat's subject",
"of": "event:catalog-revision",
"subject": "mesh.seat.mesh-catalog.event.catalog-revision.main",
"given": {
"v": 1,
"revision": 12,
"kind": "trunk",
"source": 3589,
"entries": 2,
"changed": [
"xclip"
],
"at": "2026-11-09T19:00:00Z",
"branch": "main"
}
},
{
"name": "a candidate's revision kept",
"of": "event:catalog-revision",
"subject": "mesh.seat.mesh-catalog.event.catalog-revision.main",
"given": {
"v": 1,
"revision": 13,
"kind": "candidate",
"source": 3589,
"group": "feat/47-G",
"heads": "0123456789ab",
"entries": 2,
"branch": "main"
}
},
{
"name": "the store past 80 % of its cap",
"of": "event:filling",
"subject": "mesh.seat.mesh-catalog.event.filling",
"given": {
"store": "catalog-revisions",
"bytes": 450000000,
"cap": 536870912,
"at": "2026-11-09T19:00:00Z"
}
},
{
"name": "the store full, naming what it refuses",
"of": "event:full",
"subject": "mesh.seat.mesh-catalog.event.full",
"given": {
"store": "catalog-revisions",
"bytes": 536870912,
"cap": 536870912,
"at": "2026-11-09T19:00:00Z",
"refused": "the next revision; source revision 3590 held pending with the reason objects full"
}
},
{
"name": "the store back below its cap",
"of": "event:room",
"subject": "mesh.seat.mesh-catalog.event.room",
"given": {
"store": "catalog-revisions",
"bytes": 300000000,
"cap": 536870912,
"at": "2026-11-09T19:00:00Z"
}
},
{
"name": "a registration changed on its warrant",
"of": "event:registration-changed",
"subject": "mesh.seat.mesh-catalog.event.registration-changed",
"given": {
"v": 1,
"module": "nats",
"version": 2,
"moved": [
"nats:program unit: required -> bypass"
],
"by": "operator@shanks",
"warrant": "ask-m2kx9a1b3c4d5e",
"at": "2026-11-10T10:00:00Z"
}
},
{
"name": "a version released",
"of": "event:version-released",
"subject": "mesh.seat.mesh-catalog.event.version-released",
"given": {
"v": 1,
"module": "mesh-sdk",
"version": "0.1.15",
"artifacts": [
{
"artifact": "mesh-sdk:go",
"digest": "sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
}
],
"source": 3589
}
},
{
"name": "the versions filled",
"of": "event:versions-filled",
"subject": "mesh.seat.mesh-catalog.event.versions-filled",
"given": {
"v": 1,
"at": "2026-11-11T10:00:00Z",
"modules": 120
}
}
]