agent: per-session todo queue (todo tool, pinned TODO section, GUI panel)

Persistent task list (pending/doing/done) with never-reused seq from a per-session high-water mark; open items injected as a dynamic TODO section with pre-warm-on-change; read-only GUI panel + i18n; TOOL_USE manual extended. Docs updated; agent-feedback memory Q&A exchange and AGENT_RULES seed rules included. Verified: 245 passed / 6 ignored, clippy+fmt clean; dogfooded live.
This commit is contained in:
adm committed 2026-11-30 12:10:45 +01:00
1 parent f74d53e446
commit 9b05592efb
16 files changed
+1067 -21

No files matched your search

+10 -1
View File
@@ -307,7 +307,7 @@ details.thinking .reasoning {
.queue-chip button:hover { color: var(--danger); }
/* ---- Stats modal ---- */
#stats-modal, #dialog, #settings-modal, #notepad-modal, #mcp-picker-modal {
#stats-modal, #dialog, #settings-modal, #notepad-modal, #todo-modal, #mcp-picker-modal {
position: fixed; inset: 0; z-index: 40;
background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center;
padding: 20px;
@@ -438,6 +438,15 @@ details.thinking .reasoning {
.notepad-key { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; color: var(--accent); flex: 0 0 auto; max-width: 42%; overflow-wrap: anywhere; }
.notepad-text { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
/* ---- Todo (read-only task queue, agent-managed; reuses the notepad card) ---- */
.todo-status {
flex: 0 0 auto; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.03em;
padding: 1px 6px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted);
}
.todo-status.todo-doing { color: var(--accent); border-color: var(--accent); }
.todo-done { opacity: 0.6; }
.todo-done .notepad-text { text-decoration: line-through; }
/* ---- Wide screens: persistent sidebar ---- */
@media (min-width: 900px) {
#drawer { position: static; transform: none; width: var(--sidebar-w); flex-shrink: 0; }