Skip to content

Previous worktrees are only detected if you reject the creation of an epic loan. #999

Description

@NoahCardoza

When I run il start on a ticket that I've already started as an epic loom, it asks me if I'd like to create an epic loom. Again, if I say yes, it proceeds to begin to create a new loom.

If I say no, it finds the old one and sets up my environment.

Here is sample output:

❯ il start QLH-4757
This issue has 7 child issue(s). Create as epic loom? [Y/n]:
🗂️  Fetched 7 child issue details and dependency map
🗂️  Validated input: Epic #QLH-4757
🗂️  Fetching issue data...
🗂️  Checking for existing worktree...
🗂️  No existing worktree found, creating new one...
🗂️  Preparing branch name...
🤖 .^C
❯ il start QLH-4757
This issue has 7 child issue(s). Create as epic loom? [Y/n]: n
🗂️  Validated input: Issue #QLH-4757
🗂️  Fetching issue data...
🗂️  Checking for existing worktree...
✅ Found existing worktree, reusing: /Users/ncardoza/qkn/qem-web-app-looms/feat-issue-qlh-4757__item-field-suggestions
🗂️  Loaded environment variables using dotenv-flow
⚠️  .env already exists in worktree, skipping copy
⚠️  settings.local.json already exists in worktree, skipping copy
🗂️  Copying 1 gitignored file(s) matching: auto-login.json
🗂️  Updating PORT in /Users/ncardoza/qkn/qem-web-app-looms/feat-issue-qlh-4757__item-field-suggestions/.env.local...
✅ PORT updated successfully
🗂️  Database branch assumed to be already configured for existing worktree
🗂️  Applied VSCode title bar color: #4b4b1e for branch: feat/issue-qlh-4757__item-field-suggestions
🗂️  Moving issue to In Progress...
🗂️  Issue transitioned successfully {
  "issueKey": "QLH-4757",
  "transition": "In Progress"
}
🗂️  Launching workspace components...
🗂️  Multiple terminals opened: devServer + claude
🗂️  IDE opened
✅ loom launched successfully
✅ Reused existing loom: issue-QLH-4757 at /Users/ncardoza/qkn/qem-web-app-looms/feat-issue-qlh-4757__item-field-suggestions
✅ Created loom: issue-QLH-4757 at /Users/ncardoza/qkn/qem-web-app-looms/feat-issue-qlh-4757__item-field-suggestions
🗂️     Branch: feat/issue-qlh-4757__item-field-suggestions
🗂️     Port: 7757
🗂️     Title: Item Field Suggestions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions