Boost: decide how a turn chooses to run on Boost

Aperta
#56 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
TypeScript
Stelle
11
Fork
0
Merge medio
10m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DojoCodingLabs/hermit

Tutte le issue di DojoCodingLabs/hermit

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.