概述
Persist v0.5.0 — Execution Runtime
在 executeChat 唯一入口内,用 @persist/execution 顺序执行 Plan 内全部 tool step,并以独立 ExecutionTrace 作为 Replay 执行审计真相源。
Breaking
- 废除 v0.4 主路径
maxExecutableToolSteps=1/plan-step-truncated;对比场景现执行 2×ToolExecutor.call() PlanSnapshot.executionTrace冻结不写;Replay / PlanPanel 改读SessionReplay.executionTraces- 主路径 observability 改为
execution-step-*(plan-step-*仅 schema 兼容)
Added
@persist/shared:ExecutionTrace/ExecutionStepRecord契约、ExecutionTraceStore、RuleExecutorPort、execution-step-*RuntimeChunks、CFG-EXEC(maxToolStepsPerTurn: 16)@persist/execution:materializeExecutionTrace、partitionToolStepsByCap、finalizeExecutionTraceAfterSynthesis(无 I/O)@persist/storage:execution_traces表、SqliteExecutionTraceStore;getReplay联查executionTraces;tool_execution_snapshots.execution_id@persist/runtime:runExecutionPhase+finalizeExecutionPhaseAfterSynthesis替代runPlanExecutionPhase- Web:
IGNORED_SSE_TYPES含execution-step-*;PlanPanel 展示executionTraces
Unchanged
- v0.2 Memory / v0.4.1 Workspace 行为
- 每 turn 恰好 1 次 Provider synthesis(ADR-EXEC-02)
- 禁止 Replan / Agent Loop / Parallel step