From 2feed30b3bd09e3fa15170dcfb3ff475b19f6f4c Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 5 Sep 2026 19:51:58 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20README=20=E8=A1=A5=E9=80=9A=E7=94=A8?= =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E4=BA=A7=E7=BA=BF=E9=9A=94=E7=A6=BB=E8=81=8C?= =?UTF-8?q?=E8=B4=A3=E8=AF=B4=E6=98=8E=EF=BC=88schema=20=E8=BF=87=E6=BB=A4?= =?UTF-8?q?+=E4=B8=8A=E4=BC=A0=E4=B8=93=E5=B1=9E=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 50f90f3..acb0519 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,15 @@ cd pkgs/pipeline_core && pip install . ``` wwwroot/pipeline_core -> ../pkgs/pipeline_core/wwwroot ``` + +## 通用会话产线隔离(2026-09-05) + +配合 pipeline-service 的 7 层隔离(详见其 README),本模块承担: + +- `agent_config.load_agent_config(generic=True)`:不挂产线能力包, + 并剔除 GENERAL_TOOLS 中 category=project/shell 的工具(schema 层防线, + LLM 根本看不见项目管理/命令执行工具) +- `upload_tools.resolve_upload_dir(generic=True)`:通用会话上传文件落 + `_general/{uid}` 专属目录,与 AgentExecutor 的文件根一致 + (_resolve_ws_path 越界保护只认该目录) +- `wwwroot/api/agent_chat_generic.dspy`:纯通用会话入口(generic=True)