What happened?
Two related gbrain search CLI issues showed up on the local PGLite setup:
gbrain search "GBrain setup smoke test" printed the expected result but then did not exit, requiring an external timeout wrapper.
gbrain search modes routed through the legacy search <query> operation and searched the brain for the word modes instead of opening the newer search namespace dashboard.
What did you expect?
- One-shot
gbrain search <query> should print results and exit cleanly.
gbrain search modes, gbrain search stats, and gbrain search tune should route to the search namespace before the legacy generic search operation.
Steps to reproduce
- Use a PGLite-backed brain with at least one matching page.
- Run
gbrain search "GBrain setup smoke test".
- Observe output is printed but the process hangs.
- Run
gbrain search modes.
- Observe it performs a legacy text search for
modes instead of printing the search mode dashboard.
Environment
- gbrain version:
gbrain 0.40.8.0
- OS: macOS 26.5
- Bun version:
1.3.14
- Database: PGLite
gbrain doctor --json output
Doctor completed with status: warnings, health_score: 95, schema version 92, PGLite connection OK. Full local output omitted from the issue to avoid dumping machine-specific paths/config; the relevant checks were healthy for connection, schema version, embeddings, and PGLite vector support.
What happened?
Two related
gbrain searchCLI issues showed up on the local PGLite setup:gbrain search "GBrain setup smoke test"printed the expected result but then did not exit, requiring an external timeout wrapper.gbrain search modesrouted through the legacysearch <query>operation and searched the brain for the wordmodesinstead of opening the newer search namespace dashboard.What did you expect?
gbrain search <query>should print results and exit cleanly.gbrain search modes,gbrain search stats, andgbrain search tuneshould route to the search namespace before the legacy generic search operation.Steps to reproduce
gbrain search "GBrain setup smoke test".gbrain search modes.modesinstead of printing the search mode dashboard.Environment
gbrain 0.40.8.01.3.14gbrain doctor --jsonoutputDoctor completed with
status: warnings,health_score: 95, schema version 92, PGLite connection OK. Full local output omitted from the issue to avoid dumping machine-specific paths/config; the relevant checks were healthy for connection, schema version, embeddings, and PGLite vector support.