swarm pool: a fresh host's empty pnpm store kills every worker at install — warm it at host provisioning (GOTCHAS 19's missing half) #489
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#489
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?
Found live 2026-08-12 while diagnosing why elitebook-03 failed every run in ~29s (
sandcastle-run-failed, dozens of red cycles from ~18:00Z) while matou-workstation ran the same commits green.Evidence
/tmp/matou-swarm-verdict.txton elitebook-03:mkdir -p,56b92b6) — but it is empty: workstation.sandcastle/pnpm-store= 543M warm residue of past runs; elitebook = 4.0K.Live mitigation applied (2026-08-12, this session)
The workstation's warm store was tar-copied to elitebook (plus the missing
~/.claude/.credentials.jsonOAuth file — the other empty-on-fresh-host credential, which is #449 Q5's residual-exposure question made concrete).Durable fix wanted
.sandcastle/pnpm-storefrom an established host, orpnpm fetchon the host before first run), OR the sandbox permits the registry fetch on first run if that is the intended posture.GOTCHAS 20 appended in the same commit as this filing (ADR 0160 discipline).
Full root cause (2026-08-12 evening debugging, live on elitebook-03): three nested fresh-host defects, each masking the next —
~/.claude/.credentials.jsonabsent (copied over live; workers could never have authed)..sandcastle/pnpm-storeempty (543M warm store tar-copied from the workstation live).agentmatching the invoking host uid (workstation: dev=1000; elitebook: swarm=1500), and with rootful docker host-uid files appear in-container as the same uid → repo/worktree mounts writable byagent. Rootless docker shifts the map — host 1500 becomes container root(0), so every repo mount is root-owned in-sandbox,agentcannot createnode_modules, andpnpm installdies exit 243 before any worker reads its ticket. Verified in-container:repo-READONLY,idmismatch,ls -lnshowing0 0ownership.The Phase-2 soak could not catch this: claim mechanics never spawn a worker; the first REAL ticket is the first write.
Decision needed (root on elitebook required;
swarmhas no sudo): flip elitebook to rootful docker to match the workstation posture (thenchown -R 1500:1500 .sandcastle/pnpm-storehost-side — the live-copied store currently carries rootless-subuid ownership that becomes wrong on the flip), OR keep rootless as the deliberate isolation posture and give sandcastle a rootless mode (worktree/store ownership prepared via an in-container chown step before worker spawn). The multihost plan's host-provisioning checklist must record whichever posture is ruled, alongside items 1–2.Until ruled, elitebook reds every ~1min (throughput hole only — claims are safe, fail-closed); the workstation is draining the queue alone.