feat(maf): add secure roundtable workflow runtime

This commit is contained in:
董宏凯 committed 2026-08-01 17:51:53 +08:00
1 parent e690475e6e
commit bd4131b4e2
52 files changed
+10315 -96

No files matched your search

@@ -30,8 +30,8 @@ class ParticipantInput(BaseModel):
display_name: str = Field(default="", max_length=255)
role: MafParticipantRole = "seat"
sort_order: int = 0
# Frozen at creation — the agent's tools / skills snapshot.
capability_snapshot: dict[str, Any] | None = None
# Subtractive only: tools removed from the server-resolved allow-list for this seat.
excluded_tools: list[str] = Field(default_factory=list)
class CreateSessionRequest(BaseModel):
@@ -48,8 +48,8 @@ class CreateSessionRequest(BaseModel):
# Optional: omitted → MafRoundtableConfig.default_write_policy.
write_policy: MafWritePolicy | None = None
participants: list[ParticipantInput] = Field(default_factory=list)
# Frozen at creation — the full session capability snapshot (agents + tools + skills).
capability_snapshot: dict[str, Any] | None = None
# Subtractive session-wide tool exclusions (applied per seat when building snapshot).
excluded_tools: list[str] = Field(default_factory=list)
# Fields that must not be explicitly set to null on PUT (→ 422).