Skip to content

Show actual worktree branch in mob list#16

Merged
blipinsk merged 2 commits intomainfrom
mob/kind-date
Mar 25, 2026
Merged

Show actual worktree branch in mob list#16
blipinsk merged 2 commits intomainfrom
mob/kind-date

Conversation

@blipinsk
Copy link
Copy Markdown
Member

Summary

  • Fix stale branch display: The BRANCH column in codemob list / codemob open / picker was showing the branch stored in config at mob creation time. If an agent switched branches inside the worktree, the display was wrong. Now reads the actual HEAD of each worktree via git rev-parse --abbrev-ref HEAD, falling back to the config value if the worktree is inaccessible.
  • Update go-reviewer slash command: Adds a "Dropped" section and requires concrete near-term cost for each issue.

Test plan

  • All 55 existing tests pass
  • Create a mob, switch branches inside the worktree, run codemob list - verify it shows the actual branch
  • Verify fallback: remove a worktree directory manually, run codemob list - should show config branch without error

The BRANCH column was displaying the branch from config.json (set at
creation time), which becomes stale if the agent switches branches
inside the worktree. Now reads the actual HEAD of each worktree via
git rev-parse, falling back to the config value if unavailable.
…ement

Add concrete near-term cost bullet to issues format and replace the
inline filter paragraph with a dedicated Dropped section.
@blipinsk blipinsk merged commit fdb83b0 into main Mar 25, 2026
1 check passed
@blipinsk blipinsk deleted the mob/kind-date branch March 25, 2026 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant