codebase_prune
Identify and remove stale project identities from the code index. Run a report-only inventory first; apply deletion only with confirmation token and acknowledgment that no remote writers exist.
Instructions
Inventory stored project identities and their resources. Report-only by default. Applying requires an exact identity, the confirmation token from a fresh inventory, and an acknowledgement that no other host is writing to it; path absence on this host is advisory, not proof of abandonment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | Delete the selected identity only when true. Omit for the report-only inventory. | |
| identity | No | Exact identity returned by codebase_prune. | |
| confirmationToken | No | Opaque token returned for that identity by codebase_prune. | |
| acknowledgeNoRemoteWriters | No | Required with apply. Locks on this host cannot see another host sharing the same Qdrant; true states that none is writing to this identity. |