Skip to content

fix(cli): vx why names a group asked for bare from the root - #5910

Merged
Exelord merged 1 commit into
mainfrom
claude/project-thread-g7og6u
Dec 1, 2026
Merged

Exelord merged 1 commit into
mainfrom
claude/project-thread-g7og6u

Conversation

@Exelord

@Exelord Exelord commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Requested by M · project thread

vx why at the root names a group as a group

Before: at the workspace root, vx why all, where all is one project's group, pointed at a list it can never join.

$ vx why all
✗ vx why  no recorded runs for task "all"; `vx last --stats` lists the tasks that ran

After: it says a group records no run, as vx why app#all and vx why all inside the project already did.

$ vx why all
› vx why  all is a group, which records no run

  fix  vx show all

How it works

When a bare name matches no recorded run and the cwd project does not declare it, resolveTarget asks what the workspace declares under that name; a group or no-op task gets the same refusal its full id gets.

Breaking changes

None

Proof

  • Tests (each fails without this change): tests/why.test.ts "vx why of a declared task that never ran"
  • Docs updated: none (cli.md already says a group is refused)

https://claude.ai/code/session_01W6xuYbTejZJFBPnwJ9zFrV


Generated by Claude Code

A bare group name asked outside its project, at the workspace root,
read "no recorded runs for task", pointing at vx last --stats, as if it
could have run. It now says it is a group that records no run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W6xuYbTejZJFBPnwJ9zFrV
@Exelord Exelord self-assigned this Dec 1, 2026
@Exelord
Exelord merged commit 29b9047 into main Dec 1, 2026
9 of 14 checks passed
@Exelord
Exelord deleted the claude/project-thread-g7og6u branch December 1, 2026 07:25
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.

2 participants