check_index_status
Check if the search index is fresh, stale, or missing without running a search. Call at session start to verify index status before bulk tasks.
Instructions
Check whether the Reflex search index is fresh, stale, or missing — without running any search. Call this once at session start and before any bulk search/refactoring task; if status is stale or missing, call index_project before searching.
Returns {status: "fresh" | "stale" | "missing", reason, action_required, files_modified?}. Useful after git operations (checkout, merge, rebase, pull) that may have moved HEAD off the indexed commit; reason explains the staleness and action_required gives the fix command (always rfx index when stale).
Example fresh: {"status": "fresh"}. Example stale: {"status": "stale", "reason": "Commit changed from abc1234 to def5678", "action_required": "rfx index"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||