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
test(scripts): cover scoped implementation exceptions in ownership check
Steven Enamakelaa11bb5d40a1
diff --git a/scripts/__tests__/check-test-ownership.test.mjs b/scripts/__tests__/check-test-ownership.test.mjsindex a3dc67619b..8d1dbd5f4d 100644--- a/scripts/__tests__/check-test-ownership.test.mjs+++ b/scripts/__tests__/check-test-ownership.test.mjs@@ -29,6 +29,24 @@ test('allows public facades and bus contracts', () => {assert.deepEqual(findOwnershipViolations(source, 'crates/openhuman-core/src/example_tests.rs'), []);});+test('limits reasoned implementation exceptions to their named host test', () => {+ const source = [+ 'use tinymemory_tools::lifecycle::turn::TurnPack;',+ 'use tinymemory_tools::lifecycle::window::Window;',+ ].join('\n');++ assert.deepEqual(+ findOwnershipViolations(source, 'crates/openhuman-core/src/memory/lifecycle/adapter_tests.rs'),+ [],+ );+ assert.deepEqual(+ findOwnershipViolations(source, 'crates/openhuman-core/src/example_tests.rs').map(+ ({ path }) => path,+ ),+ ['tinymemory_tools::lifecycle::turn::', 'tinymemory_tools::lifecycle::window::'],+ );+});+test('rejects other known module implementation paths', () => {const source = ['use tinyinference_local::service::LocalAiService;',