Skip to content

BUG: room list --namespace filter returns empty array despite rooms existing #545

Closed

Description

@ajianaz

Description

uteke room list --namespace <ns> returns an empty array [] even when rooms exist in the specified namespace. Without the namespace filter, uteke room list correctly shows all rooms including those in the target namespace.

Environment

  • Uteke version: 0.6.1
  • Reproducibility: Consistent

Steps to Reproduce

# Create a room in a namespace
uteke room create --namespace ctest --title "Test Room" "test-basic-ops"
# Output: Room created successfully

# Try to list rooms filtered by namespace
uteke room list --namespace ctest --json
# Output: []

# List ALL rooms (no filter)
uteke room list --json
# Output: [..., {title: "Test Room", namespace: "ctest", slug: "test-basic-ops"}, ...]
# ^^^ The room IS there, just not found by namespace filter

Expected Behavior

uteke room list --namespace ctest should return all rooms where namespace equals "ctest".

Actual Behavior

Returns empty array []. The namespace filter on room list is non-functional.

Impact

  • Multi-agent workflows cannot reliably list their own rooms
  • Agents cannot discover rooms in their namespace programmatically
  • Workaround requires fetching all rooms and filtering client-side

Suggested Fix

Verify the SQL query used by room list --namespace filters correctly on the namespace column. May be a schema mismatch (column name, case sensitivity) or a missing WHERE clause.

Activity

  1. added
    bug
    scope:cli
    on Jul 3, 2026
  2. added a commit that references this issue on Jul 4, 2026
  3. ajianaz commented on Jul 4, 2026

    @ajianaz
    CollaboratorAuthor

    Fixed in PR #558. Root cause: list_rooms used unnecessary INNER JOIN room_memories to filter by namespace. Replaced with simple WHERE namespace = ?1 on the rooms table.

  4. added 2 commits that reference this issue on Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority:mediumscope:cli

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions