
bvandeusenandClaude Opus 4.7
d9ab538ef4
feat(journal): backend services (moments, search, prep, scheduler, pipeline)
- services/moments.py — CRUD with embedding sync + entity-link helpers
- services/journal_search.py — three-mode search (temporal / entity / semantic)
with notes-RAG isolation; cosine-similarity helper unit-tested
- services/journal_prep.py — gathers tasks/events/weather/news/projects/
recent-moments/open-threads into a structured prep block
- services/journal_scheduler.py — per-user APScheduler cron for daily prep,
follows the BackgroundScheduler + threadsafe-async pattern from event_scheduler
- services/journal_pipeline.py — system prompt (persona + calibration rules)
with last-48h ambient moments injection
- app.py: wire journal scheduler start/stop hooks
- routes/settings.py: re-add live-reschedule on timezone change (now via
journal_scheduler.update_user_schedule)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-25 22:37:39 -04:00
..
2026-02-09 23:35:44 -05:00
2026-04-04 14:08:14 -04:00
2026-03-23 21:01:04 -04:00
2026-03-11 16:10:57 -04:00
2026-03-29 00:37:13 -04:00
2026-04-14 18:13:17 -04:00
2026-04-04 12:15:37 -04:00
2026-03-07 23:15:01 -05:00
2026-03-24 17:26:05 -04:00
2026-03-11 15:37:00 -04:00
2026-03-29 00:37:13 -04:00
2026-03-11 15:37:00 -04:00
2026-04-08 10:27:31 -04:00
2026-04-04 13:14:42 -04:00
2026-04-04 12:53:09 -04:00
2026-03-30 14:17:30 -04:00
2026-04-09 21:34:14 -04:00
2026-04-07 06:59:06 -04:00
2026-04-12 15:32:52 -04:00
2026-03-23 21:01:04 -04:00
2026-04-25 22:37:39 -04:00
2026-03-11 15:37:00 -04:00
2026-03-09 22:28:34 -04:00
2026-04-04 13:48:07 -04:00
2026-03-29 00:37:13 -04:00
2026-03-26 22:52:39 -04:00
2026-04-07 08:48:27 -04:00