テーマ: context-management
-
長いタスクのためにコンテキストウィンドウを配分する
コンテキストウィンドウを、固定の指示とツール定義、タスク資料、直近の結果の作業集合、回答用の余裕という四つの予算に分けて扱う。確実に見つけるべき情報を先頭か末尾に置き、上限に達する前に圧縮点を設け、圧縮後も残る作業メモに計画を保存する。
-
Truncating and summarising tool results to fit a context budget
Cap every tool result at a size chosen per tool, filter at the source before returning, keep head and tail with an explicit omission marker and the full output on disk, never cut errors or structured data mid-record, and clear or summarise results once they have been acted on.
機械可読: JSON