Skip to content

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

docs(developing): document test ownership boundaries

Steven Enamakeld9e87225c67e
diff --git a/docs/gitbooks/en/developing/testing-strategy.md b/docs/gitbooks/en/developing/testing-strategy.md
index ded15516c1..922b869956 100644
--- a/docs/gitbooks/en/developing/testing-strategy.md
+++ b/docs/gitbooks/en/developing/testing-strategy.md
@@ -39,6 +39,12 @@ Is the change behind the JSON-RPC boundary (in `crates/openhuman-core/src/`, `cr
If a change touches more than one layer, write a test in each layer it touches. Do not substitute one for another.
+### Test ownership
+
+OpenHuman tests composition, host policy, adapters, RPC wire contracts, and data compatibility. Module behavior is tested in the owning `vendor/tiny*` repository. A host test that calls a vendor module's internals (for example, `tinychannels::providers::*` or `tinyinference_local::service::*`) belongs upstream. When code moves upstream, move its tests in the same upstream PR, then delete them in the host PR. Keep one host smoke test per module: load it and make one call through the bus. That is enough to test the host integration.
+
+A PR that only deletes tests is exempt from changed-line coverage because it has no changed lines for diff-cover to measure. CI Lite runs that changed-line check at an 80 percent threshold.
+
---
## Failure-path requirement