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
docs(web3): clarify disabled x402 stub module docs
Steven Enamakel5a2a6caca312
diff --git a/crates/openhuman-core/src/modules/registry_tests.rs b/crates/openhuman-core/src/modules/registry_tests.rsindex 187bbbb67d..63530806d4 100644--- a/crates/openhuman-core/src/modules/registry_tests.rs+++ b/crates/openhuman-core/src/modules/registry_tests.rs@@ -23,6 +23,7 @@ fn tinycomputer_registry_matches_bus_contract_and_published_release() {fn tinywallet_registry_matches_the_verified_v019_release_manifest() {let wallet = find("tinywallet").expect("compiled TinyWallet module");assert_eq!(wallet.version, "0.19.0");+ #[cfg(feature = "web3")]assert_eq!(tinywallet_bus::CONTRACT_VERSION, (1, 13));assert_eq!(wallet.release_url,diff --git a/crates/openhuman-core/src/web3/x402/stub.rs b/crates/openhuman-core/src/web3/x402/stub.rsindex 065538e8f2..f68c94aa73 100644--- a/crates/openhuman-core/src/web3/x402/stub.rs+++ b/crates/openhuman-core/src/web3/x402/stub.rs@@ -1,16 +1,9 @@//! Disabled-x402 facade.//!-//! Compiled only when the `web3` Cargo feature is OFF (see the gate in-//! [`super`]). Only three entry points have always-on callers: `init_ledger`-//! (`core/runtime/bootstrap.rs` boot, itself runtime-gated on `DomainGroup::Web3`) and-//! the controller-registration pair (`core/all.rs`). The `X402RequestTool`-//! registration and the http_request 402-retry path are `#[cfg(feature =-//! "web3")]` at their call sites, so no other x402 surface is referenced when-//! off.-//!-//! Signatures MUST match the real ones exactly; the disabled build-//! (`cargo check --no-default-features`) is-//! the only thing that catches drift.+//! Compiled only when the `web3` Cargo feature is off. The controller+//! registration pair remains callable and returns an empty surface. Ledger+//! initialization is the always-on compatibility no-op in the parent module;+//! the real ledger opens lazily through the TinyWallet module.use crate::core::all::RegisteredController;use crate::core::ControllerSchema;diff --git a/crates/openhuman-core/src/web3/x402/stub_tests.rs b/crates/openhuman-core/src/web3/x402/stub_tests.rsindex 3e661c20ec..410e451665 100644--- a/crates/openhuman-core/src/web3/x402/stub_tests.rs+++ b/crates/openhuman-core/src/web3/x402/stub_tests.rs@@ -1,4 +1,6 @@use super::*;+use crate::web3::x402::init_ledger;+use std::path::Path;#[test]fn init_ledger_is_callable_noop() {