Commit 4705750
committed
fix(dreaming): filter already-emitted entries in light phase to prevent verbatim repeats (fixes #72096)
Light-phase dreaming re-summarized the same short-term recall entries
every cycle because it never checked whether an entry was already emitted
in a prior cycle. This produced byte-for-byte identical work-summary
blocks in DREAMS.md across consecutive cycles.
Read the phase signal store before building the light-phase body and
skip entries whose is at or after their
— meaning they were already emitted and have not been recalled again
since. Entries without a prior (first cycle) or with a
newer (re-recalled since last emission) are kept.1 parent 7f6df80 commit 4705750
2 files changed
Lines changed: 41 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
1660 | 1661 | | |
1661 | 1662 | | |
1662 | 1663 | | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
1663 | 1685 | | |
1664 | | - | |
| 1686 | + | |
1665 | 1687 | | |
1666 | 1688 | | |
1667 | 1689 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1775 | 1775 | | |
1776 | 1776 | | |
1777 | 1777 | | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
1778 | 1796 | | |
1779 | 1797 | | |
1780 | 1798 | | |
| |||
0 commit comments