feat: add /lfg-ext — external delegate LFG (Codex/Gemini/OpenCode in parallel worktrees)#223
Open
terry-li-hm wants to merge 2 commits intoEveryInc:mainfrom
Open
feat: add /lfg-ext — external delegate LFG (Codex/Gemini/OpenCode in parallel worktrees)#223terry-li-hm wants to merge 2 commits intoEveryInc:mainfrom
terry-li-hm wants to merge 2 commits intoEveryInc:mainfrom
Conversation
Adds a new /lfg-ext command that runs the full CE planning and review pipeline but replaces /ce:work swarm with external tools (Codex, Gemini CLI, OpenCode) running in parallel git worktrees. Key differences from /slfg: - Uses external tools instead of Claude Task agents → preserves Max20 budget - Delegates run in isolated worktrees via worktree-manager.sh - Includes tool availability check with graceful /slfg fallback - Plan must be committed before worktree creation (worktrees see git history only, not the working tree) - OpenCode sandbox restriction documented (writes outside worktree blocked) Validated on a real Rust feature implementation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
…rgon - Move tool availability check (Phase 2) before worktree creation (Phase 3) so we fail fast if no delegates are available - Remove "Max20" jargon — replaced with "Claude token budget" in description - Drop OpenCode from delegate table (too setup-specific; Codex+Gemini cover all cases) - Add note explaining why /feature-video is omitted 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Collaborator
|
that is cool! |
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
Adds
/lfg-ext, a new workflow command that runs CE planning and review but replaces/ce:workswarm with external AI coding tools (Codex, Gemini CLI, OpenCode) running in isolated git worktrees.Motivation
Users with Max20 plans burn tokens on CE swarm agents during execution. For teams that already have Codex, Gemini CLI, or OpenCode installed, delegating execution to those tools is free and often faster — while still getting CE's planning depth and review quality.
How it works
/ce:plan+/deepen-planas normalworktree-manager.sh/ce:reviewKey design decisions
worktree-manager.shfrom the existinggit-worktreeskill — no new dependencies/slfgif no external tools installed/lfg-extvs/slfg— clear guidance on when to use eachValidated against
A real Rust feature implementation (
.envfile copying +.gitignoremanagement in a worktree manager CLI). Codex implemented the feature from a CE plan. 4/4 tests passed,cargo clippyclean on first run.Gotcha discovered during testing
Worktrees only see committed git history. If
/ce:planwrites the plan file but it isn't committed beforeworktree-manager.sh create, delegates can't find the plan. Step 3 (commit plan) is explicit in the command for this reason.Files changed
commands/lfg-ext.md— new command.claude-plugin/plugin.json— version 2.38.1 → 2.39.0, commands 22 → 23CHANGELOG.md— 2.39.0 entryREADME.md— commands count + table entry.claude-plugin/marketplace.json— version + description sync