Skip to content

bug(regression): POST /recall without namespace only searches 'default' — ignores other namespaces #448

Closed

Description

@ajianaz

Bug Description

POST /recall without namespace parameter only searches the "default" namespace instead of searching ALL namespaces. This was previously reported in #222 and marked fixed in v0.0.11, but the regression still exists in v0.3.2+ (develop branch, post #443 fix).

Reproduction

Setup

rm ~/.uteke/uteke.db*
uteke-serve --port 8767 &

# Insert into different namespaces
curl -X POST http://127.0.0.1:8767/remember \
  -H "Content-Type: application/json" \
  -d '{"content": "CorIn is a desktop knowledge workstation built with Tauri 2, Svelte 5, and Rust backend.", "namespace": "corin"}'

curl -X POST http://127.0.0.1:8767/remember \
  -H "Content-Type: application/json" \
  -d '{"content": "The weather in Jakarta today is 32 degrees Celsius.", "namespace": "default"}'

Recall without namespace (should search ALL)

curl -X POST http://127.0.0.1:8767/recall \
  -H "Content-Type: application/json" \
  -d '{"query": "corin", "limit": 10}'

Expected

Both memories should be searchable — CorIn in ns=corin, weather in ns=default.

Actual

[
  {"memory": {"content": "The weather in Jakarta today is 32 degrees Celsius.", "namespace": "default"}, "score": 0.34}
]

Only the default namespace is searched. CorIn memory (ns=corin) is invisible.

Workaround

Explicitly pass namespace:

curl -X POST http://127.0.0.1:8767/recall \
  -H "Content-Type: application/json" \
  -d '{"query": "corin", "namespace": "corin"}'
# → Finds the CorIn memory with score 0.64

Impact on CorIn

CorIn desktop app uses semantic search across all namespaces. When user doesn't select a namespace filter, recall silently ignores all non-default namespaces. Users see irrelevant results from default while 90% of their memories live in other namespaces.

Environment

Related

Activity

  1. added
    bug
    on Jun 22, 2026
  2. self-assigned this
    on Jun 22, 2026
  3. added 2 commits that reference this issue on Jun 22, 2026
  4. added a commit that references this issue on Jul 2, 2026
  5. added 3 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

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions