Skip to content

Schedule safe workspace cleanup by default - #986

Merged
chubes4 merged 1 commit into
mainfrom
fix/255-automatic-safe-cleanup
Jul 29, 2026
Merged

Schedule safe workspace cleanup by default#986
chubes4 merged 1 commit into
mainfrom
fix/255-automatic-safe-cleanup

Conversation

@chubes4

@chubes4 chubes4 commented Jul 29, 2026

Copy link
Copy Markdown
Member

Summary

  • add an enabled-by-default hourly workspace safe-cleanup maintenance task
  • compose the existing WorkspaceSafeCleanupOrchestrator
  • bound runs by item count, passes, cycles, and stage budget
  • keep force and unpushed-discard modes disabled
  • expose execution through existing task, schedule, health, and cleanup evidence surfaces

Testing

  • php tests/workspace-safe-cleanup-schedule.php
  • php tests/workspace-safe-cleanup-orchestrator.php
  • adjacent cleanup status, capacity, and evidence tests
  • PHP syntax checks
  • git diff --check origin/main...HEAD

Closes #255.

AI assistance

OpenAI GPT-5.6 Sol using OpenCode drafted the implementation and focused tests through a general coding subagent. The resulting diff was rebased and independently re-run against the targeted tests before publication. Chris Huber remains responsible for the change.

@chubes4
chubes4 merged commit 4d7be66 into main Jul 29, 2026
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.

Run safe workspace cleanup automatically instead of relying on agents

1 participant