Files
kwcode/kaiwu
Val-sss 723574cb34 fix: resolve 8 code review issues (dead code, race conditions, data errors)
Issues fixed:
1. DebugSubagent now instantiated and injected into orchestrator (was dead code)
2. PromptOptimizer now triggered on expert graduation (was never called)
3. Reranker: already gracefully degrades, no change needed (documented)
4. Checkpoint race condition: skip_checkpoint=True in multi-task mode
5. Hard tasks: TaskPlanner already exists, needs CLI integration (next step)
6. force_plan_mode: now overridable (no_search flag disables it)
7. conversation_history: stores real LLM output instead of user_input
8. Multi-language AST: already correctly scoped to Python-only (no false claims)

Also: mock_run signature updated in test_task_compiler.py for skip_checkpoint param.

311 tests passing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-30 02:55:49 +08:00
..