Boost: decide how open-ended web tasks can run on Boost

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
react-native, typescript

調査の方向性

Read docs/research/web-on-phone.md and docs/build/open-questions.md (Q38), then compare the conflicting requirements named in the issue. A maintainer must decide the seven listed points; the pull request should record the decision as a dated PDR in docs/prd/hermit-prd.md and mark Q38 resolved. Check that the PDR traces a sample task end to end and that the guard passes.

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

説明

cage privacy proposal

Why

US-WEB-10 and PDR-018 send open-ended web tasks to Boost, and PDR-026 keeps them there until each family passes an on-phone gate. But US-BOOST-03 says tainted turns never go to Boost, and a web task is tainted from its first page (FR-CAGE-04). As written, US-WEB-10 can never run. docs/research/web-on-phone.md calls this out ("A PRD conflict blocks Boost from doing this job"), and docs/build/open-questions.md logs it as Q38, still open. Where the browser runs is open too. This decision blocks #72.

What to do

  1. The taint conflict. Options, from the research and Q38:
    • Boost may read tainted pages as a step model under the phone's cage. It never holds vault or wallet secrets, every committing step is approved on the phone, and page text reaches the planner only as typed records. This is the research's pick.
    • The same, but only on the user's own computer, never on a future confidential cloud.
    • Keep the rule. Open-ended tasks wait until the phone can do them (US-WEB-12).
  2. Where the browser runs.
    • On the phone, in the in-app browser (BrowserPort in packages/core/src/ports.ts; apps/mobile/modules/hermit-browser). Boost sees only the pruned accessibility tree (FR-WEB-05, about 3,000 characters a step) and returns one action. Logins fill from the vault on the phone, and cookies stay in the phone's per-site profile.
    • On the computer. Steps are faster, and pixels become possible for canvas-heavy sites (web-on-phone.md). But a sign-in would need secrets or cookies on the computer, which US-BOOST-01 rules out, and every committing step still needs the phone's sheet and FR-WEB-09's re-check.
  3. First runs as recipes. Boost does an unseen flow once, and the phone saves it as a recipe it replays without the model (FR-WEB-10; docs/research/web-task-spike.md).
  4. Bounds. Steps (15 on the phone, FR-WEB-06), the domains the task names, task kinds beyond TASK_KINDS in packages/core/src/web-task.ts, and the stop after 3 failed actions in a row.
  5. Payments. On the phone today a pay click pauses the task, and the user pays with their own taps (packages/runtime/src/web-task.ts). Say whether that holds on Boost.
  6. What the user sees. HM-WEB-02 says the steps run on the computer, and keeps Take over and Stop.
  7. The rule. If tainted text may go to Boost, the RFC's wording must say so before any code lands.

Done when

  • A maintainer decides each point in this issue.
  • A pull request records it as a PDR in docs/prd/hermit-prd.md that resolves the conflict between US-BOOST-03 and US-WEB-10, with its date, and marks Q38 resolved in docs/build/open-questions.md.

How to check

  • The PDR walks one made-up task end to end, such as "find a table for two on Friday under 50 dollars on three sites", and says where each step runs and what the user approves.
  • The guard passes on that pull request.

Depends on

  • #61

Keep in mind

  • Approvals, the vault and the signed log stay on the phone (US-WEB-10's own criteria).
  • Page text is data, never an instruction. Payments and logins are refused in a tainted session, in every mode (AGENTS.md rule 5).
  • No cloud browser. ADR-018 rejected it.
主要言語
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 を短くまとめたダイジェスト。