@activate-core/test-forge 0.9.4 → 0.9.5

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.
@@ -358,8 +358,14 @@ export async function runGenerate(docsDir, useAI = true, force = false, only, ar
358
358
  const degraded = useAI && (status === 'basic' || seedStatus === 'failed');
359
359
  if (!degraded) {
360
360
  cache[file] = hash;
361
- saveCache(CACHE_PATH, cache);
362
361
  }
362
+ else {
363
+ // Actively UN-mark a degraded journey (even under --force, which may
364
+ // be re-processing a stale "done" from an earlier buggy run), so the
365
+ // next `generate` re-does it instead of skipping a thin fallback.
366
+ delete cache[file];
367
+ }
368
+ saveCache(CACHE_PATH, cache);
363
369
  results.push({
364
370
  journeyName: journey.name,
365
371
  testDir,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@activate-core/test-forge",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "description": "AI-powered QA automation. Scans a project, drafts journey docs, and generates seeded Jest/Playwright tests. Works in any project, with any AI CLI.",
5
5
  "type": "module",
6
6
  "bin": {