feat(maf-roundtable): add Phase-1 multi-agent roundtable infrastructure

Ship an independent, feature-flag-gated MAF roundtable skeleton with six
isolated tables, atomic single-transaction run launch/cancel, owner-scoped
read/write split, shared config enums, and HTTP/concurrency regression tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
董宏凯andCursor committed 2026-08-01 01:07:05 +08:00
1 parent a0a75a9964
commit e690475e6e
27 files changed
+5369 -101

No files matched your search

+14 -1
View File
@@ -1,4 +1,4 @@
# Offline backend template for DeerFlow
# Offline backend template for DeerFlow
config_version: 8
log_level: info
@@ -550,3 +550,16 @@ task_deeplink:
taskDirection: "正向引导 + 风险预警"
taskName: "任务01:暑期文旅舆情综合研判"
taskContent: "围绕暑期文旅消费高峰,对重点城市、重点景区的公众情绪与舆情态势做综合研判,识别情绪拐点与潜在风险,提出正向引导与处置建议。"
# ── MAF 多智能体会商实验 (Microsoft Agent Framework) ──────────────────────
# 独立于现有 RoundtablePlanningPage 的实验性功能;默认关闭。关闭时:
# - Gateway 启动不加载 MAF SDK(延迟导入)
# - /api/maf-roundtable/* 写接口返回 503,只读接口可查历史
# - 前端入口隐藏
# 详见 frontend-web/docs/microsoft-agent-framework-多智能体会商-实施计划.md
maf_roundtable:
enabled: false # 部署级特性开关;首期仅管理员/白名单可见
default_mode: structured # structured(固定流程)| group_chat(动态群聊)
default_write_policy: confirm_high_risk # auto | confirm_high_risk | confirm_all_writes
default_max_rounds: 8 # 群聊模式轮次硬上限
admin_diagnostic_access: true # 管理员是否可跨用户读取所有 MAF 会商用于诊断(仅读,不含写)