Commit Graph
47 Commits
Author SHA1 Message Date
yibaiba 41e4f72b8f [command-center-followup-03] calibrate carrier evidence 2026-08-12 01:11:14 +08:00
yibaiba 5e92ae29b5 [command-center-followup-01] align public API contract 2026-08-12 01:03:32 +08:00
yibaiba 498bf6ba4f [command-center-06] verify cross-layer command workflows 2026-08-12 00:33:11 +08:00
yibaiba 7a0fdab524 [command-center-05] build web command workspace 2026-08-12 00:28:06 +08:00
yibaiba 85753711f3 [command-center-04] expose authenticated command APIs 2026-08-12 00:11:15 +08:00
yibaiba 2640eccafd [command-center-03] implement balance query state machine 2026-08-11 23:57:14 +08:00
yibaiba 80b72beeae [command-center-02] share command registry across channels
Route the existing notification commands through one injectable command service and expose stable metadata for the Web command center.

Keep the original handlers intact while making help and balance available to every channel with explicit errors before balance wiring is installed.
2026-08-11 23:42:12 +08:00
yibaiba 6707fb57f9 [command-center-01] add carrier query domain storage
Define immutable built-in balance query rules for all production carrier presets and persist command, event, balance, and custom-rule state in SQLite.

Validate custom rules with Go RE2 before storage and preserve unsupported/product-specific cases explicitly instead of guessing query codes.
2026-08-11 23:39:17 +08:00
yibaiba e1897d5e7a [fix-nine-regressions-10] implement MBIM protocol state machine 2026-08-11 22:16:24 +08:00
yibaiba 4acdd8cfac [fix-nine-regressions-10] harden backend rebind and IMS readiness 2026-08-11 21:04:59 +08:00
yibaiba e8c1339f80 [fix-ui-vowifi-state] preserve readiness stages and carrier flags 2026-08-11 19:09:40 +08:00
yibaiba 1f43d077ea [fix-nine-regressions-08] add OpenWrt dynamic interface mapping 2026-08-11 16:21:18 +08:00
yibaiba 3f3693fe6b [fix-nine-regressions-07] make QMI MBIM switches transactional 2026-08-11 15:53:51 +08:00
yibaiba 1b4de4072e [fix-nine-regressions-06] route MBIM SMS through AT scheduler 2026-08-11 15:11:14 +08:00
yibaiba 4a748b1cf5 [fix-nine-regressions-04] bind modem SMS to explicit SIM identity 2026-08-11 13:53:01 +08:00
yibaiba ff2f1478a7 [fix-nine-regressions-02] render timestamps in device timezone 2026-08-11 13:19:24 +08:00
yibaiba 36fea12adb [fix-nine-regressions-01] persist card policy before runtime changes 2026-08-11 13:03:55 +08:00
yibaiba 3fcbaed1ed [restore-vowifi-37] restore root runtime host 2026-08-11 09:43:18 +08:00
yibaiba 0586c9101a [restore-vowifi-36] restore voice host gateway 2026-08-11 08:30:41 +08:00
yibaiba 58dc12cf01 [restore-vowifi-35] restore e911 entitlement hosts 2026-08-11 07:53:24 +08:00
yibaiba 6d34791b66 [restore-vowifi-32] restore public carrier host 2026-08-11 06:28:52 +08:00
yibaiba 7f6dd2520c fix(vowifi): enforce pure RFOff SMS reception 2026-08-11 04:10:46 +08:00
yibaiba e8be5383b5 [restore-vowifi-25.08] reconcile degraded SMS inbox 2026-08-10 15:10:52 +08:00
yibaiba 2f9b9f6316 [restore-vowifi-25.08] retain degraded SMS fragments 2026-08-10 14:23:30 +08:00
yibaiba adfac4b966 [restore-vowifi-25.08] preserve inbound SMS fragments 2026-08-10 13:16:13 +08:00
yibaiba 3535d5c70b [test] allow disabling SMS rate limit 2026-08-10 12:57:34 +08:00
yibaiba 60c00f9aea [restore-vowifi-25.08] correct SMS delivery acceptance 2026-08-10 12:26:31 +08:00
yibaiba f0ffda3c34 [restore-vowifi-18] restore entitlement flow 2026-08-09 14:40:24 +08:00
yibaiba 1c1501b223 [restore-vowifi-17] restore SIM profile 2026-08-09 14:00:56 +08:00
yibaiba 824305cec1 [rewrite-vowifi-sms-followup-21] restore IMS signaling keepalive 2026-08-08 17:37:57 +08:00
yibaiba 9c7672d770 [rewrite-vowifi-sms-followup-20] restore registered IMS SMS signaling 2026-08-08 16:56:08 +08:00
yibaiba 522cc2b870 [rewrite-vowifi-sms-followup-10] expose authenticated VoWiFi call API 2026-08-08 13:11:12 +08:00
yibaiba e661e0dbb4 [rewrite-vowifi-sms-followup-07] restore controlled IKE runtime recycle 2026-08-08 11:53:28 +08:00
yibaiba eef5afa863 [rewrite-vowifi-sms-followup-03] restore production E911 entitlement flow 2026-08-08 10:43:11 +08:00
yibaiba d69423ec69 [rewrite-vowifi-sms-06] restore SMS reports and multipart 2026-08-08 07:12:11 +08:00
yibaiba 53815c8109 [rewrite-vowifi-sms-03a] repair IMS registration refresh 2026-08-08 06:38:17 +08:00
yibaiba 7d86d97aff [rewrite-vowifi-sms-01] restore truthful SMS readiness 2026-08-08 06:13:48 +08:00
yibaiba 8e4a2c03d1 fix(vowifi): restore giffgaff carrier profile
Restore the recovered 234/10 device identity, IMS User-Agent, AES-256/SHA-512 IKE and ESP proposals, and 180-second reauthentication policy. Validate carrier Contact settings and negotiated AES key lengths explicitly.
2026-08-07 23:02:14 +08:00
yibaiba 5500e02cda fix(vowifi): preserve SIM application semantics 2026-08-07 20:31:27 +08:00
yibaiba 9675d7aa8f fix(vowifi): inject SIM AKA into SWu
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.
2026-08-07 20:31:27 +08:00
yibaiba 9fc0f94fc4 fix(vowifi): restore SIM identity resolution
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.
2026-08-07 20:31:26 +08:00
yibaiba 0f48d20e52 test: document QMI rebind outcomes 2026-08-07 15:07:24 +08:00
yibaiba 94d12e0102 test: make QMI rebind test platform-safe 2026-08-07 14:38:56 +08:00
yibaibaandClaude Fable 5 6a55aceeb9 feat(api): add SMS rate limiting (hourly 3 / daily 10)
Port the SMS rate limiter from github.com/yibaiba/vohive:
- sms_rate_limit.go: limiter with first-hour (3) and daily (10) quotas,
  local-midnight daily reset
- server.go: smsLimiter field + lazy smsRateLimiter(); handleSendSMS returns
  429 sms_rate_limited before the backend send
- sms_rate_limit_test.go: 4 tests (first-hour block, daily block, midnight
  reset, backend not invoked when limited)

Why: brings vohive-open up to date with the latest public vohive while
keeping the rewritten vowifi-go.

Why this works: all 25 packages pass; 4 new limiter tests green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 09:59:32 +08:00
yibaibaandClaude Fable 5 be68e52414 chore: drop v1.1.2 simauth/voiceclient references from boundary test
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>
2026-08-07 07:42:13 +08:00
yibaibaandClaude Fable 5 320ef758c0 feat: integrate rewritten vowifi-go (binary-faithful imscore/voice API)
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>
2026-08-07 01:21:47 +08:00
windloom de689a554d Assemble source-integrated VoHive 2026-07-06 04:30:39 +08:00