When the summarization middleware triggers in deepagents, it offloads the conversation history to a conversation_history/ directory created in the target repository root.
This pollutes the workspace being documented: the directory can be swept into version control by accident, and subsequent OpenWiki update runs (or other agents working in the repo) can discover and read these history files, bloating context with stale transcript content.
Observed while running --init/--update cycles against a mid-size repository on the OpenRouter path with summarization triggering at a configured input-token cap.
Suggested fixes (either would resolve it):
- Redirect the offload location outside the target repository — e.g.
~/.openwiki/<repo-hash>/conversation_history/ alongside the existing credential storage, or a temp path.
- At minimum, add
conversation_history/ to the prompt-level discovery/read exclusions so documentation runs never inspect it.
Related: I'm submitting a small opt-in hardening PR for the OpenRouter path (early-summarization token cap, subagent/fallback kill switches) — this issue is the remaining workspace-pollution item discovered during that testing.
When the summarization middleware triggers in
deepagents, it offloads the conversation history to aconversation_history/directory created in the target repository root.This pollutes the workspace being documented: the directory can be swept into version control by accident, and subsequent OpenWiki update runs (or other agents working in the repo) can discover and read these history files, bloating context with stale transcript content.
Observed while running
--init/--updatecycles against a mid-size repository on the OpenRouter path with summarization triggering at a configured input-token cap.Suggested fixes (either would resolve it):
~/.openwiki/<repo-hash>/conversation_history/alongside the existing credential storage, or a temp path.conversation_history/to the prompt-level discovery/read exclusions so documentation runs never inspect it.Related: I'm submitting a small opt-in hardening PR for the OpenRouter path (early-summarization token cap, subagent/fallback kill switches) — this issue is the remaining workspace-pollution item discovered during that testing.