[loop-cycle-7] refactor: split research.py into research/ subpackage (#1405) #1458

Merged
Timmy merged 1 commits from refactor/split-research-py into main 2026-03-24 19:53:05 +00:00
Owner

Summary

Splits src/timmy/research.py (528 lines) into a research/ subpackage with focused modules:

  • coordinator.py (259 lines) — ResearchResult, template loading, memory cache, disk persistence, run_research orchestrator
  • sources.py (267 lines) — query formulation, web search, page fetching, synthesis, LLM helpers (Ollama/Claude)
  • __init__.py (24 lines) — re-exports all public names for backward compatibility

All 966 tests pass. No import changes needed in consuming code.

Closes #1405

## Summary Splits `src/timmy/research.py` (528 lines) into a `research/` subpackage with focused modules: - `coordinator.py` (259 lines) — ResearchResult, template loading, memory cache, disk persistence, run_research orchestrator - `sources.py` (267 lines) — query formulation, web search, page fetching, synthesis, LLM helpers (Ollama/Claude) - `__init__.py` (24 lines) — re-exports all public names for backward compatibility All 966 tests pass. No import changes needed in consuming code. Closes #1405
Timmy added 1 commit 2026-03-24 19:52:56 +00:00
refactor: split research.py into research/ subpackage (#1405)
Some checks failed
Tests / lint (pull_request) Successful in 9s
Tests / test (pull_request) Failing after 29m13s
c0ade2e164
Timmy merged commit 4d2aeb937f into main 2026-03-24 19:53:05 +00:00
Timmy deleted branch refactor/split-research-py 2026-03-24 19:53:06 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#1458