Child of #1116. Needed to provision a game account on a body without a person
standing at it. Not needed for the first WoW test, where the operator signs in
once by hand.
Battle.net takes no credentials on the command line. The launcher documents
one argument, --autostarted, which controls whether it starts minimised. The
setup program takes --lang and --installpath. Neither touches sign-in, and
there is no official unattended sign-in at all.
So storing the password buys nothing by itself: something still has to type it.
The two honest options are UI automation, which breaks on every launcher update
and is the wrong thing to run on a body, or storing and restoring Battle.net's
own "remember me" session state, so the secret the platform holds is a session
artifact rather than an account password.
The second is the recommendation. It also fails safe: a session can be revoked
from the account page, a password cannot be un-leaked.
Not iamnim. iamnim is authentication and org resolution, and it deliberately
never issues downstream credentials: "a person never receives a NATS
credential". Credential issuance stays in the domain service, keyed off verified
membership, which is the hydraperforceprovision pattern.
Not hydraguard either. That is the WireGuard mesh.
hydracluster is the domain service for bodies, and the vend path already
exists. GET /api/v1/body/config already carries sunshine_username,
sunshine_password and experience_library_token to a body over its node
token (pkg/api/handlers_body.go:216). A game account is one more field on that
response, and nothing new has to be invented to deliver it.
Two differences from what that path carries today, and both matter:
sunshine/sunshine is the same/resume has no ownership check (#816, measured fleet-wide). A body holding
a live signed-in session, plus a session any paired client can resume, means any
client paired with that body can reach the account. Storing the session makes
that worse, because the body re-establishes it unattended. #816 closes first, or
this ships only to a body paired with exactly one client.
Owner rulings 2026-11-07 overturn this issue's premise. Needs a re-scope or a
close, owner's call.
The account ruling is per-visitor sign-in, wipe after. This issue asks to
STORE the Battle.net session so it can be restored. The ruling is the
opposite: no stored session, each visitor signs in and the session is wiped at
stream end. If that holds, the capture-and-restore work here is not wanted and
what remains is a cleanup script plus documentation of a manual sign-in.
chunky-turnip-23 becomes BRAIN ONLY. It leaves the body fleet, so the
session.body on this issue is wrong and the "only chunky" delivery scope is
void. The new target is zappy-cactus-6: RTX 5080, bxl1-test-4 (a test
district), provider_status: running, 1.8 TB free, AV1 capable.
Two facts that bear on the re-scope:
#816 (/resume has no ownership check) stops being a hard gate under the wipe
ruling, because no account outlives the stream to hand over. It becomes a gate
again the moment anyone reverts to a persistent account.
Owner reports the Battle.net account signs in with Google, not a Battle.net password. That removes an option and settles the design.
This strengthens the ruling question rather than changing it: because the bootstrap is manual and per body, 'one account per body' costs a human sign-in for every body it is enabled on. A per person model with session capture at first use scales better, and makes the #816 ownership gap worse, not better.
One residual to check before any design is agreed: whether a restored Google-derived session survives a move to another machine at all, or whether Blizzard binds it to the device. If it is device bound, the whole capture-and-restore idea fails and the only option left is a manual sign-in per body, with this issue reduced to documenting it.