You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep the index honest after the one-time initial index by (a) incrementally reindexing on push and (b) surfacing an index freshness indicator so both users and the agent know how current the index is.
This bundles two tightly-related improvements — a freshness signal is most of the value of incremental indexing, and both touch the same indexer surface.
Motivation
Today the indexer indexes the default branch "a single time." The README's core pitch — "no documentation debt… tracks the actual committed code" — only holds if the index follows HEAD. A stale index produces confidently-wrong answers, which is the worst failure mode for this product.
Part A — Incremental reindex on push
GitHub push webhook (or a poll fallback for repos without webhook access) → indexer reindexes only changed files by diffing the new SHA against the last indexed SHA.
Re-embed added/modified files, drop vectors for deleted files.
Debounce rapid pushes; make it idempotent on the target SHA.
Summary
Keep the index honest after the one-time initial index by (a) incrementally reindexing on push and (b) surfacing an index freshness indicator so both users and the agent know how current the index is.
This bundles two tightly-related improvements — a freshness signal is most of the value of incremental indexing, and both touch the same indexer surface.
Motivation
Today the indexer indexes the default branch "a single time." The README's core pitch — "no documentation debt… tracks the actual committed code" — only holds if the index follows
HEAD. A stale index produces confidently-wrong answers, which is the worst failure mode for this product.Part A — Incremental reindex on push
Part B — Index freshness indicator
HEAD" in the chat header and on the indexer page.Implementation notes
Scope
In-scope: single-workspace, Claude-only. No new services; extends the existing indexer.
Acceptance
HEADthe index is; the agent can flag staleness.make test-indexer, web).