Repository navigation
Conversation
Add support for custom base branches in worktree creation, enabling feature integration branch workflows. Users can now branch from a custom base instead of main when running sequant workflows. Changes: - Add --base <branch> CLI option to `sequant run` command - Add `defaultBase` field to RunSettings for project-level config - Update ensureWorktree(s) and ensureWorktreesChain to accept base branch - Update new-feature.sh script to support --base flag - Update /solve, /exec, /spec skills to document base branch usage - Add feature-branch-workflow.md documentation guide - Update README.md with --base examples Resolution priority: CLI --base flag → settings.run.defaultBase → main Closes #122 Co-Authored-By: Claude Opus 4.5 <[email protected]>
admarble
deleted the
feature/122-feat-add-base-flag-to-sequant-run-for-custom-base-
branch
January 19, 2026 05:55
11 tasks
This was referenced Mar 22, 2026
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
--base <branch>CLI option tosequant runcommand for custom base branchesdefaultBasefield toRunSettingsfor project-level configuration/solve,/exec,/specskills to document and recommend base branch usagedocs/feature-branch-workflow.mddocumentation guideChanges
bin/cli.ts--baseoption to run commandsrc/lib/settings.tsdefaultBasetoRunSettingsinterfacesrc/commands/run.tstemplates/scripts/new-feature.sh--baseflag for worktree creation.claude/skills/solve/SKILL.md--baseusage and detection.claude/skills/exec/SKILL.md.claude/skills/spec/SKILL.mdREADME.md--baseusage examplesdocs/feature-branch-workflow.mdResolution Priority
Example Usage
Test plan
npm testpasses (438 tests)npm run buildsucceeds--baseoptionnpx sequant run <issue> --base <branch>creates worktree from specified branchdefaultBaseis respected when no flag providedCloses #122
🤖 Generated with Claude Code