"""Контракты и билдеры контекста пайплайна: retrieval request/result, evidence bundle, diagnostics, synthesis."""

from app.modules.agent.runtime.steps.context.contracts import (
    AnswerSynthesisInput,
    CodeChunkItem,
    DiagnosticsReport,
    EvidenceBundle,
    FailureReason,
    RetrievalRequest,
    RetrievalResult,
    RouterResult,
)
from app.modules.agent.runtime.steps.context.retrieval_request_builder import build_retrieval_request
from app.modules.agent.runtime.steps.context.retrieval_result_builder import build_retrieval_result
from app.modules.agent.runtime.steps.context.evidence_bundle_builder import build_evidence_bundle
from app.modules.agent.runtime.steps.context.diagnostics import build_diagnostics_report
from app.modules.agent.runtime.steps.context.answer_synthesis import build_answer_synthesis_input
from app.modules.agent.runtime.steps.context.answer_fact_curator import build_curated_answer_facts

__all__ = [
    "AnswerSynthesisInput",
    "CodeChunkItem",
    "DiagnosticsReport",
    "EvidenceBundle",
    "FailureReason",
    "RetrievalRequest",
    "RetrievalResult",
    "RouterResult",
    "build_retrieval_request",
    "build_retrieval_result",
    "build_evidence_bundle",
    "build_diagnostics_report",
    "build_answer_synthesis_input",
    "build_curated_answer_facts",
]
