Planning debug panel, todo auto-populate, scratchpad/persona improvements
- Planning debug panel: new Planning tab in debug/index.html shows raw
  phase 1/2 outputs and token counts per planning run, stored in
  session.planning_logs (new column in both SQLite and PostgreSQL)
- New GET /sessions/{id}/planning API endpoint
- PlanningDebugData internal event wires _run_planning() output into
  session storage; never forwarded to WebSocket clients
- Phase 3 (plan critic) disabled — to be reworked with reflect integration
- Todo tool: auto-populated from plan steps after phase 2; model only
  needs to call update/view, not set
- Scratchpad: clarified description and persona instructions; removed
  context_transfer from user-facing docs (internal mechanism only)
- web_search: switched to ddgs package, SearXNG as primary backend,
  DDG html-only fallback; added find_up action to filesystem tool
- Persona: added SCRATCHPAD and TODO sections with clear usage rules;
  added NAVI.md project context instructions
- chat.js: fixed subagent planning event fallthrough into parent UI;
  statusLabel cleared on first stream delta

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f4b041c commit 94e32e93be8e2ad1fa35e0ef5a5d48ccfa8add12
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 20 Apr
Showing 18 changed files
View
debug/index.html
View
navi/api/routes/sessions.py
View
navi/core/agent.py
View
navi/core/events.py
View
navi/core/pg_session_store.py
View
navi/core/session.py
View
navi/core/sqlite_session_store.py
View
navi/tools/filesystem.py
View
navi/tools/scratchpad.py
View
navi/tools/todo.py
View
navi/tools/web_search.py
View
persona.txt
View
webclient/dist/assets/index-C0zKwfri.css 0 → 100644
View
webclient/dist/assets/index-CPQvXfSf.js 100644 → 0
Not supported
View
webclient/dist/assets/index-Ca-AEqJr.js 0 → 100644
Not supported
View
webclient/dist/assets/index-hmE3U03y.css 100644 → 0
View
webclient/dist/index.html
View
webclient/src/stores/chat.js