Skip to content
Dustin's AI Lab
Go back

別把上一個對話的 JSON 餵給它,先體檢 harness

不必把上一個對話的上下文 JSON 整包餵進去:harness 有好幾種,AGENTS.md、rule、skill、hook 都能分擔,純 session history 含太多無用的 tool call。


不是,為什麼要給它上一個對話的上下文 JSON。

harness 有好幾種,AGENTS.md、rule、skill、hook 這些都能分擔,把前一個對話的重點總結成臨時文檔也很好。

純 session history 裡面含有太多 tool call、output、flag 是無用的,就連 auto compact 的時候這些都會被摘除。

建議先重新體檢 harness。


Share this post on:

Previous Post
Claude Code 週年對話的幾個重點
Next Post
用 Claude 處理敏感資料前必知