Warn when start leaves a running docs service on old sources

docs-mcp reads its source list once at startup, and start never restarts
a running container, so a changed list was written but silently not
loaded. The README said start loaded source changes.
This commit is contained in:
2026-10-01 13:05:07 -07:00
parent a1d854aef4
commit fd2de5b3bd
3 changed files with 54 additions and 2 deletions

View File

@@ -125,8 +125,10 @@ CONTEXT_KIT_DOCS_SOURCES="config/sources.default.txt config/sources.js.txt" \
bin/context-kit restart
```
Source changes are loaded by `start`/`restart`; `bin/context-kit docs` is only a
stdio bridge to the already-running docs service.
The docs service reads its source list once, at startup. After changing
sources, run `restart`; `start` writes the new list but leaves a running docs
service on the old one, and says so. `bin/context-kit docs` is only a stdio
bridge to the already-running docs service.
`docs_query` searches with FTS5 plus embeddings, deduplicates exact content,
and supports source/host filters. It returns snippets but does not retrieve full