The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs(maintainer): index every file under docs/ and date the migration plans
cyrus123c8135043b
diff --git a/.github/workflows/pr-quality.yml b/.github/workflows/pr-quality.ymlindex c0a6d5b7b3..8881213859 100644--- a/.github/workflows/pr-quality.yml+++ b/.github/workflows/pr-quality.yml@@ -72,7 +72,6 @@ jobs:--include-fragments--exclude '^http://localhost'--exclude '^https?://127\.0\.0\.1'- --exclude 'docs/install\.md#apt-debianubuntu$'--exclude '^https://github\.com/tinyhumansai/homebrew-openhuman'--exclude '^https://www\.reddit\.com/r/tinyhumansai/?$'--exclude '^https://www\.star-history\.com/#tinyhumansai/openhuman&type=date&legend=top-left$'@@ -83,7 +82,9 @@ jobs:--exclude '^https://www\.producthunt\.com/'--exclude '^https://discord\.tinyhumans\.ai/?$''docs/**/*.md'- 'src/**/README.md'+ 'README.md'+ 'INSTALL.md'+ 'CONTRIBUTING.md''.github/PULL_REQUEST_TEMPLATE.md'fail: trueappimage-rpath-guard:diff --git a/docs/CONTRIBUTING-BEGINNERS.md b/docs/CONTRIBUTING-BEGINNERS.mdindex 65057bb0c3..5e04fbed5d 100644--- a/docs/CONTRIBUTING-BEGINNERS.md+++ b/docs/CONTRIBUTING-BEGINNERS.md@@ -285,10 +285,11 @@ git remote -v### 3a. Initialize submodules-The project vendors several supporting crates as git submodules under `vendor/`-(tinyagents, tinyflows, tinychannels, tinyhumans-sdk, tinybus, tinymemory,-tinywallet, tinyhosts, tinymcp, tinybox, tinyruntime, tinydocs, tinyvoice,-tinyjuice, tinyconnectors — see `.gitmodules`). The desktop shell itself uses+The project vendors eighteen supporting crates as git submodules under+`vendor/` (tinyagents, tinyflows, tinychannels, tinyhumans-sdk, tinybus,+tinymemory, tinywallet, tinyhosts, tinymcp, tinybox, tinyruntime, tinydocs,+tinyvoice, tinyjuice, tinyconnectors, tinyskills, tinycomputer, tinysearch —+`.gitmodules` is the list). The desktop shell itself usesTauri with the Wry webview, not CEF. You must initialize the submodules beforeinstalling dependencies or desktop builds will fail:@@ -339,7 +340,7 @@ For your first contribution, `pnpm dev` is all you need.| Area | Where it lives | Skills needed || -------------------- | ------------------------------------ | ----------------- || UI components | `app/src/` | React, TypeScript |-| Styles / design | `app/src/`, `app/tailwind.config.js` | CSS, Tailwind |+| Styles / design | `app/src/styles/`, `app/src/index.css` | CSS, Tailwind v4 || Documentation | `*.md` files, `gitbooks/` | Writing || Bug fixes (frontend) | `app/src/` | React, TypeScript |diff --git a/docs/QA-SIDEBAR-ICON-COLLAPSE.md b/docs/QA-SIDEBAR-ICON-COLLAPSE.mddeleted file mode 100644index 471f26a4d4..0000000000--- a/docs/QA-SIDEBAR-ICON-COLLAPSE.md+++ /dev/null@@ -1,129 +0,0 @@-# QA: Sidebar icon-collapse mode on desktop--Closes the verification ask in [#5676]. The root shell's sidebar moved from-`collapsible="offcanvas"` (column unmounts when collapsed) to-`collapsible="icon"` (a real ~56px column that stays mounted), and `AppSidebar`-now renders its own icon-only body by reading `useSidebar().state`. Three of the-properties that changed are invisible to jsdom, and one is invisible to any-browser: they need eyes on a real desktop build.--Verification is split into two layers:--| Layer | Covers | Where |-| -------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- |-| **Automated, real Chromium** against the web E2E build (real core + mock backend, same as CI Full) | Collapsed-state DOM contract, drag-strip geometry, resolved seam colours across modes and presets, resize + persistence mechanics | `app/test/playwright/specs/sidebar-icon-collapse.spec.ts` |-| **Manual, desktop app** | Native-layer punch-through, macOS traffic-light clickability, persistence across a true process restart | This checklist |--The automated layer already proves the following, so the manual pass does not-need to re-derive them (it should still notice anything odd):--- The collapsed column stays mounted at exactly 56px (`SIDEBAR_ICON_WIDTH`)- through three expand/collapse toggles and a window resize; the resize rail is- absent while collapsed; the reopen trigger and icon nav render inside the- column.-- The collapsed rail's first element is a full-width, 28px (`h-7`) strip at the- very top of the column carrying `data-tauri-drag-region`, and every rail item- starts below it.-- The resize seam indicator's rendered background resolves to exactly the live- `--line-chrome` token on hover and on focus, never the plain `--line` token,- in light and dark across Classic, Ocean, Matrix (light) and HAL 9000.-- Pointer drag resizes the column (+60px drag lands as +60px width, clamped to- 188..420), arrow keys step by 16px both directions, and the committed width- reaches the per-user persisted layout blob and survives a page reload.--Run the automated layer with:--```bash-pnpm --filter openhuman-app test:e2e:web -- test/playwright/specs/sidebar-icon-collapse.spec.ts-# or against an existing build:-bash app/scripts/e2e-web-session.sh test/playwright/specs/sidebar-icon-collapse.spec.ts-```--Set `PW_SIDEBAR_SHOTS=1` to also drop evidence screenshots into-`app/test-results/sidebar-shots/`.-------## How to run the manual pass--1. Build or run the desktop app for your platform (`pnpm dev:app`, or an- installed build). Sign in far enough to see the main shell with the sidebar.-2. Walk the checklist below, ticking each box only after verifying the expected- outcome with your own eyes.-3. Record results in the sign-off block and paste it into #5676.-4. A defect found here is fixed separately: file it and link it from #5676.- Do not widen this issue.--### macOS (required)--- [ ] **No punch-through while collapsed** — Collapse the sidebar (header- button or mod+B). Look at the narrowed icon column: no content from- outside the app window bleeds through, no stale frame ghosts inside it,- and the chrome background reads continuous behind the rail icons. Then- toggle expanded <-> collapsed five times fast, and drag-resize the window- by its edges while collapsed. Expected: the rail repaints cleanly every- time; no flash of wrong content, no black rectangle, no torn frame.-- [ ] **Traffic lights stay clear while collapsed** — With the sidebar- collapsed, the macOS window controls must sit on bare draggable chrome,- fully visible and clickable, not overlapping the first rail icon. Click- the minimise and maximise traffic lights. Expected: every click lands on the- control, none gets swallowed by a rail button; dragging the window by the- strip above the icons moves the window.-- [ ] **Traffic lights stay clear while expanded** — Same check with the- sidebar expanded: the controls sit over the sidebar header's empty left- edge and remain clickable.-- [ ] **Seam colour under real compositing** — Expand the sidebar, hover the- 1px resize seam at the sidebar's right edge, then focus it with Tab.- Expected: a hairline appears on hover/focus, visibly matching the chrome- hairline tone, in both Appearance modes and under at least two theme- presets (Settings > Appearance / Theme Studio). It must not read as- nearly invisible (the old plain `line` token failure) nor as a hard black- line.-- [ ] **Drag resize and true-restart persistence** — Drag the seam; the column- tracks the pointer and clamps at its narrowest/widest. Focus the seam and- press Left/Right; expected: 16px steps. Quit the app entirely (mod+Q) and- relaunch. Expected: the sidebar reopens at the dragged width. Also- collapse, quit, relaunch: expected: still collapsed.- After all other macOS checks are complete, click the close traffic light- to confirm it exits cleanly.--### Windows (recommended)--- [ ] **No punch-through while collapsed** — Same steps as the macOS- punch-through item. The compositing concern is not macOS-specific; only- the traffic-light one is.-- [ ] **Drag resize and true-restart persistence** — Same steps as the macOS- resize item. The title bar here is native, so skip the traffic-light row.--### Linux (recommended)--- [ ] **No punch-through while collapsed** — Same steps as the macOS- punch-through item, on the WebKitGTK build.-- [ ] **Drag resize and true-restart persistence** — Same steps as the macOS- resize item. The title bar here is native, so skip the traffic-light row.-------## Why the punch-through precondition was believed gone (context)--The original `offcanvas` choice recorded: "the native webview glued to the-content bounds has historically punched through a zero-width-but-present-column." That mechanism belonged to CEF's per-provider child webviews-(`webview_accounts` / the CDP scanners), which positioned a separate native-surface by tracking a DOM placeholder's bounds. Both halves are gone: the CDP-scanners and `webview_accounts` in #5478, and CEF itself in #5456 (Wry now;-one webview total). `icon` mode additionally keeps the column non-zero-width in-every state, which was the specific trigger. This pass exists because static-analysis is the wrong instrument for a compositing question, not because the-old failure was imaginary.--## Sign-off--```text-Issue: #5676-Tester: @<github-handle>-Date: YYYY-MM-DD-Platform(s) tested: [macOS arm64] [macOS x64] [Windows] [Linux]-Automated suite commit/sha: <sha>-Notes:-```diff --git a/docs/README.md b/docs/README.mdindex ce43734773..bfe64865d3 100644--- a/docs/README.md+++ b/docs/README.md@@ -5,6 +5,9 @@ Internal maintainer documentation. Public and contributor docs live inlive in `AGENTS.md` (`CLAUDE.md` is a symlink to it); per-domain design notessit beside the code as `crates/openhuman-core/src/<domain>/README.md`.+Every file in this directory is listed below. Links here are checked in CI by+the `markdown-link-check` job in `.github/workflows/pr-quality.yml`.+## Contributor onboarding- `CONTRIBUTING-BEGINNERS.md` — step-by-step first-PR guide for newcomers;@@ -16,7 +19,7 @@ sit beside the code as `crates/openhuman-core/src/<domain>/README.md`.## Process checklists-Both are referenced from `.github/PULL_REQUEST_TEMPLATE.md`.+The first two are referenced from `.github/PULL_REQUEST_TEMPLATE.md`.- `TEST-COVERAGE-MATRIX.md` — feature-ID to test-path matrix. Feature IDs arevalidated against `scripts/feature-ids.json` by@@ -25,8 +28,19 @@ Both are referenced from `.github/PULL_REQUEST_TEMPLATE.md`.that changes a feature.- `RELEASE-MANUAL-SMOKE.md` — manual smoke checklist run on every release cut;the only accepted substitute for a 🚫 matrix row.-- `QA-SIDEBAR-ICON-COLLAPSE.md` — one-off desktop QA checklist for the sidebar- icon-collapse change (#5676).+- `prompt-evals.md` — the agent-prompt comprehension suite: the case list, how+ to run it, and how to read a regression. Coupled both ways to+ `scripts/prompt-eval.sh`, `scripts/prompt-eval/cases.json` and+ `tests/in_process/agent_prompt_comprehension_e2e.rs`.+- `JAPANESE-UI-VALIDATION.md` — the ja-JP UI pass: what to look at, and the+ layout failures Japanese text exposes that English does not.++## CI++- `ci-self-hosted.md` — the only explainer for the lane architecture: how+ `ci-fast.yml` and `ci-fast-hosted.yml` call `ci-lanes.yml`, what each lane+ covers, which checks land in which lane, and how the Hetzner EX63 microVM+ runners are routed. Read this before adding a check to CI.## Engineering notes@@ -39,28 +53,42 @@ behind the `rss-bench` feature).scripts, and default/slim baselines.- `library-minimal-recipe.md` — the `--no-default-features --features"skills,flows"` recipe for a headless library build, with measurements.-- `harness-comparison-2026-07-22.md` — footprint comparison of OpenHuman's core- against other agent harnesses.+- `harness-comparison-2026-07-22.md` — dated footprint comparison of+ OpenHuman's core against other agent harnesses. Linked from the root+ `README.md`. Task-level comparisons now live in their own repository,+ `tinyhumansai/openhuman-benchmarks`.+- `dep-audit/<date>.md` — archived dependency-audit snapshots. These are+ machine-generated: `pnpm dep:audit` writes a fresh report to+ `target/dep-audit/REPORT.md`, and `pnpm dep:audit --snapshot` archives it+ here. Read `scripts/dep-audit/README.md` before acting on one, and date any+ claim you take from a snapshot.++## Specs and plans++Domain-local design notes live beside their code. Two exceptions sit here+because they coordinate several repositories at once and cannot be owned+accurately by one source directory.++- `specs/memory-v2.md` — the Memory v2 contract: the model, scope, the+ per-turn lifecycle, background jobs, config, the agent tool, the RPC table+ and the UI. The most referenced document in the tree: the Rust core, the+ embed facade, the frontend, a Playwright spec, a root integration test and+ five gitbooks pages all cite it. Treat it as current architecture, not a+ plan.+- `specs/agent-runtime-upstream-boundary.md` — the normative ownership+ boundary for making the core a host of the TinyAgents harness rather than a+ second agent runtime, with deletion criteria.+- `plans/` — the agent-runtime migration work plans, plus one dated+ measurement. `plans/README.md` carries the per-plan landed/outstanding+ status, verified against the tree, and the commands to re-check it. Read+ that before trusting any individual plan's own status line.## Translated product READMEsTranslations of the root `README.md`, linked from its language bar:-`README.de.md`, `README.ja-JP.md`, `README.ko.md`, `README.tr.md`,-`README.ur-pk.md`, `README.zh-CN.md`.--Domain-local design notes live beside their code. The agent-runtime migration is-a temporary exception because it coordinates four repositories and cannot be-owned accurately by one source directory:--- `specs/agent-runtime-upstream-boundary.md` — normative ownership boundary and- deletion criteria.-- `plans/migrate-agent-runtime-to-tinyagents.md` — bottom-up, test-first work- packages.-- `plans/migrate-agent-runtime-helper-packages.md` — executable RED/GREEN tasks- for audited host-free helpers.-- `plans/migrate-agent-runtime-waves.md` — non-overlapping ownership waves,- handoff gates, and final validation.--Remove these four cross-repository migration documents when the final-OpenHuman cutover lands; durable architecture changes must be reflected in-`gitbooks/developing/architecture/` and the beside-code agent README instead.+`README.ar.md`, `README.de.md`, `README.ja-JP.md`, `README.ko.md`,+`README.tr.md`, `README.ur-pk.md`, `README.zh-CN.md`.++Nothing compares a translation's structure against the root README, so they+drift silently; `pnpm i18n:check` covers UI strings only. Check the root+README's section list by hand when you touch one.diff --git a/docs/RELEASE-MANUAL-SMOKE.md b/docs/RELEASE-MANUAL-SMOKE.mdindex 13d6422027..a5a86a591b 100644--- a/docs/RELEASE-MANUAL-SMOKE.md+++ b/docs/RELEASE-MANUAL-SMOKE.md@@ -117,9 +117,9 @@ Applies to every release, all platforms.## Active release line-> If multiple stable release lines are in flight (security backports, LTS), add a sub-section per line and check the same boxes for each. As of writing, `0.52.x` is the only active line — older minor versions are end-of-life. Fold this section to suit when more release lines exist.+> One stable line is active at a time: the minor named by `[workspace.package] version` in the root `Cargo.toml`. Older minor versions are end-of-life. If more lines ever go in flight at once (security backports, LTS), add a sub-section per line and check the same boxes for each.-### 0.52.x — current+### Current stable line- [ ] **OAuth gate respects `VITE_MINIMUM_SUPPORTED_APP_VERSION`** (per [Release Policy](../gitbooks/developing/release-policy.md)) — Set the variable to a value above this build's version, build, attempt OAuth from the older binary. Expected: gate blocks the deep link; opens `VITE_LATEST_APP_DOWNLOAD_URL`.- [ ] **Gmail connect succeeds on a fresh install from `releases/latest`** — Per release-policy step 4. Expected: token exchange completes, inbox lists in-app.diff --git a/docs/ci-self-hosted.md b/docs/ci-self-hosted.mdindex 4c15ca1c23..5c99cf58f7 100644--- a/docs/ci-self-hosted.md+++ b/docs/ci-self-hosted.md@@ -1,9 +1,9 @@# CI Fast: the lane flow and the EX63 runners-CI Fast runs every check CI Lite runs as parallel **lanes** in fewer jobs.-For org members it replaces CI Lite: CI Lite skips every job on a commit that-CI Fast runs on the EX63. The one check to require is **CI Gate** (see-[CI Gate](#ci-gate)).+CI Fast runs every pre-merge check as parallel **lanes** in fewer jobs. It is+the whole pull-request flow: the `ci-lite.yml` workflow it was originally built+alongside was deleted on 2026-10-01. The one check to require is **CI Gate**+(see [CI Gate](#ci-gate)).| Who opened the PR | Workflow | Where it runs || ------------------------- | ------------------------------------- | ------------------------------------------------------------------------- |@@ -13,8 +13,7 @@ CI Fast runs on the EX63. The one check to require is **CI Gate** (seeBoth call `.github/workflows/ci-lanes.yml`, which runs`scripts/ci/self-hosted/lanes.mjs`. The plan itself is in`scripts/ci/self-hosted/lanes-plan.mjs`, and-`scripts/__tests__/self-hosted-lanes.test.mjs` pins its shape against-`ci-lite.yml`.+`scripts/__tests__/self-hosted-lanes.test.mjs` pins its shape.The host side (microVM supervisor, guest image, firewall, deploy) lives inthe private repo `tinyhumansai/gh-hosted-runner`. Its README covers@@ -92,11 +91,10 @@ with everything else when the EX63 runs the commit.Who runs what:-- **Org members:** `ci-lite.yml`'s `route` job reads `ci-fast.yml`'s decision- for the commit (`scripts/ci/ci-fast-route.sh`, shared with- `ci-fast-hosted.yml`). When the EX63 runs it, CI Lite skips. It runs anyway- when that decision is only the fallback (no CI Fast run within three- minutes) or routing errors.+- **Org members:** `ci-fast.yml` on `pull_request_target`, routed by+ `scripts/ci/ci-fast-route.sh` (shared with `ci-fast-hosted.yml`). The route+ decision falls back to the hosted lanes when no EX63 run starts within three+ minutes, or when routing errors.- **Outsiders:** CI Lite and CI Fast (hosted) both run, and the first to passcancels the other.- **Pushes to `main`:** CI Lite runs, and the gate ignores them.diff --git a/docs/library-benchmarking.md b/docs/library-benchmarking.mdindex c4e0421312..21543d946e 100644--- a/docs/library-benchmarking.md+++ b/docs/library-benchmarking.md@@ -18,10 +18,11 @@ attribution (removed from the tree; see git history at `0017c58d86~1` for theoriginal write-up). This document is about running repeatable benchmarks, notre-deriving those findings.-## The seven scenarios+## The scenarios-The default `library-bench.sh` sweep runs the six scenarios currently linked-into the binary. `memory-ingest` and `cold-phases` remain documented workload+The binary dispatches six scenarios: `agent-turn`, `long-agent`, `workflow`,+`fleet`, `skill-run` and `subagent-storm` (`crates/openhuman-cli/src/bin/library_profile/main.rs`).+The default `library-bench.sh` sweep runs them. `memory-ingest` and `cold-phases` remain documented workloaddesigns, but are excluded because the binary no longer links the in-processmemory engine they measured (superseded by Memory v2, whose engine is remote). All runnable scenarios run in`target/release/library-profile <scenario>`, replace@@ -31,17 +32,16 @@ stderr). Each models a distinct embedding use case:| Scenario | Models || --- | --- |-| `memory-ingest` | Canonicalizing and ingesting a batch of chat messages through the real extraction/admission/tree-queue pipeline. |-| `subagents` | A delegation turn: an orchestrator session spawns real subagents via `spawn_parallel_agents` and merges their findings. |+| `subagent-storm` | A delegation turn: an orchestrator session spawns real subagents via `spawn_parallel_agents` and merges their findings. |+| `skill-run` | One skill run end to end, the path a host takes when it ships bundles rather than ad hoc chat. || `agent-turn` | The minimal embed case: one agent, one turn, no delegation, no workflow. The smallest useful "hello world" for a host that just wants a single reply. || `long-agent` | A long-running agent loop (`OPENHUMAN_PROFILE_TURNS`, default 25) in one process, to see whether RSS plateaus or grows per turn. || `workflow` | A saved automation run (`flows_create` + `flows_run`), representing the flows/automation embedding path rather than ad hoc chat. |-| `cold-phases` | Bootstrap attribution: per-phase checkpoints (config load, registry init, agent build, memory construction, first turn) so cold-start cost can be attributed to a phase instead of one lump sum. || `fleet` | N concurrent live agents with latency-realistic mock inference — the "100-1000 agents in a 2 GB / 2 vCPU server" question. See [below](#the-2-gb--2-vcpu-server-budget). |## How to run-Six scripts under `scripts/profile/` (each has `-h`/`--help`):+Seven scripts under `scripts/profile/` (each has `-h`/`--help`):- **`library-bench.sh`** — the primary RSS/duration benchmark. Builds thebinaries, runs each scenario N fresh-process repeats (default 5), and@@ -67,8 +67,8 @@ Six scripts under `scripts/profile/` (each has `-h`/`--help`):`library-bench.sh` output.```bash- ./scripts/profile/library-heap.sh memory-ingest- # load target/profile/rust-library/dhat-memory-ingest.json at+ ./scripts/profile/library-heap.sh agent-turn+ # load target/profile/rust-library/dhat-agent-turn.json at# https://nnethercote.github.io/dh_view/dh_view.html```@@ -280,7 +280,12 @@ Start cheap, escalate only as needed:## Current baseline numbersFrom the 2026-07-21 profiling session (medians over five fresh processes-unless noted; see that document for methodology and caveats):+unless noted; see that document for methodology and caveats).++The scenario names in the two tables below are the names that session used.+`subagents` is now `subagent-storm`; `memory-ingest` and `cold-phases` no+longer dispatch, so their rows cannot be reproduced from this tree and are+kept only as the record of what was measured.| Scenario | Build | Median settled RSS | Median retained Δ || --- | --- | ---: | ---: |diff --git a/docs/plans/README.md b/docs/plans/README.mdnew file mode 100644index 0000000000..42724fc9e9--- /dev/null+++ b/docs/plans/README.md@@ -0,0 +1,50 @@+# `docs/plans/`++Cross-repository work plans for the agent-runtime migration, plus one dated+measurement that was filed here by mistake. The normative boundary these plans+implement is [`../specs/agent-runtime-upstream-boundary.md`](../specs/agent-runtime-upstream-boundary.md).++A plan here exists because the work spans OpenHuman and one or more vendored+submodules and cannot be owned accurately by a single source directory. Durable+architecture belongs in `gitbooks/developing/architecture/` and in the+beside-code `crates/openhuman-core/src/<domain>/README.md`, not here.++## Status, verified 2026-10-07++Checked against the tree rather than against each plan's own status line,+because several of those lines no longer hold.++| Plan | Status |+| --- | --- |+| `extract-remaining-harness-session-and-subagent-runner.md` | **Landed.** `agent/harness/{session,subagent_runner,run_queue}/` and `agent/task_dispatcher/` are all deleted; `agent/session_host/` and `agent/subagent_host/` replaced them. |+| `migrate-agent-sessions-to-tinyagents-session.md` | **Landed.** The transcript model and JSONL codec live in `vendor/tinyagents/crates/tinyagents-session/src/transcript/`. |+| `migrate-agent-runtime-helper-packages.md` | **Landed.** All four slices are complete; what remains host-side is what the plan prescribes keeping. |+| `migrate-agent-orchestration-to-tinyagents.md` | **Landed except O6.** `tinyagents-orchestration/src/` holds `subagent/`, `teams/` and `workflow/`; there is no `parallel/`. |+| `migrate-agent-runtime-to-tinyagents.md` | **Live.** Tasks 4, 10 and 11 are outstanding: 25 `task_local!` declarations remain in the core, and `agent/tinyagents/harness_assembly.rs` and `agent/tinyagents/turn_runner.rs` both still exist with live callers. |+| `migrate-agent-runtime-waves.md` | **Live.** Gate 4 is unmet: `scripts/ci/agent-runtime-boundary-baseline.json` is still checked in, with 213 baselined violations, and the gate requires it deleted. |+| `jev-tool-search-baseline.md` | **Not a plan.** A dated measurement report (2026-09-22) for `tool_search` ranking. It is linked from the root `README.md`, `crates/openhuman-tinyhumans/src/jev/README.md` and `gitbooks/developing/jev.md`, so its path is a contract; leave it where it is. |++Delete the four landed plans, and the spec with them, once Task 4, Tasks 10 and+11, Gate 4 and O6 are closed. Until then they are the record of what was moved+and why, and the two live plans point at them.++## Reproducing the status check++```bash+# landed trees are gone, their replacements are present+ls crates/openhuman-core/src/agent/harness/ # no session/ subagent_runner/ run_queue/+ls crates/openhuman-core/src/agent/session_host/ crates/openhuman-core/src/agent/subagent_host/++# O6+ls vendor/tinyagents/crates/tinyagents-orchestration/src/++# Task 4+grep -rn 'task_local!' crates/openhuman-core/src --include='*.rs' | grep -v _tests | wc -l++# Tasks 10 and 11+ls crates/openhuman-core/src/agent/tinyagents/harness_assembly.rs \+ crates/openhuman-core/src/agent/tinyagents/turn_runner.rs++# Gate 4+python3 -c "import json;print(len(json.load(open('scripts/ci/agent-runtime-boundary-baseline.json'))))"+```diff --git a/docs/plans/extract-remaining-harness-session-and-subagent-runner.md b/docs/plans/extract-remaining-harness-session-and-subagent-runner.mdindex ec5bf96220..fb8b648d6e 100644--- a/docs/plans/extract-remaining-harness-session-and-subagent-runner.md+++ b/docs/plans/extract-remaining-harness-session-and-subagent-runner.md@@ -1,11 +1,9 @@# Extract the remaining session and sub-agent runtime from OpenHuman-**Status:** Phases 0–5 are landed on the migration branch. Phase 6 is in-progress: the old `harness/subagent_runner` tree is being replaced directly by-`agent/subagent_host`, whose lifecycle is driven by-`tinyagents_orchestration::subagent`. The branch must not be described as-complete until its host persistence, caller migration, deletion audit, and-validation gates have passed.+> **Status, verified 2026-10-07: landed.** `agent/harness/{session,subagent_runner,run_queue}/`+> and `agent/task_dispatcher/` are deleted, and `agent/session_host/` and+> `agent/subagent_host/` replaced them. Kept as the record of what moved and+> why. See [`README.md`](README.md) for the whole set and how to re-check it.## End state and rulesdiff --git a/docs/plans/migrate-agent-orchestration-to-tinyagents.md b/docs/plans/migrate-agent-orchestration-to-tinyagents.mdindex 31d0006097..639abce52a 100644--- a/docs/plans/migrate-agent-orchestration-to-tinyagents.md+++ b/docs/plans/migrate-agent-orchestration-to-tinyagents.md@@ -1,5 +1,9 @@# Extract `tinyagents-orchestration`+> **Status, verified 2026-10-07:** landed except O6, which would add+> `tinyagents-orchestration/src/parallel/`. See [`README.md`](README.md) for+> the whole set and how to re-check it.+Create the correctly spelled `vendor/tinyagents/crates/tinyagents-orchestration`workspace crate for host-neutral *composition* of agent work. It is not a newtask registry, graph runtime, session database, tool package, or policy layer.diff --git a/docs/plans/migrate-agent-runtime-helper-packages.md b/docs/plans/migrate-agent-runtime-helper-packages.mdindex 33ccf874d9..49717f64f3 100644--- a/docs/plans/migrate-agent-runtime-helper-packages.md+++ b/docs/plans/migrate-agent-runtime-helper-packages.md@@ -1,5 +1,8 @@# Agent runtime helper migration packages+> **Status, verified 2026-10-07:** landed. See [`README.md`](README.md) for+> the whole set and how to re-check it.+These tasks extend Task 2 in[`migrate-agent-runtime-to-tinyagents.md`](migrate-agent-runtime-to-tinyagents.md).Every GREEN step includes direct consumer imports and deletion of the old path;diff --git a/docs/plans/migrate-agent-runtime-to-tinyagents.md b/docs/plans/migrate-agent-runtime-to-tinyagents.mdindex 28eb70bd65..c13bc718f5 100644--- a/docs/plans/migrate-agent-runtime-to-tinyagents.md+++ b/docs/plans/migrate-agent-runtime-to-tinyagents.md@@ -1,5 +1,8 @@# Migrate the OpenHuman agent runtime to TinyAgents+> **Status, verified 2026-10-07:** live. Tasks 4, 10 and 11 are outstanding.+> See [`README.md`](README.md) for the whole set and how to re-check it.+> Implementation must proceed bottom-up and test-first. Each task removes the> old path in the same change that switches its consumers. Do not add shims,> aliases, forwarding modules, or dual live paths.diff --git a/docs/plans/migrate-agent-runtime-waves.md b/docs/plans/migrate-agent-runtime-waves.mdindex 084ffe4511..6ad58eeabb 100644--- a/docs/plans/migrate-agent-runtime-waves.md+++ b/docs/plans/migrate-agent-runtime-waves.md@@ -1,5 +1,9 @@# Agent runtime migration waves+> **Status, verified 2026-10-07:** live. Gate 4 is unmet; the boundary+> baseline is still checked in. See [`README.md`](README.md) for the whole set+> and how to re-check it.+This is the execution and validation companion to[`migrate-agent-runtime-to-tinyagents.md`](migrate-agent-runtime-to-tinyagents.md).The boundary remains normative indiff --git a/docs/plans/migrate-agent-sessions-to-tinyagents-session.md b/docs/plans/migrate-agent-sessions-to-tinyagents-session.mdindex db8e70d8fb..c0884a142a 100644--- a/docs/plans/migrate-agent-sessions-to-tinyagents-session.md+++ b/docs/plans/migrate-agent-sessions-to-tinyagents-session.md@@ -1,5 +1,8 @@# Migrate host-independent sessions to `tinyagents-session`+> **Status, verified 2026-10-07:** landed. See [`README.md`](README.md) for+> the whole set and how to re-check it.+This plan moves durable, host-neutral agent-session mechanics into`vendor/tinyagents/crates/tinyagents-session`. It is intentionally separatefrom agent execution: the session crate is queryable persistence, not a modeldiff --git a/docs/specs/agent-runtime-upstream-boundary.md b/docs/specs/agent-runtime-upstream-boundary.mdindex a9477b7240..7e7865e040 100644--- a/docs/specs/agent-runtime-upstream-boundary.md+++ b/docs/specs/agent-runtime-upstream-boundary.md@@ -1,5 +1,14 @@# Agent runtime upstream boundary+> **Status, verified 2026-10-07.** The migration this spec governs is mostly+> executed. Its audit matrix is the original work-list, so several rows name+> paths that have since been deleted and several "Delete" rows are already+> done; one Package A target, `crates/openhuman-core/src/agent/registry/tools.rs`,+> is still present. Read+> [`../plans/README.md`](../plans/README.md) for the per-plan status and the+> commands that re-check it, and treat the matrix below as the record of intent+> rather than a to-do list.+**Status:** migration specification**Scope:** `crates/openhuman-core/src/agent/` and the vendored `tinyagents`,`tinytools`, and `tinyinference` repositories