docs: update architecture audit and roadmap for v2.7.0#286
Conversation
Add Phase 2.7 (Deep Analysis & Graph Enrichment) covering all features shipped since the last review: dataflow analysis, intraprocedural CFG, AST node storage, expanded node/edge types (13 kinds, 9 edge kinds), extractors refactoring, CLI consolidation, interactive viewer, exports command, and normalizeSymbol utility. Update Phase 3 priorities: add unified AST analysis framework as new #1 critical item (5,193 lines of parallel AST walking across complexity/ CFG/dataflow/ast with no shared infrastructure). Update all metrics across Phase 3 items (50 modules, 26K lines, 13 tables, 34 MCP tools). Mark qualified names as partially addressed (parent_id + contains edges). Subsume standalone complexity decomposition into AST framework. Update Phase 4 type definitions with new kind/edge type hierarchies. Mark Phase 9.1 visualization as partially complete (plot command).
|
Claude finished @carlos-alm's task —— View job PR Review: Documentation Updates for v2.7.0Review Tasks
Phase 1: Root Cause Analysis ✅Problem Being Solved: Post-release documentation update for v2.7.0 to reflect shipped features. The roadmap was last updated for v2.6.0, and the architecture audit needed updating with current metrics after significant codebase expansion. Why This Approach: Standard practice - update documentation after major feature releases. Both files serve as project status/health indicators and need to reflect current reality. Risk Assessment: ✅ Low risk - documentation-only changes with no code impact. Phase 2: Configuration Change Detection ✅Assessment: ✅ N/A - No configuration files, build scripts, or linting rules modified. This is purely documentation. Phase 3: Test Integrity Assessment ✅Assessment: ✅ N/A - No test files modified, no test assertions changed. Documentation-only PR. Phase 4: Documentation Quality Review ✅✅ Metric Verification (Spot-checked)I verified several key metrics claims against the actual codebase:
✅ Content Quality AssessmentROADMAP.md strengths:
architecture.md strengths:
|
Greptile SummaryThis PR updates documentation to reflect v2.7.0 completion. Phase 2.7 section added with 12 detailed subsections covering dataflow analysis, CFG, AST storage, expanded node/edge types, extractors refactoring, CLI consolidation, interactive viewer, and MCP tool expansion (25→34). Architecture audit updated with current metrics (50 modules, 26,277 lines) and identifies a new critical concern: three independent AST analysis engines totaling 4,801 lines with no shared infrastructure. Key updates:
Confidence Score: 5/5
Important Files Changed
Last reviewed commit: fa7eee8 |
| - ✅ CLI: `codegraph children <name>` | ||
| - ✅ MCP tool: `symbol_children` with extended kind enum |
There was a problem hiding this comment.
Extractor line counts are inaccurate. Actual values: javascript.js (892), python.js (284), csharp.js (311), php.js (322), java.js (290), rust.js (295), ruby.js (277), go.js (237), hcl.js (95). Total is 3,023 lines, not 2,299.
There was a problem hiding this comment.
Fixed in fa7eee8. Updated all individual extractor line counts to match actual wc -l values (javascript.js 892, python.js 284, csharp.js 311, php.js 322, java.js 290, rust.js 295, ruby.js 277, go.js 237, hcl.js 95) and corrected total from 2,299 to 3,023 in both ROADMAP.md and architecture.md.
docs/roadmap/ROADMAP.md
Outdated
| **Affected files:** `src/index.js`, `package.json` | ||
|
|
||
| ### 3.7 -- Domain Error Hierarchy | ||
| ### ~~3.8~~ -- ~~Decompose complexity.js~~ Subsumed by 3.1 |
There was a problem hiding this comment.
Duplicate section number - there are two sections numbered 3.8. Remove the number from the strikethrough section or format it differently, e.g., "Removed: Decompose complexity.js — Subsumed by 3.1"
There was a problem hiding this comment.
Fixed in fa7eee8. Removed the duplicate ### ~~3.8~~ heading and reformatted as a blockquote: > **Removed: Decompose complexity.js** — Subsumed by 3.1. The real 3.8 (Domain Error Hierarchy) is now the only section with that number.
generated/architecture.md
Outdated
| | Test files | 59 | 70 | +11 | | ||
| | Node kinds | 10 | 13 | +3 (parameter, property, constant) | | ||
| | Edge kinds | 6 | 9 | +3 (contains, parameter_of, receiver) | | ||
| | Extractor modules | 0 (inline in parser.js) | 11 files, 2,299 lines | New directory | |
There was a problem hiding this comment.
Extractor line counts are inaccurate. The actual total is 3,023 lines (not 2,299). See breakdown in ROADMAP.md comment.
There was a problem hiding this comment.
Fixed in fa7eee8. Updated the metrics table (2,299 → 3,023) and corrected all per-file line counts in the section 8 table to match actual values.
- Update extractor line counts from 2,299 to actual 3,023 (verified via wc -l) - Fix individual per-file counts in both ROADMAP.md and architecture.md - Remove duplicate section 3.8 numbering for strikethrough/subsumed item
|
Claude finished @carlos-alm's task —— View job PR Review: Documentation Updates for v2.7.0Review Tasks
Phase 1: Root Cause Analysis ✅Problem Being Solved: Post-release documentation update for v2.7.0 to reflect shipped features. The roadmap was last updated for v2.6.0, and the architecture audit needed updating with current metrics after significant codebase expansion. Why This Approach: Standard practice - update documentation after major feature releases. Both files serve as project status/health indicators and need to reflect current reality. Risk Assessment: ✅ Low risk - documentation-only changes with no code impact. Phase 2: Configuration Change Detection ✅Assessment: ✅ N/A - No configuration files, build scripts, or linting rules modified. This is purely documentation. Phase 3: Test Integrity Assessment ✅Assessment: ✅ N/A - No test files modified, no test assertions changed. Documentation-only PR. Phase 4: Documentation Quality Review ✅✅ Metric Verification (Spot-checked)I verified several key metrics claims against the actual codebase:
✅ Content Quality AssessmentROADMAP.md strengths:
architecture.md strengths:
|
Summary
CoreSymbolKind/ExtendedSymbolKind,CoreEdgeKind/StructuralEdgeKind,ASTNodeKind,ASTVisitor)Test plan
wc -l src/*.js,git show origin/main:src/mcp.js | grep "name: '" | wc -l, etc.)