get_recent_changes
Identify document sections that have drifted from the index state, showing edited or stale entries to decide if re-indexing is needed.
Instructions
v1.47+ — list sections that have drifted from index state (edited_uncommitted or stale_index buckets via the v1.16 FreshnessProbe). By default compares the index against the cached raw-content mirror, NOT live workspace files; pass live_source=true to read the live files under the index's source_root. _meta.drift_layer reports which layer ran. Pre-flight check before deciding whether to re-index. Handle-only — no content reads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository identifier | |
| include_stale | No | Include sections in stale_index bucket (byte range no longer hashes the same). | |
| include_edited | No | Include sections in edited_uncommitted bucket (file changed but this section's range still matches). | |
| live_source | No | Read the live workspace files under the index's source_root instead of the cached mirror. Falls back to the cached mirror (drift_layer='cached_mirror', live_source_available=false) when no usable source_root is recorded. |