rms_file_history
Query the derived code_path git file→commit history cache (no shell). Prefer this over git log for when a source file changed. Lazy catch-up on query; use action=reindex after force-push/rebase (requires explicit project).
Instructions
Query the derived code_path git file→commit history cache (no shell). Prefer this over git log for when a source file changed. Lazy catch-up on query; use action=reindex after force-push/rebase (requires explicit project). Default response omits commit messages. Catch-up/reindex enforce commit-count budgets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path relative to the project code_path (required for action=query). | |
| limit | No | Max commits to return (default 20, max 200). | |
| action | No | query (default), catch_up, or reindex (full rebuild; requires project). | |
| project | No | Registered project key. Required for action=reindex; recommended for all actions when the MCP client did not provide a workspace root. | |
| include_message | No | Include commit subject lines. Default false. |