Boost: build the desktop app skeleton in apps/boost

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
react-native, typescript
Domain
ai, desktop

Research direction

First read the design decision in #52 and the pinned model profile in packages/model/src/profile.ts; compare the existing app setup in apps/relay. The issue leaves the desktop stack, first platform, runtime, and screens dependent on that decision, and also requires localization, privacy checks, and cross-platform state screenshots. Done means the accepted design is implemented, a pinned model reaches ready with hash verification, and the listed checks pass.

Written by the indexing model from the issue text.

Description

copy help wanted privacy ui

Why

US-BOOST-01 needs "Hermit Boost" running on the user's computer. The skeleton is the frame the later pieces fill: it starts, loads a pinned model, shows its state, and does nothing else yet.

What to do

Build what the stack decision says, in apps/boost (new).

  1. A workspace app, if the stack decision makes it one: a package.json with a name such as @hermit/boost-desktop, a tsconfig.json, Node tests like apps/relay's (vitest), typecheck and test scripts, and a start command. If the stack is something else, its own manifest, tests and start command, run by pnpm test.
  2. The model: download a pinned file over HTTPS and check its SHA-256 before use, or accept a local file only when its hash matches. Start with a file already pinned in packages/model/src/profile.ts, such as QWEN35_4B_Q4. The Boost profile comes later.
  3. A CompletionEngine (packages/model/src/engine.ts) over the chosen runtime, and a smoke test behind a flag that runs one short completion.
  4. The screens the stack decision names: the model's state (downloading, checking, ready, failed) and a place for pairing. Every string comes from packages/copy, in both locales.
  5. A list of every host the app contacted, with a count: the desktop's own version of HM-SET-02.
  6. No log line that holds a prompt or an answer.

Done when

  • On the first platform the decision names, the app starts, downloads and checks a pinned model, and shows it ready.
  • A file with the wrong hash is refused and deleted, with a plain message.
  • Its tests run in pnpm test, and pnpm check:privacy covers its manifests.
  • Screenshots of each state in es-419 and en.

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 start the app and watch it reach ready.

Depends on

  • Blocked by the design in #52.

Keep in mind

  • No telemetry, crash reporting or update checks (AGENTS.md rule 2). If the stack has its own crash reporter or updater, it stays off, and a test or a check proves it.
  • Never QVAC registry:// sources. Pinned HTTPS and SHA-256 only.
  • Strings in packages/copy: es-419 in tú, and en, with the same keys and placeholders and no em or en dashes.
  • Pin every dependency exactly, and give its reason, license and size.
  • 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.