fix(3561): fail closed when Claude version is unavailable

This commit is contained in:
Tom Boucher
2026-05-15 12:59:18 -04:00
parent fbfa4e30f3
commit f097598689
2 changed files with 8 additions and 4 deletions

View File

@@ -91,6 +91,10 @@ describe('ultraplan-phase workflow runtime gate', () => {
content.includes('CLAUDECODE') || content.includes('CLAUDE_CODE_ENTRYPOINT'),
'workflow must gate on Claude Code runtime marker env vars'
);
assert.ok(
!content.includes('CLAUDE_CODE_VERSION'),
'workflow must not gate on CLAUDE_CODE_VERSION'
);
});
test('error message references /gsd-plan-phase as local alternative', () => {