Boost: decide how a turn chooses to run on Boost

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

Read packages/model/src/router.ts, packages/model/src/intent-hints.ts, docs/prd/hermit-prd.md section 2.17, and the referenced roadmap and research notes. First settle the seven listed product and routing decisions with maintainers; then record the dated PDR and walk through five sample turns in Spanish and English, including where each runs and why. The issue says the guard must pass on the pull request.

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

描述

model-path privacy proposal

Why

US-BOOST-01 says hard requests run on a bigger model the user owns, and US-BOOST-02 says the user sees when a turn used Boost. Nothing says which allowed turns actually go, who decides, or what happens when the computer is asleep. Several places already point at Boost: FR-WEB-06 offers it open-ended web tasks, EC-CONN-05 calls it "a later option" for long docs, docs/research/connector-draft-spike.md sends long docs there, and docs/research/qvac.md says slow phones need a tiny model or Boost. This decision blocks the phone side of a Boost turn.

What to do

  1. The trigger. Options:
    • The user asks for it on the turn, with a button or in plain words.
    • Code sends allowed turns by rules: what the phone declines (open-ended web tasks, long docs), prompts over the phone profile's 8,192-token context, long answers, phones in the slow or unsupported tier (PDR-025).
    • Hermit offers Boost after the phone fails (repair_failed, max_steps), as a retry the user taps.
    • Every allowed turn goes while the computer answers.
  2. Who decides. Code, in the router (packages/model/src/router.ts, packages/model/src/intent-hints.ts) or in the runtime. Never the model, and never text other people wrote.
  3. The unit. A whole turn runs in one place (pick, fill, the reply and Seguir), or steps can move. One place is simpler to show and to log.
  4. When Boost doesn't answer. Asleep, unreachable or slow: run on the phone with a visible note, ask, or end with a plain message (US-CHAT-05).
  5. What's recorded. A local event (CT-03; EVT-MODEL-01 gains where the turn ran) and, if the maintainers want it, a signed log entry with no content (FR-ACT-02).
  6. Speed. If the laptop spike shows Boost slower than the phone for short turns, say which turns stay on the phone even when they're allowed.
  7. Bots and modes. How this meets the multi-bot design and the permission modes (ROADMAP.md, Next).

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.

How to check

  • The PDR walks five made-up turns, in Spanish and in English, and says where each runs and why.
  • The guard passes on that pull request.

Depends on

Nothing. The finding of #58 answers point 6 when it lands.

Keep in mind

  • The rule is code with tests. A change to the router is on the model path and needs eval numbers before and after (AGENTS.md rule 11).
  • The user always knows where a reply came from (US-BOOST-02).
  • A turn that doesn't go to Boost runs on the phone exactly as it does today.
主要语言
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 摘要。