`updated_date` gets bumped when only the ordinal changes
Hello, I ran into this while migrating a project onto Backlog.md (really liking the tool, btw). Might be intended, but figured I'd flag it.
Changing a task's ordinal (just its sort position) also rewrites updated_date. That's a bit annoying, as reordering isn't really "updating" the task content. I was planning on using the updated_date field to detect staleness.
Repro (v1.45.2):
mkdir demo && cd demo && git init
backlog init demo --agent-instructions none
backlog task create "Alpha"
backlog task edit task-1 --ordinal 500 # change ONLY the ordinal
Before / after:
created_date: '2026-06-10 19:16'
+ updated_date: '2026-06-10 19:16'
- ordinal: 1000
+ ordinal: 500
A fresh task has no updated_date, and the ordinal-only edit adds one. Board drag-reorder does the same.
Where it bit me: hitting Sort in the board UI reassigns ordinals across the whole board (totally expected), but the same pass also re-stamps updated_date on every task. In my case that overwrote ~95 distinct real dates with one identical timestamp. The ordinal changes are fine, losing the dates is the annoying part.
Would be nice if an ordinal-only change left updated_date alone, but curious whether that's intentional.
If the sequence number is changed, the updated_date should be updated as well. To solve this issue, I added support for temporary sorting.
I originally added those extra time fields for Gantt chart tracking, but as it turns out, they also solved the problem you brought up.
I mean, to be fair, I still think that the ordinality number changing shouldn't cause "updated_date" to be changed. Or there should be another "last_modified" date that only applies to the task content. (not ordinality or priority)
Ordinality and Prioity things that matter in the context of the whole project, they really are a concern of the task itself.
Alex's Agent:\n\nInvestigation result: the current public CLI/MCP surfaces describe ordinal as manual ordering metadata, while updated_date is used as edit/recency metadata in multiple views. The current implementation stamps updated_date for every saved task, so both CLI task edit --ordinal and board reorder restamp it.\n\nThe product semantic is ambiguous and needs owner decision. Treating ordinal reorder as an edit is defensible because persisted task frontmatter changed. Preserving updated_date is also defensible because users may rely on it as a content/staleness signal.\n\nI prototyped a narrow implementation in PR #707 that preserves updated_date for ordinal-only CLI edits and reorder-only board writes without adding any new temporal fields, while keeping updated_date refreshes for mixed content/status/milestone changes. That PR is closed and should not be treated as accepted unless the owner chooses this semantic.\n\nOwner decision needed: should updated_date represent any persisted task frontmatter change, or should ordinal-only ordering changes be excluded from it?
Alex's Agent: Owner decision: updated_date should represent meaningful task/content edits, not ordering-only changes.
For this issue, the desired behavior is narrow: when only ordinal changes, Backlog.md should preserve the existing updated_date value, including preserving absence if it was absent. If the same save changes ordinal plus any non-order task field, it should still update updated_date normally.
This should cover both direct ordinal edits and board reorder/sort flows, without adding a separate ordering timestamp or expanding the public date model.