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
chore: files changed .github/ci-paths-filter.yml,scripts/__tests__/self-hosted-lanes.test.mjs
Steven Enamakelbc6d03ebd46f
diff --git a/.github/ci-paths-filter.yml b/.github/ci-paths-filter.ymlindex 72b259f20d..4284cf3307 100644--- a/.github/ci-paths-filter.yml+++ b/.github/ci-paths-filter.yml@@ -11,62 +11,62 @@# The self-reference entries arm every area when any CI workflow, this file or# the lane runner changes, so CI edits exercise the lanes they touch.frontend:- - '.github/workflows/ci-*.yml'- - '.github/ci-paths-filter.yml'- - 'scripts/ci/self-hosted/**'- - 'scripts/ci-cancel-aware.sh'- - 'package.json'- - 'pnpm-lock.yaml'- - 'app/package.json'- - 'app/index.html'- - 'app/public/**'- - 'app/src/**'- - 'app/scripts/**'- - 'app/test/vitest.config.ts'+ - ".github/workflows/ci-*.yml"+ - ".github/ci-paths-filter.yml"+ - "scripts/ci/self-hosted/**"+ - "scripts/ci-cancel-aware.sh"+ - "package.json"+ - "pnpm-lock.yaml"+ - "app/package.json"+ - "app/index.html"+ - "app/public/**"+ - "app/src/**"+ - "app/scripts/**"+ - "app/test/vitest.config.ts"# The e2e/Playwright specs themselves: `typecheck:e2e` in the frontend# job exists to check them, so a PR that touches only a spec has to# match this filter or the job skips and the check reads as green.- - 'app/test/**'+ - "app/test/**"# The skip policy checker is part of browser-test validation; changing it# must also arm the frontend lane that invokes it.- - 'scripts/ci/check-browser-test-skips.mjs'- - 'app/tsconfig*.json'- - 'app/vite.config.*'- - 'app/tailwind.config.*'- - 'app/postcss.config.*'+ - "scripts/ci/check-browser-test-skips.mjs"+ - "app/tsconfig*.json"+ - "app/vite.config.*"+ - "app/tailwind.config.*"+ - "app/postcss.config.*"i18n:- - '.github/workflows/ci-*.yml'- - '.github/ci-paths-filter.yml'- - 'scripts/ci/self-hosted/**'- - 'app/src/**'+ - ".github/workflows/ci-*.yml"+ - ".github/ci-paths-filter.yml"+ - "scripts/ci/self-hosted/**"+ - "app/src/**"docs:- - '.github/workflows/ci-*.yml'- - '.github/ci-paths-filter.yml'- - 'scripts/ci/self-hosted/**'- - 'app/src/App.tsx'- - 'scripts/generate-architecture-docs.mjs'- - 'scripts/__tests__/generate-architecture-docs.test.mjs'- - 'docs/gitbooks/en/developing/architecture/frontend.md'- - 'docs/gitbooks/en/developing/embed/**'- - 'docs/gitbooks/en/developing/embedding.md'- - 'docs/gitbooks/en/SUMMARY.md'- - 'crates/openhuman-embed/**'- - 'scripts/generate-embed-docs.mjs'- - 'scripts/run-embed-examples.mjs'- - 'scripts/__tests__/generate-embed-docs.test.mjs'- - 'scripts/__tests__/run-embed-examples.test.mjs'- - 'llms.txt'- - 'llms-full.txt'- - 'EMBED.md'- - 'package.json'+ - ".github/workflows/ci-*.yml"+ - ".github/ci-paths-filter.yml"+ - "scripts/ci/self-hosted/**"+ - "app/src/App.tsx"+ - "scripts/generate-architecture-docs.mjs"+ - "scripts/__tests__/generate-architecture-docs.test.mjs"+ - "docs/gitbooks/en/developing/architecture/frontend.md"+ - "docs/gitbooks/en/developing/embed/**"+ - "docs/gitbooks/en/developing/embedding.md"+ - "docs/gitbooks/en/SUMMARY.md"+ - "crates/openhuman-embed/**"+ - "scripts/generate-embed-docs.mjs"+ - "scripts/run-embed-examples.mjs"+ - "scripts/__tests__/generate-embed-docs.test.mjs"+ - "scripts/__tests__/run-embed-examples.test.mjs"+ - "llms.txt"+ - "llms-full.txt"+ - "EMBED.md"+ - "package.json"rust-core:- - '.config/nextest.toml'- - '.github/workflows/ci-*.yml'- - '.github/ci-paths-filter.yml'- - 'scripts/ci/self-hosted/**'- - 'scripts/ci/rust-coverage.sh'- - 'scripts/ci/nextest-coverage.sh'- - 'scripts/ci/nextest-report.mjs'+ - ".config/nextest.toml"+ - ".github/workflows/ci-*.yml"+ - ".github/ci-paths-filter.yml"+ - "scripts/ci/self-hosted/**"+ - "scripts/ci/rust-coverage.sh"+ - "scripts/ci/nextest-coverage.sh"+ - "scripts/ci/nextest-report.mjs"# The product feature set decides what the Rust lanes below# actually compile (clippy's `--features`, the test suite's, and# rust-coverage.sh's). Changing it changes the code under@@ -74,48 +74,48 @@ rust-core:# this lane too — #5619 turned `hosting` on and, without this# entry, resolved to `["rust-tauri"]` alone, skipping every lane# that would have compiled the family it enabled.- - 'scripts/ci/product-features.*'+ - "scripts/ci/product-features.*"# The feature-gate smoke owns the dependency-floor ratchet. Its# limits and measurement logic must arm that lane themselves.- - 'scripts/kernel-floor.limits'- - 'scripts/check-kernel-floor.sh'- - 'scripts/kernel-floor.sh'- - 'scripts/dep-sim.py'+ - "scripts/kernel-floor.limits"+ - "scripts/check-kernel-floor.sh"+ - "scripts/kernel-floor.sh"+ - "scripts/dep-sim.py"# The coverage-presence gate and its allowlist decide whether this# lane FAILS, so they arm it for the same reason.- - 'scripts/ci/assert-coverage-presence.sh'- - 'scripts/ci/coverage-presence-allowlist.txt'- - 'scripts/ci/check-openhuman-rust-layout.mjs'- - 'scripts/ci/check-crate-chain.mjs'- - 'scripts/ci/check-storage-owner.mjs'- - 'scripts/ci/check-storage-schema.mjs'- - 'scripts/ci/check-agent-runtime-boundary.mjs'- - 'scripts/ci/agent-runtime-boundary-baseline.json'- - 'scripts/ci/check-saas-ambient.mjs'- - 'scripts/ci/saas-ambient-baseline.json'+ - "scripts/ci/assert-coverage-presence.sh"+ - "scripts/ci/coverage-presence-allowlist.txt"+ - "scripts/ci/check-openhuman-rust-layout.mjs"+ - "scripts/ci/check-crate-chain.mjs"+ - "scripts/ci/check-storage-owner.mjs"+ - "scripts/ci/check-storage-schema.mjs"+ - "scripts/ci/check-agent-runtime-boundary.mjs"+ - "scripts/ci/agent-runtime-boundary-baseline.json"+ - "scripts/ci/check-saas-ambient.mjs"+ - "scripts/ci/saas-ambient-baseline.json"# The ignored-test ratchet lives in rust-quality. Its checker and# its baseline must arm that lane themselves, or a PR that raises# the baseline skips the only gate that reads it.- - 'scripts/ci/check-ignored-tests.mjs'- - 'scripts/ci/ignored-test-baseline.json'- - 'scripts/ci/list-feature-gated-rust-tests.mjs'- - 'Cargo.toml'- - 'crates/openhuman-core/**'- - 'crates/openhuman-embed/**'- - 'crates/openhuman-tinyhumans/**'- - 'crates/openhuman-rpc/**'- - 'crates/openhuman-cli/**'- - 'crates/openhuman-tui/**'- - 'Cargo.lock'- - 'build.rs'- - '.cargo/config.toml'- - 'rust-toolchain.toml'- - 'src/**'- - 'tests/**'- - 'scripts/ci-cancel-aware.sh'- - 'scripts/check-linux-tls-dependencies.sh'- - 'scripts/test-rust-e2e.sh'- - 'scripts/test-rust-with-mock.sh'+ - "scripts/ci/check-ignored-tests.mjs"+ - "scripts/ci/ignored-test-baseline.json"+ - "scripts/ci/list-feature-gated-rust-tests.mjs"+ - "Cargo.toml"+ - "crates/openhuman-core/**"+ - "crates/openhuman-embed/**"+ - "crates/openhuman-tinyhumans/**"+ - "crates/openhuman-rpc/**"+ - "crates/openhuman-cli/**"+ - "crates/openhuman-tui/**"+ - "Cargo.lock"+ - "build.rs"+ - ".cargo/config.toml"+ - "rust-toolchain.toml"+ - "src/**"+ - "tests/**"+ - "scripts/ci-cancel-aware.sh"+ - "scripts/check-linux-tls-dependencies.sh"+ - "scripts/test-rust-e2e.sh"+ - "scripts/test-rust-with-mock.sh"# Every vendored crate, not an enumeration. `[patch.crates-io]`# force-resolves all ten submodules by path, so ANY pointer bump# changes what this crate compiles against. The previous list@@ -124,162 +124,162 @@ rust-core:# Enumerating here failed the same way the release Docker# submodule list did three times before #5596 replaced it with# `--init --recursive`. Do not go back to a list.- - '.gitmodules'- - 'vendor/**'+ - ".gitmodules"+ - "vendor/**"rust-tauri:- - '.config/nextest.toml'- - '.github/workflows/ci-*.yml'- - '.github/ci-paths-filter.yml'- - 'scripts/ci/self-hosted/**'- - 'scripts/ci/nextest-coverage.sh'- - 'scripts/ci/nextest-report.mjs'- - 'Cargo.lock'- - '.cargo/config.toml'- - 'rust-toolchain.toml'- - 'crates/openhuman-app/**'- - 'scripts/ci-cancel-aware.sh'+ - ".config/nextest.toml"+ - ".github/workflows/ci-*.yml"+ - ".github/ci-paths-filter.yml"+ - "scripts/ci/self-hosted/**"+ - "scripts/ci/nextest-coverage.sh"+ - "scripts/ci/nextest-report.mjs"+ - "Cargo.lock"+ - ".cargo/config.toml"+ - "rust-toolchain.toml"+ - "crates/openhuman-app/**"+ - "scripts/ci-cancel-aware.sh"# The shell is a second Cargo world with its own duplicate# `[patch.crates-io]` table pointing at the same submodules, so it# is affected by a bump exactly as the core is. It named none.- - '.gitmodules'- - 'vendor/**'+ - ".gitmodules"+ - "vendor/**"# Shared mock backend + script self-tests. The mock backend every# E2E suite depends on had zero PR-lane coverage before this (its# own socket-auth tests never ran in CI) — arm the scripts# self-test job on any mock/script change.scripts:- - 'scripts/ci/rust-coverage.sh'- - 'scripts/ci/fetch-submodule-tags.sh'- - '.config/nextest.toml'- - '.github/workflows/ci-*.yml'- - '.github/ci-paths-filter.yml'- - 'scripts/ci/self-hosted/**'- - 'scripts/ci/nextest-coverage.sh'- - 'scripts/ci/nextest-report.mjs'- - 'scripts/ci/check-module-boundaries.mjs'- - 'scripts/ci/check-browser-test-skips.mjs'- - 'scripts/ci/module-boundaries.json'- - 'scripts/ci/check-storage-bypass.mjs'- - 'scripts/ci/storage-bypass-debt.mjs'- - 'scripts/ci/storage-bypass*.json'- - 'scripts/ci/storage-bypass*.md'- - 'scripts/ci/check-process-statics.mjs'- - 'scripts/ci/check-ci-module-source.mjs'- - 'scripts/ci/check-crate-chain.mjs'- - 'scripts/ci/check-storage-owner.mjs'- - 'scripts/ci/check-storage-schema.mjs'- - 'scripts/ci/process-statics.json'- - 'scripts/mock-api/**'- - 'scripts/*.mjs'- - 'scripts/__tests__/**'+ - "scripts/ci/rust-coverage.sh"+ - "scripts/ci/fetch-submodule-tags.sh"+ - ".config/nextest.toml"+ - ".github/workflows/ci-*.yml"+ - ".github/ci-paths-filter.yml"+ - "scripts/ci/self-hosted/**"+ - "scripts/ci/nextest-coverage.sh"+ - "scripts/ci/nextest-report.mjs"+ - "scripts/ci/check-module-boundaries.mjs"+ - "scripts/ci/check-browser-test-skips.mjs"+ - "scripts/ci/module-boundaries.json"+ - "scripts/ci/check-storage-bypass.mjs"+ - "scripts/ci/storage-bypass-debt.mjs"+ - "scripts/ci/storage-bypass*.json"+ - "scripts/ci/storage-bypass*.md"+ - "scripts/ci/check-process-statics.mjs"+ - "scripts/ci/check-ci-module-source.mjs"+ - "scripts/ci/check-crate-chain.mjs"+ - "scripts/ci/check-storage-owner.mjs"+ - "scripts/ci/check-storage-schema.mjs"+ - "scripts/ci/process-statics.json"+ - "scripts/mock-api/**"+ - "scripts/*.mjs"+ - "scripts/__tests__/**"# The inference capture proxy has node --test coverage in# scripts/__tests__/ but lives under scripts/debug/.- - 'scripts/debug/*.mjs'+ - "scripts/debug/*.mjs"# The release-notes generator has node --test coverage in# scripts/__tests__/ but lives one directory down, so the# 'scripts/*.mjs' glob above never armed this lane for it — its# tests could not have caught the v0.63.21 git ENOBUFS regression.- - 'scripts/release/*.mjs'+ - "scripts/release/*.mjs"# Bash helpers with node --test coverage in scripts/__tests__/.- - 'scripts/ci/assert-coverage-presence.sh'- - 'scripts/test-rust-e2e.sh'+ - "scripts/ci/assert-coverage-presence.sh"+ - "scripts/test-rust-e2e.sh"# The web E2E build and session scripts, whose bundle guard and port# guard are covered by scripts/__tests__/e2e-web-*.test.mjs. They match# the frontend filter above, which runs no node --test suite, so without# these a change to either script would skip the tests that pin it.- - 'app/scripts/e2e-ports.sh'- - 'app/scripts/e2e-web-build.sh'- - 'app/scripts/e2e-web-session.sh'+ - "app/scripts/e2e-ports.sh"+ - "app/scripts/e2e-web-build.sh"+ - "app/scripts/e2e-web-session.sh"# Shared logic behind the gate CLIs, and the module-pin gate's own# files. Without these a change to the checking logic would skip# the lane that tests it — the gate would stop watching itself.- - 'scripts/lib/**'- - 'scripts/ci/check-module-pins.mjs'- - 'scripts/ci/check-submodule-monotonic.mjs'- - 'scripts/ci/module-pin-exemptions.json'+ - "scripts/lib/**"+ - "scripts/ci/check-module-pins.mjs"+ - "scripts/ci/check-submodule-monotonic.mjs"+ - "scripts/ci/module-pin-exemptions.json"# The ignored-test ratchet has node --test coverage in# scripts/__tests__/ — editing the gate must run the tests that# pin its clauses, or the counter's anchoring and its# cfg_attr guard can be loosened with nothing watching.- - 'scripts/ci/check-ignored-tests.mjs'+ - "scripts/ci/check-ignored-tests.mjs"# The web E2E build/session contract has script-level regression# tests; run them when either participant or Vite changes.- - 'app/scripts/e2e-web-build.sh'- - 'app/scripts/e2e-web-session.sh'- - 'app/vite.config.*'+ - "app/scripts/e2e-web-build.sh"+ - "app/scripts/e2e-web-session.sh"+ - "app/vite.config.*"# The storage-target parity test in self-hosted-lanes.test.mjs checks that# every registered `tests/storage_*_e2e.rs` target is in the storage lane;# adding a target must run it.- - 'tests/storage_*.rs'- - 'tests/cli_storage_url_e2e.rs'- - 'crates/openhuman-cli/Cargo.toml'+ - "tests/storage_*.rs"+ - "tests/cli_storage_url_e2e.rs"+ - "crates/openhuman-cli/Cargo.toml"# Test-wiring surface: a change here can orphan a test or add an# untested controller domain → run the inventory guard.inventory:- - '.github/workflows/**'- - 'package.json'- - 'crates/openhuman-core/src/core/all.rs'- - 'tests/**'- - 'scripts/**/*.test.mjs'- - 'scripts/tests/**'- - 'scripts/generate-test-inventory.mjs'+ - ".github/workflows/**"+ - "package.json"+ - "crates/openhuman-core/src/core/all.rs"+ - "tests/**"+ - "scripts/**/*.test.mjs"+ - "scripts/tests/**"+ - "scripts/generate-test-inventory.mjs"# The drift guard scans every workflow plus these two direct# inputs, so changes to any of them must run it.toolchain-image:- - '.github/workflows/**'- - '.github/Dockerfile'- - 'rust-toolchain.toml'- - 'scripts/ci/check-toolchain-image.mjs'+ - ".github/workflows/**"+ - ".github/Dockerfile"+ - "rust-toolchain.toml"+ - "scripts/ci/check-toolchain-image.mjs"# Windows installer + its Pester unit test.install_ps1:- - '.github/workflows/ci-*.yml'- - '.github/ci-paths-filter.yml'- - 'scripts/ci/self-hosted/**'- - 'scripts/install.ps1'- - 'scripts/tests/OpenHumanWindowsInstall.Tests.ps1'+ - ".github/workflows/ci-*.yml"+ - ".github/ci-paths-filter.yml"+ - "scripts/ci/self-hosted/**"+ - "scripts/install.ps1"+ - "scripts/tests/OpenHumanWindowsInstall.Tests.ps1"# The storage ports and the domains that sit on them (storage-sqlite lane in# the lane plan). The vendor tree is covered whole,# like `rust-core`: the ports and drivers are vendored, and a pointer bump# anywhere can change what the driver features compile.storage:- - '.config/nextest.toml'- - '.github/workflows/ci-*.yml'- - '.github/ci-paths-filter.yml'- - 'scripts/ci/self-hosted/**'- - 'scripts/ci/nextest-coverage.sh'- - 'scripts/ci/nextest-report.mjs'- - 'scripts/ci/checkout-submodules.sh'- - 'scripts/ci-cancel-aware.sh'- - 'build.rs'- - 'crates/openhuman-core/src/storage/**'- - 'crates/openhuman-core/src/cron/**'- - 'crates/openhuman-core/src/flows/**'- - 'crates/openhuman-core/src/security/approval/**'- - 'crates/openhuman-core/src/security/devices/**'- - 'crates/openhuman-core/src/security/secret_storage/**'- - 'crates/openhuman-core/src/security/credentials/**'- - 'crates/openhuman-core/src/desktop/notifications/**'- - 'crates/openhuman-core/src/integrations/task_sources/**'- - 'crates/openhuman-core/src/agent/orchestration/**'- - 'crates/openhuman-core/src/agent/session_store/**'- - 'crates/openhuman-core/src/profiles/**'- - 'crates/openhuman-core/src/integrations/composio/**'- - 'crates/openhuman-core/src/config/workspace/**'- - 'crates/openhuman-core/src/desktop/app_state/**'- - 'crates/openhuman-core/src/desktop/control/**'- - 'crates/openhuman-core/src/platform/cost/**'- - 'crates/openhuman-core/src/inference/tokenjuice/**'- - 'crates/openhuman-core/src/web3/wallet/**'- - 'crates/openhuman-core/src/config/schema/storage.rs'- - 'crates/openhuman-core/src/config/schema/load/source/**'- - 'crates/openhuman-rpc/src/session_store/**'- - 'Cargo.toml'- - 'Cargo.lock'- - 'crates/openhuman-*/Cargo.toml'- - 'tests/storage_*.rs'- - 'tests/cli_storage_url_e2e.rs'- - 'tests/support/storage_drivers.rs'- - '.cargo/config.toml'- - 'rust-toolchain.toml'- - '.gitmodules'- - 'vendor/**'+ - ".config/nextest.toml"+ - ".github/workflows/ci-*.yml"+ - ".github/ci-paths-filter.yml"+ - "scripts/ci/self-hosted/**"+ - "scripts/ci/nextest-coverage.sh"+ - "scripts/ci/nextest-report.mjs"+ - "scripts/ci/checkout-submodules.sh"+ - "scripts/ci-cancel-aware.sh"+ - "build.rs"+ - "crates/openhuman-core/src/storage/**"+ - "crates/openhuman-core/src/cron/**"+ - "crates/openhuman-core/src/flows/**"+ - "crates/openhuman-core/src/security/approval/**"+ - "crates/openhuman-core/src/security/devices/**"+ - "crates/openhuman-core/src/security/secret_storage/**"+ - "crates/openhuman-core/src/security/credentials/**"+ - "crates/openhuman-core/src/desktop/notifications/**"+ - "crates/openhuman-core/src/integrations/task_sources/**"+ - "crates/openhuman-core/src/agent/orchestration/**"+ - "crates/openhuman-core/src/agent/session_store/**"+ - "crates/openhuman-core/src/profiles/**"+ - "crates/openhuman-core/src/integrations/composio/**"+ - "crates/openhuman-core/src/config/workspace/**"+ - "crates/openhuman-core/src/desktop/app_state/**"+ - "crates/openhuman-core/src/desktop/control/**"+ - "crates/openhuman-core/src/platform/cost/**"+ - "crates/openhuman-core/src/inference/tokenjuice/**"+ - "crates/openhuman-core/src/web3/wallet/**"+ - "crates/openhuman-core/src/config/schema/storage.rs"+ - "crates/openhuman-core/src/config/schema/load/source/**"+ - "crates/openhuman-rpc/src/session_store/**"+ - "Cargo.toml"+ - "Cargo.lock"+ - "crates/openhuman-*/Cargo.toml"+ - "tests/storage_*.rs"+ - "tests/cli_storage_url_e2e.rs"+ - "tests/support/storage_drivers.rs"+ - ".cargo/config.toml"+ - "rust-toolchain.toml"+ - ".gitmodules"+ - "vendor/**"diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjsindex 595d5b6562..5cd958a5a5 100644--- a/scripts/__tests__/self-hosted-lanes.test.mjs+++ b/scripts/__tests__/self-hosted-lanes.test.mjs@@ -304,8 +304,13 @@ test("the storage area runs host suites on memory and sqlite and compiles option);const lane = plan.lanes.find((l) => l.name === "storage-drivers");assert.equal(lane.active, true, profile);- for (const check of lane.checks.filter((c) => c.name !== "storage-feature-compile")) {- assert.match(check.run, /--features (?:session-store,)?storage-sqlite(?:\s|$)/);+ for (const check of lane.checks.filter(+ (c) => c.name !== "storage-feature-compile",+ )) {+ assert.match(+ check.run,+ /--features (?:session-store,)?storage-sqlite(?:\s|$)/,+ );}assert.equal(lane.checks.find((c) => c.name === "storage-feature-compile").run,