Bring the XZH-21 backend closing delivering tree (content identical to
a60ea8d on verify/xzh-21, tested at 45/45 by automation) onto main, which
until now held only the empty init commit d45d191.
- note_history aligned to notes.version (V18), pre-save snapshot per version
- unified trash: inbox wired in, category delete migrates/cleans history
- planner batch tags scoped by kind, dashboard taskCounts.due same filter
- RSS restore notice states old articles are not restored