Hardening autonomous navigation: Implemented Modal Guards, Transient Drift Protection (WhatsApp fix), and Aggressive Recovery paths. Cleaned up diagnostic artifacts.

This commit is contained in:
2026-04-17 12:57:12 +02:00
parent 89f14463c5
commit 0aeed11186
35 changed files with 1802 additions and 460 deletions

13
debug_test.py Normal file
View File

@@ -0,0 +1,13 @@
from unittest.mock import MagicMock
from GramAddict.core.q_nav_graph import QNavGraph
mock_device = MagicMock()
mock_device._get_current_app.return_value = "com.android.vending"
mock_engine = MagicMock()
mock_engine.find_best_node.return_value = {"x": 50, "y": 50, "semantic_string": "fake profile link", "source": "vlm"}
nav_graph = QNavGraph(mock_device)
print(nav_graph._execute_transition("tap_post_username", zero_engine=mock_engine))
print(mock_engine.find_best_node.called)