Boost: let the user choose what may go to Boost

Ouverte
#71 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
42/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
react-native, typescript
Domaine
mobile, security

Piste de recherche

Read the design in #55 and the phone-side issue #69 first; the user exclusion unit and the existing rule depend on them. Then inspect apps/mobile/src/app/boost.tsx, settings (ENT-Setting), and docs/prd/hermit-ui-states-and-edge-cases.md. Done means settings extend the rule without allowing vault, wallet, or tainted turns to leave the phone, with tests, localized screenshots, and the listed checks passing.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

copy help wanted privacy ui

Why

US-BOOST-03: "I want to keep some topics phone-only, so that sensitive requests never leave the phone even to my laptop." The phone side of a Boost turn ships with the hard limits (vault, wallet, tainted) and the user's consent to use Boost at all. This issue adds the user's own exclusions, in the unit the design chose, on HM-BOOST-01.

What to do

  1. Settings. Keep the user's choices in the encrypted database (settings, ENT-Setting), in the unit the design picked.
  2. The rule. Extend the function from the phone-side issue, so an excluded turn stays on the phone. The hard limits come first: a setting can add exclusions, never remove vault, wallet or tainted.
  3. The screen. A section on HM-BOOST-01 (apps/mobile/src/app/boost.tsx) that lists what never goes, in code's words, and the user's switches.
  4. States, in docs/prd/hermit-ui-states-and-edge-cases.md.

Tests first: the rule across combinations of settings, and a test that no setting lets a vault, wallet or tainted turn go.

Done when

  • The user can exclude what the design allows, and an excluded turn runs on the phone.
  • A test inverts every setting and still sees vault, wallet and tainted turns stay on the phone.
  • Screenshots in light and Deep sea, in es-419 and en.

How to check

pnpm --filter @hermit/runtime test
pnpm --filter @hermit/mobile test
pnpm check:privacy && pnpm typecheck && pnpm lint && pnpm test

Depends on

  • Blocked by the design in #55.
  • #69

Keep in mind

  • Nothing goes to Boost without the user's choice (VISION.md, principle 2).
  • Text other people wrote never changes a setting. Only the screen does.
  • Strings in packages/copy: es-419 in tú, and en, with no em or en dashes.
  • 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).
Langage dominant
TypeScript
Étoiles
11
Forks
0
Merge moyen
10 min
PR mergées (30 j)
6

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de DojoCodingLabs/hermit

Toutes les issues de DojoCodingLabs/hermit

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.