Boost: decide what may go to Boost and how the user chooses

未关闭
#55 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
react-native, typescript

调研方向

Read VISION.md principle 2, AGENTS.md rule 5, docs/architecture.md, and section 2.17 of docs/prd/hermit-prd.md; inspect US-BOOST-03 and the isolation tests in packages/cage/test/policy.test.ts. The issue asks maintainers to decide several product and policy questions before implementation. Done means a dated PDR records each decision, updates US-BOOST-03 acceptance criteria, and passes the guard.

由索引模型根据 Issue 内容生成。

描述

cage privacy proposal

Why

US-BOOST-03: "Vault, wallet and tainted turns never route to Boost; the user can add more exclusions." It doesn't say what makes a turn a vault or wallet turn, what unit the user excludes, what goes by default after pairing, or whether the saved facts in the system prompt may go. VISION.md principle 2 says nothing leaves without consent. This decision blocks the phone side of a Boost turn and the user's choices on HM-BOOST-01.

What to do

  1. Vault and wallet turns. A turn whose menu holds credential or spend skills; a turn the router sends to a vault, login or pay skill; or any turn in a session that used one. Code decides, never the model.
  2. Tainted turns. Taint is sticky for the session (FR-CAGE-04) and comes from messages, mail, calendar reads, web pages, and connector and MCP results. So a session that read any of those never uses Boost again until the user clears it. Confirm that's the intent: it rules out "summarize my inbox on my computer". Open-ended web tasks are a separate question, in #57.
  3. The unit of the user's own exclusions. Skill groups (the multi-bot design lists calendar, reminders, notes, messages, mail, web, contacts, apps, vault and logins, wallet and pay). Bots, once bots exist. Topics, as the story words it ("keep some topics phone-only"), which needs a classifier that can be wrong. Or turn by turn.
  4. The saved facts. The system prompt carries up to 1,400 characters of facts the user saved (docs/architecture.md, One turn, step 2). Options: they go with allowed turns; they never go; a separate switch.
  5. The default after pairing. Nothing goes until the user picks; everything allowed goes; or Hermit asks each time.
  6. Unattended turns. Whether the night shift or a bot's routine may use Boost at all.
  7. Where the rule lives. A pure function with hard limits that no setting loosens, tested with every setting removed or inverted, like the cage's isolation tests in packages/cage/test/policy.test.ts. In packages/cage, as a decision about data leaving the phone, or in packages/boost (new).
  8. What the user sees. HM-BOOST-01 lists what may go and what never goes, in words code wrote.

Done when

  • A maintainer decides each point in this issue.
  • A pull request records it as a PDR in docs/prd/hermit-prd.md (section 2.17), with its date, and updates US-BOOST-03's acceptance criteria to match.

How to check

  • The PDR says, for each risk (read, local_write, network, remote_write, send, credential, spend) and for a tainted session, whether a turn may go to Boost.
  • The guard passes on that pull request.

Depends on

Nothing.

Keep in mind

  • Nothing goes to Boost without the user's choice (VISION.md, principle 2).
  • Vault, wallet and tainted turns never go. That is a hard limit in code, not a setting.
  • Text other people wrote never decides where a turn runs (AGENTS.md rule 5).
  • Choices are shown in words from packages/copy, in es-419 and en, with no em or en dashes.
主要语言
TypeScript
星标
11
派生
0
平均合并
10 分钟
30 天内合并 PR
6

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DojoCodingLabs/hermit 的其他 Issue

查看 DojoCodingLabs/hermit 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。