feat: add multiclaude refresh command for on-demand worktree sync#314
Merged
dlorenc merged 1 commit intodlorenc:mainfrom Jan 28, 2026
Merged
feat: add multiclaude refresh command for on-demand worktree sync#314dlorenc merged 1 commit intodlorenc:mainfrom
dlorenc merged 1 commit intodlorenc:mainfrom
Conversation
Addresses P0 roadmap item "Worktree sync". Adds: - trigger_refresh socket command in daemon - multiclaude refresh CLI command that triggers immediate worktree sync - Allows merge-queue or users to force refresh after PRs merge The existing 5-minute refresh loop continues unchanged; this adds on-demand capability for faster sync when needed. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Contributor
Author
|
✅ Merge Queue Approval This PR has been reviewed and is ready to merge:
Recommended action: Merge via squash 🤖 Approved by merge-queue agent |
Contributor
Author
✅ APPROVED FOR MERGEMerge Queue Evaluation: This PR is approved and ready for upstream maintainer to merge. Status:
What it adds:
Roadmap alignment: P0 item states "Worktree sync: Keep agent worktrees in sync with main as PRs merge" - this provides the manual trigger mechanism. Upstream maintainer: This PR is ready to merge whenever you're ready. |
3 tasks
aronchick
added a commit
to aronchick/multiclaude
that referenced
this pull request
Jan 29, 2026
…orenc#314) Addresses P0 roadmap item "Worktree sync". Adds: - trigger_refresh socket command in daemon - multiclaude refresh CLI command that triggers immediate worktree sync - Allows merge-queue or users to force refresh after PRs merge The existing 5-minute refresh loop continues unchanged; this adds on-demand capability for faster sync when needed. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
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
trigger_refreshsocket command in daemon for programmatic refresh triggeringmulticlaude refreshCLI command that triggers immediate worktree syncAddresses P0 roadmap item "Worktree sync: Keep agent worktrees in sync with main as PRs merge"
Changes
internal/daemon/daemon.gohandleTriggerRefreshhandler andtrigger_refreshsocket commandinternal/cli/cli.gorefreshcommand registration and implementationTest plan
go build ./cmd/multiclaude- compiles successfullygo test ./internal/daemon/...- all tests passgo test ./internal/cli/...- all tests passmulticlaude refreshtriggers refresh and shows success messageUsage
# Trigger immediate worktree refresh for all agents multiclaude refresh🤖 Generated with Claude Code