Boost: amend rule 1 to let a paired computer run the model (RFC)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
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 内容生成。
描述
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.
-
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.
-
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.
-
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."
-
How the other rules apply, unchanged. Rule 2: the desktop app has no telemetry either, and
pnpm check:privacycovers its manifests. Rule 3: protocol code inpackages/*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, anddecide()runs on the phone. Rules 5 to 7: unchanged, all on the phone. Rule 9: the desktop app's strings live inpackages/copy. Rule 11: a Boost model profile is on the model path. -
Why it's still Hermit. Hardware the user owns, paired by the user, with no server of ours in between.
-
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).
-
Alternatives. Keep the rule and never ship Boost. A cloud model, which VISION.md rules out. Boost only for open-ended web tasks.
-
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.
-
Rollout and reversal. Off by default. Unpair stops it at once. Delete everything forgets the pairing.
-
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 分钟
- 30 天内合并 PR
- 6
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DojoCodingLabs/hermit 的其他 Issue
-
docs good first issue
难度 2/5 1-3 小时 新手友好度 87/100
DojoCodingLabs/hermit#73 ·
维护者通常 1 天内回复
-
device-lab
难度 2/5 1-3 小时 新手友好度 70/100
DojoCodingLabs/hermit#45 ·
维护者通常 1 天内回复
-
device-lab
难度 2/5 1-3 小时 新手友好度 62/100
DojoCodingLabs/hermit#44 ·
维护者通常 1 天内回复
-
device-lab
难度 2/5 1-3 小时 新手友好度 72/100
DojoCodingLabs/hermit#43 ·
维护者通常 1 天内回复
-
agent-friendly docs good first issue
难度 2/5 1-3 小时 新手友好度 88/100
DojoCodingLabs/hermit#39 ·
维护者通常 1 天内回复
查看 DojoCodingLabs/hermit 的全部 Issue
相似的 Issue
-
bug zoo
难度 2/5 1-3 小时 新手友好度 76/100
software-mansion/runntime#151 ·
维护者通常 4 天内回复
-
难度 1/5 1-3 小时 新手友好度 86/100
sidebandstudio/clawtrate#728 ·
维护者通常 1 天内回复
-
enhancement github_actions help wanted
难度 2/5 1-3 小时 新手友好度 78/100
tranquilo-art/tranquilo-app#254 ·
维护者通常 1 天内回复
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 88/100
Tfoucher5/fuzzy-toolkit#44 ·
维护者通常 1 天内回复
-
bug tooling
难度 2/5 1-3 小时 新手友好度 73/100
endora-commerce/endora-commerce#1978 ·
维护者通常 1 天内回复