Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

Document browser site memory

Shanuc6ac0fecc83a
diff --git a/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs b/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs
index 848eb753c2..54a1061daa 100644
--- a/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs
+++ b/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs
@@ -96,8 +96,8 @@ Capability {
name: "Browser Automation",
domain: "workflows",
category: CapabilityCategory::Workflows,
- description: "Inspect pages and run bounded browser tasks in Chrome through TinyComputer, with a rescue model for failed steps.",
- how_to: "Connections > Computer > Browser, then ask the assistant to use the browser",
+ description: "Inspect pages and run bounded browser tasks in Chrome through TinyComputer, with a rescue model for failed steps. A finished task's plan and the page elements it found are kept on this device, per site, so the next task there starts sooner.",
+ how_to: "Connections > Computer > Browser, then ask the assistant to use the browser; What tasks learn turns learning off or forgets learned sites",
status: CapabilityStatus::Beta,
privacy: Some(CapabilityPrivacy {
leaves_device: true,
diff --git a/docs/RELEASE-MANUAL-SMOKE.md b/docs/RELEASE-MANUAL-SMOKE.md
index a5a86a591b..d5a4e58c70 100644
--- a/docs/RELEASE-MANUAL-SMOKE.md
+++ b/docs/RELEASE-MANUAL-SMOKE.md
@@ -46,6 +46,7 @@ Applies to every release, all platforms.
- [ ] **Browser readiness and setup** — Open Connections → Integrations → Computer → Browser on each desktop platform and verify the Early Alpha notice. Expected: the checksum-pinned TinyComputer module loads from the installer on Windows or the release cache on other platforms and passes TinyBus admission, module and Chrome readiness are reported separately, Test works, and saved viewport, profile, download folder, task limits, and allowed websites survive relaunch.
- [ ] **Browser task and policy** — With an allowed Selenium test site, use a conversation to submit its web form and download File 1. Expected: `tool_search` discovers `browser`, consequential actions wait for the exact host approval, the submitted page shows “Received!”, and a completed download is verified on disk. Then restrict allowed websites and confirm a disallowed navigation is blocked.
+- [ ] **Browser learning** — In a conversation, ask for the same browser task on one allowed site twice. Expected: the second run starts without drafting a plan (debug log `[browser-sites] applied what the site's finished tasks left` with `reused_plan=true`) and ends the same way. Then click Browser → What tasks learn → Forget learned sites: it reports the sites forgotten, and the next run plans again. With Learn from finished tasks off, nothing is reused or kept.
### Wallet balances
diff --git a/docs/TEST-COVERAGE-MATRIX.md b/docs/TEST-COVERAGE-MATRIX.md
index e8a4472f92..65173c32f3 100644
--- a/docs/TEST-COVERAGE-MATRIX.md
+++ b/docs/TEST-COVERAGE-MATRIX.md
@@ -327,6 +327,7 @@ End-to-end coverage of the agent harness via the web-chat RPC surface against an
| 7.1.1 | Open URL | RU+WD | `crates/openhuman-core/src/tools/impl/browser/browser_open_tests.rs`, `app/test/e2e/specs/tool-browser-flow.spec.ts` | ✅ | `browser_open` is a deferred one-shot TinyComputer entry point. |
| 7.1.2 | Browser Automation | RU+WD | `crates/openhuman-core/src/tools/impl/browser/browser_computer_tests.rs`, `app/test/e2e/specs/tool-browser-flow.spec.ts` | ✅ | `browser` is deferred until `tool_search`; tests cover task limits, TinyComputer task pauses, session reuse, policy rebinds, and host confirmation. |
| 7.1.3 | Browser Connections | VU+RU | `app/src/components/settings/panels/BrowserConnectionsPanel.test.tsx`, `crates/openhuman-core/src/modules/browser_tests.rs` | ✅ | Readiness, launch settings, and the shared website policy are configured in Connections. |
+| 7.1.4 | Browser site memory | RU+VU | `crates/openhuman-core/src/modules/browser_sites_tests.rs`, `app/src/components/settings/panels/BrowserConnectionsPanel.test.tsx` | ✅ | A finished task's plan (for the same goal and facts) and the elements it found are kept per site in the workspace and handed to the next task there. Fact values, page text, rescued runs' plans and reused plans that fail are not kept; entries expire after 30 days unused. The learning switch and "forget learned sites" live in Browser settings. |
### 7.2 Network
diff --git a/gitbooks/developing/jev.md b/gitbooks/developing/jev.md
index b9f825b6a2..c5238a3ca5 100644
--- a/gitbooks/developing/jev.md
+++ b/gitbooks/developing/jev.md
@@ -101,6 +101,19 @@ up to `max_rescues` times) before the task fails. An irreversible step pauses
as `needs_approval`; the browser tool holds it behind a one-use token and only
`confirm_pending`, through the host approval gate, answers `ContinueTask`.
+`crates/openhuman-core/src/modules/browser_sites.rs` keeps what finished
+browser tasks learned, per site, in `<workspace>/state/computer/sites/`, and
+hands it to the next task on the same site: the plan a run finished with, as
+`StartTask.flow` for the same goal and facts (no planning), and the elements
+it found, as `StartTask.memory` (a remembered element costs one yes/no instead
+of a search). Only a run that finished (`done`, or its payment checkpoint)
+teaches anything; a plan is kept only when its run needed no rescue and holds
+no fact value its goal does not, and a reused plan that fails or needs a
+rescue is forgotten. Elements holding a fact value or page text are not kept,
+entries expire after 30 days unused, and none of it reaches the agent's memory
+or prompts. `[browser] learn_from_tasks` turns it off, and
+`modules.browser_forget_sites` forgets one site or all.
+
## Measured results
From `docs/plans/jev-tool-search-baseline.md`, measured 2026-09-22 against
diff --git a/gitbooks/developing/loadable-modules.md b/gitbooks/developing/loadable-modules.md
index 7bee8b2465..f92d0dae8c 100644
--- a/gitbooks/developing/loadable-modules.md
+++ b/gitbooks/developing/loadable-modules.md
@@ -80,7 +80,7 @@ allow_download = true # false suits an air-gapped or reproducible deployment
Nothing is downloaded silently either way: the digest comes from the compiled-in registry rather than from the release being fetched.
-The `modules` RPC namespace exposes `list`, `status` and `load` (by id, never by path), plus `computer_status` and `browser_check_readiness` for the computer module's own readiness.
+The `modules` RPC namespace exposes `list`, `status` and `load` (by id, never by path), plus `computer_status` and `browser_check_readiness` for the computer module's own readiness, and `browser_forget_sites`, which forgets what browser tasks learned about one site or every site (see [jev.md](jev.md)).
## Adding or moving one