Block a user
[kimi] fix: add logging to silent except Exception handlers (#646)
[loop-generated] [bug] Silent exception swallowing in 23 except Exception handlers across codebase
PR #692 created.
Added logger.exception() to 20 silent except Exception handlers across 9 files. No control flow changes — only logging added. All 2145 unit tests and full pre-push suite…
[kimi] fix: add logging to silent except Exception handlers (#646)
[loop-generated] [refactor] Break up mcp_tools.py::create_gitea_issue_via_mcp — 68 lines
[loop-generated] [refactor] Break up mcp_tools.py::create_gitea_issue_via_mcp — 68 lines
This refactoring was already completed in commits dd4410f and 001358c. The function create_gitea_issue_via_mcp is now 32 lines (well under the 40-line target), with helpers _build_issue_body,…
[loop-generated] [refactor] Break up memory_system.py::_create_default — 70 lines
[loop-generated] [refactor] Break up memory_system.py::_create_default — 70 lines
No changes needed. HotMemory._create_default() is already only 15 lines (lines 784–799). It formats a template string and writes it to disk — there is nothing meaningful to extract.
The…
[loop-generated] [refactor] Break up csrf.py::dispatch — 70 lines
[kimi] refactor: extract helpers from CSRFMiddleware.dispatch (#628)
[loop-generated] [refactor] Break up csrf.py::dispatch — 70 lines
PR #691 created.
- Extracted
_handle_safe_method()and_handle_unsafe_method()fromdispatch(), which is now a thin router (~15 lines) - Also fixed a pre-existing `ModuleNotFoundError: No…
[kimi] refactor: extract helpers from CSRFMiddleware.dispatch (#628)
[loop-generated] [refactor] Break up cli.py::chat — 72 lines
PR #690 created. Extracted _read_message_input() and _resolve_session_id() from chat(), reducing it to a thin orchestrator. All 1889 unit tests pass.
[kimi] refactor: extract helpers from chat() (#627)