Commit Graph

8 Commits

Author SHA1 Message Date
Teknium e83816a4d1 review-fix(comments): restore lost #NNNN rationale comments across non-test source (mechanical sweep, condensed, code unchanged)
For each issue anchor present in BASE 63279301bc non-test .py and absent on HEAD, the BASE comment/docstring block was re-attached at the HEAD location of the code it explained (matched by the distinctive code line / enclosing def). Sentences already covered by an existing HEAD comment were deduped; the issue number always survives. Insert-only: no code lines changed.
2026-09-03 09:44:26 -07:00
Teknium 05f4d4b94b refactor(agent/turn_finalizer,turn_stop_gates): session counter keys table, tighten nudge counters 2026-09-02 19:30:27 -07:00
Teknium c449a340b6 refactor(agent/turn): comment/docstring pass — keep WHYs, drop narrative and restated code 2026-09-02 19:26:50 -07:00
Teknium 1d378664cb refactor(agent/turn_tool_round,turn_stop_gates,turn_tool_validation,turn_final_response): dedupe nudge/error-result/partial-exit blocks, drop dead verdict scaffolding 2026-09-02 18:45:32 -07:00
Teknium c94ced6225 refactor(agent/turn): AST-neutral bracket/signature packing across r3-08 slice 2026-09-02 18:01:27 -07:00
Teknium 7dc43c94d1 refactor(turn): sub-split handle_api_error / check_api_response / run_tool_round so no new turn_* function exceeds 300 LOC 2026-09-02 17:28:22 -07:00
Teknium 2769937936 refactor(turn): lift iteration entry/announce, Nous rate guard, API interrupt, retry-restart consumer and preflight-timeout result out of run_conversation 2026-09-02 16:37:14 -07:00
Teknium 0dc36e0934 refactor(turn): extract tool round + final text response branches into agent/turn_tool_round.py, agent/turn_final_response.py 2026-09-02 15:40:17 -07:00