Skip to content

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

chore(core): remove stale WhatsApp controller comments

Steven Enamakelc77d3c05e6c0
diff --git a/src/core/all.rs b/src/core/all.rs
index e52d54c702..961b80e7b7 100644
--- a/src/core/all.rs
+++ b/src/core/all.rs
@@ -969,11 +969,6 @@ fn build_registered_controllers() -> Vec<GroupedController> {
DomainGroup::Desktop,
crate::openhuman::desktop::notifications::all_notifications_registered_controllers(),
);
- // Structured WhatsApp Web data has NO core RPC controllers: the SQLite
- // store + ingest + list/search moved to the Tauri shell
- // (`app/src-tauri/src/whatsapp_data/`). The agent's read-only query tools
- // live in `openhuman::channels::whatsapp_data::tools` and reach the shell store via
- // the in-process native request bus, not the controller registry.
// Mobile device pairing and management
push(
&mut controllers,
@@ -1031,8 +1026,6 @@ fn build_registered_controllers() -> Vec<GroupedController> {
/// (e.g. the Tauri scanner ingest path) that should not appear in agent tool listings.
fn build_internal_only_controllers() -> Vec<GroupedController> {
let mut controllers = Vec::new();
- // (whatsapp_data ingest is no longer a core RPC path — the scanner writes
- // the shell-side store directly over the in-process native request bus.)
// MCP write audit list: internal-only so the desktop UI/CLI can inspect
// local write history without exposing cross-client history as an MCP tool.
push(
diff --git a/src/core/all_tests.rs b/src/core/all_tests.rs
index feedebb482..18b286bd50 100644
--- a/src/core/all_tests.rs
+++ b/src/core/all_tests.rs
@@ -1153,9 +1153,8 @@ fn channels_controllers_registered_when_feature_on() {
/// namespace) stays present, pinning the #5002 decoupling: turning off external
/// messaging must NOT take down core in-app chat.
///
-/// This is the half that proves the gate does something. The 3 `whatsapp_data`
-/// agent tools are pinned separately in `tools::ops_tests` (that module has the
-/// full-tool-list machinery); here we assert the controller surface.
+/// This is the half that proves the gate does something: here we assert the
+/// controller surface.
#[cfg(not(feature = "channels"))]
#[test]
fn channels_controllers_absent_when_feature_off() {