kimi-code/packages/agent-core/test
Kaiyi 3e42ae7607 fix(agent-core): repair misplaced tool results in projected context
Long tool-use sessions could get stuck with repeated 400 errors when a tool result was not adjacent to its tool_use (for example a notification flushed between step.begin and the first tool.call, or an interrupted or nested step delaying the result). Micro compaction exposed this latent misordering by busting the prompt cache and forcing a full revalidation.

Repair the adjacency at projection time so every tool_use is immediately followed by its tool_result(s), and default the experimental micro compaction flag off.
2026-06-30 13:28:02 +08:00
..
agent fix(agent-core): repair misplaced tool results in projected context 2026-06-30 13:28:02 +08:00
base/common feat(web): introduce Kimi web app and daemon gateway (#625) 2026-06-17 20:53:46 +08:00
config feat: add workspace add-dir support (#812) 2026-06-22 19:42:13 +08:00
di feat(web): introduce Kimi web app and daemon gateway (#625) 2026-06-17 20:53:46 +08:00
errors fix: render provider HTML error messages instead of blank lines (#1191) 2026-06-29 15:49:48 +08:00
fixtures refactor(kaos): move Environment into kaos, slim package API (#147) 2026-05-28 16:50:10 +08:00
flags fix: allow obsolete experimental config entries (#584) 2026-06-09 17:00:48 +08:00
harness feat(managed-kimi-code): route anthropic protocol via beta api (#1186) 2026-06-29 14:24:01 +08:00
hooks feat: support hooks in plugins (#1127) 2026-06-26 17:02:14 +08:00
logging fix(agent-core): route session logs exclusively to session sink (#102) 2026-05-27 13:00:17 +08:00
loop refactor(agent-core): align malformed tool args with schema validation (#1209) 2026-06-29 23:24:03 +08:00
mcp ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
plugin feat: support hooks in plugins (#1127) 2026-06-26 17:02:14 +08:00
profile feat: Harden the default system prompt and built-in tool descriptions (#1102) 2026-06-26 16:56:40 +08:00
rpc feat(config): tolerate invalid config.toml sections instead of failing startup (#689) 2026-06-12 15:56:13 +08:00
services feat(web): hide empty sessions from the session list (#1166) 2026-06-28 13:38:46 +08:00
session ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
skill ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
tools chore(telemetry): add ripgrep fallback telemetry (#1203) 2026-06-29 18:30:09 +08:00
utils ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
prompt-placeholders.test.ts feat: Harden the default system prompt and built-in tool descriptions (#1102) 2026-06-26 16:56:40 +08:00