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 | b46e1f02d9d5124aaccc927f4391c850626438df (patch) | |
| tree | 2b85c8ad774aca5a2d2263600991d0995dd355ba /Makefile | |
| parent | dc457ce89a3e78e78d56d6380ef699c05a744137 (diff) | |
| download | dotemacs-b46e1f02d9d5124aaccc927f4391c850626438df.tar.gz dotemacs-b46e1f02d9d5124aaccc927f4391c850626438df.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" |
