← Back to Kontasks
Root Cause: Konui Restart Broke Turn
Confirmed that restarting konui mid-turn caused the missing kontask
Output
✓ Corrected Analysis
🔴 Root Cause: Konui Restart
Claude restarted konui at 01:54:42 as part of applying the fix. This broke the WebSocket connection, killing the turn before it could create its kontask.
📋 What Happened
01:54:29 Edit applied to turn-playback.ts 01:54:35 deno check passed 01:54:42 ⚡ kon-restart-konui ← WebSocket dies here 01:54:50 git commit (still running somehow) 01:55:00 Summary text written (orphaned)
📚 Documented in CLAUDE.md
This is a known limitation documented in the "Service Restart Safety" section:
"CRITICAL: Never restart services mid-turn when using the dashboard console. When working via the dashboard console (konui), Claude runs as a subprocess of konsole. Restarting konsole mid-turn will kill the Claude process, causing the turn to fail silently."
🛡️ Safe Restart Protocol
- Complete all code changes
- Commit the changes
- Create the kontask FIRST
- Then restart the service (changes take effect on next spawn)
Note: The fix itself was successfully applied and committed. Only the kontask output was lost. The choice buttons now appear in turn playback pages.
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
vibetools
Tags
turnsrestartsknown-issue
Created
10 Jan 2026, 12:04 pm
Updated
10 Jan 2026, 12:04 pm
Timing
⏱️ 35.3s
0 tools
● TTFE 0%
● Thinking 100%
● Tools 0%
Created By
claude
📋 Claude's Context
Session
ses_df705a8d...
Raw Data
{
"id": "f7b2fde4-3e15-4c2e-8442-d1de8a7e7051",
"type": "general",
"status": "completed",
"title": "Root Cause: Konui Restart Broke Turn",
"description": "Confirmed that restarting konui mid-turn caused the missing kontask",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:'Consolas','Monaco',monospace;\">\n<h2 style=\"font-family:sans-serif;color:#fff;margin:0 0 16px 0;\">✓ Corrected Analysis</h2>\n\n<div style=\"background:rgba(239,68,68,0.1);border:1px solid #ef4444;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#ef4444;margin:0 0 12px 0;\">🔴 Root Cause: Konui Restart</h3>\n<p style=\"color:#e0e0e0;margin:0;\">Claude restarted konui at <code style=\"background:#374151;padding:2px 6px;border-radius:3px;\">01:54:42</code> as part of applying the fix. This broke the WebSocket connection, killing the turn before it could create its kontask.</p>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#f59e0b;margin:0 0 12px 0;\">📋 What Happened</h3>\n<pre style=\"background:#1a1a1a;padding:12px;border-radius:4px;overflow-x:auto;color:#e0e0e0;line-height:1.6;\">\n<span style=\"color:#9ca3af;\">01:54:29</span> Edit applied to turn-playback.ts\n<span style=\"color:#9ca3af;\">01:54:35</span> deno check passed\n<span style=\"color:#ef4444;\">01:54:42</span> <span style=\"color:#ef4444;font-weight:bold;\">⚡ kon-restart-konui</span> ← WebSocket dies here\n<span style=\"color:#9ca3af;\">01:54:50</span> git commit (still running somehow)\n<span style=\"color:#9ca3af;\">01:55:00</span> Summary text written (orphaned)\n</pre>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#3b82f6;margin:0 0 12px 0;\">📚 Documented in CLAUDE.md</h3>\n<p style=\"color:#e0e0e0;margin:0 0 12px 0;\">This is a <strong>known limitation</strong> documented in the \"Service Restart Safety\" section:</p>\n<blockquote style=\"border-left:3px solid #c99542;padding-left:12px;margin:0;color:#9ca3af;font-style:italic;\">\n\"CRITICAL: Never restart services mid-turn when using the dashboard console. When working via the dashboard console (konui), Claude runs as a subprocess of konsole. Restarting konsole mid-turn will kill the Claude process, causing the turn to fail silently.\"</blockquote>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#a78bfa;margin:0 0 12px 0;\">🛡️ Safe Restart Protocol</h3>\n<ol style=\"color:#e0e0e0;margin:0;padding-left:20px;line-height:1.8;\">\n<li>Complete all code changes</li>\n<li>Commit the changes</li>\n<li><strong>Create the kontask FIRST</strong></li>\n<li>Then restart the service (changes take effect on next spawn)</li>\n</ol>\n</div>\n\n<div style=\"background:rgba(34,197,94,0.1);border:1px solid #22c55e;padding:12px 16px;border-radius:6px;\">\n<p style=\"color:#22c55e;margin:0;\"><strong>Note:</strong> The fix itself was successfully applied and committed. Only the kontask output was lost. The choice buttons now appear in turn playback pages.</p>\n</div>\n</div>",
"requestedAt": "2026-01-10T02:05:00.000Z",
"requestId": "8fdae75b-f2d9-4b51-87b1-125580565139",
"choices": [
{
"label": "View safe restart docs",
"value": "Show me the Service Restart Safety section from CLAUDE.md",
"primary": true
},
{
"label": "Add restart guard",
"value": "Can we add a guard that warns or prevents restarts during active turns?"
}
],
"turnTiming": {
"totalMs": 35287,
"ttfeMs": 53,
"thinkingMs": 35234,
"toolExecutionMs": 0,
"toolCallCount": 0,
"thinkingPct": 100,
"toolsPct": 0,
"ttfePct": 0
}
},
"createdBy": "claude",
"createdAt": "2026-01-10T02:04:37.160Z",
"updatedAt": "2026-01-10T02:04:41.053Z",
"requestId": "8fdae75b-f2d9-4b51-87b1-125580565139",
"scope": "vibetools",
"tags": [
"turns",
"restarts",
"known-issue"
],
"sessionId": "ses_df705a8d-ea1",
"flowId": "flow_01KEHQ5A7ZX7YDB8KG1NP2GE68",
"flowLinks": [
{
"flowId": "flow_01KEHQ5A7ZX7YDB8KG1NP2GE68",
"edgeType": "evidence",
"createdAt": "2026-01-10T02:04:37.160Z"
}
]
}