kimi-code/packages/agent-core/test/agent
STAR-QUAKE 9b76e5bff6
feat(agent-core): discard loaded tool schemas on compaction (#1471)
Align progressive tool disclosure with the discard-on-compaction model:
compaction no longer rebuilds loaded dynamic tool schemas. The boundary
announcement re-lists every loadable name, the model re-selects what it
still needs, and a from-memory call to a no-longer-loaded tool is
rejected by preflight with select guidance.

This removes the keep-all rebuild and its half-trigger budget heuristics
entirely: the post-compaction floor is back to users + summary, which is
structurally outside the auto-compaction trigger band, and the guard
baseline degenerates to summary + reinjected reminders. Every downstream
mechanism already treated the empty loaded set as its consistent base
state (ledger scan, pending clear at the compaction boundary, deferred
extras, preflight wording), so this is a strict simplification.

Co-authored-by: fengchenchen <fengchenchen@moonshot.ai>
2026-07-07 23:06:29 +08:00
..
background fix(agent-core): cap background shell output to match foreground (#1372) 2026-07-04 18:48:04 +08:00
compaction feat(agent-core): record llm request trace in wire.jsonl (#1448) 2026-07-07 14:09:19 +08:00
config feat: add model alias overrides (#1262) 2026-07-01 19:57:13 +08:00
context fix(agent-core): harden tool_use/tool_result exchange integrity (#1340) 2026-07-03 14:26:57 +08:00
cron feat(cron): render scheduled reminders in TUI and expose fired events (#204) 2026-06-01 11:34:35 +08:00
harness feat(agent-core): progressive tool disclosure via select_tools (#1369) 2026-07-06 15:51:08 +08:00
injection fix: clarify goal blocked audit guidance (#1481) 2026-07-07 22:29:40 +08:00
permission feat(goal): support guided goal authoring (#839) 2026-06-18 18:48:23 +08:00
records refactor: move tool-result metadata into a structured note side channel (#1437) 2026-07-07 11:40:27 +08:00
turn feat(agent-core): detect and escalate repeated tool calls to prevent infinite loops (#364) 2026-06-03 14:16:14 +08:00
basic.test.ts feat(agent-core): record llm request trace in wire.jsonl (#1448) 2026-07-07 14:09:19 +08:00
bg-idle-notification-repro.test.ts fix: preserve long tool output (#1062) 2026-06-24 14:42:11 +08:00
config-state.test.ts feat(agent-core): enable Preserved Thinking by default on the Anthropic provider (#1432) 2026-07-06 23:45:17 +08:00
config.test.ts feat(agent-core): record llm request trace in wire.jsonl (#1448) 2026-07-07 14:09:19 +08:00
context.test.ts refactor: move tool-result metadata into a structured note side channel (#1437) 2026-07-07 11:40:27 +08:00
dynamic-tools.test.ts feat(agent-core): progressive tool disclosure via select_tools (#1369) 2026-07-06 15:51:08 +08:00
goal-outcome.test.ts fix: polish goal lifecycle messaging (#555) 2026-06-09 11:47:00 +08:00
goal.test.ts fix(agent-core): harden goal-mode budget and outcome flow (#1456) 2026-07-07 15:23:57 +08:00
image-caption-injection.test.ts fix(agent-core): route image-compression captions through hidden system reminders (#1348) 2026-07-03 16:21:10 +08:00
kosong-llm.test.ts feat: record model response id in wire logs (#1349) 2026-07-03 17:15:04 +08:00
llm-request-recorder.test.ts feat(agent-core): record llm request trace in wire.jsonl (#1448) 2026-07-07 14:09:19 +08:00
permission.test.ts feat(agent-core): record llm request trace in wire.jsonl (#1448) 2026-07-07 14:09:19 +08:00
plan.test.ts feat(agent-core): record llm request trace in wire.jsonl (#1448) 2026-07-07 14:09:19 +08:00
question.test.ts feat(agent-core): ModelProvider interface and SingleModelProvider (#167) 2026-05-28 22:27:09 +08:00
resume.test.ts refactor: move tool-result metadata into a structured note side channel (#1437) 2026-07-07 11:40:27 +08:00
skill-prompt.test.ts fix: surface skill directory in the loaded-skill context block (#785) 2026-06-15 22:29:00 +08:00
skill-tool-manager.test.ts fix: surface skill directory in the loaded-skill context block (#785) 2026-06-15 22:29:00 +08:00
tool-result-render.test.ts refactor: move tool-result metadata into a structured note side channel (#1437) 2026-07-07 11:40:27 +08:00
tool-select.e2e.test.ts feat(agent-core): discard loaded tool schemas on compaction (#1471) 2026-07-07 23:06:29 +08:00
tool.test.ts feat(agent-core): record llm request trace in wire.jsonl (#1448) 2026-07-07 14:09:19 +08:00
turn.test.ts feat(agent-core): record llm request trace in wire.jsonl (#1448) 2026-07-07 14:09:19 +08:00
usage.test.ts Kimi For Coding 2026-05-22 15:54:50 +08:00