- Align NEW_PLAN.md db.py example to use @lru_cache(maxsize=1) for both
get_supabase() and get_embedding_model(), matching actual implementation
- Add missing imports (datetime, HTTPException, get_supabase) to
check_ai_limit code example in NEW_PLAN.md
- Add migration to auto-update entry_analysis.updated_at on row modification
via a BEFORE UPDATE trigger
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>