# Cursor Indexing Baseline

**Last Updated:** 2026-02-12

Baseline metrics for Cursor codebase indexing, used to track optimization impact.

## Current State

| Metric | Value |
|--------|-------|
| Cursor UI reported index | _User to fill after Delete Index + Sync_ |
| Git tracked files | 15,376 |
| Simulated indexed (after .gitignore + .cursorignore) | ~8,962 |
| Estimated Cursor index (after .cursorindexingignore) | ~6,221 |
| Excluded by .cursorindexingignore | ~2,741 |

**Verification date:** 2026-02-12. Run `python3 v2/scripts/dev-helpers/analyze-cursor-index.py` to regenerate.

**Note:** The script now simulates all three ignore files. `estimated_cursor_index` approximates Cursor's index after Delete Index + Sync.

## Top Directory Contributors (Estimated Index)

| Directory | Files |
|-----------|-------|
| v2 | 3,023 |
| docs | 2,784 |
| .cursor | 111 |
| tests | 65 |
| html | 38 |
| src | 17 |
| .github | 6 |
| admin | 5 |
| wp-content | 3 |

## Top Extensions (Estimated Index)

| Extension | Files |
|-----------|-------|
| .md | 2,701 |
| .php | 1,202 |
| .json | 1,109 |
| .html | 273 |
| .py | 203 |
| .js | 184 |
| .mdc | 106 |
| .css | 92 |
| .txt | 67 |
| .xlsx | 64 |

## Key Observations

- **Target range:** 5.7k–6.2k files (achieved: ~6,221)
- **Blog posts data:** 2,388 files excluded via `.cursorindexingignore`
- **docs/data, docs/archive, docs/audit:** Excluded from index but remain @-mentionable

## Regenerating the Baseline

```bash
python3 v2/scripts/dev-helpers/analyze-cursor-index.py
python3 v2/scripts/dev-helpers/analyze-cursor-index.py --output docs/development/cursor-index-baseline.json
```

## Related

- [CURSOR_INDEXING_SETUP.md](CURSOR_INDEXING_SETUP.md) – Setup and ignore configuration
- [CURSOR_INDEXING_OPTIMIZATION.md](CURSOR_INDEXING_OPTIMIZATION.md) – Optimization plan and decisions
