From cdd8cf46935637326aa0dcc9669bf2b30d870afa 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 d7558ee..95b738e 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" # Wildcard subscriptions ALL = "vigilar/#"