Adds periodic memory status checks every 50 thoughts (configurable via
thinking_memory_check_every) to prevent unmonitored memory bloat during
long thinking sessions. Follows the same interval pattern as distill
and issue-filing post-hooks.
Fixes#310
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>