Boost: serve the paired phone's turns from the desktop app

Open
#68 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
32/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
ai, mobile

Research direction

Start in apps/boost and trace how the paired phone's channel connects to serveBoost in packages/boost and the app's CompletionEngine; read the designs in #54 and #52 and the dependencies #65, #64, and #67 first. Build tests with fake transport and engine, including cancellation, rejecting another key, and checking the log sink; done means the requested streaming, privacy, status, and capability behavior passes the listed checks and a two-machine manual check.

Written by the indexing model from the issue text.

Description

help wanted privacy

Why

After pairing, the computer answers the phone's Boost requests with its bigger model (EP-18). The cage stays on the phone (ADR-010): the computer runs the model and returns what it wrote, with tool calls unexecuted.

What to do

In apps/boost:

  1. Connect the paired phone's channel to serveBoost from packages/boost, and that to the app's CompletionEngine.
  2. Answer only the paired phone. Refuse anything else, and say so on screen.
  3. Report the capabilities the design lists: the protocol version, the model's SHA-256, the profile id, the context size.
  4. Honor a stop from the phone at once.
  5. Keep on disk only what the stack decision allows, and clear it on Unpair.
  6. Show a plain status: waiting, answering, the last answer's speed. Never a prompt or an answer, on screen or in a log.

Tests first, with the transport and the engine faked.

Done when

  • In tests, and once by hand: a request from the paired phone, or from the pairing spike's script, streams an answer back; a stop cancels it; and another key is refused.
  • A test checks the log sink: nothing with a prompt or an answer is written.

How to check

pnpm --filter @hermit/boost-desktop test
pnpm check:privacy && pnpm typecheck && pnpm lint && pnpm test
node scripts/guard/check.mjs --patterns scripts/guard/patterns.txt

Then by hand on two machines, with a made-up chat.

Depends on

  • Blocked by the designs in #54 and #52.
  • #65
  • #64
  • #67

Keep in mind

  • The computer never runs a tool call. Never pass a handler to QVAC tools (AGENTS.md, How the code stays that way).
  • No telemetry. The app's host list shows every host it contacted.
  • The computer holds none of the user's keys, tokens or passwords.
  • Open a pull request only once everything under Depends on is accepted or merged, and a maintainer has said so here (AGENTS.md: code for a feature without an accepted issue may be closed).
Dominant language
TypeScript
Stars
11
Forks
0
Avg merge
10m
Merged PRs (30d)
6

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DojoCodingLabs/hermit

All issues in DojoCodingLabs/hermit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.