index_repo
Index a git repository to capture its coding conventions for code review. Only re-indexes files that changed since last index unless forced.
Instructions
Index (or incrementally re-index) a local git repository's source, docs, and lint/format config so its own conventions can be retrieved during review. Only files whose git blob sha changed since the last index are re-chunked/re-embedded, unless force=True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| repo_path | Yes | ||
| exclude_globs | No | ||
| include_globs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| files_indexed | Yes | ||
| files_removed | Yes | ||
| chunks_indexed | Yes | ||
| git_commit_sha | Yes | ||
| duration_seconds | Yes | ||
| files_skipped_unchanged | Yes |