refactor(events): retire reader surfaces (rename module, delete CLI + LLM tool)
Continues sprint 4 events retirement (parent req_ouq77ho6) after lode A
(commit 9a5d800b). Narrows the events reader surface area:
- git-mv think/events.py -> think/event_formatter.py (preserves history)
- update formatter registry tuple to point at think.event_formatter
- update apps/activities/routes.py:105 (sole remaining live consumer of
get_month_event_counts) to import from think.event_formatter
- remove `sol call journal events` subcommand from think/tools/call.py
- remove get_events() LLM tool from think/tools/search.py
- drop get_events from think/indexer/__init__.py public re-exports
- update 16 test imports across tests/test_formatters.py and tests/test_events.py
- delete 7 stale tests/test_call.py tests that exercised the removed CLI subcommand
Deliberately preserved (still has live consumers):
- think/indexer/journal.py::get_events (called by apps/home + apps/activities)
- think/event_formatter.py::get_month_event_counts (called by calendar_stats)
- think/indexer/journal.py glob facets/*/events/*.jsonl (historical search)
- tests/test_events.py body and tests/test_journal_index.py::test_get_events*
Test baseline shifts from 3249/1 (lode A) to 3242/1 — the seven removed
tests directly exercised the deleted CLI handler and have no replacement
target. make ci passes at 3242 passed / 1 skipped.
Out-of-scope followups:
- Lode C: migrate apps/home and apps/activities consumers off get_events /
get_month_event_counts; then delete both functions and their tests.
- Lode D: scrub stale references in think/planner.md, talent/*.md,
skills/solstone/SKILL.md, convey/templates/app.html, and API baselines.
Co-Authored-By: OpenAI Codex <codex@openai.com>