Boost: spike a turn's round trip between a phone and a computer
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- android, react-native, typescript
- Domain
- mobile, networking
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 11
- Forks
- 0
- Avg merge
- 10m
- Merged PRs (30d)
- 6
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DojoCodingLabs/hermit
-
docs good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
DojoCodingLabs/hermit#73 ·
Maintainers usually reply within 1 day
-
device-lab
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
DojoCodingLabs/hermit#45 ·
Maintainers usually reply within 1 day
-
device-lab
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
DojoCodingLabs/hermit#44 ·
Maintainers usually reply within 1 day
-
device-lab
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
DojoCodingLabs/hermit#43 ·
Maintainers usually reply within 1 day
-
agent-friendly docs good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
DojoCodingLabs/hermit#39 ·
Maintainers usually reply within 1 day
All issues in DojoCodingLabs/hermit
Similar issues
-
bug zoo
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
software-mansion/runntime#151 ·
Maintainers usually reply within 4 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
sidebandstudio/clawtrate#728 ·
Maintainers usually reply within 1 day
-
enhancement github_actions help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tranquilo-art/tranquilo-app#254 ·
Maintainers usually reply within 1 day
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Tfoucher5/fuzzy-toolkit#44 ·
Maintainers usually reply within 1 day
-
bug tooling
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
endora-commerce/endora-commerce#1978 ·
Maintainers usually reply within 1 day