From c9ef92e4245a14042ea4f9184a4bc351c98bae36 Mon Sep 17 00:00:00 2001 From: Julian lechner Date: Fri, 11 Sep 2026 16:06:48 +0200 Subject: [PATCH] fix(doctor): add explicit exit 0 on success (PowerShell) doctor.ps1 already exited 1 on failure but relied on the implicit process exit code on success, which a stale $LASTEXITCODE from an earlier native call (e.g. codex --version) could turn into a false failure in CI. Co-Authored-By: Claude Sonnet 5 --- scripts/doctor.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/doctor.ps1 b/scripts/doctor.ps1 index 37f3c22..4c9a09c 100644 --- a/scripts/doctor.ps1 +++ b/scripts/doctor.ps1 @@ -66,3 +66,4 @@ foreach ($path in @('shared/rules','shared/skills','shared/agents','shared/hooks if ($fail) { exit 1 } Write-Output 'PASS doctor' +exit 0