@juangcarmona/lighthouse-sdlc 0.23.5 → 0.23.6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juangcarmona/lighthouse-sdlc",
3
- "version": "0.23.5",
3
+ "version": "0.23.6",
4
4
  "type": "module",
5
5
  "description": "Provider-neutral SDLC skills, commands and route contracts for Lighthouse adopters",
6
6
  "repository": {
@@ -434,9 +434,16 @@ async function main() {
434
434
  await writeFile(join(runDir, 'evidence/host/telemetry-usage.json'), JSON.stringify(usageSummary(events, { health: [telemetry.health()] })));
435
435
  runtimeReceipt.telemetry = telemetry.health(); await writeFile(join(runDir, 'runtime.json'), JSON.stringify(runtimeReceipt));
436
436
  } catch { console.error('Telemetry retention incomplete; inspect collector health.'); }
437
- if (workspaceCleanupError) throw workspaceCleanupError;
437
+ if (workspaceCleanupError) {
438
+ console.error(progressText('Cleanup', redactLog(workspaceCleanupError.message)));
439
+ if (!runtimeReceipt.failure) throw workspaceCleanupError;
440
+ }
438
441
  } finally { if (slot !== undefined) closeSync(slot); }
439
- if (runtimeReceipt.cleanup && runtimeReceipt.cleanup.status !== 'clean') throw Object.assign(Error('Execution cleanup is not verified; inspect runtime.json and the operator ownership journal before retrying'), { phase: 'cleanup' });
442
+ if (runtimeReceipt.cleanup && runtimeReceipt.cleanup.status !== 'clean') {
443
+ const cleanupError = Object.assign(Error('Execution cleanup is not verified; inspect runtime.json and the operator ownership journal before retrying'), { phase: 'cleanup' });
444
+ console.error(progressText('Cleanup', cleanupError.message));
445
+ if (!runtimeReceipt.failure) throw cleanupError;
446
+ }
440
447
  }
441
448
  }
442
449
  if (process.argv[1] && resolve(process.argv[1]) === fileURLToPath(import.meta.url)) main().catch(async error => {