Skip to content

chore: steward self-purge for isolated claude_cli scratch transcripts#183

Merged
wolverin0 merged 1 commit into
mainfrom
chore/scratch-transcript-purge
Jul 6, 2026
Merged

chore: steward self-purge for isolated claude_cli scratch transcripts#183
wolverin0 merged 1 commit into
mainfrom
chore/scratch-transcript-purge

Conversation

@wolverin0

Copy link
Copy Markdown
Owner

Closes the v4.4.0 follow-up. The scratch cwd that keeps headless claude --print sessions out of the --continue folder still grows on disk; the steward cycle now purges *.jsonl older than 2 days from it (matched by scratch basename so MEMORYMASTER_CLAUDE_CLI_CWD override works). Best-effort, never raises. +2 tests, ruff clean.

🤖 Generated with Claude Code

Closes the 4.4.0 follow-up: the scratch cwd that keeps headless 'claude --print'
sessions out of the --continue folder still accumulates on disk. The steward
cycle now calls llm_provider.purge_claude_cli_scratch() (delete *.jsonl older
than 2 days, matched by scratch basename so MEMORYMASTER_CLAUDE_CLI_CWD override
works). Best-effort, never raises. 76 provider tests green (+2 new), ruff clean.
@wolverin0
wolverin0 merged commit 4df1bb3 into main Jul 6, 2026
7 checks passed
@wolverin0
wolverin0 deleted the chore/scratch-transcript-purge branch July 6, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant