Files
digital-psychology/docs/BACKEND_DESIGN/BD-2026-023-knowledge-source.md
jackyu66gitandCursor bf1ae8bc53 feat(ECR-023): AICoreConfig KnowledgeSource 只读并 Closed
运营可观测知识源目录(knowledge_sources + admin /ai),不含 Chunk/Embedding。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 01:49:58 +08:00

662 B

Backend Design: ECR-023 KnowledgeSource

| ID | BD-2026-023 | | Status | Approved | | Coding | Loop authorized | | Level | L2 | | Migration | YES 000024 |

Backend Change Boundary

Domain: KnowledgeSource (read catalog only)
App: AdminHandler → admin.Service → AdminRepo
API: GET /admin/ai/knowledge-sources[+/:id]
Permission: admin.ai_config.read (reuse; no new perm)
Migration: 000024 knowledge_sources + seed ask_grounding
UI: admin-h5 /ai KnowledgeSource panel

Out of boundary

KnowledgeChunk · Embedding · upload/publish · ToolDefinition · UGC · Payment · runtime RAG wiring

Rollback: down migration + remove routes/UI panel