Conversation
…e HTML viewer Add three new export formats for graph database interoperability: - GraphML (XML standard) with file-level and function-level modes - GraphSON (TinkerPop v3) for Gremlin/JanusGraph compatibility - Neo4j CSV (bulk import) with separate nodes/relationships files Add interactive HTML viewer (`codegraph plot`) powered by vis-network: - Hierarchical, force, and radial layouts with physics toggle - Node coloring by kind or role, search/filter, legend panel - Configurable via .plotDotCfg JSON file Update CLI export command, MCP export_graph tool, and programmatic API to support all six formats. Impact: 12 functions changed, 6 affected
…il panel Evolve the plot command from a static viewer into an interactive exploration tool with rich data overlays and navigation. Data preparation: - Extract prepareGraphData() with complexity, fan-in/fan-out, Louvain community detection, directory derivation, and risk flag computation - Seed strategies: all (default), top-fanin, entry Interactive features: - Detail sidebar: metrics, callers/callees lists, risk badges - Drill-down: click-to-expand / double-click-to-collapse neighbors - Clustering: community and directory grouping via vis-network API - Color by: kind, role, community, complexity (MI-based borders) - Size by: uniform, fan-in, fan-out, complexity - Risk overlay: dead-code (dashed), high-blast-radius (shadow), low-MI CLI options: - --cluster, --overlay, --seed, --seed-count, --size-by, --color-by Tests expanded from 7 to 21 covering all new data enrichment, seed strategies, risk flags, UI elements, and config backward compatibility. Impact: 5 functions changed, 3 affected
The previous commit added graphml, graphson, and neo4j export formats to the MCP tool definition but did not update the test assertion.
Use JSON.stringify() for cfg.layout.direction, effectiveColorBy, and cfg.clusterBy when interpolated into inline JavaScript. Replace shell exec() with execFile() for browser-open to avoid path injection. Impact: 1 functions changed, 1 affected
Document the new check-readme.sh hook across all three doc locations: recommended-practices.md, ai-agent-guide.md, and the hooks example README. Adds settings.json examples, hook behavior descriptions, and customization entries.
|
Claude finished @carlos-alm's task —— View job PR Review Final AssessmentReviewing PR: "docs: add check-readme hook to guides" Todo Checklist:
Root Cause AnalysisProblem Being Solved: The PR claims to document a new Why This Approach: The documentation changes (commit Risk Assessment: HIGH RISK due to bundled changes making proper review impossible. Critical Concerns🚨 MAJOR ISSUE: Incorrectly Scoped PRThis PR violates the single-responsibility principle by bundling:
Code Quality Issues
The Real ProblemThe documentation-only commit (
BUT it's buried in a PR with 2000+ lines of unrelated code changes, making review impossible. Final Recommendation
Required Actions:
The documentation changes are well-executed, but bundling unrelated changes violates basic PR hygiene and prevents proper security/functionality review of the substantial code additions. |
Greptile SummaryDocuments the new
Confidence Score: 5/5
Important Files Changed
Last reviewed commit: f39aaf4 |
Summary
check-readme.shhook inrecommended-practices.md,ai-agent-guide.md, anddocs/examples/claude-code-hooks/README.mdgit commitwhen source files are staged butREADME.md/CLAUDE.md/ROADMAP.mdaren't, prompting the agent to review whether docs need updatingTest plan
check-readme.shbehavior