@oss-autopilot/core 1.6.3 → 1.7.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.
@@ -209,6 +209,7 @@ export const commands = [
209
209
  .description('Re-vet all available issues in your curated issue list (#764)')
210
210
  .option('--path <file>', 'Path to issue list file (auto-detected if not specified)')
211
211
  .option('--concurrency <n>', 'Max parallel vet operations (default: 5)')
212
+ .option('--prune', 'After vetting, remove completed/skipped/low-score items from the file')
212
213
  .option('--json', 'Output as JSON')
213
214
  .action(async (options) => {
214
215
  try {
@@ -217,7 +218,7 @@ export const commands = [
217
218
  if (concurrency !== undefined && (!Number.isFinite(concurrency) || concurrency < 1)) {
218
219
  throw new Error(`Invalid concurrency "${options.concurrency}". Must be a positive integer.`);
219
220
  }
220
- const data = await runVetList({ issueListPath: options.path, concurrency });
221
+ const data = await runVetList({ issueListPath: options.path, concurrency, prune: options.prune });
221
222
  if (options.json) {
222
223
  outputJson(data);
223
224
  }
@@ -240,6 +241,9 @@ export const commands = [
240
241
  console.log(` Error: ${result.errorMessage}`);
241
242
  }
242
243
  }
244
+ if (data.pruneResult) {
245
+ console.log(`\nPruned ${data.pruneResult.removedCount} items from issue list.`);
246
+ }
243
247
  }
244
248
  }
245
249
  catch (err) {