7 Commits
Author SHA1 Message Date
linkliti 56644afbbf fix(ui): show retry notices for recovered model turns as utility rows
Recovered turns showed no hint that the reply was kept as thoughts and retried, because earlier notices had been silenced and the new non-action prose branch logged none. The notices return as utility rows following the Show utility messages preference and carry the warning message id so they stay attached to their history warning. Both plain-text rows share one wording adapted from the pre-silence fallback prompt, following the surviving fw.msg_reasoning_only_response.md pattern and the recovery-notice sync contract that keeps the core and plugin rows identical.

Validation: pytest tests/test_message_loop_result.py plugins/_context_doctor/tests/test_context_doctor.py tests/test_leaked_tool_call_integration.py tests/test_unusable_response_loop.py tests/test_plain_response_logging.py tests/test_responses_architecture.py tests/test_prompt_catalogs.py (7 failed, 327 passed in 9.28s; the failures reproduce identically on the base commit)
2026-11-28 13:35:53 +03:00
Alessandro 039efe4198 Keep model prose as thoughts and retry silently
Preserve free text and reasoning-only output in the current generation
and retry without intermediate warning rows. Require an explicit response
tool call to finish in both API modes, including after provider built-in
actions.

Keep history metadata, Responses state, tool validation and the
consecutive-failure stop intact. Allow core retries when Context Doctor
and its prompts are unavailable.

Validation: 411 backend tests and 2 Chromium live/replay grouping tests
passed; live runtime health check passed.
2026-11-01 06:50:49 +01:00
linkliti d75f6a259d Dedupe response-tool prompt clause and document reasoning revert intent
Drop duplicate plain-text-invalid clause from response_tool_tips (covered by communication.md). Note reasoning-to-thoughts revert (77e55152) as maintainer UX call in response_stream_end DOX.
2026-09-04 15:12:39 +03:00
linkliti 77e5515261 Revert escalating reasoning to thoughts kvp
Revert the stream-end copy of reasoning into thoughts, the context-doctor preservation of thoughts through log refresh, the related regression tests, and the AGENTS.md wording. thoughts is no longer auto-populated from reasoning when absent.
2026-09-03 03:37:59 +03:00
Alessandro dcf5c1500e Preserve native reasoning as thoughts
Promote native reasoning summaries after response streaming completes and keep the normalized thoughts through Context Doctor log refreshes. Add regression coverage for both lifecycle boundaries.
2026-08-27 08:54:47 +02:00
frdel e138e33ca9 Add file-level DOX docs & update AGENTS indexes
Add comprehensive file-level DOX documentation across the repo and update directory AGENTS.md indexes. Many new `*.py.dox.md` files were added under api, helpers, tools, plugins, extensions, webui, and other dirs to document endpoint purpose, ownership, runtime contracts, work guidance, and verification. Several AGENTS.md files were created or updated (agents profiles, api, docker, extensions, helpers, plugins, skills, webui components, etc.) to list child DOX files and clarify documentation/work guidance. Also add example and bundled profile DOX files (agent0, default, developer, hacker, researcher) and minor updates to helpers/dirty_json.py and its tests. These changes improve on-disk documentation coverage and establish the convention that each direct runtime file should have a matching `*.dox.md` describing its contracts and verification steps.
2026-06-08 12:41:53 +02:00
frdel d02dda3667 BIG PYTHON REFACTOR
Python scripts moved out of python/ folder to root to be unified with plugins

+ frontend extension around api calls
2026-03-05 17:28:11 +01:00