diff --git a/hooks/powershell/subagent-retro.ps1 b/hooks/powershell/subagent-retro.ps1 index c9f9c35..0351b21 100644 --- a/hooks/powershell/subagent-retro.ps1 +++ b/hooks/powershell/subagent-retro.ps1 @@ -72,7 +72,7 @@ function Get-IndexSpecs { return $result } foreach ($line in $lines) { - if ($line -match '(FEAT|BUG|REF|PERF|RCA)-[A-Za-z0-9_\-]+' -and $line -match 'in-progress') { + if ($line -match 'in-progress' -and $line -match '(FEAT|BUG|REF|PERF|RCA)-[A-Za-z0-9_\-]+') { $id = $Matches[0] $type = ($id -split '-')[0] $obj = [pscustomobject]@{