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

+14
View File
@@ -33,6 +33,7 @@
<span id="model-name" class="muted"></span>
</div>
<button id="show-notepad" class="btn icon" aria-label="Notepad">&#128221;</button>
<button id="show-todo" class="btn icon" aria-label="Todo">&#128203;</button>
<button id="show-settings" class="btn icon" aria-label="Impostazioni">&#9881;&#65039;</button>
</header>
@@ -74,6 +75,19 @@
</div>
</div>
<!-- Todo (read-only): the session's task queue, managed by the agent -->
<div id="todo-modal" hidden>
<div class="modal-card notepad-card">
<div class="stats-head">
<h2 data-i18n="todo.title">Todo</h2>
<button id="refresh-todo" class="btn icon" aria-label="Aggiorna">&#8635;</button>
<button id="close-todo" class="btn icon" aria-label="Chiudi">&#10005;</button>
</div>
<p class="muted small notepad-hint" data-i18n="todo.hint">La coda di lavoro della sessione, gestita dall'agente. Sola lettura.</p>
<div id="todo-content" class="notepad-content"></div>
</div>
</div>
<!-- Generic dialog (rename input / delete confirm); replaces native prompt/confirm -->
<div id="dialog" hidden>
<div class="modal-card">