- Move app/services/diagnose.py verbatim to app/services/diagnose/legacy.py
- Create app/services/diagnose/__init__.py with full implementation so that
patch('app.services.diagnose._HAS_DATEPARSER') targets the correct namespace
and all 303 existing tests continue to pass without modification
- Add app/services/diagnose/models.py with 5 pipeline dataclasses:
EventCluster, TimelineResult, ClassifiedTimeline, Hypothesis, RankedHypothesis
- Add app/services/diagnose/pipeline.py with run_pipeline() stub (Task 6)
- Add MULTI_AGENT_ENABLED feature flag (off by default via env var)
- Zero behavior change; ruff clean
Closes: #29
11 lines
301 B
Python
11 lines
301 B
Python
"""Multi-agent diagnose pipeline orchestrator — stub (Task 1)."""
|
|
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
# run_pipeline() will be implemented in Task 6
|
|
|
|
|
|
async def run_pipeline(*args: Any, **kwargs: Any) -> None:
|
|
"""Placeholder — implemented in Task 6."""
|
|
return None
|