From 8388144098a06ac559c1500cedcaa2348919e3ce Mon Sep 17 00:00:00 2001 From: Hongming Wang Date: Tue, 5 May 2026 05:00:29 -0700 Subject: [PATCH] fix(build): add iter-3 mcp_* modules to TOP_LEVEL_MODULES drift gate The iter-3 split created mcp_heartbeat / mcp_inbox_pollers / mcp_workspace_resolver but the wheel build's drift-gate check at scripts/build_runtime_package.py:TOP_LEVEL_MODULES wasn't updated. Without this fix the wheel ships those modules un-rewritten, so their imports of platform_auth / configs_dir / etc. break at runtime. Caught by the 'PR-built wheel + import smoke' check. Refs RFC #2873 iter 3. --- scripts/build_runtime_package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/build_runtime_package.py b/scripts/build_runtime_package.py index f267e173..e4b4bd21 100755 --- a/scripts/build_runtime_package.py +++ b/scripts/build_runtime_package.py @@ -74,6 +74,9 @@ TOP_LEVEL_MODULES = { "internal_file_read", "main", "mcp_cli", + "mcp_heartbeat", + "mcp_inbox_pollers", + "mcp_workspace_resolver", "molecule_ai_status", "not_configured_handler", "platform_auth",