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 scripts/__tests__/self-hosted-lanes.test.mjs,scripts/__tests__/storage-bypass-d
Steven Enamakelc97c6a45f86a
diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjsindex 2f17ea34e5..55ce9243fc 100644--- a/scripts/__tests__/self-hosted-lanes.test.mjs+++ b/scripts/__tests__/self-hosted-lanes.test.mjs@@ -47,8 +47,13 @@ const EX63_ENV = { CI_SCRATCH_DIR: "/scratch" };test("EX63 installs script dependencies only after changed areas are detected", () => {const detect = ciLanes.indexOf("- name: Detect changed areas");- const install = ciLanes.indexOf("- name: Install jq for release-script tests");- assert.ok(detect >= 0 && install > detect, "filter outputs must exist before they gate jq installation");+ const install = ciLanes.indexOf(+ "- name: Install jq for release-script tests",+ );+ assert.ok(+ detect >= 0 && install > detect,+ "filter outputs must exist before they gate jq installation",+ );});const plans = () => [diff --git a/scripts/__tests__/storage-bypass-debt.test.mjs b/scripts/__tests__/storage-bypass-debt.test.mjsindex 4997401d18..aeeee3ccdd 100644--- a/scripts/__tests__/storage-bypass-debt.test.mjs+++ b/scripts/__tests__/storage-bypass-debt.test.mjs@@ -255,26 +255,37 @@ test("symlinked --root checkouts cannot bypass required canonical history", () =}});-test("new-based file stores are findings without matching memory stores", () => {- const findings = scan("crates/openhuman-core/src/catalog.rs", [- "let cache = FileCatalogStore::new(dir);",- "let cache = tinyskills::FileCatalogStore::new(dir);",- "let memory = MemoryCatalogStore::new();",- ].join("\n"));- assert.deepEqual(findings.map(f => f.rule), ["file-store-new", "file-store-new"]);+ const findings = scan(+ "crates/openhuman-core/src/catalog.rs",+ [+ "let cache = FileCatalogStore::new(dir);",+ "let cache = tinyskills::FileCatalogStore::new(dir);",+ "let memory = MemoryCatalogStore::new();",+ ].join("\n"),+ );+ assert.deepEqual(+ findings.map((f) => f.rule),+ ["file-store-new", "file-store-new"],+ );});for (const [name, source] of [["task stores", "vendor/tinyagents/crates/tinyagents-tasks/src/store.rs"],- ["catalog store", "vendor/tinyskills/crates/tinyskills/src/registry/store.rs"],+ [+ "catalog store",+ "vendor/tinyskills/crates/tinyskills/src/registry/store.rs",+ ],]) {test(`${name} owning writers are included in curated coverage`, async () => {const root = mkdtempSync(join(tmpdir(), "storage-owner-coverage-"));try {mkdirSync(join(root, "crates"));mkdirSync(join(root, source, ".."), { recursive: true });- writeFileSync(join(root, source), "pub fn persist() { std::fs::write(path, bytes); }\n");+ writeFileSync(+ join(root, source),+ "pub fn persist() { std::fs::write(path, bytes); }\n",+ );const findings = await collectFindings(root);assert.equal(findings.length, 1);assert.equal(findings[0].path, source);@@ -285,9 +296,11 @@ for (const [name, source] of [});}-test("host calls to the JSONL task opener cannot hide their persistent path", () => {- const findings = scan("crates/openhuman-core/src/tasks.rs", "let store = tinyagents::open_jsonl_task_store_or_memory(path, None);");+ const findings = scan(+ "crates/openhuman-core/src/tasks.rs",+ "let store = tinyagents::open_jsonl_task_store_or_memory(path, None);",+ );assert.equal(findings.length, 1);assert.equal(findings[0].rule, "task-store-open");});