Materialize remote workspaces for local runners#957
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add an explicit DMC lifecycle operation that materializes registered GitHub API workspace state into authoritative local checkouts for command runners.
What changed
How to test
php tests/worktree-add-lifecycle.php; expect An unpushed remote worktree materializes locally from origin/main, retains its task URL, and appears in targeted lookup..php tests/mounted-runtime-context.php; expect Existing mounted-runtime backend behavior remains valid..Compatibility
Existing remote API workspaces remain unchanged until materialize is explicitly invoked; normal clone, duplicate-remote, freshness, disk-budget, bootstrap, context injection, and task-tracker policies remain authoritative.
Evidence
AI assistance
Source relationships