Skip to content

Add inactive session artifact janitor#6

Draft
zzj3720 wants to merge 1 commit into
mainfrom
codex/session-artifact-janitor
Draft

Add inactive session artifact janitor#6
zzj3720 wants to merge 1 commit into
mainfrom
codex/session-artifact-janitor

Conversation

@zzj3720
Copy link
Copy Markdown
Collaborator

@zzj3720 zzj3720 commented Apr 8, 2026

Summary

  • add a session artifact janitor that cleans rebuildable macOS worktree artifacts for inactive sessions
  • gate cleanup on no active turn, no pending inbound work, and no running background jobs
  • document and test the new cleanup knobs

Testing

  • pnpm exec vitest run test/config.test.ts test/session-artifact-janitor.test.ts
  • pnpm build
  • manual smoke: temp-dir session manager run showing inactive .build removed while active session .build remained

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