docs: add feature backlog and track file moves in hooks#71
Conversation
Move ROADMAP.md and llm-integration.md into roadmap/ folder. Add BACKLOG.md with 20 prioritized feature items derived from competitive analysis, including assessment columns for dependency impact, foundation alignment, problem-fit scoring, and breaking change tracking.
Add track-moves.sh PostToolUse hook for Bash that detects mv, git mv, and cp commands, extracts all source and destination paths, and logs them to .claude/session-edits.log. This prevents guard-git.sh from blocking commits that include moved or copied files.
|
Claude finished @carlos-alm's task —— View job PR Review Completed ✅Root Cause AnalysisProblem Being Solved: This PR addresses two distinct issues:
Why This Approach: The file move tracking uses a PostToolUse hook on Bash commands to detect Risk Assessment: Low risk - this is primarily documentation organization with a defensive shell script addition. Critical Concerns (if any)None identified. All changes are additive and defensive in nature. Code Quality Assessment✅ Excellent Documentation Structure
✅ Robust Hook Implementation
✅ Configuration Integration
✅ Security Considerations
|
Greptile SummaryThis PR adds infrastructure to track file moves in hooks and consolidates planning documentation. The
All changes are purely additive and non-breaking. Confidence Score: 5/5
Important Files Changed
Last reviewed commit: cfe633b |
…in backlog These two items deliver the highest immediate impact on agent experience and graph accuracy without requiring Rust porting or TypeScript migration. They should be implemented before any Phase 4+ roadmap work. - #83: hook-optimized `codegraph brief` enriches passively-injected context - #71: basic type inference closes the biggest resolution gap for TS/Java
* docs: move 3.16 items to new Phase 5 (Runtime & Extensibility) Expand the deferred Phase 3 items into a dedicated phase after TypeScript Migration with detailed descriptions for each sub-item: event-driven pipeline, unified engine strategy, subgraph export filtering, transitive confidence, query caching, config profiles, pagination standardization, and plugin system. Renumber subsequent phases 5-9 → 6-10 with all cross-references updated. * refactor: migrate integration tests to InMemoryRepository Add openRepo() utility that accepts an injected Repository instance or falls back to SQLite, enabling tests to bypass the filesystem entirely. - Add openRepo(dbPath, opts) to src/db/connection.js - Make findMatchingNodes and buildDependencyGraph polymorphic (accept db or Repository via instanceof check) - Refactor triageData, sequenceData, communitiesData to use openRepo - Convert triage, sequence, communities test fixtures to createTestRepo() fluent builder (sequence dataflow tests stay on SQLite) - Mark ROADMAP 3.13 InMemoryRepository migration item complete Impact: 10 functions changed, 11 affected * fix: use instanceof SqliteRepository guard and validate openRepo opts Impact: 2 functions changed, 18 affected * docs: add Phase 4 (Native Analysis Acceleration) to roadmap Add new Phase 4 covering the port of JS-only build phases to Rust: - 4.1-4.3: AST nodes, CFG, dataflow visitor ports (~587ms savings) - 4.4: Batch SQLite inserts (~143ms) - 4.5: Role classification & structure (~42ms) - 4.6: Complete complexity pre-computation - 4.7: Fix incremental rebuild data loss on native engine - 4.8: Incremental rebuild performance (target sub-100ms) Bump old Phases 4-10 to 5-11 with all cross-references updated. Benchmark evidence shows ~50% of native build time is spent in JS visitors that run identically on both engines.
* docs: promote #83 (brief command) and #71 (type inference) to Tier 0 in backlog These two items deliver the highest immediate impact on agent experience and graph accuracy without requiring Rust porting or TypeScript migration. They should be implemented before any Phase 4+ roadmap work. - #83: hook-optimized `codegraph brief` enriches passively-injected context - #71: basic type inference closes the biggest resolution gap for TS/Java * docs: add Phase 4 (Native Analysis Acceleration) to roadmap Add new Phase 4 covering the port of JS-only build phases to Rust: - 4.1-4.3: AST nodes, CFG, dataflow visitor ports (~587ms savings) - 4.4: Batch SQLite inserts (~143ms) - 4.5: Role classification & structure (~42ms) - 4.6: Complete complexity pre-computation - 4.7: Fix incremental rebuild data loss on native engine - 4.8: Incremental rebuild performance (target sub-100ms) Bump old Phases 4-10 to 5-11 with all cross-references updated. Benchmark evidence shows ~50% of native build time is spent in JS visitors that run identically on both engines. * docs: fix sub-section numbering to match parent phase headings
Summary
roadmap/folder and addBACKLOG.mdwith 20 prioritized feature items derived from competitive analysis, including assessment columns for dependency impact, foundation alignment, problem-fit scoring, and breaking change trackingROADMAP.mdandllm-integration.mdintoroadmap/to consolidate planning docstrack-moves.shPostToolUse hook that detectsmv/git mv/cpin Bash commands and logs affected paths tosession-edits.log, fixing false blocks fromguard-git.shwhen files are movedTest plan
roadmap/BACKLOG.mdrenders correctly with all 20 items and scoring guideroadmap/ROADMAP.mdandroadmap/llm-integration.mdare intact after movetrack-moves.shby runningmvin a session and confirming paths appear in.claude/session-edits.logguard-git.shallows committing moved files aftertrack-moves.shlogs them