Boost: let the user choose what may go to Boost

オープン
#71 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
react-native, typescript
領域
mobile, security

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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).
主要言語
TypeScript
スター
11
フォーク
0
平均マージ
10分
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DojoCodingLabs/hermit のほかの issue

DojoCodingLabs/hermit の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。