Why: the reconstructed runtime used empty SIM interfaces and built SWu configs without the production AKA provider, while missing providers were hidden behind a delayed-error placeholder.
Why this works: share the engine SIM contract, expose the injected provider through SIMAdapter, require it at the start boundary, bind the resolved USIM/ISIM preference, and pass the same object into SWu.
Remaining: replace runtimehost placeholder state transitions with the real SWu lifecycle.
Why: the reconstructed QMI adapter re-entered its own identity provider and the rewritten startup path treated an absent ISIM application like a transport failure.
Why this works: read ISIM files over the real logical channel, preserve typed QMI absence errors, choose strict USIM only for authoritative absence, and keep all other APDU failures explicit.
Remaining: restore the SWu session lifecycle and IMS registration from the recovered behavior map.
The binary (v1.5.5) never had runtimehost/simauth or voiceclient — their
functionality lives in internal/vowifi/imscore + voice (already rewritten).
Remove them from the external-import allow-list; the boundary test still
passes (no real code imports those packages).
Also restore the vowifi-go.v112 backup directory (kept for reference).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Replace third_party/vowifi-go with the reverse-engineered rewrite that
matches the v1.5.5 binary's actual vowifi-go (internal/vowifi/imscore +
internal/vowifi/voice), and adapt the host code to its API:
- device: modemAdapter/qmiModemAdapter implement runtimehost.Modem
(Capabilities, IMSIdentityProvider) and identity.Access; SetLogger uses
slog.Default()
- api: GetSMSDeliveryStatus passes ctx
- platform shims so the Linux-targeted code compiles on macOS for tests:
SO_BINDTODEVICE consts (netprobe/proxy/qmi), qmi control-device-holder
stub, udev build-tag + no-op stub
- test modems implement the runtimehost.Modem interface
Result: 25 packages pass on macOS; only internal/web + cmd/vohive fail on
the pre-existing missing web dist assets (//go:embed all:dist). The
vowifi-go module itself builds on both macOS and Linux.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>