knowl_drift
Show stored knowledge invalidated by branch changes since base ref: atoms whose cited files were deleted or moved or whose symbols no longer resolve. Preview by default; apply flags for review.
Instructions
Which stored knowledge this branch may have invalidated: atoms whose cited files the diff since since deleted or moved away, plus symbol evidence that no longer resolves. Use before opening a pull request, before knowl_task_finish on work that touched code, and when the user asks what a change breaks. An atom whose file was merely edited is deliberately NOT reported — that was two thirds of all matches and made the signal unreadable — so an empty result means nothing it cites went away, not that nothing changed. Previews by default; apply marks the matches as needing review so the next session sees them flagged rather than trusting them. Reads git, so it needs a repository and a base ref that exists locally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | Mark every matched atom as needing review. Omit to preview, which changes nothing. | |
| since | Yes | The base ref to compare against: a branch like "origin/main", a tag, or a commit sha. Whatever the pull request will merge into. |