Extract Claude & Zellij into plugins, add gw wizard#28
Merged
Conversation
Grove's core is now a pure git worktree orchestrator. Tool-specific integrations (Claude Code, Zellij) live in standalone plugin repos, composable via the lifecycle hook system. Removed from core: - internal/claude/ (memory sync) → nicksenap/gw-claude - internal/hook/ (event handler + installer) → nicksenap/gw-claude - cmd/claude_hook.go, cmd/hook.go (gw hook install/uninstall/status, gw _hook) - ClaudeMemorySync config field, ClaudeDir/WorkspaceDir from Service - zellijCloseFallback() legacy Zellij behavior - Legacy doctor nudges for Claude/Zellij - Legacy copyParentCLAUDEmd fallback in create Added: - pre_delete lifecycle hook in cmd/delete.go - gw wizard — interactive plugin + hook setup - gw init now suggests gw wizard Plugin repos (published with releases): - https://github.com/nicksenap/gw-claude (v0.1.0) - https://github.com/nicksenap/gw-zellij (v0.1.0) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix variable shadowing: rename inner exec.Cmd to hookCmd - Handle plugin.Find error instead of discarding it Co-Authored-By: Claude Opus 4.6 (1M context) <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
nicksenap/gw-claude(v0.1.0)nicksenap/gw-zellij(v0.1.0)pre_deletelifecycle hook — fires before workspace deletion (enablesgw claude sync harvest)gw wizard— interactive setup for plugins and hooksGrove's core is now a pure git worktree orchestrator. Tool integrations are composable via hooks:
What was removed
internal/claude/— memory sync (→ gw-claude)internal/hook/— event handler + installer (→ gw-claude)cmd/claude_hook.go,cmd/hook.go—gw hook install/uninstall/status,gw _hookClaudeMemorySyncconfig fieldzellijCloseFallback()legacy behaviorcopyParentCLAUDEmdfallbackMigration
Test plan
go test ./...— all unit tests passe2e/run.sh— 73 pass, 0 failgw plugin install nicksenap/gw-claudeworks from published releasegw plugin install nicksenap/gw-zellijworks from published release🤖 Generated with Claude Code