chat: review fixes (stale corpus refusal, age parsing, mutant-killing tests, CRLF restored)
- A collection built for another corpus set is refused with a stale-index error on every read (listing included), not answered with an empty page. - --after/--before ages parse on char boundaries and overflow is an error. - Tests for inclusive span bounds, scroll order/filter, nearest filter and the corpus and ts_end_ms indexes; all ten surviving mutants now caught. - index/tests.rs keeps the base file's CRLF endings (diff is content only). - Drop the exclusion claim from the CLI help; document the listing limit. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b665d0ae6c
commit
f72966ce11
6 changed files with 2092 additions and 1995 deletions
|
|
@ -157,3 +157,9 @@ ingest lands the collection holds no chat points and a chat search answers empty
|
|||
In a listing across rooms, the last hit's `ts_end_ms + 1` can repeat messages of
|
||||
an earlier-starting longer chunk of another room; within one room it continues
|
||||
exactly.
|
||||
|
||||
Known limits (owner of the fix: cut chat-window). Hits are ordered by their
|
||||
trimmed start, not by the stored chunk start, and a long chunk trimmed to a span
|
||||
that crosses rooms can be listed again by the continuation `--after`. Behaviour
|
||||
is deliberately unchanged here; the event-id window in cut chat-window replaces
|
||||
the time cursor.
|
||||
|
|
|
|||
Loading…
Reference in a new issue