I use org-archive-subtree to clean my org files.
Most of my tasks lie under
* Tasks header so I run the function on it using prefix (
C-u C-c C-x C-s). I noticed that the function only asks for confirmation when it encounters a DONE task.
Would it be possible to change its behavior to:
1) Ask only when the item has DONE state and it has a CLOSED timestamp that's at least month old (or does not have this timestamp at all but is still in DONE). I like to review my last week seeing what I did so archiving too young tasks breaks this option for me.
2) Do the above checks but archive without asking if the conditions are met.