|
Autonomous reasoning improvements: budget, anchoring, anti-stall, validation
- AgentProfile: per-profile thinking mechanics flags (think_enabled, iteration_budget_enabled, goal_anchoring, anti_stall, step_validation, planning_reflect, adaptive_replan) — all profiles updated in config.json - Iteration budget: inject remaining iterations into context so model knows when to wrap up; urgency levels at ≤7 and ≤3 remaining - Goal anchoring: inject original goal + todo state every N iterations to prevent drift on long tasks - Anti-stall: two signals — no todo progress for N iterations, or identical tool calls repeated N times; warning injected into context - Todo step validation: marking done requires a validation field describing how result was verified; failed gets a soft nudge with tip for re-planning - stream_complete: add think param to base class, ollama and openai backends - Summarizer: raise max_tokens 1024→3000, expand system prompt with user-preferences section and verbatim-value instructions - Compression card: persist to session.messages (is_compression flag on Message), show expandable summary in webclient with markdown body - ToolResult.to_message_content: always include output on failure so tracebacks and error details reach the model (fixes silent Error: None) - Developer profile: fix subagent profile secretary→developer, add write_tool to subagent_tools, clarify write_tool vs filesystem in system prompt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
|---|
|
|
| CLAUDE.md |
|---|
| navi/config.py |
|---|
| navi/core/agent.py |
|---|
| navi/core/compressor.py |
|---|
| navi/llm/base.py |
|---|
| navi/llm/ollama.py |
|---|
| navi/llm/openai_backend.py |
|---|
| navi/profiles/base.py |
|---|
| navi/profiles/developer/config.json |
|---|
| navi/profiles/developer/subagent_system_prompt.txt |
|---|
| navi/profiles/developer/system_prompt.txt |
|---|
| navi/profiles/secretary/config.json |
|---|
| navi/profiles/server_admin/config.json |
|---|
| navi/tools/base.py |
|---|
| navi/tools/todo.py |
|---|
| navi/workers/compressor.py |
|---|
| webclient/dist/assets/index-CzedwUs9.js 0 → 100644 |
|---|
|
Not supported
|
| webclient/dist/assets/index-eEP-Qhbj.css 0 → 100644 |
|---|
| webclient/dist/index.html |
|---|
| webclient/src/components/messages/CompressionNotice.vue |
|---|
| webclient/src/stores/chat.js |
|---|
| webclient/src/styles/app.scss |
|---|