mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-23 17:56:34 +08:00
The Defender step treated any non-zero MpCmdRun exit as 'flagged binary!' and failed the job. But MpCmdRun -Scan returns 2 for a real detection and 0 for clean; any other non-zero means the scan engine itself could not run (e.g. hr=0x800106ba: the Defender antimalware service is unavailable on the runner), which is a transient runner-side flake, not a detection. This false-failed the v0.9.0 release on its first attempt. Only exit 2 now hard- blocks; an engine failure emits a warning and continues. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>