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:
1 parent
814a44f0b9
commit
5e953c9fcb
123 files changed
+26816
-3505
No files matched your search
@@ -0,0 +1,57 @@
|
||||
"""Canonical quality-chain plan used to score directed modifications."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
def eval_quality_plan() -> dict:
|
||||
nodes = [
|
||||
{
|
||||
"id": "research",
|
||||
"label": "检索",
|
||||
"role_key": "researcher",
|
||||
"angle": "海外进展",
|
||||
"output_artifact_type": "EvidenceBundle",
|
||||
"depends_on": [],
|
||||
},
|
||||
{
|
||||
"id": "verify",
|
||||
"label": "核验",
|
||||
"role_key": "verifier",
|
||||
"output_artifact_type": "VerificationResult",
|
||||
"depends_on": ["research"],
|
||||
},
|
||||
{
|
||||
"id": "analyze",
|
||||
"label": "分析",
|
||||
"role_key": "analyst",
|
||||
"output_artifact_type": "AngleAnalysis",
|
||||
"depends_on": ["verify"],
|
||||
},
|
||||
{
|
||||
"id": "write",
|
||||
"label": "写作",
|
||||
"role_key": "writer",
|
||||
"output_artifact_type": "ReportSectionDraft",
|
||||
"depends_on": ["analyze"],
|
||||
},
|
||||
{
|
||||
"id": "review",
|
||||
"label": "审稿",
|
||||
"role_key": "reviewer",
|
||||
"output_artifact_type": "ReviewDecision",
|
||||
"depends_on": ["write"],
|
||||
},
|
||||
]
|
||||
return {
|
||||
"id": "plan_eval",
|
||||
"nodes": nodes,
|
||||
"edges": [
|
||||
{"source": "research", "target": "verify"},
|
||||
{"source": "verify", "target": "analyze"},
|
||||
{"source": "analyze", "target": "write"},
|
||||
{"source": "write", "target": "review"},
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
__all__ = ["eval_quality_plan"]
|
||||
Reference in new issue
Block a user