# Architecture Decision Records ADR 用于记录会长期影响系统的技术决策。状态使用 `proposed`、`accepted`、`superseded` 或 `rejected`。 当前记录: - [0001-use-pgvector.md](0001-use-pgvector.md):选择 PostgreSQL + pgvector 作为第一版向量存储。 - [0002-separate-bailian-protocols.md](0002-separate-bailian-protocols.md):分离百炼 Chat/Embedding 与 Rerank 协议适配器。 - [0003-text-first-scope.md](0003-text-first-scope.md):第一版采用文本优先边界,不宣称地质图空间理解。 - [0004-secretless-web-ingress.md](0004-secretless-web-ingress.md):用无 Secret 的 Nginx Web 与固定上游 gateway 隔离浏览器、API 和数据库网络。 - [0005-isolate-model-egress.md](0005-isolate-model-egress.md):用独立 Model Gateway 隔离百炼 Key、模型出口与数据库感知服务。 - [0006-deterministic-local-ingestion.md](0006-deterministic-local-ingestion.md):冻结本地解析、512/800/64 切分、文本分离和 outbound manifest 契约。 - [0007-split-local-and-model-workers.md](0007-split-local-and-model-workers.md):拆分本地解析与模型 Worker 的网络、卷、Secret 和 capability 信任边界。