GATE-4, GATE-5: a merge call names one source revision per branch and opens its record
The gate consumes the seat git's merge-called and, per watched branch its members name, writes source.<branch> once by compare-and-set keyed by the call, numbered one above the branch's newest; opens that revision's record keyed <branch>.<source> with the call, by and account in its trace; says record-opened on record-opened.<call> and source-moved on source-moved.<branch>.<source>. The take-in.taken writes its movers into the record read by its key, and a take-in with no mover ends it as nothing to deliver. The verb groups, the record's pins and pins-stated, forge-made and the emitted transition go. One commit for both subtasks: the record's opening is the handler's second half and neither compiles alone against the contracts. Builds: design 47 H §737, §738 (a take-in with no movers ends its record), §749 (the pins are the indexer's), §764 (the gate: the source moved on take-in.taken, the verb groups); H-A-13, H-A-19, H-A-24, H-A-25, H-A-28, H-A-29, H-A-33, H-A-47 (the start writes through the seed's path, no record), H-A-48 (pins, pins-stated, transition, members <repository>@<number>), H-A-76 (Q-G1: the say-again carries the value's heads, start false) Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
"serves": [
|
||||
"deliveries",
|
||||
"show",
|
||||
"groups",
|
||||
"source",
|
||||
"recovery",
|
||||
"stalled"
|
||||
@@ -18,13 +17,11 @@
|
||||
],
|
||||
"consumes": [
|
||||
"mesh-delivery-forge-bridge.owed.ended",
|
||||
"git.merge-called.*",
|
||||
"mesh-delivery-indexer.take-in.taken",
|
||||
"mesh-catalog.registration-changed",
|
||||
"mesh-conditions.findings-asked"
|
||||
],
|
||||
"emits": [
|
||||
"transition"
|
||||
],
|
||||
"uses": [
|
||||
"operator-channel"
|
||||
],
|
||||
@@ -43,15 +40,18 @@
|
||||
"milestone": {
|
||||
"type": "string"
|
||||
},
|
||||
"source": {
|
||||
"type": "integer"
|
||||
},
|
||||
"call": {
|
||||
"type": "string"
|
||||
},
|
||||
"heads": {
|
||||
"type": "object"
|
||||
},
|
||||
"opened": {
|
||||
"type": "string"
|
||||
},
|
||||
"forge-made": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"form": {
|
||||
"type": "integer"
|
||||
},
|
||||
@@ -91,12 +91,6 @@
|
||||
"since": {
|
||||
"type": "string"
|
||||
},
|
||||
"revision": {
|
||||
"type": "string"
|
||||
},
|
||||
"half": {
|
||||
"type": "string"
|
||||
},
|
||||
"branch": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -134,9 +128,11 @@
|
||||
"effect": "set-fields",
|
||||
"fields": [
|
||||
"milestone",
|
||||
"branch",
|
||||
"source",
|
||||
"call",
|
||||
"heads",
|
||||
"opened",
|
||||
"forge-made",
|
||||
"form"
|
||||
],
|
||||
"sequence": true
|
||||
@@ -205,23 +201,6 @@
|
||||
"into": "away",
|
||||
"key": "node"
|
||||
},
|
||||
{
|
||||
"name": "pin",
|
||||
"effect": "set-entry",
|
||||
"fields": [
|
||||
"revision",
|
||||
"half",
|
||||
"branch"
|
||||
],
|
||||
"into": "pinned",
|
||||
"key": "revision"
|
||||
},
|
||||
{
|
||||
"name": "free",
|
||||
"effect": "remove",
|
||||
"into": "pinned",
|
||||
"key": "revision"
|
||||
},
|
||||
{
|
||||
"name": "act",
|
||||
"effect": "set-entry",
|
||||
|
||||
Reference in New Issue
Block a user