From 4f0ca7c32bdd7ec03719e1414be18df0ed8c705f Mon Sep 17 00:00:00 2001 From: Eason Liang <136036952+easonLiangWorldedtech@users.noreply.github.com> Date: Wed, 11 Nov 2026 18:54:27 +0800 Subject: [PATCH] fix(task): drop the space after the comma in two mutation-exclusion directives The gate in scripts/stryker-diff.mjs validates every Stryker disable directive in a changed file and rejects one whose mutator list does not match its pattern, which permits no whitespace after the comma inside the list. Two directives in this file read ConditionalExpression, EqualityOperator and ConditionalExpression, LogicalOperator, EqualityOperator, so the whole comment fails to match and is reported as a broad or unreasoned exclusion even though each names its mutators and gives a reason. Removing the space after each comma in those two comments is the whole change, three characters across two comment lines, with no code line, no suppression file, no changeset and no changelog touched. --- src/core/task/Task.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/task/Task.ts b/src/core/task/Task.ts index 77a1333b39..b5debfe608 100644 --- a/src/core/task/Task.ts +++ b/src/core/task/Task.ts @@ -4451,7 +4451,7 @@ export class Task extends EventEmitter implements TaskLike { nativeToolCallParserScope, ) - // Stryker disable next-line ConditionalExpression, EqualityOperator: equivalent mutants, streamingKey is always defined here, so both conditions reduce to the partialToolUse check + // Stryker disable next-line ConditionalExpression,EqualityOperator: equivalent mutants, streamingKey is always defined here, so both conditions reduce to the partialToolUse check if (partialToolUse && streamingKey !== undefined) { // Reuse the compound key built above: it is exactly the key the start event // registered under, so the delta lookup needs no second encoding. @@ -4887,7 +4887,7 @@ export class Task extends EventEmitter implements TaskLike { // name (provider quirk), the compound-key lookup above misses and both the // parser entry and the dedup tracking would stay stale. Resolve the tracked // entry by id and target the real compound key for finalization and cleanup. - // Stryker disable next-line ConditionalExpression, LogicalOperator, EqualityOperator: equivalent mutants, the both-miss case is unreachable via the raw-chunk pipeline + // Stryker disable next-line ConditionalExpression,LogicalOperator,EqualityOperator: equivalent mutants, the both-miss case is unreachable via the raw-chunk pipeline if (finalToolUse === null && toolUseIndex === undefined) { const resolved = NativeToolCallParser.getStreamingToolCallById( event.id,