docs(agents): T4 investigation - TUI i/d/f doc mismatch resolved, 0-chunk status traced - #165
Merged
Merged
Conversation
Investigated T4 ("0-chunk status bug + TUI i/d/f diagnostics"):
- TUI i/d/f: traced handle_key() + render_footer() in
src/serve/tui_common.rs. Footer hints match the key handler exactly
(i=info, d=doctor, n=reindex, r=remove, l=reload, q=quit). No `f`
binding exists anywhere in the codebase - the "f" in the TODO title
didn't correspond to real code. Marked resolved as a docs-only
mismatch, not a bug.
- 0-chunk status bug: traced index_status_impl, VectorStore::stats(),
with_vector_store_read_for, and force_reindex_with_stores. All read
fresh state per call; force reindex mutates the existing store
in-place rather than swapping the Arc, ruling out the stale-handle
hypothesis. No concrete defect found via static tracing - left open
with a note that it needs a live repro before any fix is attempted.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…i-docs-cleanup # Conflicts: # AGENTS.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
index_status_impl,VectorStore::stats(),with_vector_store_read_for, andforce_reindex_with_stores- no staleness/caching defect found via static tracing. Deliberately did NOT make a speculative code change; rewrote the AGENTS.md entry to be accurate and actionable, left open pending a live repro.Test plan
🤖 Generated with Claude Code