How yakoob-md/ripple_graph works
RippleGraph predicts pre-merge Python change impact: users import or open a repository, index its symbols and dependencies, submit a diff, and receive blast-radius, risk, and gate results. The graph preserves the documented dashboard, CLI, AI, approvals, notifications, background jobs, and mobile gate. Some subsystem paths and links come from README descriptions or the source index; unsampled implementations are not treated as inspected, so uncertain call edges are omitted.
Main entry points: change_impact_service.py Change Impact Analysis · api.ts Typed API Client · api FastAPI Routers · indexing_service.py AST Indexing
Components 33
Web and Mobile UI
- Dashboard
frontend/src/App.tsx - Project Explorer
frontend/src/pages/ProjectExplorer.tsx - Change Analysis UI
frontend/src/pages/ChangeAnalysis.tsx - Dependency Graph UI
frontend/src/pages/DependencyGraph.tsx - DevOps Workflow
frontend/src/pages/DevOpsWorkflow.tsx - Mobile Gate
frontend/src/pages/MobileApp.tsx - Typed API Client
frontend/src/services/api.ts
Repository and Indexing
- Repository Import
backend/app/services/project_service.py - Git Working Copy
backend/app/services/working_copy.py - File Discovery
backend/app/ingestion/file_discovery.py - AST Indexing
backend/app/indexing/indexing_service.py - Symbol Index Engine
backend/app/engine/indexer.py - Revision Indexing
backend/app/services/revision_engine.py
Impact Analysis
- Dependency Graph Builder
backend/app/graph/graph_builder.py - Graph Persistence
backend/app/graph/graph_service.py - Change Impact Analysis
backend/app/impact/change_impact_service.py - Diff Parser
backend/app/impact/diff_parser.py - Impact and Risk Engine
backend/app/impact/impact_analyzer.py
Jobs and Integrations
- AI Context Retrieval
backend/app/retrieval - AI Advisor
backend/app/services/ai_advisor.py - Impact Reporting
backend/app/reporting/report_generator.py - CLI Gate
backend/app/cli.py - Background Jobs
backend/app/services/jobs.py - Job Handlers
backend/app/services/job_handlers.py - Approval Workflow
backend/app/services/approval_service.py - Notifications
backend/app/services/notification_service.py
API and Persistence
- FastAPI Routers
backend/app/api - Database
backend/app/database/database.py - Artifact Storage
backend/app/storage/layout.py
Other components
- Engineer
- CLI or CI
- LLM Provider
- Alert Destinations
Connections 41
- Engineer → Dashboard: imports project
frontend/src/App.tsx - Dashboard → Typed API Client: requests projects
frontend/src/App.tsx - Typed API Client → FastAPI Routers: calls HTTP API
frontend/src/services/api.ts - FastAPI Routers → Repository Import: imports repository
- Repository Import → Git Working Copy: creates working copy
backend/app/services/project_service.py - Git Working Copy → File Discovery: enumerates files
backend/app/services/revision_engine.py - AST Indexing → File Discovery: discovers source files
backend/app/indexing/indexing_service.py - AST Indexing → Symbol Index Engine: indexes revisions
backend/app/indexing/indexing_service.py - Revision Indexing → Symbol Index Engine: indexes sources
backend/app/services/revision_engine.py - Revision Indexing → Git Working Copy: reads Git revisions
backend/app/services/revision_engine.py - Revision Indexing → File Discovery: finds working files
backend/app/services/revision_engine.py - AST Indexing → Artifact Storage: saves index
backend/app/indexing/indexing_service.py - Revision Indexing → Artifact Storage: stores revision index
backend/app/services/revision_engine.py - AST Indexing → Graph Persistence: builds graph
- Graph Persistence → Dependency Graph Builder: builds graph
backend/app/graph/graph_service.py - Graph Persistence → Artifact Storage: loads and saves graph
backend/app/graph/graph_service.py - Change Impact Analysis → Diff Parser: parses diff
backend/app/impact/change_impact_service.py - Change Impact Analysis → Impact and Risk Engine: computes impact
backend/app/impact/change_impact_service.py - Change Impact Analysis → Graph Persistence: loads graph
backend/app/impact/change_impact_service.py - Change Impact Analysis → Symbol Index Engine: indexes revisions
backend/app/impact/change_impact_service.py - Typed API Client → Change Analysis UI: serves analysis requests
frontend/src/pages/ChangeAnalysis.tsx - Typed API Client → Dependency Graph UI: serves graph requests
frontend/src/pages/DependencyGraph.tsx - Typed API Client → Project Explorer: serves project requests
frontend/src/pages/ProjectExplorer.tsx - Typed API Client → DevOps Workflow: serves workflow requests
- Typed API Client → Mobile Gate: serves gate requests
frontend/src/pages/MobileApp.tsx - CLI or CI → CLI Gate: runs analysis
- CLI Gate → Change Impact Analysis: analyzes diff
- FastAPI Routers → Background Jobs: submits job
- Background Jobs → Job Handlers: dispatches work
backend/app/services/job_handlers.py - Job Handlers → AST Indexing: runs indexing
backend/app/services/job_handlers.py - Job Handlers → Graph Persistence: builds graph
backend/app/services/job_handlers.py - FastAPI Routers → Change Impact Analysis: requests analysis
- FastAPI Routers → Approval Workflow: manages approvals
- FastAPI Routers → Notifications: dispatches alerts
- Change Impact Analysis → AI Advisor: provides analysis context
- AI Advisor → AI Context Retrieval: retrieves code context
- AI Advisor → LLM Provider: requests AI output
- Change Impact Analysis → Impact Reporting: produces impact report
- Notifications → Alert Destinations: sends alerts
- FastAPI Routers → Database: persists application state
- Repository Import → Database: registers project
backend/app/services/project_service.py