Commit Graph

7 Commits

Author SHA1 Message Date
5c93cbfb3a test: add tests for resolve_callee_to_symbol_id
- Test that call edges are resolved to qualified symbol IDs
- Test cross-module resolution and fan-in/fan-out metric computation
- 2 new test cases covering callee resolution functionality
2026-02-15 13:06:05 +03:00
0396a53e0c feat: directory grouping in module index, filter Internal integrations, sort integrations alphabetically, tag model/dataclass modules
- Group modules by top-level directory with collapsible sections and module counts
- Filter out 'Internal' category from integrations (cross-module imports are not real integrations)
- Sort integration categories and packages alphabetically for consistent output
- Add [models], [config], [tests] tags to differentiate module types in the index
2026-02-15 13:06:01 +03:00
0617f24744 fix: sort modules index and critical points, fix per-symbol fan-in/fan-out metrics
- Fix fan-in/fan-out always being 0: qualify edge from/to IDs with module name
- Add resolve_callee_to_symbol_id for cross-module call resolution
- Sort modules index alphabetically in ARCHITECTURE.md
- Sort high fan-in/fan-out tables by count descending
- Fix duplicate unsorted render methods (render_modules_index_section, render_critical_points_section)
2026-02-15 13:01:23 +03:00
1229235ac7 fix: resolve all cargo clippy warnings
- Fix toml version requirement metadata warning
- Replace clone() with std::slice::from_ref()
- Collapse nested if statements
- Add #[allow(dead_code)] to test utility functions
- Fix unused imports and variables in tests
- Use unwrap_or_else instead of expect with format!
2026-02-15 12:55:26 +03:00
d9457018fd feat: smart integration detection — auto-classify packages via built-in dictionary, PyPI lookup, and project module filtering
- New package_classifier.rs with 200+ known packages in 8 categories
- Python stdlib filter (~170 modules)
- PyPI API lookup with caching (--offline to skip)
- Project modules auto-filtered from Internal
- Zero config needed — works out of the box
2026-02-15 12:47:53 +03:00
b3eb591809 feat: smart integration detection with package classifier
- Add PackageClassifier with built-in dictionary (~200 popular packages)
- Hardcode Python 3.10+ stdlib list to filter out standard library imports
- Add PyPI API lookup for unknown packages (online mode, 3s timeout)
- Cache PyPI results in .wtismycode/cache/pypi.json
- Add --offline flag to skip PyPI lookups
- Classify packages into: HTTP, Database, Queue, Storage, AI/ML, Auth, Testing, Logging, Internal, Third-party
- User config integration_patterns override auto-detection
- Update renderer to show integrations grouped by category
- Update ARCHITECTURE.md template with new integration format
2026-02-15 12:45:56 +03:00
f4f8b8fa34 rename: archdoc → wtismycode (WTIsMyCode) 2026-02-15 12:12:33 +03:00