Skip to content

Batch --repo filter is inconsistent with list --repo matching #202

Description

@d0ugal

Bug

list --repo does flexible matching: checks RepoPath == value, suffix match, and RepoName == value. Batch --repo does strict RepoName equality only.

A user who filters sessions with gr list --repo graith and sees 3 results may find gr delete --repo graith --stopped -f doesn't match the same sessions.

Files: internal/cli/batch.go:63 vs internal/cli/list.go:48

Suggestion: Extract the matching logic into a shared helper.

Found by: Claude + Codex (review tribunal, 2/2 agreement)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions