Diff an entity's history
diffRetrieve change history for a codebase entity, newest first. Supports dotted prefix matching to cover sub-entities; superseded_by IDs trace overrides and reverts.
Instructions
Get change history for a codebase entity, newest first.
Supports prefix matching — e.g. 'users' returns all events for the users
table and any users.* column. Each event carries a derived
superseded_by id ("" when nothing overrode it), so the
tried → reverted → re-opened trail reads straight off the history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of events to return. | |
| entity_path | Yes | Entity path, or a DOTTED prefix of one: 'users' also covers 'users.email'. Not a raw string prefix — 'src/' matches nothing, and 'src/auth.py' does not cover 'src/auth.py::login'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |