Boost: spike a turn's round trip between a phone and a computer
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- android, react-native, typescript
- Bereich
- mobile, networking
Rechercherichtung
Start with #59's pairing spike, then read CONTRIBUTING.md's Android build steps, apps/mobile/worklets/wallet/build.mjs, apps/mobile/src/adapters/wallet-worklet.ts, and packages/model/src/engine.ts. Test the three network cases on an arm64 Android phone and a computer, recording the requested timing, throughput, size, stop, and background behavior. Write the results, addon and app size findings, contact hosts, and a QVAC plugin versus Hermit worklet recommendation in docs/research/boost-phone-roundtrip.md, and propose an ASM-12 status.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Why
ASM-12, "Hyperswarm through QVAC connects two Android phones on the same and on different networks", is unverified, and its spike (SL-19) is open. Boost needs a phone and a computer, and a whole turn's request and answer between them. It also needs to know where the phone's transport can live: a custom plugin in QVAC's worklet (ADR-016, docs/research/vault-p2p.md), or Hermit's own worklet next to it, as the wallet already has (apps/mobile/worklets/wallet). This spike answers both with numbers.
What to do
An experiment on a branch. The code doesn't need to merge.
- On an arm64 Android phone with a dev build (CONTRIBUTING.md, Build the Android app), run the "phone" side of the pairing spike inside a worklet. Try Hermit's own worklet first, following
apps/mobile/worklets/wallet/build.mjsandapps/mobile/src/adapters/wallet-worklet.ts. Then read QVAC 0.23's custom plugin docs, and say whether the same code fits as a plugin listed inapps/mobile/qvac.config.jsonand built byscripts/qvac-bundle.mjs. - Check whether QVAC's bundle, tree-shaken to the one plugin in
qvac.config.json, still links the native Holepunch addons (udx-native,sodium-native), and whether two worklets load two copies of an addon. - On the computer, run the pairing spike's "computer" side, answering with
llama-serveror a fixed stub. - From the phone, send an
EngineRequest(packages/model/src/engine.ts) built from a made-up chat, stream the answer back, then stop one in the middle. - Measure three cases: the same Wi-Fi; the phone on mobile data and the computer at home; the same Wi-Fi with no internet. Record the connect time, the time to the first token on the phone, tokens per second as the phone sees them, bytes per turn, what a stop costs, and what happens when the app leaves the screen.
- Write the finding in
docs/research/boost-phone-roundtrip.md(new), with a proposed new status for ASM-12.
Done when
- The finding is merged with numbers for the three cases, a recommendation between a QVAC plugin and Hermit's own worklet, and the size each one adds to the app.
How to check
- A reviewer with a phone and a computer repeats one case from the finding's steps.
- The guard passes on the doc: no device serials, local paths or run logs.
Depends on
- #59
Keep in mind
- Keep
react-native-bare-kitat~0.16.0and@qvac/sdkpinned exactly (AGENTS.md). Never editapps/mobile/androidby hand. - Count every host the phone contacts, even in a spike, and list them in the finding.
- Made-up chats only. Never a real message, contact or account.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 11
- Forks
- 0
- Ø Merge
- 10 Min.
- Gemergte PRs (30 T.)
- 6
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus DojoCodingLabs/hermit
-
docs good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 87/100
DojoCodingLabs/hermit#73 ·
Maintainer antworten meist innerhalb von 1 Tag
-
device-lab
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
DojoCodingLabs/hermit#45 ·
Maintainer antworten meist innerhalb von 1 Tag
-
device-lab
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
DojoCodingLabs/hermit#44 ·
Maintainer antworten meist innerhalb von 1 Tag
-
device-lab
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
DojoCodingLabs/hermit#43 ·
Maintainer antworten meist innerhalb von 1 Tag
-
agent-friendly docs good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
DojoCodingLabs/hermit#39 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in DojoCodingLabs/hermit
Ähnliche Issues
-
bug zoo
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
software-mansion/runntime#151 ·
Maintainer antworten meist innerhalb von 4 Tagen
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 86/100
sidebandstudio/clawtrate#728 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement github_actions help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
tranquilo-art/tranquilo-app#254 ·
Maintainer antworten meist innerhalb von 1 Tag
-
documentation good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Tfoucher5/fuzzy-toolkit#44 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug tooling
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 73/100
endora-commerce/endora-commerce#1978 ·
Maintainer antworten meist innerhalb von 1 Tag