How almogod/novuspipeline works
NovusPipeline is a local MCP service for modernizing a user-selected legacy codebase. Its main workflow indexes code relationships and test coverage, inspects a hotspot, detects smells, proposes behavior-preserving changes, verifies them with the target project’s tests, and prepares a scoped git PR. Separate capabilities include guideline retrieval and GNN-based smell analysis. The README documents the tool workflow; sampled excerpts clarify the modernizer, AST graph, RAG seeding, and local-LLM worker. Server wiring and several implementation details were not sampled, so documented but unsampled links cite the README.
Main entry points: server.py MCP tools · local_llm.py LLM proposals · gnn_model.py GNN classifier · train_gnn.py GNN training
Components 15
MCP workflow
- MCP tools
server.py
Code analysis
- Codebase index
codebase_context.py - Smell detector
modernizer.py - AST graph builder
code_graph.py - GNN classifier
gnn_model.py - GNN training
train_gnn.py - GNN evaluation
eval_gnn.py
Modernization
- Rule rewrites
modernizer.py - LLM proposals
local_llm.py - Local model worker
llm_worker.py
Guideline retrieval
- Guideline retrieval
ingest_rag.py
Verification and delivery
- Workspace tests
- Modernization report
reporter.py - Git PR
Other components
- Engineer
Connections 19
- Engineer → MCP tools: invokes tools
README.md - MCP tools → Codebase index: indexes context
README.md - MCP tools → Smell detector: analyzes code
README.md - MCP tools → GNN classifier: runs GNN analysis
README.md - MCP tools → Rule rewrites: applies rewrites
README.md - MCP tools → LLM proposals: requests proposal
README.md - MCP tools → Guideline retrieval: queries guidelines
README.md - MCP tools → Workspace tests: runs workspace tests
README.md - MCP tools → Modernization report: formats report
README.md - MCP tools → Git PR: creates PR
README.md - Codebase index → MCP tools: returns file context
README.md - GNN training → AST graph builder: builds training graphs
train_gnn.py - GNN training → GNN classifier: trains model
train_gnn.py - GNN evaluation → AST graph builder: builds evaluation graphs
eval_gnn.py - GNN evaluation → GNN classifier: evaluates model
eval_gnn.py - LLM proposals → Local model worker: sends requests
local_llm.py - Local model worker → LLM proposals: returns generations
llm_worker.py - Rule rewrites → Smell detector: detects smells
modernizer.py - Guideline retrieval → MCP tools: serves guideline tools
README.md