services-row — healer loop-guard: a prior heal did not hold #1558
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Reference
Matou/idss#1558
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?
A prior drive healed this exact fault (
services-row:: same normalised error) and it has redded again. Per rail 6 (no heal loops), the healer refused a second heal and filed this blocker so the drive stops re-firing into it.Healer refused: loop-guard rule — diagnose why the prior heal did not hold before re-arming.
ticket-on-refusal under the healer-first regime (#1144)
drive
20260917T002410Zred atservices-row:the founding's own S11 row says 6 placed service(s) did not stand up — files: the files row is failed: the deploy did not hold — add Files & documents from the control panel | archive: the archiveevidence:
/home/dev/swarm/Matou/idss/test-results/drive-rented-services/20260917T002410Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedTaking this from the babysitting laptop session (the #1547 fire's owner, with the run dir on matou-workstation): diagnosing why run 3 (20260917T002410Z, at
1ba9448d) redded atservices-rowagain after #1557's heal — claimedagent-workingso no drain re-picks it.Ruled by agent under ADR 0174 — veto anytime. Standing session-runner drain on
elitebook-distributed-server-03. I picked this up because it still carriedready-for-session; @ben's note above says the point ofagent-workingwas to stop a drain re-picking it, so the residualready-for-sessionwas the coordination bug. I'm deferring the diagnosis to Ben (who has the run dir and the #1547 context) and leaving what I could prove from code alone.What I can prove from this host (all two-way, no evidence door needed)
The heal (#1557 /
1ba9448d) is code-correct for its root cause, and its own output is clean.TestRenderedModules_NoDuplicateTopLevelAttrPathandTestMeshBound_*pass on HEAD (14eb0588). Paperless/whakapapa render exactly one top-levelimports = [ … ]each — the heal did not introduce a freshattribute 'imports' already definedcollision. Ben confirms run 3 (20260917T002410Z) was built at1ba9448d, so the heal was present in the drive's checkout — this is not a stale-build/timing miss.No residual same-class (
attribute … already defined) double-def is reachable in the six placed services through the real deploy path. I swept all six:document-archive/paperless-web andwhakapapa/podman-grampsweb — fixed by the heal (imports form).files/nginx —renderNextcloudOIDC(files.go:809) andrenderNextcloudOIDCDevice(files.go:1027) both emit top-levelsystemd.services.nextcloud-oidc, but they are mutually exclusive by construction:deploy.go:1743setsDeviceIDP=trueandreturns beforeIDPHostis ever set (device shape), while the gateway path (deploy.go:1767) setsIDPHostwithDeviceIDP=false. A gateway placement therefore fires onlyrenderNextcloudOIDC. (It would collide if a hand-builtFilesConfigset both — worth a defensive rail, see below — but it is not reachable here.)archive/podman-omeka,surveys/httpd,data-collections/podman-grist — define no top-level path thatmeshBound(<unit>)also owns.So by code inspection the rendered modules are clean of the double-def class post-heal. That points away from "the heal missed a second identical collision" and toward either a different root cause or a non-eval deploy/runtime failure.
The rehearsal signature is symptom-level, not root-cause-level.
compute_signature(heal-lib.sh:45) hashesworkflow | normalize_error_line(<S11 row>). The row here — "N placed service(s) did not stand up … the deploy did not hold" (digits folded toN) — is identical for any cause that fells the placed services. Sosig b0b6a45a7146= "the S11 services row went red," not "the paperless-web.after collision recurred." The loop-guard's "prior heal did not hold" premise holds only at symptom granularity; it does not establish that run 3's root cause equals #1557's. Run 3 may be a genuinely different fault wearing the same S11 row.The honest blocker
Distinguishing (a) a different Nix eval collision at some module my sweep missed, (b) a non-eval deploy/seal/timeout failure, or (c) a symptom-level sig collision on an unrelated fault — requires run 3's actual failure line, i.e.
20260917T002410Z/legs.json(the Nix eval error text, or the deploy log). That file lives on matou-workstation; this drain host has no door to it (ssh matou-workstation→Permission denied (publickey); no local copy under any reachabletest-results/). Ben's babysitting-laptop session does hold the run dir — which is exactly why the diagnosis belongs there, not in a parallel drain.Recommendation for whoever lands the real fix
legs.json. If it is anotherattribute '…' already defined, it names the module the heal missed — fix it in the imports form and add it to the rail.TestRenderedModules_NoDuplicateTopLevelAttrPathto every rendered service module (files/archive/surveys/data-collections/docs-editing/code/newsletters/video/mail/chat/meetings), not just paperless+whakapapa. That converts the whole ADR-0159-decision-5 class from "caught after a paid box reds" to "caught ingo test," and it would flag the latentfilesnextcloud-oidc double-emit noted in (2) before any refactor makes it reachable.Routing
Removing
ready-for-session(implements Ben's stated intent — no drain re-picks). Addingready-for-humanso the completion path stays visible even if the babysitting session has ended; leaving Ben'sagent-workingclaim in place. Not closing — the diagnosis is unfinished and needs the evidence door this host lacks.Why human
Two residues this standing-drain host cannot discharge:
20260917T002410Z/legs.json(the actual Nix eval / deploy failure line) — lives on matou-workstation, which this host (elitebook-distributed-server-03) cannot reach (ssh→ publickey denied; no local copy). Ben's babysitting-laptop session holds the run dir.agent-workingto diagnose it himself as #1547's fire owner. A parallel drain landing a speculative change onservices-rowis exactly the re-fire the loop-guard exists to stop.Completion = Ben reads
legs.jsonand either (a) fixes the module it names in the imports form + extends the rail, or (b) rules run 3 a symptom-level sig collision on a different fault and re-arms the drive.Audit correction (ADR 0174). Final label state is
ready-for-human+priority+rehearsal-183.agent-workingcame off concurrently with my routing edit (my only label calls wereDELETE ready-for-sessionandPOST ready-for-human—priority/rehearsal-183survived, so nothing of mine replaced the set). If @ben's session is still live on this, theagent-workingclaim can go straight back on; I've left it off rather than re-assert a human's claim. The routing intent is unchanged: no drain re-picks (ready-for-sessioncleared), and the diagnosis waits on Ben's eyes + the matou-workstation evidence door.Diagnosed + fixed (laptop session, 2026-09-17)
Not the same fault as #1557 — the loop guard matched the leg's wording, not the cause. Run 3 (
20260917T002410Z, at1ba9448d) founded fine;standup.deploy.log's services stage says the remote switch died at exit 4 with the gateway journal:Failed to start Trust the community identity header (AuthWebServer) + seed the operator superadmin (surveys port). On the kept box (209.38.25.19)journalctl -u limesurvey-auth:#1540's console command was written from docs and never run against the pinned LimeSurvey 6.15.14. Read on the box:
PluginManager::loadPlugin($name, $id)RETURNS the instance (nogetPlugin);PluginBase::setis protected (saveSettings(array)is public); the core plugin's class/row/allowlist name isAuthwebserver(exact compare ingetCorePluginList); its keys areserverkey/is_default/strip_domain; the autocreate switches are LimeSurvey CONFIG keys (getConfigKey, config-defaults.php) with an ARRAY profile; the User model requires an email passingCEmailValidator(the seeded@localhostwould never have saved).is_default=1would also 401 every header-less request — the health check's RemoteControl login on the stripped exempt path.Fix landed on main (
internal/clan/surveys.go+ tests, GOTCHAS #239): the plugin by its class name,loadPlugin's instance +saveSettings,is_defaultOFF, the autocreate keys inservices.limesurvey.config(profileCommunity member/member@<surveys host>/ survey-creator permissions), seeded operators as<id>@<surveys host>.go test ./internal/clan+ vet green. Closing; #1547 re-fires.lists:getis no permission,default_user_roleis no settings key) and limesurvey-auth fails with its stderr unharvested #1573