from __future__ import annotations


class RagLayer:
    DOCS_MODULE_CATALOG = "D1_MODULE_CATALOG"
    DOCS_FACT_INDEX = "D2_FACT_INDEX"
    DOCS_SECTION_INDEX = "D3_SECTION_INDEX"
    DOCS_POLICY_INDEX = "D4_POLICY_INDEX"
    CODE_SOURCE_CHUNKS = "C0_SOURCE_CHUNKS"
    CODE_SYMBOL_CATALOG = "C1_SYMBOL_CATALOG"
    CODE_DEPENDENCY_GRAPH = "C2_DEPENDENCY_GRAPH"
    CODE_ENTRYPOINTS = "C3_ENTRYPOINTS"
    CODE_SEMANTIC_ROLES = "C4_SEMANTIC_ROLES"


class RetrievalMode:
    DOCS = "docs"
    CODE = "code"


class DocKind:
    SPEC = "spec"
    RUNBOOK = "runbook"
    README = "readme"
    MISC = "misc"


class EvidenceType:
    CODE_SPAN = "code_span"
    SYMBOL = "symbol"
    EDGE = "edge"
    DOC_SECTION = "doc_section"
    DOC_FACT = "doc_fact"
