Commit fcda027
committed
🔥 Remove file_analyzers module and ProjectMetadata infrastructure
Delete language-specific file analyzers and automatic metadata extraction
in favor of the LLM-driven approach with git_diff relevance scoring.
The file_analyzers module attempted to extract structured metadata
(language, framework, dependencies) from files, but this duplicated
work that the LLM does better with full context. Removing it:
- Eliminates 14 analyzer implementations (Rust, Python, JS, Java, etc.)
- Removes ProjectMetadata from CommitContext and StagedFile
- Converts async git_info methods to sync (no more metadata futures)
- Deletes FileAnalyzer and ProjectMetadataTool from agent tools
- Moves should_exclude_file() to git/utils.rs
This simplifies the codebase significantly while relying on the diff
relevance scoring system to guide LLM attention to important changes.1 parent e286dbf commit fcda027
File tree
36 files changed
+92
-3722
lines changed- src
- agents
- tools
- file_analyzers
- git
- tests
36 files changed
+92
-3722
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | | - | |
421 | 420 | | |
422 | 421 | | |
423 | | - | |
424 | 422 | | |
425 | 423 | | |
426 | 424 | | |
| |||
434 | 432 | | |
435 | 433 | | |
436 | 434 | | |
437 | | - | |
438 | 435 | | |
439 | 436 | | |
440 | | - | |
441 | 437 | | |
442 | 438 | | |
443 | 439 | | |
| |||
0 commit comments