chat: search_chat over the shared source collection, huginn chat search #57
Loading…
Reference in a new issue
No description provided.
Delete branch "gamecult-chat/chat-search"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cut
gamecult-chat:cut_spec:cut-chat-search.r2: chat search in the source organ, read side only.Operator: expect one forge re-embed at the deploy of this cut.
SourcesMeta.corpuschanges fromforge:GameCulttoforge:GameCult+chat:roomsand every point gains acorpuspayload, so the existing meta-mismatch rule rebuildshuginn_sourcesonce. Schedule thehuginn-sourcesrun; do not let it surprise a Soul pass. Until that rebuild runs, every forge and chat read (listing included) answers a clear stale-index error ("built for corpus forge:GameCult ... the rebuild is pending") instead of an empty page.What it adds
SearchChat/Chatonhuginn.mind_request.v1/huginn.mind_response.v1(schemas regenerated).ChatHithas no optional room id, event id or timestamp.--room(id!or alias#, any-of),--after/--before(span overlap; boundary hits trimmed and their span and ids recomputed), texts (0..8; none is a listing oldest first byts_start_msscroll,truncatedwhen more exist).fuse; a forge search now filterscorpus=forge.ChatPayloadis the single owner of the chat point shape andupsert_chatits only write; nothing calls it until the ingest cut. Until then a chat search answers empty.huginn chat search [TEXT]... [--room R]... [--after T] [--before T] [--top-k N] [--json].Probe: deployed Qdrant is 1.17.1 (integer range indexes and scroll
order_byexist).Verification: Yggdrasil local container,
cargo check --locked --workspaceandcargo test --no-fail-fast --locked -p huginn-mind -p huginn-daemon -p eureka-state --features eureka-state/cli: only the 36 desk-door tests fail (they refuse uid 0, unrelated, same 36 as on main).Disclosures
chronomoved from dev-dependency to dependency ineureka-state: the CLI parses--after/--beforeages with it.crates/huginn-daemon/src/index/tests.rskeeps the base file's mixed CRLF endings; its diff is content only.docs/chat-retrieval-map.md): hits are ordered by trimmed start, and a long chunk trimmed across rooms can reappear on the listing continuation.Not here: the ingest job, the event-id window (cut chat-window).
🤖 Generated with Claude Code