@phren/cli 0.0.50 → 0.0.53

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.
@@ -624,10 +624,12 @@ export function appendReviewQueue(phrenPath, project, section, entries) {
624
624
  while (insertAt < lines.length && !lines[insertAt].startsWith("## "))
625
625
  insertAt++;
626
626
  const existing = new Set(lines.map((line) => line.trim()));
627
+ // Dedup by entry text only (strip leading date prefix) so the same finding isn't added every day.
628
+ const existingTexts = new Set(lines.map((line) => line.trim().replace(/^-\s*\[\d{4}-\d{2}-\d{2}\]\s*/, "").trim()));
627
629
  const toInsert = [];
628
630
  for (const entry of normalized) {
629
631
  const line = `- [${today}] ${entry}`;
630
- if (!existing.has(line))
632
+ if (!existing.has(line) && !existingTexts.has(entry.trim()))
631
633
  toInsert.push(line);
632
634
  }
633
635
  if (!toInsert.length)