haiku.rag/haiku_rag_slim/haiku/rag
Yiorgis Gozadinos 5f795cb0cb
Let the MCP server be told which database once
`create_mcp_server` promised one database and accepted a scope covering a set,
where the write tools exist and fail on use. It refuses that now.

Resolving is the public factory's job, as it is `HaikuRAG`'s: `_covering` takes
a scope someone already resolved, so the configured name survives without a
`DatabaseScope` reaching the public signature.

The test that a scope decides the database asserted `all(...)` over a search
that could return nothing, which held whatever the server read. It reads the
listing instead, so alpha's documents being present and beta's absent both have
to be true.
2026-08-27 15:41:03 +03:00
..
capabilities Match capability instructions to the run's collection scope 2026-08-27 12:41:15 +03:00
chat Report where a named remote database actually is 2026-08-27 11:40:35 +03:00
chunkers Delete comments that restate the line below them 2026-08-20 15:22:33 +03:00
client Refuse a path and sources together 2026-08-27 15:12:22 +03:00
config Correct the multi-database prose 2026-08-27 11:40:52 +03:00
converters Add per-endpoint api_key to model and embedding config 2026-08-23 23:54:40 +03:00
embeddings Add per-endpoint api_key to model and embedding config 2026-08-23 23:54:40 +03:00
ingester Let the configuration place the ingester's database 2026-08-27 14:00:21 +03:00
inspector Report where a named remote database actually is 2026-08-27 11:40:35 +03:00
providers Wire providers.docling_serve.timeout through to the client 2026-08-19 13:30:45 +03:00
reranking Search one database the ordinary way, however it was selected 2026-08-27 14:41:10 +03:00
sandbox Keep the sandbox's connection open for the owners it hands out 2026-08-27 11:40:43 +03:00
sources Resolve file:// URIs to paths through url2pathname 2026-08-21 10:22:26 +03:00
store Cite a repeated chunk from its last occurrence 2026-08-27 13:25:06 +03:00
tools Render collection identity only for multi-collection searches 2026-08-27 12:41:05 +03:00
__init__.py
app.py Let the MCP server be told which database once 2026-08-27 15:41:03 +03:00
circuit_breaker.py Move CircuitBreaker to a shared module 2026-07-08 11:03:30 +03:00
cli.py Correct the multi-database prose 2026-08-27 11:40:52 +03:00
context.py Ask and analyze across several databases 2026-08-24 10:03:46 +03:00
doctor.py Read a database's stored settings once 2026-08-25 17:38:32 +03:00
logging.py Delete comments that restate the line below them 2026-08-20 15:22:33 +03:00
mcp.py Let the MCP server be told which database once 2026-08-27 15:41:03 +03:00
s3.py swap aioboto3 for obstore in the S3 client path 2026-05-11 11:29:42 +03:00
telemetry.py Route eval scripts through the shared telemetry configure 2026-07-10 11:38:33 +03:00
uri.py Resolve file:// URIs to paths through url2pathname 2026-08-21 10:22:26 +03:00
utils.py Correct the multi-database prose 2026-08-27 11:40:52 +03:00