diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-11 02:13:15 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-11 02:13:15 -0500 |
| commit | cfbabf1da65c5224a4e3c7302c71baa98935d0e4 (patch) | |
| tree | b84a7484279dbffc27f396a18da3dd474538c702 /working/inbox-zero-phase-e/sender-note.org | |
| parent | 06ca6c7c0a825fa9fed66cf17f94be8c0ed4d3da (diff) | |
| download | rulesets-cfbabf1da65c5224a4e3c7302c71baa98935d0e4.tar.gz rulesets-cfbabf1da65c5224a4e3c7302c71baa98935d0e4.zip | |
fix(task-review): accept org-native LAST_REVIEWED stamps, warn on bad ones
task-review-staleness.sh expected a bare 2026-07-09 and treated an org inactive timestamp ([2026-07-09 Thu], the form matching the CREATED:/CLOSED: cookies in the same drawer) as unparseable. The count branch folded that into the stale count, so a freshly-reviewed task reported as never-reviewed, and a full review pass never dropped the startup nudge. Both the bare and bracketed forms now normalize to the ISO date. A value that is neither warns loudly to stderr (file:line:value) and stays out of the count, since a data error shouldn't hide as "never reviewed." task-review.org documents the accepted format.
Tested red/green: 5 new bats cases (bracketed fresh and stale, list-mode sort by real date, malformed warns and is excluded). Full suite 273 ok.
Diffstat (limited to 'working/inbox-zero-phase-e/sender-note.org')
0 files changed, 0 insertions, 0 deletions
