You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lead 暂停态热改下游(Paused-Lead Hot-Edit):当工作流暂停在中间 Lead 节点(⏸ 待拍板)时,可以直接在侧边栏修改/增删下游节点、提示词、模型、连线、条件分支/回环或注释,或让 AI 调用 canvas_patch 原地调整下游——后端通过 reconcilePausedLeadState 自动保留已完成上游节点的缓存结果与等待拍板状态,恢复执行时立即按新下游拓扑运行,无需从头重跑。
Paused-Lead Hot-Edit Preservation: While a workflow is paused at an intermediate Lead node (⏸ Ready), you can now edit, add, or rewire downstream nodes, prompts, models, edges, condition branches/loops, or comments — either directly in the sidebar or via canvas_patch. Completed upstream outputs and waitingLead stay preserved via reconcilePausedLeadState, and your updated downstream applies immediately on resume.
Safe Invalidation Guards: Editing a completed upstream node or its inputs, changing/clearing the entry task, modifying global refs, switching presets, deleting the waiting Lead, wiring a new unexecuted dependency into the waiting Lead, or lowering a loop's maxIterations below its used count cleanly resets to idle and rejects stale leadResult calls instead of silently bypassing review. canvas_patch explicitly reports preservedPausedLead / resetPausedLead.
Smoother Client Sync While Paused: Turn-start auto-sync now runs safely for dirty edits during need-lead, preserves completed upstream Done badges across canvas_patch merges, and immediately wakes .run.json polling to reflect authoritative host state.
🛠 Reliability & Audit Fixes
Fixed authoritative .run.jsonstatus: "idle" being erased to null on the client, which could previously re-lock the UI into ⏸ Awaiting Lead from historical subagent statuses.
Fixed false invalidation on conditional diamond graphs converging into a paused Lead (C → A/B → Lead) and unified branch pruning onto a single shared computePrunedIds helper.
Fixed parallel Lead insertion stealing leadResult from the active waitingLead, unblocked new outgoing edges off failed condition judges, stale loopFeedback / nodeAttempts after deleting a loop edge, and remote presetName sync drift.
Hardened Cordis resolveService to rely strictly on .get(name) on Cordis contexts, added active-run guards to canvas_generate / canvas_patch, and made .run.json timestamps monotonic.