fix(#3052): preserve frontmatter last_activity_desc on same-date body prose conflict (#3140)

* fix(#3052): preserve frontmatter last_activity_desc on same-date body prose conflict

preferNewerLastActivity only preserved last_activity_desc when the derived
date was OLDER than the existing frontmatter date. When the dates matched
(same-date), the derived body prose (potentially stale) overwrote the
authoritative frontmatter desc.

Fix: when derDate === exDate, also preserve the frontmatter desc.

* chore(#3052): backfill changeset PR number 3140

---------

Co-authored-by: sim <sim@local>
This commit is contained in:
Tom Boucher
2026-08-07 06:16:22 -04:00
committed by GitHub
parent 3c1e358a2d
commit 80ec0791eb
3 changed files with 69 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 3140
---
**`state planned-phase` no longer overwrites authoritative `last_activity_desc`** — when the frontmatter and body had the same activity date but different descriptions, the write path preserved the date but overwrote the frontmatter's description with stale body prose. Same-date frontmatter desc is now preserved. (#3052)