Boost: amend rule 1 to let a paired computer run the model (RFC)

Abierto
#51 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

Read AGENTS.md, docs/rfcs/0000-template.md, and the cited VISION.md, SECURITY.md, and product documents to assess the proposed change to rule 1. Discuss and revise the RFC in this issue until a maintainer accepts or declines it. If accepted, the follow-up pull request should add the RFC, update the specified wording and product record, and pass node scripts/guard/check.mjs --patterns scripts/guard/patterns.txt.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

docs privacy rfc

Why

AGENTS.md rule 1, "Data stays on the phone", begins: "The model runs on the device." It also says data leaves the phone "only to carry out what the user asked for, and only to services the user already uses". Line 2 of "Hermit in ten lines" says "The model runs on the phone."

Boost (EP-18, ADR-010) runs a turn's model on a computer the user owns. The turn's text goes there: the user's words, the chat so far, and the facts the user saved, which the system prompt carries (docs/architecture.md, One turn, step 2). VISION.md already allows this in principle 1: "When a job is too heavy for a phone, the answer is hardware you own and pair yourself, never a server you didn't choose." But AGENTS.md is the rule a pull request is reviewed against, and a change to a non-negotiable needs an accepted RFC first (AGENTS.md, How to propose work). Today a Boost pull request can't tick "This keeps every non-negotiable", and the proposal form has no answer for "to a computer I own". So this RFC comes before any code that sends a turn's content to Boost.

Only rule 1 changes. The other rules hold as they are; the RFC says how each one applies.

What to do

This issue is the RFC. The draft below follows docs/rfcs/0000-template.md. Discuss it and edit it here.

  1. Summary. For turns the user allows, the model may run on a computer the user owns and paired with the phone. The cage, approvals, keys, the vault, the wallet and the signed log stay on the phone.

  2. The rule today, and a case. Quote rule 1 and line 2. A made-up case: Ana asks for a long trip plan that the phone's 0.8B model can't write well. Her laptop could, and rule 1 forbids asking it.

  3. The new rule, draft wording.

    The model runs on the device. For a turn the user allowed, it may run on a computer the user owns and paired with the phone (Boost). Nothing goes to Boost until the user has paired a computer and allowed it. Vault, wallet and tainted turns never go. The cage, approvals, keys, the vault, the wallet and the signed log never leave the phone, and the computer never holds the user's keys. The chat shows every turn that ran on Boost. No core feature may need Boost, a server, a cloud model or cloud sync.

    And for line 2 of "Hermit in ten lines": "The model runs on the phone, or on a computer you own and paired, for the turns you allow. No core feature needs a server, and chat, memory and reminders work in airplane mode."

  4. How the other rules apply, unchanged. Rule 2: the desktop app has no telemetry either, and pnpm check:privacy covers its manifests. Rule 3: protocol code in packages/* stays network-free; the transport lives in app adapters and worklets, and every peer the phone contacts is counted for HM-SET-02. Rule 4: Boost returns tool calls unexecuted, and decide() runs on the phone. Rules 5 to 7: unchanged, all on the phone. Rule 9: the desktop app's strings live in packages/copy. Rule 11: a Boost model profile is on the model path.

  5. Why it's still Hermit. Hardware the user owns, paired by the user, with no server of ours in between.

  6. What could go wrong, walking SECURITY.md's threat model: a stolen or compromised computer reads the allowed turns and can return hostile tool calls (the cage, code-written sheets and the fingerprint still decide); another device pretends to be the computer (the QR pins its key, and the 6-digit code confirms the phone); addresses seen by DHT nodes and relays; caches and logs on the computer's disk; a page's injected text reaching Boost (tainted turns never go).

  7. Alternatives. Keep the rule and never ship Boost. A cloud model, which VISION.md rules out. Boost only for open-ended web tasks.

  8. How we'll know it works. Tests that vault, wallet and tainted turns never go, with every setting on. A test that nothing goes before the user allows it. HM-SET-02 lists Boost's peers. No eval set drops on the phone.

  9. Rollout and reversal. Off by default. Unpair stops it at once. Delete everything forgets the pairing.

  10. Open questions it doesn't settle. Whether tainted open-ended web tasks may run on Boost (#57), which would need this rule amended. What the computer may keep on disk (#52). A confidential-cloud Boost (US-BOOST-04, V3), which needs its own RFC.

Done when

  • A maintainer accepts or declines the RFC in this issue.
  • If it's accepted, one pull request adds it as docs/rfcs/NNNN-boost.md (the next free number), changes rule 1 and line 2 of "Hermit in ten lines" in AGENTS.md word for word as accepted, and records the decision in docs/prd/hermit-prd.md as what the product does, with its date.

How to check

  • The accepted wording appears, word for word, in AGENTS.md and in the RFC file.
  • The guard passes on that pull request: node scripts/guard/check.mjs --patterns scripts/guard/patterns.txt.

Depends on

Nothing.

Keep in mind

  • Until this is accepted, a pull request that sends a turn's content to Boost won't be reviewed.
  • VISION.md principle 1 already covers Boost. If the maintainers want another line there to mention it, it goes in the same pull request.
  • Write the rule as what the product does. No quotes of what anyone said (AGENTS.md, If you are an AI agent, item 14).
  • Plain words, short sentences, no em or en dashes.
Lenguaje dominante
TypeScript
Estrellas
11
Forks
0
Merge medio
10 min
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DojoCodingLabs/hermit

Todos los issues de DojoCodingLabs/hermit

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.