Boost: decide how a turn chooses to run on Boost

Open
#56 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript

Research direction

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.

Written by the indexing model from the issue text.

Description

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.
Dominant language
TypeScript
Stars
11
Forks
0
Avg merge
10m
Merged PRs (30d)
6

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DojoCodingLabs/hermit

All issues in DojoCodingLabs/hermit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.