From c64f86374132cb6eff1181b2d3957933c4832a1f Mon Sep 17 00:00:00 2001 From: adlee-was-taken Date: Sun, 5 Apr 2026 11:22:10 -0400 Subject: [PATCH] feat(constants): add Topics.SYSTEM_ARM_REQUEST Topic for web-originated arm/disarm requests that the event processor will subscribe to and dispatch to ArmStateFSM.transition. Part of the PIN unification work (issue #2). --- vigilar/constants.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vigilar/constants.py b/vigilar/constants.py index b877126..5869a7b 100644 --- a/vigilar/constants.py +++ b/vigilar/constants.py @@ -210,6 +210,8 @@ class Topics: SYSTEM_ALERT = "vigilar/system/alert" SYSTEM_SHUTDOWN = "vigilar/system/shutdown" SYSTEM_RULES_UPDATED = "vigilar/system/rules_updated" + # Web-to-FSM arm/disarm request (FSM verifies the PIN and transitions) + SYSTEM_ARM_REQUEST = "vigilar/system/arm_request" # Classified events forwarded to the web SSE bridge (see events.processor # and web.sse_bridge).