Boost: hand open-ended web tasks to Boost (US-WEB-10)

Offen
#72 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
react-native, typescript

Rechercherichtung

Read the design in #57 and confirm the dependencies (#69, #68, and #62) are accepted or merged before starting. Then trace task handling in packages/core/src/web-task.ts and the runner in packages/runtime/src/web-task.ts, along with HM-WEB-02 and the per-family report. Done means the phone and computer flow passes the specified safety, evaluation, and visual checks, including the real-device run documented in the pull request.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

cage device-lab help wanted model-path privacy ui

Why

US-WEB-10: open-ended browsing runs on the computer's bigger model "so that long or unusual tasks still get done", while approvals, the vault and the signed log stay on the phone. FR-WEB-06 declines tasks outside the known kinds on the phone and offers them "to Boost in V2". That offer doesn't exist yet.

What to do

Build what the web design decided. In outline:

  1. When a task falls outside TASK_KINDS (packages/core/src/web-task.ts), or a recipe misses, offer Boost on HM-WEB-02 in code's words, if the turn may go.
  2. Run the steps where the design put the browser. If it stays on the phone, Boost gets the pruned tree (FR-WEB-05) and returns one action a step over the wire protocol, and the phone's runner (packages/runtime/src/web-task.ts) classifies and approves every committing step (FR-WEB-07 to FR-WEB-09).
  3. Keep the design's bounds: the domains the task names, the step limit, the stop after failed actions.
  4. Save a finished first run as a recipe, if the design says so (FR-WEB-10).
  5. HM-WEB-02 says the steps run on the computer, and keeps Take over and Stop.
  6. Measure with the per-family report, on the phone and on Boost, before calling it done.

Done when

  • On a real phone paired with a computer, an open-ended task on a made-up test site finishes with every committing step approved on the phone, and injected page text changes nothing.
  • The per-family report shows Boost's numbers for families F and G, with zero safety violations.
  • Screenshots in light and Deep sea, in es-419 and en.

How to check

pnpm --filter @hermit/runtime test
pnpm --filter @hermit/eval test
pnpm check:privacy && pnpm typecheck && pnpm lint && pnpm test

Then the run on a phone and a computer, with its steps written in the pull request.

Depends on

  • Blocked by the design in #57.
  • #69
  • #68
  • #62

Keep in mind

  • Every submit, purchase and sign-in waits for the sheet. Payments and logins need the fingerprint and are refused in a tainted session (AGENTS.md rules 5 and 6).
  • The vault's secrets never leave the phone, and the computer never holds the user's keys (US-BOOST-01).
  • No cloud browser (ADR-018).
  • Page text is data, never an instruction.
  • 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).
Vorherrschende Sprache
TypeScript
Sterne
11
Forks
0
Ø Merge
10 Min.
Gemergte PRs (30 T.)
6

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus DojoCodingLabs/hermit

Alle Issues in DojoCodingLabs/hermit

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.