Repository navigation
feat(#31): Worktree isolation and multi-issue integration - #35
Merged
admarble merged 2 commits intoJan 9, 2026
Merged
Conversation
Implements automatic worktree creation for issue isolation during execution: - Auto-create worktrees before exec/qa phases when running `sequant run` - Set SEQUANT_WORKTREE and SEQUANT_ISSUE environment variables for hooks - Reuse existing worktrees for resumed work - Copy .env.local and .claude/settings.local.json to worktrees - Install dependencies automatically in new worktrees Adds dependency tracking and ordering: - Parse DEPENDS_ON declarations from issue body and labels - Topological sort issues by dependencies before execution - Support patterns: "Depends on: #123", "depends-on/123" labels Adds exported functions for conflict detection: - listWorktrees() - Get all active worktrees with issue numbers - getWorktreeChangedFiles() - Get files changed in a worktree Includes tests for: - listWorktrees parsing - getWorktreeChangedFiles behavior - Dependency pattern detection Fixes #31 Co-Authored-By: Claude Opus 4.5 <[email protected]>
24 tasks
Update .gitignore to track Claude Code configuration: - .claude/hooks/ - Pre/post tool hooks for security and quality - .claude/skills/ - Skill definitions including /merger and /spec - .claude/settings.json - Hook configuration Still ignored: - .claude/settings.local.json - Local/sensitive settings - .claude/memory/ - Context memory files This enables the worktree isolation hooks and multi-issue integration skills to be shared with the repository. Co-Authored-By: Claude Opus 4.5 <[email protected]>
admarble
deleted the
feature/31-feat-worktree-isolation-and-multi-issue-integra
branch
January 9, 2026 21:02
11 tasks
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
sequant runChanges
Worktree Isolation (AC-1 through AC-5)
sequant runautomatically creates worktrees before exec/qa phasesSEQUANT_WORKTREEandSEQUANT_ISSUEenvironment variables.env.localand.claude/settings.local.jsonto worktreesDependency Tracking (AC-9, AC-14)
DEPENDS_ONfrom issue body (Depends on: #123)depends-on/NlabelsConflict Detection Support (AC-6, AC-7)
listWorktrees()function to get active worktreesgetWorktreeChangedFiles()for file diff analysisHook Enforcement (AC-4) - Local Configuration
The pre-tool hook has been enhanced to support
SEQUANT_WORKTREEenvironment variable for worktree boundary enforcement. This is local Claude Code configuration (.claude/hooks/pre-tool.sh).Skills Created - Local Configuration
/mergerskill for post-QA integration of completed worktrees/specskill with in-flight work conflict detectionNote: Skills and hooks are in
.claude/which is gitignored. These are operational configurations documented in the skill files.Test plan
sequant run 1- verify worktree is createdsequant run 1 2with issue 2 depending on 1 - verify orderingnpm test- all 156 tests passnpm run build- builds successfully🤖 Generated with Claude Code