pool-label flows: a sick host still WINS runs-on: swarm jobs by polling (the half of #305/#191 #315 does not cover) #316
Open
opened 2026-10-29 06:03:26 +00:00 by matou-build-agent
·
4 comments
No Branch/Tag specified
main
sandcastle/rescue-20261120-212246
sandcastle/rescue-20261120-202650
sandcastle/rescue-20261120-202316
sandcastle/worker/20261120192753-1909682
sandcastle/rescue-20261120-191443
sandcastle/rescue-20261120-195103
sandcastle/rescue-20261120-201254
sandcastle/rescue-20261120-201438
sandcastle/rescue-20261120-144756
sandcastle/rescue-20261120-184843
sandcastle/rescue-20261120-190817
sandcastle/rescue-20261120-045815
sandcastle/rescue-20261120-143144
sandcastle/rescue-20261120-144025
sandcastle/worker/20261120032838-3834852
sandcastle/worker/20261120034547-1076409
sandcastle/rescue-20261120-031041
sandcastle/rescue-20261120-035031
sandcastle/rescue-20261120-041046
sandcastle/rescue-20261120-041556
sandcastle/rescue-20261120-042712
sandcastle/rescue-20261120-044145
sandcastle/rescue-20261120-044401
sandcastle/worker/20261120020735-3225234
sandcastle/rescue-20261120-025017
sandcastle/worker/20261120012937-3577764
sandcastle/rescue-20261120-024432
sandcastle/rescue-20261120-012510
sandcastle/rescue-20261120-020027
sandcastle/rescue-20261120-022005
sandcastle/rescue-20261120-023040
sandcastle/rescue-20261120-023059
sandcastle/rescue-20261120-023617
sandcastle/rescue-20261120-023726
sandcastle/rescue-20261120-024624
sandcastle/rescue-20261120-030108
sandcastle/rescue-20261120-011059
sandcastle/rescue-20261119-235227
sandcastle/rescue-20261119-220002
sandcastle/rescue-20261119-234418
sandcastle/worker/20261119210537-2901903
sandcastle/rescue-20261119-215319
sandcastle/worker/20261119210832-2140478
sandcastle/rescue-20261119-205729
sandcastle/worker/20261119195637-2051281
sandcastle/rescue-20261119-203604
sandcastle/rescue-20261119-212545
sandcastle/rescue-20261119-213258
sandcastle/rescue-20261119-214233
sandcastle/rescue-20261119-215039
sandcastle/rescue-20261119-200052
sandcastle/rescue-20261119-202558
sandcastle/rescue-20261119-202859
sandcastle/rescue-20261119-204522
sandcastle/rescue-20261119-202901
sandcastle/worker/20261119192821-2242548
sandcastle/rescue-20261119-201432
sandcastle/worker/20261119185826-1049892
sandcastle/rescue-20261119-192442
sandcastle/rescue-20261119-194543
sandcastle/rescue-20261119-195715
sandcastle/rescue-20261119-195042
sandcastle/rescue-20261119-194153
sandcastle/rescue-20261119-193223
sandcastle/rescue-20261119-181821
sandcastle/rescue-20261119-182031
sandcastle/rescue-20261119-191400
sandcastle/rescue-20261119-184524
sandcastle/rescue-20261119-185251
sandcastle/rescue-20261119-190111
sandcastle/rescue-20261119-171507
sandcastle/rescue-20261119-172406
sandcastle/rescue-20261119-180227
sandcastle/rescue-20261119-181611
sandcastle/rescue-20261119-183926
sandcastle/rescue-20261119-165410
sandcastle/rescue-20261119-181300
sandcastle/worker/20261119152654-1251003
sandcastle/rescue-20261119-175608
sandcastle/rescue-20261119-153212
sandcastle/rescue-20261119-155612
sandcastle/rescue-20261119-161612
sandcastle/rescue-20261119-162645
sandcastle/rescue-20261119-151259
sandcastle/worker/20261119-091545-699963
sandcastle/rescue-20261119-152400
sandcastle/rescue-20261119-150650
sandcastle/rescue-20261119-151018
sandcastle/rescue-20261119-145753
sandcastle/rescue-20261119-144640
sandcastle/worker/20261119-141805-b375a7
sandcastle/rescue-20261119-143616
sandcastle/rescue-20261119-142315
sandcastle/rescue-20261119-143536
sandcastle/rescue-20261119-144907
sandcastle/rescue-20261119-150929
sandcastle/rescue-20261119-140252
sandcastle/rescue-20261119-132837
sandcastle/rescue-20261119-140917
sandcastle/rescue-20261118-232015
sandcastle/rescue-20261118-224358
sandcastle/rescue-20261118-231012
sandcastle/rescue-20261118-221954
sandcastle/rescue-20261118-223235
sandcastle/rescue-20261118-215029
sandcastle/rescue-20261118-220457
sandcastle/rescue-20261118-213647
sandcastle/rescue-20261118-213651
sandcastle/rescue-20261118-203142
sandcastle/rescue-20261118-201242
sandcastle/rescue-20261118-160449
sandcastle/worker/20261118-151037-fa1423
sandcastle/rescue-20261118-141033
sandcastle/rescue-20261118-153435
sandcastle/rescue-20261118-155226
sandcastle/rescue-20261118-140135
sandcastle/rescue-20261118-072336
sandcastle/rescue-20261118-071306
sandcastle/rescue-20261118-065902
sandcastle/rescue-20261118-070925
sandcastle/rescue-20261118-064628
sandcastle/rescue-20261118-060611
sandcastle/rescue-20261118-063652
sandcastle/rescue-20261118-065117
sandcastle/rescue-20261118-065556
sandcastle/rescue-20261118-055026
sandcastle/worker/20261118-000033-5f0b74
sandcastle/rescue-20261118-054929
sandcastle/rescue-20261118-053613
sandcastle/worker/20261118-050837-870db6
sandcastle/rescue-20261118-051315
sandcastle/rescue-20261118-052156
sandcastle/rescue-20261118-053056
sandcastle/rescue-20261118-042651
sandcastle/rescue-20261118-050517
sandcastle/rescue-20261118-052017
sandcastle/rescue-20261118-052046
sandcastle/rescue-20261118-053617
sandcastle/rescue-20261118-040341
sandcastle/rescue-20261118-035452
sandcastle/rescue-20261117-180034
sandcastle/worker/20261117-173516-cca624
backport/idss-2068-2111-2114
sandcastle/rescue-20261117-123242
sandcastle/rescue-20261117-124231
backport/idss-2057
sandcastle/rescue-20261116-154411
sandcastle/rescue-20261117-175037
sandcastle/rescue-20261116-153352
sandcastle/rescue-20261107-062749
session-runner-land-mode-recheck-2181
sandcastle/rescue-20261107-061316
fp/idss-2180
sandcastle/rescue-20261107-060212
forward-port/provision-disk-guard
sandcastle/rescue-20261107-060021
sandcastle/rescue-20261107-054649
sandcastle/worker/20261107-043349-cf0d7e
backport/idss-2177
sandcastle/rescue-20261116-175301
sandcastle/rescue-20261116-175950
backport/idss-2176
sandcastle/rescue-20261106-135208
sandcastle/rescue-20261107-045600
sandcastle/rescue-20261107-051315
sandcastle/rescue-20261107-053423
sandcastle/worker/20261106-111451-8c1ff0
sandcastle/rescue-20261106-023514
sandcastle/rescue-20261106-113455
sandcastle/rescue-20261106-115043
sandcastle/rescue-20261106-121303
sandcastle/rescue-20261106-134211
sandcastle/worker/20261106-013937-c15abc
fix/336-job-locality-runner-uuid
sandcastle/rescue-20261106-000320
sandcastle/rescue-20261105-113317
sandcastle/rescue-20261105-235352
sandcastle/rescue-20261106-020541
sandcastle/rescue-20261106-022516
sandcastle/rescue-20261106-024735
sandcastle/rescue-20261106-024744
sandcastle/rescue-20261106-024751
sandcastle/worker/20261105-104416-4319e1
sandcastle/rescue-20261105-111401
sandcastle/worker/20261105-054650-133b83
sandcastle/rescue-20261105-104304
sandcastle/rescue-20261105-110432
sandcastle/rescue-20261105-110637
sandcastle/rescue-20261105-112240
sandcastle/rescue-20261105-102818
sandcastle/worker/20261105-090131-e38a52
sandcastle/rescue-20261105-101105
sandcastle/rescue-20261105-094209
sandcastle/rescue-20261105-095705
sandcastle/rescue-20261105-091351
sandcastle/rescue-20261105-092126
sandcastle/rescue-20261105-093755
sandcastle/rescue-20261105-095339
sandcastle/rescue-20261105-101509
sandcastle/worker/20261105-033507-997386
sandcastle/worker/20261105-072852-43a339
sandcastle/rescue-20261105-085215
sandcastle/rescue-20261105-090546
sandcastle/rescue-20261105-090731
sandcastle/rescue-20261105-091600
sandcastle/worker/20261105-073544-9e3e7b
sandcastle/rescue-20261105-085541
sandcastle/worker/20261105-030149-b06fe6
sandcastle/rescue-20261105-075223
sandcastle/rescue-20261105-080157
sandcastle/rescue-20261105-081231
sandcastle/rescue-20261105-081252
sandcastle/rescue-20261105-081916
sandcastle/rescue-20261105-082029
sandcastle/rescue-20261105-082600
sandcastle/rescue-20261105-082859
sandcastle/rescue-20261105-083557
sandcastle/rescue-20261105-084327
sandcastle/rescue-20261105-090802
sandcastle/rescue-20261105-092213
sandcastle/worker/20261105-004228-d59980
sandcastle/worker/20261104-200255-c897e8
sandcastle/rescue-20261105-021604
sandcastle/rescue-20261105-062428
sandcastle/rescue-20261105-064420
sandcastle/worker/20261104-185608-12e745
sandcastle/rescue-20261105-011719
sandcastle/rescue-20261104-221030
sandcastle/rescue-20261105-003304
sandcastle/rescue-20261105-005511
sandcastle/rescue-20261105-013351
sandcastle/rescue-20261105-015246
sandcastle/worker/20261104-204335-4df59d
sandcastle/worker/20261104-144451-39719f
sandcastle/rescue-20261104-210849
sandcastle/rescue-20261104-211127
sandcastle/rescue-20261104-212722
sandcastle/worker/20261104-194113-a58f71
sandcastle/rescue-20261104-193329
sandcastle/rescue-20261104-200835
sandcastle/rescue-20261104-201057
sandcastle/rescue-20261104-202237
sandcastle/rescue-20261104-204239
sandcastle/rescue-20261104-185105
sandcastle/rescue-20261104-185510
sandcastle/rescue-20261104-192703
sandcastle/rescue-20261104-184907
sandcastle/rescue-20261104-183301
sandcastle/rescue-20261104-183354
backport/idss-2161
backport/idss-2155
fp/idss-2147
backport/idss-2145
backport/idss-2134
backport/idss-2119
sandcastle/worker/20261030-141035-c3d689
sandcastle/worker/20261030-125730-11b08b
sandcastle/worker/20261030-172321-20db0e
backport/idss-2114
backport/idss-2112
forward-port/idss-2111
forward-port/idss-2068
backport/idss-2111
backport/idss-2110
backport/idss-2106
backport/idss-2068
backport/idss-2104
sandcastle/rescue-20261030-110900
sandcastle/worker/20261029-055633-763b74
sandcastle/worker/20261029-000831-e4c652
sandcastle/worker/20261028-162655-0e8071
sandcastle/rescue-20261030-110112
sandcastle/rescue-20261030-110131
sandcastle/rescue-20261030-110135
sandcastle/rescue-20261030-110153
sandcastle/rescue-20261030-110156
sandcastle/rescue-20261030-110200
sandcastle/rescue-20261030-110220
backport/idss-1913
agent/issue-306
runner-busy-not-stalled
sandcastle/worker/20261024-045639-da1b9a
sandcastle/worker/20261023-060833-778cbe
fleet-queue-watcher-301-proposal
floor-vue
sandcastle/worker/20261021-191646-b93327
sandcastle/worker/20261021-233637-f21837
sandcastle/worker/20261021-233255-c766f7
sandcastle/worker/20261021-040000-b7a28d
backport/idss-2050
backport/idss-2050-session-pr-landing
sandcastle/worker/20261020-221737-cc96f3
backport/idss-2052
agent/issue-289
backstop-waiting-runs
sandcastle/worker/20261017-204619-942ae4
sandcastle/worker/20261017-204620-aa17c2
sandcastle/worker/20261017-144914-3ec608
sandcastle/worker/20261017-063336-7f5d31
sandcastle/rescue-20261017-062529
sandcastle/worker/20261017-010124-c49097
sandcastle/worker/20261017-003840-0c4ab1
sandcastle/rescue-20261017-054742
sandcastle/worker/20261017-053155-61c4c7
sandcastle/worker/20261017-050606-f20d66
sandcastle/rescue-20261017-052443
sandcastle/worker/20261017-050839-ec5b54
sandcastle/rescue-20261017-052212
sandcastle/worker/20261017-050442-495e4b
sandcastle/rescue-20261017-051857
sandcastle/worker/20261017-000426-34fa18
agent/issue-272
agent/issue-273
agent/issue-244
agent/issue-269
sandcastle/rescue-20261016-184726
sandcastle/rescue-20261016-184906
sandcastle/rescue-20261016-185533
sandcastle/rescue-20261016-191907
sandcastle/rescue-20261016-192219
sandcastle/worker/20261016-155725-c51ed1
agent/issue-195
agent/issue-196
agent/issue-197
agent/issue-198
agent/issue-200
agent/issue-203
agent/issue-205
agent/issue-206
agent/issue-207
agent/issue-209
agent/issue-213
agent/issue-216
agent/issue-217
agent/issue-218
agent/issue-222
agent/issue-238
agent/issue-208
sandcastle/worker/20261016-155833-1b8f77
agent/issue-241
agent/issue-230
agent/issue-239
land/issue-193
forward-port/idss-2048
backport/idss-2048
agent/issue-237
agent/issue-225
agent/issue-193
agent/issue-176
backport/1717-unclaimed-commit-gate
backport/1733-drive-yield-runlog
fix/159-rehearsal-report-token-leak
fix/157-ready-list-standdown
fix/154-verdict-no-match-trap
factory-floor-visual-rework
landing-shell-guard
No results found.
Labels
Clear labels
agent-blocked
Sandcastle hit a blocker — human resolves it, then re-adds ready-for-agent
agent-working
Claimed by a live swarm run — other hosts skip it
bug
Something is broken
deferred
Ruled defer-with-criteria: parked until a revisit criterion in the issue body fires
enhancement
New feature or improvement
landing-pr
Additive: this ticket lands ONLY by a PR with screenshots (or a waiver) that a human merges — ADR 0265. Only a human removes it.
model-haiku
Per-ticket model override (additive): run this ticket on the cheap/fast model
model-opus
Per-ticket model override (additive): run this ticket on the top-tier model
model-sonnet
Per-ticket model override (additive): run this ticket on the mid-tier model
needs-info
Waiting on reporter for more information
needs-triage
Maintainer needs to evaluate this issue
no-triage
Escape hatch: triage automation must skip this issue
priority
Additive urgency marker — the swarm queue works these first
ready-for-agent
Fully specified, ready for an AFK agent
ready-for-human
Needs the human's hands, eyes, or a one-way-door ruling (ADR 0174)
ready-for-session
Needs an interactive agent session (host creds/protected paths/live doors), not the human (ADR 0174)
wontfix
Will not be actioned
No labels
agent-blocked
agent-working
bug
deferred
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-info
needs-triage
no-triage
priority
ready-for-agent
ready-for-human
ready-for-session
wontfix
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
Matou/dev-factory#316
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Split out of #315 (the fleet-queue-tick half of #305), which closes only the fleet-dispatch path. Stated there as an explicit scope boundary so #305's class is not quietly implied closed.
The remaining gap
#315 made the fleet-queue tick stop dispatching to a sick host:
fleet_queue_slot_freegates on a declaredmin-free-gbdisk floor, and the host stands down after N consecutive dispatches expire unclaimed (a decaying retry). That covers every flow that reaches a host throughfleet_queue_dispatch(inputs.host).It does not cover the single-job scheduled flows that are
runs-on: swarm—triage.yml(5,35) andresume-asks.yml(10,40). Those carry the pool label, so a sick host wins them by polling Forgejo's queue, with no dispatch involved. Onelitebook-03out of disk (#305) each still dies atworkflow prepared(mkdir .../.cache/act/<task>: no space left on device) before step one — so new issues stay untriaged and parkedready-for-humanthreads never get re-armed (the only route back onto the frontier).Why it is harder than #315
Backing a host off the fleet queue is a host-side decision in the tick. Stopping a host from winning a polled pool job is not — the Forgejo runner polls and claims on its own. Candidate shapes to design/rule:
runs-on: swarmjobs run as step one that yields (exit 0, green) when the samemin-free-gbfloor / forge-reachability probe fails — same signal #315 declares, but applied at the start of the job rather than at dispatch time. The job must end GREEN (a red re-reds the flow), and the generatedswarm.yml/triage.yml/resume-asks.ymlinline guards live behind the protected.forgejo/path, so this needs aready-for-sessionmachinery change, not a sandbox edit;killswitchwhen the floor probe fails), so a sick host drains itself from the pool until it recovers.Same family as #191 (
bens-mac-04could not resolvegit.matou.nz— every polled job red at stage one). A single "this host is sick, stop polling" rail would cover both. Worth designing with #191 and #315 open in the other tabs.Reuse #315's seam: the
min-free-gbregistry key →HOST_CAPACITY_MIN_FREE_GB→fleet_queue_disk_ok/_fleet_queue_free_gbare already host-generic and offline-tested.Ruled by agent under ADR 0174 — veto anytime.
Ruling:
enhancement+ready-for-session(notready-for-agent). The gap is real and the work is well-specified, but its most plausible landing surface is the generatedruns-on: swarminline guards and the.forgejo/workflows — a protected path the swarm queue never reads by construction (triage-labels.md: every.forgejo/edit isready-for-sessionwork). So an interactive session claims this; a headless swarm worker must not.Why it is a two-way door: a host-health guard on the polled pool jobs is additive and revertible — remove the step-one guard (or flip the label) and the flow returns to today's behaviour, no data touched, no door widened. It is not personal credentials, a security-posture widening, a member-facing trust accept, data destruction, or non-routine spend.
What proves it: #315's seam is already host-generic and offline-tested —
fleet_queue_free_gb/ theFLEET_QUEUE_MIN_FREE_GBfloor infleet-queue-lib.sh, withdfshimmed behind a full/empty-disk fixture intests/fleet-queue-lib-test.sh. A new guard reuses that seam and gets its own offline test the same way (shimmeddf, no docker, no network). Verified during triage: the two named flows (triage.yml5,35,resume-asks.yml10,40) are bothruns-on: swarmand reach a host by polling the pool — their inline guards gate only on the host-capacity slots and the drive reservation, not on a disk floor or forge-reachability, so the claimed gap exists exactly as described. The existingkillswitchregistry key (onboarding/host-state-lib.sh, default<home>/host.off) already guards the cron-installed lines (backstop, fleet-queue-tick, session-runner) but deliberately does not stop the Forgejo runner from polling pool jobs — confirming candidate 2 is unbuilt.Session Brief
Category: enhancement
Summary: Stop a sick host (out of disk #305, or forge-unreachable #191) from winning
runs-on: swarmpolled pool jobs — the half of #305/#191 that #315's dispatch-side fix does not cover.Why a session, not a swarm worker: the landing surface is the generated inline guards in
.forgejo/workflows/triage.ymlandresume-asks.yml(live text behind the protected.forgejo/path) and/or the host sampler/registry machinery. These areready-for-sessionbytriage-labels.md; the swarm queue reads onlyready-for-agent.Current behavior:
#315made the fleet-queue tick stand a sick host down from dispatch (fleet_queue_slot_freegates onFLEET_QUEUE_MIN_FREE_GB; the host decays off after N unclaimed dispatches). That covers every flow reaching a host viafleet_queue_dispatch(inputs.host). It does not cover the single-job scheduled flows that areruns-on: swarm—triage.ymlandresume-asks.yml— which carry the pool label and are won by the Forgejo runner polling the queue, no dispatch involved. Onelitebook-03out of disk (#305) each dies atworkflow prepared(mkdir .../.cache/act/<task>: no space left on device) before step one, so new issues stay untriaged and parkedready-for-humanthreads never get re-armed.Desired behavior:
A sick host stops winning the polled pool jobs while sick, and resumes automatically when it recovers. The flows must end green when a host stands itself down (a red re-reds the flow). Same family as #191 (
bens-mac-04could not resolvegit.matou.nz): a single "this host is sick, stop polling" rail should cover both the disk and the reachability failure.Key design decision for the session to rule (two-way door — pick one or combine, post the ruling):
runs-on: swarmjobs run a host-local pre-flight as step one that yieldsexit 0(green) when the samemin-free-gbfloor / forge-reachability probe fails. Caveat to weigh: the #305 symptom ismkdir act cachefailing atworkflow prepared, before step one executes — so a step-one guard cleanly covers the forge-unreachable (#191) case but may not prevent the pure out-of-disk red. Confirm whether the runner reaches step one with zero free space.killswitchguards cron lines only, not the runner's polling — so this needs a mechanism that actually stops the runner claiming (e.g. draining theswarmlabel / pausing the runner service), which is the harder, more complete shape for the #305 case.Key interfaces:
fleet_queue_free_gband theFLEET_QUEUE_MIN_FREE_GBfloor (registrymin-free-gb→FLEET_QUEUE_MIN_FREE_GBviahost-state-lib.sh). Already host-generic and offline-tested; do not introduce a second disk probe.killswitchregistry key (default<home>/host.off) and the sampler (host-sampler-tick.sh) if Candidate B is chosen.Acceptance criteria:
min-free-gbfloor (or the forge is unreachable), neithertriage.ymlnorresume-asks.ymlconsumes the pool job in a way that reds the flow — the host either does not win it or yields green.0/unchecked by default).dfshimmed behind a full/empty-disk fixture — no docker, no network — in the same commit as the change..forgejo// generated-guard change re-proves the cutover-proof fixtures (or updates them with the wording change explained), per CLAUDE.md's blast-radius rule.Out of scope:
fleet_queue_dispatch,inputs.host) — closed by #315.ci.yml(push/PR-triggered; a red there is acceptable signal, not a starvation path).min-free-gbfloor value itself.Related: #305 (root blocker), #315 (dispatch half), #191 (forge-unreachable sibling).
Ruled by agent under ADR 0174 — veto anytime. (interactive session on
matou-workstation, landing: push)Ruling — land the two-way half (candidate B's health signal), route the runner-control to a human
Working this under the session brief's two candidate shapes, both were ruled:
Candidate A (step-one yield guard) cannot cover the headline #305 case. The brief flagged the caveat and it holds: an out-of-disk host dies at
workflow prepared(mkdir .../.cache/act/<task>: no space left on device) before step one executes — so a step-one guard never runs for the #305 symptom. A would cover the forge-unreachable case (#191, where the job does reach step one) by converting its red to a green yield, but even there it only stops the red noise: the sick host still wins the tick and yields, so the frontier does not advance — only a healthy host winning instead does that. So A is not the fix.Candidate B (stop the host winning the polled job) is the only complete shape, and its lever is irreducible — and host-specific.
triage.yml/resume-asks.ymlareruns-on: swarm: the Forgejo runner polls and claims them itself. Confirmed during this session (and inonboard-host retire's own words): thekillswitchregistry key guards only the cron-installed lines (backstop,fleet-queue-tick, session-runner) and deliberately does not stop the runner daemon from polling — "the runner is still registered and will keep taking pool jobs." So the only way a sick host stops winning a polled job is to pause its Forgejo runner service. That is a host-posture action: the service scope (systemctlsystem vs--user) and whether the cron user may control it are host-specific — the harness must not default a per-host value (CLAUDE.md) — and stopping the runner kills in-flight jobs and can strand a host off the pool if recovery misfires. Under ADR 0174 rule 2 that is a one-way-door-adjacent decision: I land the two-way part and route the runner-control to a human.Landed (two-way, offline-tested, no protected-path edit)
The always-on sampler (
host_state_render_sampler,onboarding/host-state-lib.sh) now records host health as the last field of every per-minute sample:sickwhen the filesystem holding the runner's act cache ($HOME/.cache/act— the same target as #315'sFLEET_QUEUE_ACT_CACHE, not/) is under the registry'smin-free-gbfloor;okabove it;-when the floor is off (the default — a host that declares no floor is byte-for-byte unchanged in behaviour, acceptance criterion 3).dfthat cannot answer readsok, neversick— a probe blip must not paint a healthy host sick. Reuses #315's floor and probe shape (single knob, single floor — the brief's "do not introduce a second disk probe").fleet-tui/probe.pypasses the sample lines through raw).Proof (acceptance criterion 4 — offline,
dfshimmed, no docker/network):onboarding/tests/host-state-lib-test.sh— 6 new checks: the floor+act-cache are baked;sickunder the floor;okabove it; fail-open tookwhendfexits non-zero; a sick sample still exits 0 (never reds the tick); and-when no floor is declared. Suite195 passed, 0 failed. Full offline loop green (tests/*.sh onboarding/tests/*.sh), incl. theonboard-libcutover (276/0) anddocs-budget(4/0). GOTCHAS #316 added (body + index row);STATUS.md#305 blocker + adocs/journal/entry updated in the same commit.Commit: see
main(sandcastle: #316 — the sampler records host health …).Why human
The remaining gap — a sick host not winning the polled pool jobs, so a healthy host serves
triage/resume-asksand the frontier keeps moving — needs the host's Forgejo runner paused while sick and resumed on recovery. That is the one-way-door-adjacent residue:host-registry.conf— e.g. arunner-pause/runner-resumecommand (systemctl --user stop forgejo-runner/… start …, or the equivalent for that box's service scope). The harness must not default this (the scope and rights are host-specific).elitebook-03specifically this rides on #305's existing host work (free the disk, then declare the floor + the runner-control); the reachability sibling is #191.The sampler now gives the signal that rail would consume (
health=sick); wiring the sampler to run a declared runner-pause/resume on N consecutive sick samples (hysteresis + auto-rejoin) is the ruled-but-unbuilt next step, held for the human's posture decision above.Relabelling
ready-for-session→ready-for-humanwith this note. The two-way signal is onmain; the drain is yours to turn on.workflow prepared(#305's class on a second host; schedule legs bypass #315) #335Watchdog healer, 2026-11-05 21:11Z (signature
0ff1caf1b642): this scope boundary just got fresh proof on bens-mac-04, and it is wider than the ticket states. Filed as #335.bens-mac-04 went disk-full on its runner's act-cache filesystem and reds every task it wins at
workflow prepared(mkdir /home/swarm/.cache/act/<hash>: no space left on device). It won — and killed —triage(runs 26455, 26459) andresume(run 26460) by polling the pool label, exactly this ticket's half. But it also killed its ownswarmmatrix leg (runs 26454, 26457), and every one of those five runs wasevent: schedule— so #315's dispatch-sidemin-free-gbgate could not intervene at all. The open scope is therefore not just pool-label polling: it is every schedule-triggered leg, includingswarm.yml's generated per-host matrix leg.Also worth noting for whoever picks this up: the host's leg was green at 20:58:27Z and red from 21:03 — the zero-headroom flapping #305 warns about, so a passing sibling leg is not a health signal.
workflow prepared(#305's class on a second host; schedule legs bypass #315) #335workflow prepared(#305's class on a second host; schedule legs bypass #315) #335workflow prepared(#305's class on a second host; schedule legs bypass #315) #335workflow prepared(#305's class on a second host; schedule legs bypass #315) #335workflow prepared(#305's class on a second host; schedule legs bypass #315) #335workflow prepared(#305's class on a second host; schedule legs bypass #315) #335workflow prepared(#305's class on a second host; schedule legs bypass #315) #335Live proof on
Matou/dev-factory, 2026-11-07: 9 of 9 polledtriage/resumelegs red, 6 of 6 green when the healthy host wonWatchdog healer
heal-Matou-dev-factory-1794060092-1471067. Full evidence in#305's new comment; the short version is that this gap is currently costing
Matou/dev-factoryits entire triage and re-arm frontier, twice an hour:triage281978 andresume281992 (and 281740/281776/281829/281838/281887/281928/281941) were all won by the out-of-disk
/home/swarmpool host anddied at
workflow preparedwithmkdir /home/swarm/.cache/act/746fa66050527d2e: no space left on device—before step one, so no harness code ran and no
run-verdict.txtexists.dev-factorytaskmatou-workstationwon in the same window(281853/281874/281901/281919/281957/282007) was green.
So the outcome is decided entirely by which pool member wins the poll. This is
the scope boundary this ticket was split out to hold, and it is not theoretical
any more.
Two incidental findings for whoever designs the rail
1.
matou-workstationdeclares nomin-free-gb. Its~/swarm/host-registry.confhas nomin-free-gbkey, so #315's floor defaultsto 0 — off. The box is itself at 98% / 6.1 G free (#340, which measured
6.6 G on 2026-11-06; the margin is still shrinking). It is the last host serving
this repo, so when it crosses zero it will start winning and killing the same
polled jobs with #315's dispatch-side rail inert. Declaring a floor there is a
one-line registry change that at least covers the dispatch half.
2. Whichever shape wins, note that the healer cannot currently see this fault
correctly. The running self-copy is pinned at
FACTORY_REF=de5ebb8, whichpredates
f8a4df7(#336/#337) andc0855fb(#339). So the pre-#336job_ran_hereis live, and it keyed pool-locality on repo-scoped signals — afresh workdir-lock mtime and the runner journal naming the repo, both of which
fire here because this host did run green
dev-factorylegs in the samewindow. This incident's bundle therefore asserts verbatim:
which is exactly backwards — precisely the #336 false-locality class. The fix is
already on
main; it just needs the vendor pin bumped (GOTCHAS 4), a human step.Until then every heal of this fault on this repo opens with an inverted premise.
workflow prepared(#305's class on a second host; schedule legs bypass #315) #335workflow prepared(#305's class on a second host; schedule legs bypass #315) #335workflow prepared(#305's class on a second host; schedule legs bypass #315) #335workflow prepared(#305's class on a second host; schedule legs bypass #315) #335