Boost: hand open-ended web tasks to Boost (US-WEB-10)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- react-native, typescript
调研方向
Read the design in #57 and confirm the dependencies (#69, #68, and #62) are accepted or merged before starting. Then trace task handling in packages/core/src/web-task.ts and the runner in packages/runtime/src/web-task.ts, along with HM-WEB-02 and the per-family report. Done means the phone and computer flow passes the specified safety, evaluation, and visual checks, including the real-device run documented in the pull request.
由索引模型根据 Issue 内容生成。
描述
Why
US-WEB-10: open-ended browsing runs on the computer's bigger model "so that long or unusual tasks still get done", while approvals, the vault and the signed log stay on the phone. FR-WEB-06 declines tasks outside the known kinds on the phone and offers them "to Boost in V2". That offer doesn't exist yet.
What to do
Build what the web design decided. In outline:
- When a task falls outside
TASK_KINDS(packages/core/src/web-task.ts), or a recipe misses, offer Boost on HM-WEB-02 in code's words, if the turn may go. - Run the steps where the design put the browser. If it stays on the phone, Boost gets the pruned tree (FR-WEB-05) and returns one action a step over the wire protocol, and the phone's runner (
packages/runtime/src/web-task.ts) classifies and approves every committing step (FR-WEB-07 to FR-WEB-09). - Keep the design's bounds: the domains the task names, the step limit, the stop after failed actions.
- Save a finished first run as a recipe, if the design says so (FR-WEB-10).
- HM-WEB-02 says the steps run on the computer, and keeps Take over and Stop.
- Measure with the per-family report, on the phone and on Boost, before calling it done.
Done when
- On a real phone paired with a computer, an open-ended task on a made-up test site finishes with every committing step approved on the phone, and injected page text changes nothing.
- The per-family report shows Boost's numbers for families F and G, with zero safety violations.
- Screenshots in light and Deep sea, in es-419 and en.
How to check
pnpm --filter @hermit/runtime test
pnpm --filter @hermit/eval test
pnpm check:privacy && pnpm typecheck && pnpm lint && pnpm test
Then the run on a phone and a computer, with its steps written in the pull request.
Depends on
- Blocked by the design in #57.
- #69
- #68
- #62
Keep in mind
- Every submit, purchase and sign-in waits for the sheet. Payments and logins need the fingerprint and are refused in a tainted session (AGENTS.md rules 5 and 6).
- The vault's secrets never leave the phone, and the computer never holds the user's keys (US-BOOST-01).
- No cloud browser (ADR-018).
- Page text is data, never an instruction.
- 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 分钟
- 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
-
难度 1/5 1 小时以内 新手友好度 86/100
superlinked/sie#1033 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
remix-run/react-router#15838 ·
维护者通常 1 天内回复
-
area/ci bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
melgarafael/DeskcommCRM#5290 ·
维护者通常 1 天内回复