Unverified50% confidenceFactExact time
In context engineering, typical uses of hooks include: truncating or formatting tool results before they enter the context, triggering summary compression after each round of dialogue, and triggering retrieval or cleanup when the context approaches the window limit.
1
Sources
50%
Confidence
Long-term
Relevance
10/20/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedContext compression refers to summarizing or trimming historical conversations and tool outputs in long multi-turn tasks to fit within the model's context window limit80% similarUnverifiedContext-Mode output sandboxing refers to policy-based interception and filtering of tool outputs, completing the processing before writing into the agent's working memory to prevent unnecessary tokens from entering the context.78% similarVerifiedCommon context pruning strategies include sliding window (retaining the most recent N messages), summary compression (summarizing old messages into a summary), and importance filtering (prioritizing the retention of tool call results).76% similarUnverifiedTool outputs are repeatedly read and repeatedly billed in every subsequent round of conversation until the context is compressed.75% similarUnverifiedContext Mode的快照机制在压缩发生前将任务状态(包括规划树、文件修改记录、决策上下文)序列化保存,压缩后再注入新的上下文75% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1076549API
curl https://kongchang.com/api/v1/knowledge/claims/1076549MCP
get_claim(id=1076549)