"""记忆服务（C5）——确定性选择 + 卡片渲染 + prompt 组装（ARCH §3.4/§5.3）。"""

from __future__ import annotations

from .assemble import assemble, merge_rules
from .render import render_cards
from .selection import MAIN_ROLES, RECENT_DIGEST_COUNT, select_relevant_entities
from .types import (
    AssembledContext,
    EntityKind,
    SelectedEntity,
    SelectionReason,
    SelectionTrace,
)

__all__ = [
    "MAIN_ROLES",
    "RECENT_DIGEST_COUNT",
    "AssembledContext",
    "EntityKind",
    "SelectedEntity",
    "SelectionReason",
    "SelectionTrace",
    "assemble",
    "merge_rules",
    "render_cards",
    "select_relevant_entities",
]
