Skip to content

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

feat(modules): add registry contract tests and documentation

Steven Enamakelf8d3c7a61c97
diff --git a/crates/openhuman-core/src/modules/registry/README.md b/crates/openhuman-core/src/modules/registry/README.md
index ebfaf7d85a..77bc3aa83a 100644
--- a/crates/openhuman-core/src/modules/registry/README.md
+++ b/crates/openhuman-core/src/modules/registry/README.md
@@ -20,9 +20,11 @@ values for a family of related modules:
- [`records_computer.rs`](./records_computer.rs): `TINYCOMPUTER` (desktop and browser control).
- [`records_docs_wallet.rs`](./records_docs_wallet.rs): `TINYDOCS`, `TINYWALLET`.
+- [`records_eventqueues.rs`](./records_eventqueues.rs): `TINYEVENTQUEUES` (durable inbound event queues; `inbound-queues` gate).
- [`records_extra.rs`](./records_extra.rs): `TINYBOX`, `TINYCHANNELS`, `TINYHOSTS`.
- [`records_flows.rs`](./records_flows.rs): `TINYFLOWS` (scheduler runtime, cron store and schedule maths; authoring).
- [`records_mcp_connectors.rs`](./records_mcp_connectors.rs): `TINYCONNECTORS`, `TINYMCP`.
+- [`records_memes.rs`](./records_memes.rs): `TINYMEMES`.
- `records_juice.rs`: `TINYJUICE`.
- [`records_search.rs`](./records_search.rs): `TINYSEARCH`.
- [`records_voice.rs`](./records_voice.rs): `TINYVOICE`.
diff --git a/crates/openhuman-core/src/modules/registry_contract_tests.rs b/crates/openhuman-core/src/modules/registry_contract_tests.rs
index cf52d480aa..3bf0020678 100644
--- a/crates/openhuman-core/src/modules/registry_contract_tests.rs
+++ b/crates/openhuman-core/src/modules/registry_contract_tests.rs
@@ -115,11 +115,12 @@ fn a_drifted_contract_constant_is_reported_as_a_mismatch() {
feature = "web3",
feature = "voice",
feature = "hosting",
- feature = "tinymemes"
+ feature = "tinymemes",
+ feature = "inbound-queues"
))]
#[test]
-fn a_product_feature_build_carries_all_thirteen_records() {
- assert_eq!(ALL.len(), 13);
+fn a_product_feature_build_carries_all_fourteen_records() {
+ assert_eq!(ALL.len(), 14);
for id in [
"tinycomputer",
"tinysearch",
@@ -134,6 +135,7 @@ fn a_product_feature_build_carries_all_thirteen_records() {
"tinyflows",
"tinyhosts",
"tinymemes",
+ "tinyeventqueues",
] {
assert!(find(id).is_some(), "{id} missing from the registry");
}