Files
mesh-delivery/modules/mesh-delivery-contracts/seats/git/fixtures/events.json
T
jschoubben f8bbde9627 C2: the merge call's contract: merge-pull takes pulls and by, merge-called, calls
merge-pull takes a list of one or more members {repository, number, head} and
by, judges no branch protection and answers once, at the call's end, the call
and each member's outcome {repository, number, state, commit|why} (H-A-21,
H-A-22); its caller id goes, and it names a timeout of 120 s (H-A-43). The
seat says merge-called on merge-called.<call>, kept 30 days and 64 MiB on
SEAT_git_merge-called, its body in bodies; the state calls keeps each call
with said (H-A-47). branch answers no protected.

Builds: design 47 H §734, §735, §736, §766, §767, §764 (the single-pull form, the protection judgement); lead answers H-A-21, H-A-22, H-A-23, H-A-24, H-A-43, H-A-47

Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
2026-11-20 02:44:23 +01:00

150 lines
3.8 KiB
JSON

[
{
"name": "pull.updated is said",
"of": "event:pull-updated",
"subject": "mesh.seat.git.event.pull-updated",
"given": {
"repository": "novox/mesh-sdk",
"number": 178,
"branch": "feat/47-G",
"head": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"base": "main",
"title": "One wiring",
"author": "alice",
"url": "https://forge.test/p/178",
"base-head": "cccccccccccccccccccccccccccccccccccccccc",
"change": {
"paths": [
"go/seatlist/seatlist.go"
],
"module-dirs": [
"go"
]
}
}
},
{
"name": "pull.merged is said",
"of": "event:pull-merged",
"subject": "mesh.seat.git.event.pull-merged",
"given": {
"repository": "novox/mesh-sdk",
"number": 178,
"branch": "feat/47-G",
"head": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"base": "main",
"merge-commit": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"merged-at": "2026-11-09T19:40:00Z",
"change": {
"paths": [
"go/seatlist/seatlist.go"
],
"module-dirs": [
"go"
]
},
"head-checks": {
"mesh/check": "success"
}
}
},
{
"name": "pull.closed is said",
"of": "event:pull-closed",
"subject": "mesh.seat.git.event.pull-closed",
"given": {
"repository": "novox/mesh-sdk",
"number": 179,
"branch": "fix/x",
"head": "cccccccccccccccccccccccccccccccccccccccc",
"base": "main"
}
},
{
"name": "forge.pull is said",
"of": "event:forge-pull",
"subject": "mesh.seat.git.event.forge-pull",
"given": {
"action": "synchronized",
"repository": "novox/mesh-sdk",
"number": 178,
"branch": "feat/47-G",
"head": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"base": "main",
"author": "alice",
"sender": "alice"
}
},
{
"name": "forge.status is said",
"of": "event:forge-status",
"subject": "mesh.seat.git.event.forge-status",
"given": {
"repository": "novox/mesh-sdk",
"commit": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"context": "mesh/check",
"state": "failure",
"description": "failed",
"sender": "mesh-delivery-checker"
}
},
{
"name": "forge.delete is said",
"of": "event:forge-delete",
"subject": "mesh.seat.git.event.forge-delete",
"given": {
"repository": "novox/mesh-sdk",
"ref": "feat/47-G",
"ref-type": "branch",
"sender": "alice"
}
},
{
"name": "repo.writable is said",
"of": "event:repo-writable",
"subject": "mesh.seat.git.event.repo-writable",
"given": {
"repository": "alice/notes",
"account": "mesh-delivery"
}
},
{
"name": "a branch moved by a merge",
"of": "event:branch-moved",
"subject": "mesh.seat.git.event.branch-moved",
"given": {
"repository": "novox/mesh-catalog",
"branch": "main",
"head": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"at": "2026-11-10T10:00:00Z"
}
},
{
"name": "merge-called is said once per call",
"of": "event:merge-called",
"subject": "mesh.seat.git.event.merge-called.0123456789abcdef",
"given": {
"account": "tools-shanks",
"at": "2026-11-20T02:00:00Z",
"by": "lead-47@workstation",
"call": "0123456789abcdef",
"members": [
{
"branch": "main",
"commit": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"head": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"number": 178,
"repository": "novox/mesh-sdk"
}
],
"refused": [
{
"number": 261,
"repository": "novox/mesh-delivery",
"why": "the forge refused the merge: conflict"
}
]
}
}
]