Judge a duplicate hand-out before the in-hand claim, and treat a stale mark as stale (issue 1768)
mesh/merge-gate head 696300b9e280 merged into trunk f973cefd7fd3 — pass: builds build-agent, mesh-controller → ace, g14, novox, shanks; no bus step; every …
mesh/repo-check head 696300b9e280 merged into trunk f973cefd7fd3 — pass: its merge-check.sh passed
mesh/delivery delivered

A dropped duplicate left the in-hand marker, so every later claim failed and every ask spent its deliveries.
This commit is contained in:
2026-10-21 20:57:12 +02:00
parent 98155e327b
commit 696300b9e2
5 changed files with 189 additions and 15 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ func run() error {
// Paused or drained, it takes nothing new (novox/hq ADR 0219, ADR 0335): a drained agent finishes the build
// in hand and then says idle, and its container is replaced between builds.
machine := link.MachineOverNATSWith(js, on, seat, link.MachineOptions{
Paused: func() bool { return h.Paused() || drained() },
Paused: func() bool { return h.Paused() || drained() || markFaulty(time.Now()) },
Taking: func() { taking(seat) },
Claim: claim,
})