Fix: Summary text now captured in kontask cards
Updated instructions to tell Claude to include summaries inside context.output HTML
Output
✅ Fix Applied: Summary Text Capture
The Problem
Looking at your screenshots, I could see:
- Console showed the kontask JSON response AND my summary text ("You've hit on something important...")
- Kontask card had the rich HTML but was missing that summary
The summary I wrote after calling konui_create_task was displayed in the console but never saved to the kontask.
Root Cause
This wasn't a code bug - it was a behavior pattern issue:
- I call
konui_create_taskwith rich HTML incontext.output - Then I write a brief summary for quick console feedback
- That summary text is not part of the kontask - it's just streamed to the console
The Fix
Updated the dashboard console instructions in router.ts (both endpoints):
+ IMPORTANT: Include any summary, insights, or commentary + INSIDE the context.output HTML (at the end), NOT as + separate text after the tool call. Text written after + konui_create_task is displayed in the console but NOT + saved to the kontask card.
Files Changed
| konui/src/router.ts | :1404 | Dashboard console instructions |
| konui/src/router.ts | :1923 | Legacy dashboard instructions |
What Changes Now
Going forward, when Claude creates kontasks:
- Summaries and insights will be inside the HTML (like this section you're reading)
- Console output will be minimal (just confirmation)
- The kontask card becomes the complete deliverable
Summary
This is exactly what you observed - valuable insights were being written to the console but lost from the kontask card. The fix ensures all meaningful content lives inside context.output. This kontask itself demonstrates the new pattern - this summary section is part of the HTML, not separate console text.
Requires: Restart konui for the instruction change to take effect, plus a fresh Claude session to load the new instructions.
Quick Actions
Original Request
No layout configured
Details
Raw Data
{
"id": "716ef99f-6de4-4c54-b2a4-57bcb91cd215",
"type": "general",
"status": "completed",
"title": "Fix: Summary text now captured in kontask cards",
"description": "Updated instructions to tell Claude to include summaries inside context.output HTML",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:sans-serif;\">\n<h2 style=\"color:#fff;margin:0 0 16px 0;\">✅ Fix Applied: Summary Text Capture</h2>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#ef4444;margin:0 0 12px 0;\">The Problem</h3>\n<p style=\"margin:0;line-height:1.6;\">Looking at your screenshots, I could see:</p>\n<ol style=\"margin:12px 0 0 0;padding-left:20px;line-height:1.8;\">\n<li><strong>Console</strong> showed the kontask JSON response AND my summary text (\"You've hit on something important...\")</li>\n<li><strong>Kontask card</strong> had the rich HTML but was <span style=\"color:#ef4444;\">missing that summary</span></li>\n</ol>\n<p style=\"margin:12px 0 0 0;color:#9ca3af;\">The summary I wrote <em>after</em> calling <code>konui_create_task</code> was displayed in the console but never saved to the kontask.</p>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#61afef;margin:0 0 12px 0;\">Root Cause</h3>\n<p style=\"margin:0;line-height:1.6;\">This wasn't a code bug - it was a <strong>behavior pattern</strong> issue:</p>\n<ul style=\"margin:12px 0 0 0;padding-left:20px;line-height:1.8;\">\n<li>I call <code>konui_create_task</code> with rich HTML in <code>context.output</code></li>\n<li>Then I write a brief summary for quick console feedback</li>\n<li>That summary text is <strong>not part of the kontask</strong> - it's just streamed to the console</li>\n</ul>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#98c379;margin:0 0 12px 0;\">The Fix</h3>\n<p style=\"margin:0 0 12px 0;\">Updated the dashboard console instructions in <code>router.ts</code> (both endpoints):</p>\n<pre style=\"background:#1a1a2e;padding:12px;border-radius:4px;margin:0;color:#e0e0e0;font-size:0.85rem;overflow-x:auto;\">+ IMPORTANT: Include any summary, insights, or commentary\n+ INSIDE the context.output HTML (at the end), NOT as\n+ separate text after the tool call. Text written after\n+ konui_create_task is displayed in the console but NOT\n+ saved to the kontask card.</pre>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#c678dd;margin:0 0 12px 0;\">Files Changed</h3>\n<table style=\"width:100%;border-collapse:collapse;font-size:0.9rem;\">\n<tr style=\"border-bottom:1px solid #444;\">\n<td style=\"padding:8px 0;color:#98c379;\">konui/src/router.ts</td>\n<td style=\"color:#7f848e;\">:1404</td>\n<td>Dashboard console instructions</td>\n</tr>\n<tr>\n<td style=\"padding:8px 0;color:#98c379;\">konui/src/router.ts</td>\n<td style=\"color:#7f848e;\">:1923</td>\n<td>Legacy dashboard instructions</td>\n</tr>\n</table>\n</div>\n\n<div style=\"background:#22c55e20;border:1px solid #22c55e;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#22c55e;margin:0 0 12px 0;\">What Changes Now</h3>\n<p style=\"margin:0;line-height:1.6;\">Going forward, when Claude creates kontasks:</p>\n<ul style=\"margin:12px 0 0 0;padding-left:20px;line-height:1.8;\">\n<li>Summaries and insights will be <strong>inside the HTML</strong> (like this section you're reading)</li>\n<li>Console output will be minimal (just confirmation)</li>\n<li>The kontask card becomes the <strong>complete</strong> deliverable</li>\n</ul>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;\">\n<h3 style=\"color:#f59e0b;margin:0 0 12px 0;\">Summary</h3>\n<p style=\"margin:0;line-height:1.6;\">This is exactly what you observed - valuable insights were being written to the console but lost from the kontask card. The fix ensures all meaningful content lives inside <code>context.output</code>. This kontask itself demonstrates the new pattern - this summary section is part of the HTML, not separate console text.</p>\n<p style=\"margin:12px 0 0 0;color:#9ca3af;\"><strong>Requires:</strong> Restart konui for the instruction change to take effect, plus a fresh Claude session to load the new instructions.</p>\n</div>\n</div>",
"requestedAt": "2026-01-04T02:20:00.000Z",
"requestId": "6714e11c-9acc-4976-8a81-7881982b922e",
"choices": [
{
"label": "Restart konui",
"value": "Restart konui to apply the fix",
"primary": true
},
{
"label": "Commit changes",
"value": "Commit these changes"
},
{
"label": "Test the fix",
"value": "Ask me something to test if summaries are now captured in the kontask card"
}
],
"turnTiming": {
"totalMs": 139536,
"ttfeMs": 3431,
"thinkingMs": 110052,
"toolExecutionMs": 26052,
"toolCallCount": 20,
"thinkingPct": 79,
"toolsPct": 19,
"ttfePct": 2
}
},
"createdBy": "claude",
"createdAt": "2026-01-04T02:42:20.976Z",
"updatedAt": "2026-01-04T02:42:25.202Z",
"requestId": "6714e11c-9acc-4976-8a81-7881982b922e",
"scope": "vibetools",
"tags": [
"kontasks",
"fix",
"ux"
],
"targetUser": "claude"
}