Account Switch Auto-Orientation Turn
Add automatic CLAUDE.md read and health check after account switch
Output
✅ Agreed: Auto-Orientation After Account Switch
When switching accounts successfully, the new session starts completely fresh - no CLAUDE.md context, no workspace awareness. An automatic orientation turn would:
Benefits
- Load CLAUDE.md - Get project instructions into context
- Verify connection - Confirm the new account credentials work
- Warm the cache - First turn primes prompt caching
- User confidence - Visual confirmation the switch worked
Implementation Options
Option A: Silent Background Read
Automatically send Read CLAUDE.md and confirm ready prompt after switch. Quick, low-cost.
Option B: Full Orientation (Recommended)
Send Read CLAUDE.md, check git status, show session briefing. More context, better orientation.
Option C: User Choice
Show prompt in input field (pre-filled) and let user click Send. More control, less magic.
Implementation Location
The account switch success handler is in konui/src/dashboard-console.ts around the switchAccount() function. After successful switch, we'd call sendPrompt() with the orientation prompt.
💡 Recommendation
Go with Option B - a proper orientation turn that reads CLAUDE.md, checks git status, and produces a brief "Ready to work" confirmation. It's worth the extra few seconds for proper context loading.
What's Next?
Choose an approach to implement:
Quick Actions
Original Request
No layout configured
Details
Raw Data
{
"id": "f765772f-ee06-4152-8196-8cb7f353a71f",
"type": "general",
"status": "completed",
"title": "Account Switch Auto-Orientation Turn",
"description": "Add automatic CLAUDE.md read and health check after account switch",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:system-ui,-apple-system,sans-serif;\">\n<h2 style=\"color:#fff;margin:0 0 16px 0;\">✅ Agreed: Auto-Orientation After Account Switch</h2>\n\n<p style=\"color:#9ca3af;line-height:1.6;\">When switching accounts successfully, the new session starts completely fresh - no CLAUDE.md context, no workspace awareness. An automatic orientation turn would:</p>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin:16px 0;\">\n<h3 style=\"color:#22c55e;margin:0 0 12px 0;\">Benefits</h3>\n<ul style=\"margin:0;padding-left:20px;line-height:1.8;\">\n<li><strong>Load CLAUDE.md</strong> - Get project instructions into context</li>\n<li><strong>Verify connection</strong> - Confirm the new account credentials work</li>\n<li><strong>Warm the cache</strong> - First turn primes prompt caching</li>\n<li><strong>User confidence</strong> - Visual confirmation the switch worked</li>\n</ul>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin:16px 0;\">\n<h3 style=\"color:#3b82f6;margin:0 0 12px 0;\">Implementation Options</h3>\n\n<div style=\"margin-bottom:12px;\">\n<h4 style=\"color:#e5c07b;margin:0 0 4px 0;\">Option A: Silent Background Read</h4>\n<p style=\"color:#9ca3af;margin:0;\">Automatically send <code style=\"background:#3d3d3d;padding:2px 6px;border-radius:3px;\">Read CLAUDE.md and confirm ready</code> prompt after switch. Quick, low-cost.</p>\n</div>\n\n<div style=\"margin-bottom:12px;\">\n<h4 style=\"color:#e5c07b;margin:0 0 4px 0;\">Option B: Full Orientation (Recommended)</h4>\n<p style=\"color:#9ca3af;margin:0;\">Send <code style=\"background:#3d3d3d;padding:2px 6px;border-radius:3px;\">Read CLAUDE.md, check git status, show session briefing</code>. More context, better orientation.</p>\n</div>\n\n<div>\n<h4 style=\"color:#e5c07b;margin:0 0 4px 0;\">Option C: User Choice</h4>\n<p style=\"color:#9ca3af;margin:0;\">Show prompt in input field (pre-filled) and let user click Send. More control, less magic.</p>\n</div>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin:16px 0;\">\n<h3 style=\"color:#8b5cf6;margin:0 0 12px 0;\">Implementation Location</h3>\n<p style=\"color:#9ca3af;margin:0;\">The account switch success handler is in <code style=\"background:#3d3d3d;padding:2px 6px;border-radius:3px;\">konui/src/dashboard-console.ts</code> around the <code>switchAccount()</code> function. After successful switch, we'd call <code>sendPrompt()</code> with the orientation prompt.</p>\n</div>\n\n<div style=\"background:#1e3a5f;border:1px solid #3b82f6;padding:16px;border-radius:6px;margin-top:16px;\">\n<h4 style=\"color:#fff;margin:0 0 8px 0;\">💡 Recommendation</h4>\n<p style=\"color:#9ca3af;margin:0;\">Go with <strong>Option B</strong> - a proper orientation turn that reads CLAUDE.md, checks git status, and produces a brief \"Ready to work\" confirmation. It's worth the extra few seconds for proper context loading.</p>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-top:16px;\">\n<h4 style=\"margin:0 0 8px 0;color:#fff;\">What's Next?</h4>\n<p style=\"color:#9ca3af;margin:0;\">Choose an approach to implement:</p>\n</div>\n</div>",
"requestedAt": "2026-01-08T10:00:00.000Z",
"requestId": "fbb5262d-aec5-4299-bb95-32a17583c556",
"choices": [
{
"label": "Implement Option B",
"value": "Implement the full orientation turn after account switch - read CLAUDE.md, check git status, show ready confirmation",
"primary": true
},
{
"label": "Implement Option A",
"value": "Implement the minimal silent CLAUDE.md read after account switch - just read the file and confirm ready"
},
{
"label": "Show me the code",
"value": "Show me the current account switch handler code in dashboard-console.ts so I can see where to add this"
}
],
"turnTiming": {
"totalMs": 35392,
"ttfeMs": 137,
"thinkingMs": 35253,
"toolExecutionMs": 0,
"toolCallCount": 0,
"thinkingPct": 100,
"toolsPct": 0,
"ttfePct": 0
}
},
"createdBy": "claude",
"createdAt": "2026-01-07T22:33:29.535Z",
"updatedAt": "2026-01-07T22:33:33.699Z",
"requestId": "fbb5262d-aec5-4299-bb95-32a17583c556",
"scope": "vibetools",
"tags": [
"konsole",
"ui",
"accounts"
],
"targetUser": "claude"
}