feat(report-collaboration): complete RC-BE-015–018 backend, eval suite, and MySQL sync

Ship report rewrite/version APIs, security budget and audit persistence, AgentScope worker wiring, and the 20-task quality eval harness so the frontend can integrate against a stable contract once enabled in config.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
董宏凯andCursor committed 2026-09-06 17:32:15 +08:00
1 parent 814a44f0b9
commit 5e953c9fcb
123 files changed
+26816 -3505

No files matched your search

@@ -0,0 +1,25 @@
"""Requirement snapshot. A scope-changing user reply must bump ``revision``."""
from __future__ import annotations
from pydantic import BaseModel, ConfigDict, Field
class ReportRequirementSnapshot(BaseModel):
model_config = ConfigDict(extra="forbid")
topic: str
objective: str | None = None
audience: str | None = None
language: str | None = None
time_range: str | None = None
geography: str | None = None
required_angles: list[str] = Field(default_factory=list)
excluded_angles: list[str] = Field(default_factory=list)
source_constraints: str | None = None
report_structure_id: str | None = None
length_target: str | None = None
tone: str | None = None
deadline_hint: str | None = None
quality_priority: str | None = None
revision: int = Field(ge=1)