Boost: run an allowed turn on Boost from the phone, behind the cage
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- react-native, typescript
調査の方向性
Start with the designs in #55, #56, and #54, which block implementation, then read the existing model profile in packages/model/src/profile.ts and runtime wiring in packages/runtime/src/hermit.ts. The issue breaks work into profile, policy, wiring, and fallback stages; run the listed runtime and cage tests plus privacy, type, lint, and eval checks as those stages are accepted. Done means the required safety tests pass, eval numbers are reported, and a real phone and desktop run verifies approval and the signed log.
索引モデルが issue の本文から書いたものです。
説明
Why
This is what EP-18 is for. A turn the user allowed runs its model on the paired computer, while the loop, the cage, approvals and the signed log stay on the phone (ADR-010; US-BOOST-02: "the cage, approvals and signed log stay on the phone"). Vault, wallet and tainted turns never go (US-BOOST-03).
What to do
Suggested pull requests, in order:
- The Boost profile. A profile for the Boost model in
packages/model/src/profile.ts: the file pinned by URL and SHA-256, the format, thinking, sampling, context and reply caps, chosen from the laptop spike's finding. Add it toEVAL_PROFILES, sosrc/mac-eval.ts <profile-id>runs it, and report the lab numbers (docs/evals.md): the core 40,--set va,--set holdout,--set messaging,--set memdec, and the trajectories on four seeds. The phone's shipped profile (PROFILES[0]) doesn't change, and none of its numbers drop. - The rule. A pure function, where the design put it, that says whether a turn may go. Never for vault or wallet turns, tainted sessions, unattended turns (unless the design allows them), or while Boost is off or unpaired. Tests first, including the hard limits with every setting removed or inverted, like
packages/cage/test/policy.test.ts. - The wiring. In
createHermit(packages/runtime/src/hermit.ts), build a secondModelPortwithcreateModelPortoverboostEnginefrompackages/boostand the Boost profile. For each turn, the design's trigger picks the phone's port or Boost's.runTurn(packages/agent/src/loop.ts),decide()and the approval bridge don't change. Quarantined reads (quarantinedRead) stay on the phone's engine. - Fallback and records. When Boost doesn't answer, do what the design says, with copy in both locales. Record where the turn ran in
EVT-MODEL-01(packages/core/src/events.ts), and in the signed log if the design asks, with no content.
Done when
- Tests show that an allowed turn's model calls go to Boost; that vault, wallet and tainted turns never do, with every setting on; that nothing goes before the user allows Boost; that every tool call Boost returns still goes through
decide()and the signed log; and that a stop cancels on the computer. - On a real phone paired with the desktop app, an allowed turn runs on the computer, a skill it picks asks for approval on the phone, and the Activity screen says "Chain verified".
- The pull requests show eval numbers from before and after.
How to check
pnpm --filter @hermit/runtime test
pnpm --filter @hermit/cage test
pnpm check:privacy && pnpm typecheck && pnpm lint && pnpm test
cd packages/eval && node --experimental-transform-types --no-warnings src/mac-eval.ts botpsy-q4-native-think256 --set va
Then the run on a phone and a computer.
Depends on
- #51, accepted.
- Blocked by the designs in #55, #56 and #54.
- #58
- #64
- #66
- #68, for the run on a real phone. The code can start against the in-memory server.
Keep in mind
- The cage stays on the phone. Approval sheets come from
describeAction(), never from Boost's text (AGENTS.md rule 7). - Boost's text is model output, never the user's words (AGENTS.md rule 5).
- Keys, approvals, the vault and the wallet never cross the wire.
- No eval set may score lower on the phone (AGENTS.md rule 11).
- 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分
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 日以内に返信