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
Noted on GitHub #699 and left as a design: kimi workflow agents are always headless one-shots with sessionId: null (electron/workflow.js spawnAgentKimi buildArgs). kimi DOES support per-session resume via -S from the stream meta resume hint (see electron/providers.js kimi buildArgs and electron/kimi.js extractSessionId). Regular runner turns persist sessionId on the thread.
Decide whether a workflow kimi phase should persist and resume its session across retries or follow-up agents in the same phase. If yes: capture extractSessionId from the phase child, store it on the workflow agent (not the parent thread sessionId — that would collide with a later interactive turn), and pass it back on retry. Tests should prove -S is emitted only when a real session id exists, never -c (issue #220).
This is out of scope for #699 (effort + MCP overlay).
Activity
currentbits commentedon Sep 2, 2026
Decision: yes, persist and resume on the workflow agent slot.
extractSessionIdfrom the phase child and store it on that agent (agent.sessionId).-S <id>on a later spawn of the same slot (retry / follow-up of that agent).thread.sessionId— a later interactive turn would collide.overlayKey).-Sonly when a real session id exists; never-c(Kimi threads started from the planboard do not know the task #220). The leftovercwdsentinel is treated as no session.Implemented on
coder/kimi-workflow-phases-cannot-resume-01cc89. Tests inelectron/test/workflow-kimi-resume.test.js.currentbits commentedon Sep 2, 2026
Landed from Solenta thread "Kimi workflow phases cannot resume". Closed on merge.