Skip to content

Materialize remote workspaces for local runners#957

Merged
chubes4 merged 1 commit into
mainfrom
fix/956-remote-materialization-filter
Jul 24, 2026
Merged

Materialize remote workspaces for local runners#957
chubes4 merged 1 commit into
mainfrom
fix/956-remote-materialization-filter

Conversation

@chubes4

@chubes4 chubes4 commented Jul 24, 2026

Copy link
Copy Markdown
Member

Summary

Add an explicit DMC lifecycle operation that materializes registered GitHub API workspace state into authoritative local checkouts for command runners.

What changed

  • A new workspace materialize ability and CLI command resolve registered remote identity, clone or validate the local primary, create the local worktree from the remote branch or recorded base when unpushed, preserve task metadata, and return a resolver-ready local path.

How to test

  1. Run 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..
  2. Run 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

  • AI assistance: Yes
  • Tool(s): Homeboy (OpenCode with Homeboy)
  • Model: openai/gpt-5.6-terra + openai/gpt-5.6-sol
  • Used for: OpenAI gpt-5.6-terra drafted the materialization ability, CLI, lifecycle, and regression test through Homeboy; OpenAI gpt-5.6-sol reviewed the patch, found and fixed the unpushed-branch base-ref gap, and ran deterministic verification. Chris Huber owns the committed result.

Source relationships

@chubes4
chubes4 merged commit a211c3f into main Jul 24, 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.

Materialize remote workspaces for local command runners

1 participant