Skip to content

Expose a plan-bound worktree retention provider - #1312

Merged
chubes4 merged 1 commit into
mainfrom
feat/homeboy-retention-provider
Aug 30, 2026
Merged

Expose a plan-bound worktree retention provider#1312
chubes4 merged 1 commit into
mainfrom
feat/homeboy-retention-provider

Conversation

@chubes4

@chubes4 chubes4 commented Aug 30, 2026

Copy link
Copy Markdown
Member

Summary

  • expose studio wp datamachine-code workspace retention-provider as a strict JSON stdin/stdout endpoint
  • delegate plan, apply, status, and evidence operations directly to the DB-backed CleanupRunService
  • persist stable plan identity, inventory continuation, and normalized blockers with reviewed cleanup runs
  • reject mismatched apply identity before mutation while preserving existing per-row safety revalidation
  • return bounded Homeboy-compatible continuation, effects, blockers, and status/evidence references

Provider implementation for Extra-Chill/homeboy#13813 and Extra-Chill/homeboy#13842.

Verification

  • php tests/worktree-retention-provider.php
  • php tests/cleanup-run-durable-planning.php
  • php -l inc/Workspace/WorktreeRetentionProvider.php
  • php -l inc/Workspace/CleanupRunService.php
  • php -l inc/Cli/Commands/WorkspaceCommand.php
  • git diff --check

AI assistance

OpenAI gpt-5.6-sol via OpenCode inspected DMC cleanup planning and apply persistence, implemented the thin Homeboy protocol adapter, added fail-closed identity and wire-shape tests, and ran targeted verification. Chris Huber directed the architecture and reviewed the resulting behavior.

@chubes4
chubes4 marked this pull request as ready for review August 30, 2026 13:51
@chubes4
chubes4 merged commit 81f1b94 into main Aug 30, 2026
17 of 18 checks passed
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