feat: 接入 Alarm Engine Detect/Trigger Shadow 输入与 Python 参考终态 - #12014
Open
chenguo367 wants to merge 11 commits into
Open
feat: 接入 Alarm Engine Detect/Trigger Shadow 输入与 Python 参考终态#12014chenguo367 wants to merge 11 commits into
chenguo367 wants to merge 11 commits into
Conversation
chenguo367
marked this pull request as ready for review
August 18, 2026 03:28
Deployments inject settings through the environment as strings, where "false" is truthy and a Kafka producer config stays a string instead of a mapping. The Shadow switches could therefore open the bypass while the isolated producer and topic allowlist were unusable. Resolve the switches, producer configs and topic allowlists through explicit typed parsing: only an exact "true" opens the bypass, a producer config may arrive as a JSON document, and an allowlist with any unusable member resolves to no allowlist at all. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
input_id与跨语言 GoldenNORMAL/ANOMALOUS,按 500 条 / 512 KiB 双上限发布到隔离 Kafka topicNO_TRIGGER/INPUT_NORMAL参考终态AnomalyChecker与原 MonitorEvent 副作用完成后,发布TRIGGER或NO_TRIGGER/TRIGGER_CONDITION_NOT_MET候选终态"false"不再被当作开启边界
NORMAL/ANOMALOUS;ERROR/UNSUPPORTED只有契约能力,尚无在线终态来源已知后置边界
本地验证