Repository navigation
Closed
Labels
bugSomething isn't working
Description
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.64Impact 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
- uteke v0.3.2 + develop (fix(#442): server deadlock on remember + cosine auto-linking never fires #443 deadlock fix)
- macOS Apple Silicon
- Fresh DB, 5 memories across 3 namespaces (corin, uteke, default)
Related
- 🐛 [BUG] namespace=None defaults to 'default' instead of 'all namespaces' #222 — original report, "fixed" in v0.0.11 via PR release: v0.0.11 — audit fixes from Cora scan (#221-#231) #234
- bug: server deadlocks on POST /remember + cosine auto-linking never creates edges #442 — deadlock fix (uncovered this regression)
Activity
fix(#448): recall without namespace now searches ALL namespaces
fix(#448): recall without namespace now searches ALL namespaces (#454)
release: v0.4.1 — MCP sync + dedup + auto-daemon + aging safety + nam…
fix(codecoradev#526): /list and /list_at_time cross-namespace (no nam…
fix(#448): recall without namespace now searches ALL namespaces (#454)
release: v0.4.1 — MCP sync + dedup + auto-daemon + aging safety + nam…
fix(#526): /list and /list_at_time cross-namespace (no namespace = all)