feat(maf): add secure roundtable workflow runtime
This commit is contained in:
1 parent
e690475e6e
commit
bd4131b4e2
52 files changed
+10315
-96
No files matched your search
@@ -563,3 +563,15 @@ maf_roundtable:
|
||||
default_write_policy: confirm_high_risk # auto | confirm_high_risk | confirm_all_writes
|
||||
default_max_rounds: 8 # 群聊模式轮次硬上限
|
||||
admin_diagnostic_access: true # 管理员是否可跨用户读取所有 MAF 会商用于诊断(仅读,不含写)
|
||||
|
||||
# ── WriteGuard 中间件配置 ────────────────────────────────────────────────────
|
||||
# 与 maf_roundtable 联动:MAF 会商运行时,WriteGuard 中间件拦截外部写工具调用,
|
||||
# 记录为待审批动作。仅在 write_guard.enabled=true 且 maf_roundtable.enabled=true
|
||||
# 时生效;关闭时不影响任何已存在功能。
|
||||
# policy_use / interceptor_use 指向 app.maf_roundtable 的具体实现(通过
|
||||
# resolve_variable 解析),保证 harness 层不导入 app.*。
|
||||
write_guard:
|
||||
enabled: false
|
||||
provider:
|
||||
policy_use: app.maf_roundtable.write_guard_bridge:make_policy
|
||||
interceptor_use: app.maf_roundtable.write_guard_bridge:make_interceptor
|
||||
Reference in new issue
Block a user