jules-orchestrator-kit 0.60.0 → 0.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -265,9 +265,13 @@ export function scorePromptFalsifiability(promptText, options = {}) {
265
265
  let isTrivial = false;
266
266
 
267
267
  if (!verifyCmd) {
268
- const detectedOracles = detectStackOracles(rootDir);
269
- if (detectedOracles.length > 0 && detectedOracles[0].testCmd) {
270
- verifyCmd = detectedOracles[0].testCmd;
268
+ // `detectStackOracles` returns an object, not an array: `.length` was
269
+ // undefined, so this branch never ran and every task without an explicit
270
+ // --verify-cmd was scored MISSING_ORACLE even in a repository with a
271
+ // working suite.
272
+ const detected = detectStackOracles(rootDir);
273
+ if (detected?.candidates?.testCmd) {
274
+ verifyCmd = detected.candidates.testCmd;
271
275
  autoDetected = true;
272
276
  }
273
277
  }