Add planning phase and scratchpad tool for smarter task execution
- ScratchpadTool: session-scoped working notepad with named sections
  (write/append/read/clear). Lets Navi capture intermediate findings
  between tool calls instead of losing track of them.

- Planning phase: when profile.planning_enabled=True, a fast pre-loop
  LLM call (think=False, no tools) outlines a numbered plan before
  any actions are taken. The plan is injected into session context as
  an assistant message so the model naturally continues from it.

- PlanReady event + plan_ready WebSocket message + plan card in UI
  (green-tinted, collapsible, mirroring thinking card design).

- secretary and server_admin profiles: planning_enabled=True,
  scratchpad added to enabled_tools, system prompts updated with
  explicit execution discipline instructions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 65428f5 commit fe6d7bcd1ac7f768348f0452296619068a987e7e
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 11 Apr
Showing 12 changed files
View
client/js/app.js
View
client/js/chat.js
View
client/style.css
View
navi/api/websocket.py
View
navi/core/agent.py
View
navi/core/events.py
View
navi/core/registry.py
View
navi/profiles/base.py
View
navi/profiles/secretary.py
View
navi/profiles/server_admin.py
View
navi/tools/__init__.py
View
navi/tools/scratchpad.py 0 → 100644