← Back to Kontasks
Nuclear Reset Button Implemented
Reset button now does complete cache nuke + forces onboarding mode
Output
☢️ Nuclear Reset Button Fixed
💥 The Problem
Old reset button only cleared konui_* localStorage keys. But:
- Server still saw user as "not new" (based on kontask targeting)
- Session briefing would restore cached state
- Onboarding card wouldn't show for testuser
✅ The Fix
The ↻ button now does a true nuclear reset:
| ✓ | localStorage.clear() - Nukes ALL localStorage |
| ✓ | sessionStorage.clear() - Nukes session data |
| ✓ | Clears ALL cookies for domain |
| ✓ | Sets konui_force_onboarding=true flag |
🔑 How Force Onboarding Works
- Reset button sets
konui_force_onboarding=truein localStorage - On next login, session briefing checks this flag first
- If flag exists → shows onboarding card regardless of server state
- Flag is cleared after one use (one-time trigger)
📁 Files Changed
konui/src/views/layout.ts # Nuclear reset function konui/src/session-briefing.ts # Force onboarding check
⚠️ Requires Konui Restart
Run kon-restart-konui to activate these changes, then test the reset button.
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
vibetools
Tags
kontasksuionboardingtesting
Created
4 Jan 2026, 4:59 pm
Updated
4 Jan 2026, 5:00 pm
Timing
⏱️ 119.8s
15 tools
● TTFE 3%
● Thinking 79%
● Tools 18%
Created By
claude
Raw Data
{
"id": "659951fd-6d7a-47c2-84b1-c39efe52c185",
"type": "general",
"status": "completed",
"title": "Nuclear Reset Button Implemented",
"description": "Reset button now does complete cache nuke + forces onboarding mode",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:system-ui,sans-serif;\">\n<h2 style=\"margin:0 0 16px 0;color:#fff;\">☢️ Nuclear Reset Button Fixed</h2>\n\n<div style=\"background:#7f1d1d;padding:16px;border-radius:6px;margin-bottom:16px;border-left:3px solid #ef4444;\">\n<h3 style=\"margin:0 0 12px 0;color:#ef4444;\">💥 The Problem</h3>\n<p style=\"color:#fca5a5;margin:0;\">Old reset button only cleared <code style=\"background:#1a1a2e;padding:2px 6px;border-radius:3px;\">konui_*</code> localStorage keys. But:</p>\n<ul style=\"margin:8px 0 0 0;padding-left:20px;color:#fca5a5;\">\n<li>Server still saw user as \"not new\" (based on kontask targeting)</li>\n<li>Session briefing would restore cached state</li>\n<li>Onboarding card wouldn't show for testuser</li>\n</ul>\n</div>\n\n<div style=\"background:#22543d;padding:16px;border-radius:6px;margin-bottom:16px;border-left:3px solid #22c55e;\">\n<h3 style=\"margin:0 0 12px 0;color:#22c55e;\">✅ The Fix</h3>\n<p style=\"color:#9ca3af;margin:0 0 12px 0;\">The ↻ button now does a <strong>true nuclear reset</strong>:</p>\n<table style=\"width:100%;border-collapse:collapse;font-size:0.9rem;\">\n<tr style=\"border-bottom:1px solid #374151;\">\n<td style=\"padding:8px;color:#22c55e;width:30px;\">✓</td>\n<td style=\"padding:8px;\"><code>localStorage.clear()</code> - Nukes ALL localStorage</td>\n</tr>\n<tr style=\"border-bottom:1px solid #374151;\">\n<td style=\"padding:8px;color:#22c55e;\">✓</td>\n<td style=\"padding:8px;\"><code>sessionStorage.clear()</code> - Nukes session data</td>\n</tr>\n<tr style=\"border-bottom:1px solid #374151;\">\n<td style=\"padding:8px;color:#22c55e;\">✓</td>\n<td style=\"padding:8px;\">Clears ALL cookies for domain</td>\n</tr>\n<tr>\n<td style=\"padding:8px;color:#22c55e;\">✓</td>\n<td style=\"padding:8px;\">Sets <code>konui_force_onboarding=true</code> flag</td>\n</tr>\n</table>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"margin:0 0 12px 0;color:#c678dd;\">🔑 How Force Onboarding Works</h3>\n<ol style=\"margin:0;padding-left:20px;line-height:2;color:#9ca3af;\">\n<li>Reset button sets <code style=\"background:#1a1a2e;padding:2px 6px;border-radius:3px;\">konui_force_onboarding=true</code> in localStorage</li>\n<li>On next login, session briefing checks this flag <strong>first</strong></li>\n<li>If flag exists → shows onboarding card regardless of server state</li>\n<li>Flag is cleared after one use (one-time trigger)</li>\n</ol>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"margin:0 0 12px 0;color:#61afef;\">📁 Files Changed</h3>\n<pre style=\"background:#1a1a2e;padding:12px;border-radius:4px;font-size:0.85rem;overflow-x:auto;margin:0;\">\n<span style=\"color:#e5c07b;\">konui/src/views/layout.ts</span> <span style=\"color:#7f848e;\"># Nuclear reset function</span>\n<span style=\"color:#e5c07b;\">konui/src/session-briefing.ts</span> <span style=\"color:#7f848e;\"># Force onboarding check</span>\n</pre>\n</div>\n\n<div style=\"background:#1f2937;padding:16px;border-radius:6px;border:1px solid #f59e0b;\">\n<h4 style=\"margin:0 0 8px 0;color:#f59e0b;\">⚠️ Requires Konui Restart</h4>\n<p style=\"color:#9ca3af;margin:0;\">Run <code style=\"background:#1a1a2e;padding:2px 6px;border-radius:3px;\">kon-restart-konui</code> to activate these changes, then test the reset button.</p>\n</div>\n</div>",
"requestedAt": "2026-01-04T06:55:00.000Z",
"requestId": "b2c838a7-20c0-4115-9f37-5804313c95a4",
"choices": [
{
"label": "Restart konui",
"value": "Restart konui so I can test the nuclear reset button",
"primary": true
},
{
"label": "Commit all changes",
"value": "Commit all the uncommitted konui changes (Session Briefing v2 + UX fixes + nuclear reset)"
},
{
"label": "Show full diff",
"value": "Show me the complete git diff of all changes"
}
],
"turnTiming": {
"totalMs": 119774,
"ttfeMs": 3446,
"thinkingMs": 94969,
"toolExecutionMs": 21355,
"toolCallCount": 15,
"thinkingPct": 79,
"toolsPct": 18,
"ttfePct": 3
}
},
"createdBy": "claude",
"createdAt": "2026-01-04T06:59:52.396Z",
"updatedAt": "2026-01-04T07:00:01.607Z",
"requestId": "b2c838a7-20c0-4115-9f37-5804313c95a4",
"scope": "vibetools",
"tags": [
"kontasks",
"ui",
"onboarding",
"testing"
],
"targetUser": "claude"
}