test(team): update opencode semantic gauntlet

This commit is contained in:
777genius 2026-05-09 00:26:42 +03:00
parent 80acc3b663
commit 7a29a0f2e8

View file

@ -911,6 +911,10 @@ async function runGauntletOnce(input: {
score >= 90 && !isHardProtocolFailure(stages)
? 'none'
: classifyGauntletFailure({ diagnostics, stages });
if (failureCategory !== 'none' && process.env.OPENCODE_E2E_KEEP_FAILED === '1') {
keepTempDir = true;
diagnostics.push(`tempDir=${tempDir}`);
}
return {
runIndex: input.runIndex,
passed: failureCategory === 'none',