| 表 | V8 中的唯一业务含义 |
|---|---|
script_build_record |
Run 状态、当前创作方向、最终总结和模型配置 |
script_build_round |
轮次目标和当前保存的多路规划 |
script_build_branch |
实现任务、方案类型、当前处置状态和理由 |
script_build_data_decision |
实现 Agent 对取数结果的采用、组合和排除 |
script_build_multipath_decision |
主 Agent 对 branch_ids 指向的一批候选结果作出的综合决策 |
script_build_domain_info |
已核实并独立保存的领域事实 |
| 段落、元素、关联三表 | 当前主脚本和内容方案候选产物 |
script_build_event 和 script_build_event_body 只用于补充:
script_multipath_evaluator 对候选方案的逐支评审、跨方案比较和建议;script_evaluator 对主 Agent 决策后的主脚本进行整体评审;script_build_record.script_direction;成功的 save_script_direction 只用来还原它何时保存及保存前主 Agent 直接读取了什么。script_build_round.goal。begin_round 调用前携带的 round_index 仍是旧轮次,新轮次优先取成功返回中的 round_index,其次才取紧随的 round_begin marker。multipath_plan / race_or_divide / plan_note。成功的 record_multipath_plan 保留为同轮修订版本,失败调用只进技术记录。agent_role=main + agent_depth=0 + 真实主 scope;评审 Agent 内部的工具调用不得并入。round_index 为准。direction:创作目标、本轮目标、实现规划,由主 Agent 最终决定。tradeoff:实现 Agent 数据取舍仅在当前方案内有效;主 Agent 多路决策是候选方案的最终取舍。evaluation:多方案评审与主脚本整体评审只提供判断、问题和建议,不直接决定 Branch 状态或 Run 状态。creative:只有安全关联的实现 Agent think_and_plan 与写入事件才能形成创作处理;候选脚本本身不能反推创作过程。评审正文只由带版本号的 EvaluationReportParser 解析。业务区只展示结构化的评审对象、标准、逐项结论、达成项、问题、总结论和建议;原始 Markdown、表格和正文中的内部 ID 只进入技术记录。报告正文中的构建 ID 和轮次不参与关联。
实现 Agent 与取数 Agent 的归属仅使用 parent_event_id / scope_event_id 及明确的 round_index + branch_id。缺少父子关系时进入未归属技术记录,不通过中文任务文本猜测。
output_content.summary,不从工具结果自动总结。script_build_data_decision,由实现 Agent 做决定。script_build_data_decision.sources 没有 Agent 事件 ID,因此只做数据类型级对照,不声称某条证据来自同类 Agent 的某一次具体调用。取过但没有进入正式来源的数据,也不自动标记为“被排除”。
agent_invoke 是一个独立实例,即使 Agent 类型相同也不合并。think_and_plan 和上下文 get_script_snapshot 不计入源数据查询次数。branch_id <= 0 的旧语义数据决策。evaluator 名称匹配评审类型;两类评审只认精确事件名。created_at, id 排序。branch_ids 决定进入该节点的连接线。path_type=领域信息 的产出来自 script_build_domain_info。script_build_id 全局累加,round_index/branch_id 只用于复盘来源。