diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-29 16:17:53 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-29 16:17:53 -0400 |
| commit | c9a1c95ea74941b09d9accc3b2fc504dbf6d42ec (patch) | |
| tree | 155ba21b19cf738302a87103661bead946db5960 /Makefile | |
| parent | 3498b9c2886b2607505717174091a7d23751e37c (diff) | |
| download | dotemacs-c9a1c95ea74941b09d9accc3b2fc504dbf6d42ec.tar.gz dotemacs-c9a1c95ea74941b09d9accc3b2fc504dbf6d42ec.zip | |
chore: archive resolved tasks older than a week
make task-sorted now ages the Resolved section. Tasks closed more than a
week ago, and any with no CLOSED date, move out to archive/task-archive.org,
keeping only the last week of closed tasks in todo.org. The target then runs
org-lint on todo.org to catch structural problems from the move. This pass
moved 207 tasks to the archive and pulled 4 newly-closed tasks into Resolved,
dropping todo.org from 9,600 to 5,600 lines.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -459,11 +459,15 @@ profile: fi # Move completed tasks (DONE/CANCELLED level-2 subtrees) out of "Open Work" -# and into the "Resolved" section of todo.org. Wraps todo-cleanup.el's -# --archive-done; a no-op when nothing is in a closed state. +# and into the "Resolved" section of todo.org, then age that section: tasks +# closed more than a week ago move out to archive/task-archive.org, keeping +# only the last week of closed tasks in todo.org. Wraps todo-cleanup.el's +# --archive-done; a no-op when nothing is closed and nothing has aged out. task-sorted: @echo "Archiving resolved tasks in todo.org..." @$(EMACS) --batch -q -l .ai/scripts/todo-cleanup.el --archive-done todo.org + @echo "Linting todo.org..." + @$(EMACS) --batch -q -l .ai/scripts/lint-org.el todo.org clean: clean-tests clean-compiled @echo "✓ Clean complete" |
