graph TB
A["原始对话流"] --> B["活跃记忆缓冲区"]
B --> C{"亲和力评分 > τ_cluster?"}
C -->|是| D["递归巩固"]
C -->|否| E["保留活跃状态"]
D --> F["整合记忆存储"]
D --> G["归档存储"]
F --> H["自适应检索"]
G --> H
E --> H
style A fill:#e1f5fe,stroke:#01579b,stroke-width:2px,color:#000
style B fill:#f3e5f5,stroke:#4a148c,stroke-width:2px,color:#000
style F fill:#e8f5e8,stroke:#1b5e20,stroke-width:2px,color:#000
style H fill:#fff3e0,stroke:#e65100,stroke-width:2px,color:#000
style D fill:#fce4ec,stroke:#880e4f,stroke-width:2px,color:#000
style C fill:#fff8e1,stroke:#f57f17,stroke-width:2px,color:#000
style E fill:#f1f8e9,stroke:#33691e,stroke-width:2px,color:#000
style G fill:#efebe9,stroke:#5d4037,stroke-width:2px,color:#000