@@ -682,6 +682,28 @@ emits only `noop` without a patch, ResourceLock uses the same eligibility guard
682682as Pipeline Test Triage. Incomplete reports, other outputs, mixed outputs, and
683683every patch still require detection.
684684
685+ Expert Code Review hit the same eligibility defect in
686+ [run 42848192058](https://github.com/microsoft/testfx/actions/runs/42848192058),
687+ tracked by [#12320](https://github.com/microsoft/testfx/issues/12320).
688+ Its collector emitted only `noop` with `has_patch=false`, but detection still
689+ started. Unlike the download failures above, threat-detect v0.5.3 installed
690+ successfully and resolved `detection` to `claude-haiku-5.5`. The engine then
691+ timed out after five minutes without recording a verdict or inference usage.
692+ The tracker classified this as `detector_execution_failure` / `agent_failure`,
693+ not a threat finding; the assessment remained incomplete.
694+
695+ The shared expert-review configuration now applies the same no-op exclusion to
696+ the ready-PR, `/review`, and after-autofix workflows. Real reviews, incomplete
697+ reports, mixed outputs such as `noop,submit_pull_request_review`, and every
698+ patch remain eligible. Existing runs
699+ [42886380382](https://github.com/microsoft/testfx/actions/runs/42886380382) and
700+ [42886933282](https://github.com/microsoft/testfx/actions/runs/42886933282)
701+ recorded verdicts for mixed review outputs using the same detector, CLI,
702+ firewall, and resolved model. The guard avoids unnecessary detection; it does
703+ not claim to repair the unproven cause of the engine stall. The failing run also
704+ had a separate unsupported reviewer subagent model error before its no-op;
705+ changing detection eligibility does not repair that delegation.
706+
685707**What to do.** For workflows where a no-op has no downstream side effects, gate threat detection
686708on the presence of an actual safe output or patch :
687709
@@ -699,7 +721,13 @@ skipped conclusion behavior.
699721The offline `CompiledWarningContractTests.test_pipeline_triage_detection_skips_noop_only_runs`
700722case checks both the authored guard and the generated job condition.
701723` test_pipeline_triage_noop_skip_preserves_detection_security_controls` keeps the detector
702- and safe-output gates intact. On November 5, 2026, the same two retained tests ran against
724+ and safe-output gates intact. The equivalent expert-review cases are
725+ ` test_expert_review_detection_skips_noop_only_runs` and
726+ ` test_expert_review_noop_skip_preserves_detection_security_controls` ; both cover
727+ all three consumers of `shared/review-shared.md`, including the no-op's
728+ non-publishing policy.
729+
730+ On November 5, 2026, the same two retained Pipeline Test Triage tests ran against
703731an isolated workflow archive of base `88a31ec394abe9f5c5dcf596f0a150ff998d3a0e` : the eligibility
704732case failed both guard assertions and the security-controls case passed (exit 1).
705733Both cases passed against the corrected source and regenerated lock (exit 0, no skips).
0 commit comments