You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fork repo: peteromallet/dataclaw
Workspace: ~/dataclaw (needs to be cloned first: gh repo clone peteromallet/dataclaw ~/dataclaw)
Create a PR to the upstream repo (peteromallet/dataclaw).
Issue #16 — Prevent automatic deletion of old sessions
Summary: Some agentic coding tools (Claude Code, Gemini CLI) automatically clean up sessions older than 30 days. This causes data loss for dataclaw which needs to preserve session data.
Issue body:
Some agentic coding tools may automatically clean up sessions older than 30 days. I've confirmed Claude Code and Gemini CLI do so by default. We may tell users to configure these tools not to do so, which helps preserve more data.
Or we may incrementally collect data in dataclaw and make a cron job to periodically do so. But for now I think incremental processing is not strictly needed for data < 100 MB.
Read the existing codebase to understand how dataclaw collects and stores session data
Implement a solution to prevent/mitigate automatic deletion (e.g., incremental collection via cron, documentation for tool config, or backup mechanism)
Consider the proxy approach mentioned in comments as an alternative
Keep it simple — no over-engineering for < 100 MB data
Deliverables
Clone repo if not present
Create a branch (e.g. fix/issue-16-prevent-session-deletion)
Fork repo: peteromallet/dataclaw
Workspace: ~/dataclaw (needs to be cloned first:
gh repo clone peteromallet/dataclaw ~/dataclaw)Create a PR to the upstream repo (peteromallet/dataclaw).
Issue #16 — Prevent automatic deletion of old sessions
Summary: Some agentic coding tools (Claude Code, Gemini CLI) automatically clean up sessions older than 30 days. This causes data loss for dataclaw which needs to preserve session data.
Issue body:
Some agentic coding tools may automatically clean up sessions older than 30 days. I've confirmed Claude Code and Gemini CLI do so by default. We may tell users to configure these tools not to do so, which helps preserve more data.
Or we may incrementally collect data in dataclaw and make a cron job to periodically do so. But for now I think incremental processing is not strictly needed for data < 100 MB.
Comment from @wjessup (2026-03-01):
Approach
Deliverables
fix/issue-16-prevent-session-deletion)peteromallet/dataclawreferencing the issue (Fixes Remove duplicate API docs from CLAUDE.md — MCP description already covers it #16)