refactor: host EnvMonitor from env_monitor_core, route per detector

EnvMonitor and its detectors now live in env_monitor_core. NavigationRuntime owns
the monitor; StateMachine runs each detector's own route (step or sequence,
lock or abort on exhaustion) with a cursor per detector. RecoveryRunner accepts
named routes for detectors outside the six built-in triggers.
This commit is contained in:
2026-11-27 10:08:52 +07:00
parent 605dbc8e22
commit 1aa2a07469
25 changed files with 828 additions and 3019 deletions

View File

@@ -207,6 +207,17 @@ BackUpRecovery:
# GhostRecovery cố ý KHÔNG khai library_path.
# --- Detector của EnvMonitor (gói env_monitor_core) -------------------------------------------
# File này không có khối `env_monitor`: lõi dùng tham số mặc định và nạp 3 detector có sẵn, như trước khi tách gói.
ContactDetector:
library_path: libenv_monitor_core_contact_detector
StallDetector:
library_path: libenv_monitor_core_stall_detector
UnreachableDetector:
library_path: libenv_monitor_core_unreachable_detector
# --- Action handler cho action_runner_test -----------------------------------------------------
actions:
handlers: