Boost: amend rule 1 to let a paired computer run the model (RFC)

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
documentation

調査の方向性

Read AGENTS.md, docs/rfcs/0000-template.md, and the cited VISION.md, SECURITY.md, and product documents to assess the proposed change to rule 1. Discuss and revise the RFC in this issue until a maintainer accepts or declines it. If accepted, the follow-up pull request should add the RFC, update the specified wording and product record, and pass node scripts/guard/check.mjs --patterns scripts/guard/patterns.txt.

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

説明

docs privacy rfc

Why

AGENTS.md rule 1, "Data stays on the phone", begins: "The model runs on the device." It also says data leaves the phone "only to carry out what the user asked for, and only to services the user already uses". Line 2 of "Hermit in ten lines" says "The model runs on the phone."

Boost (EP-18, ADR-010) runs a turn's model on a computer the user owns. The turn's text goes there: the user's words, the chat so far, and the facts the user saved, which the system prompt carries (docs/architecture.md, One turn, step 2). VISION.md already allows this in principle 1: "When a job is too heavy for a phone, the answer is hardware you own and pair yourself, never a server you didn't choose." But AGENTS.md is the rule a pull request is reviewed against, and a change to a non-negotiable needs an accepted RFC first (AGENTS.md, How to propose work). Today a Boost pull request can't tick "This keeps every non-negotiable", and the proposal form has no answer for "to a computer I own". So this RFC comes before any code that sends a turn's content to Boost.

Only rule 1 changes. The other rules hold as they are; the RFC says how each one applies.

What to do

This issue is the RFC. The draft below follows docs/rfcs/0000-template.md. Discuss it and edit it here.

  1. Summary. For turns the user allows, the model may run on a computer the user owns and paired with the phone. The cage, approvals, keys, the vault, the wallet and the signed log stay on the phone.

  2. The rule today, and a case. Quote rule 1 and line 2. A made-up case: Ana asks for a long trip plan that the phone's 0.8B model can't write well. Her laptop could, and rule 1 forbids asking it.

  3. The new rule, draft wording.

    The model runs on the device. For a turn the user allowed, it may run on a computer the user owns and paired with the phone (Boost). Nothing goes to Boost until the user has paired a computer and allowed it. Vault, wallet and tainted turns never go. The cage, approvals, keys, the vault, the wallet and the signed log never leave the phone, and the computer never holds the user's keys. The chat shows every turn that ran on Boost. No core feature may need Boost, a server, a cloud model or cloud sync.

    And for line 2 of "Hermit in ten lines": "The model runs on the phone, or on a computer you own and paired, for the turns you allow. No core feature needs a server, and chat, memory and reminders work in airplane mode."

  4. How the other rules apply, unchanged. Rule 2: the desktop app has no telemetry either, and pnpm check:privacy covers its manifests. Rule 3: protocol code in packages/* stays network-free; the transport lives in app adapters and worklets, and every peer the phone contacts is counted for HM-SET-02. Rule 4: Boost returns tool calls unexecuted, and decide() runs on the phone. Rules 5 to 7: unchanged, all on the phone. Rule 9: the desktop app's strings live in packages/copy. Rule 11: a Boost model profile is on the model path.

  5. Why it's still Hermit. Hardware the user owns, paired by the user, with no server of ours in between.

  6. What could go wrong, walking SECURITY.md's threat model: a stolen or compromised computer reads the allowed turns and can return hostile tool calls (the cage, code-written sheets and the fingerprint still decide); another device pretends to be the computer (the QR pins its key, and the 6-digit code confirms the phone); addresses seen by DHT nodes and relays; caches and logs on the computer's disk; a page's injected text reaching Boost (tainted turns never go).

  7. Alternatives. Keep the rule and never ship Boost. A cloud model, which VISION.md rules out. Boost only for open-ended web tasks.

  8. How we'll know it works. Tests that vault, wallet and tainted turns never go, with every setting on. A test that nothing goes before the user allows it. HM-SET-02 lists Boost's peers. No eval set drops on the phone.

  9. Rollout and reversal. Off by default. Unpair stops it at once. Delete everything forgets the pairing.

  10. Open questions it doesn't settle. Whether tainted open-ended web tasks may run on Boost (#57), which would need this rule amended. What the computer may keep on disk (#52). A confidential-cloud Boost (US-BOOST-04, V3), which needs its own RFC.

Done when

  • A maintainer accepts or declines the RFC in this issue.
  • If it's accepted, one pull request adds it as docs/rfcs/NNNN-boost.md (the next free number), changes rule 1 and line 2 of "Hermit in ten lines" in AGENTS.md word for word as accepted, and records the decision in docs/prd/hermit-prd.md as what the product does, with its date.

How to check

  • The accepted wording appears, word for word, in AGENTS.md and in the RFC file.
  • The guard passes on that pull request: node scripts/guard/check.mjs --patterns scripts/guard/patterns.txt.

Depends on

Nothing.

Keep in mind

  • Until this is accepted, a pull request that sends a turn's content to Boost won't be reviewed.
  • VISION.md principle 1 already covers Boost. If the maintainers want another line there to mention it, it goes in the same pull request.
  • Write the rule as what the product does. No quotes of what anyone said (AGENTS.md, If you are an AI agent, item 14).
  • Plain words, short sentences, no em or en dashes.
主要言語
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 を短くまとめたダイジェスト。