How karancj-1803/ai_in_sdlc works
SDLC Workflow Orchestrator moves Jira issues through analysis, repository investigation, optional patching and review, test planning and execution, and closure, with human approval checkpoints. The React dashboard initiates and monitors runs through the FastAPI service; LangGraph owns stage dispatch and routing. The backend also includes an optional help-portal crawling and retrieval subsystem. The map follows documented flows and shown/indexed references; unsampled implementation details and some UI-to-API wiring are not asserted.
Main entry points: workflow.py LangGraph workflow · jira_analysis.py Jira analysis · code_analysis.py Code analysis · agent.py Analysis agent
Components 31
Workflow dashboard
- Workflow dashboard
frontend/src/App.jsx - Artifact inspector
frontend/src/components/NodeInspectorSidebar.jsx - Ingestion details
frontend/src/components/JiraIngestionMetadata.jsx - Analysis details
frontend/src/components/JiraAnalysisMetadata.jsx
API and orchestration
- FastAPI service
backend/app/main.py - LangGraph workflow
backend/app/graph/workflow.py - Workflow state
backend/app/graph/state.py - Human approval
backend/app/graph/workflow.py
SDLC agents
- Jira ingestion
backend/app/agents/jira_ingestion.py - Jira analysis
backend/app/agents/jira_analysis.py - Code development
backend/app/agents/code_development.py - Code review
backend/app/agents/code_review.py - STP preparation
backend/app/agents/stp_preparation.py - STP execution
backend/app/agents/stp_execution.py - Jira closure
backend/app/agents/jira_closure.py
Repository analysis
- Code analysis
backend/app/agents/code_analysis_agent/code_analysis.py - Analysis agent
backend/app/agents/code_analysis_agent/agent.py - Repository index
backend/app/agents/code_analysis_agent/repo_index.py - Source indexer
backend/app/agents/code_analysis_agent/indexer.py - Analysis tools
backend/app/agents/code_analysis_agent/tools.py - Analysis models
backend/app/agents/code_analysis_agent/analysis_model.py - LLM factory
backend/app/agents/code_analysis_agent/llm.py
Help portal RAG
- Portal crawler
backend/app/help_portal/crawler.py - Content extractor
backend/app/help_portal/extractor.py - RAG builder
backend/app/help_portal/rag_builder.py - Embeddings
backend/app/help_portal/embeddings.py - Context retriever
backend/app/help_portal/retriever.py - Qdrant store
backend/app/help_portal/qdrant.py - Portal chatbot
backend/app/help_portal/chat_bot.py
Other components
- SDLC user
- Jira REST API
Connections 41
- SDLC user → Workflow dashboard: starts run
README.md - Workflow dashboard → FastAPI service: requests workflow
- Workflow dashboard → Artifact inspector: opens artifacts
frontend/src/App.jsx - Artifact inspector → Ingestion details: renders
frontend/src/components/NodeInspectorSidebar.jsx - Artifact inspector → Analysis details: renders
frontend/src/components/NodeInspectorSidebar.jsx - FastAPI service → LangGraph workflow: invokes
backend/app/main.py - LangGraph workflow → Workflow state: uses state
backend/app/graph/workflow.py - LangGraph workflow → Jira ingestion: dispatches
backend/app/graph/workflow.py - LangGraph workflow → Jira analysis: dispatches
backend/app/graph/workflow.py - LangGraph workflow → Code analysis: dispatches
backend/app/graph/workflow.py - LangGraph workflow → Code development: dispatches
backend/app/graph/workflow.py - LangGraph workflow → Code review: dispatches
backend/app/graph/workflow.py - LangGraph workflow → STP preparation: dispatches
backend/app/graph/workflow.py - LangGraph workflow → STP execution: dispatches
backend/app/graph/workflow.py - LangGraph workflow → Jira closure: dispatches
backend/app/graph/workflow.py - Jira ingestion → Jira REST API: fetches issues
backend/app/agents/jira_ingestion.py - Jira ingestion → Jira analysis: passes ticket
README.md - Jira analysis → Code analysis: routes app issues
backend/app/graph/workflow.py - Jira analysis → Jira closure: routes external issues
backend/app/graph/workflow.py - Code analysis → Code development: routes changes
backend/app/graph/workflow.py - Code analysis → STP preparation: routes no-change
backend/app/graph/workflow.py - Code analysis → Analysis agent: runs analysis
backend/app/agents/code_analysis_agent/code_analysis.py - Analysis agent → LLM factory: builds model
backend/app/agents/code_analysis_agent/agent.py - Analysis agent → Repository index: uses index
backend/app/agents/code_analysis_agent/agent.py - Analysis agent → Analysis tools: uses tools
backend/app/agents/code_analysis_agent/agent.py - Repository index → Source indexer: uses indexer
backend/app/agents/code_analysis_agent/repo_index.py - Source indexer → Analysis models: uses models
backend/app/agents/code_analysis_agent/indexer.py - Code development → Code review: proposes patch
README.md - Code review → STP preparation: continues workflow
README.md - STP preparation → STP execution: creates test plan
README.md - STP execution → Jira closure: supplies report
README.md - Jira closure → Jira REST API: closes issue
- LangGraph workflow → Human approval: pauses for approval
README.md - Human approval → LangGraph workflow: resumes or stops
backend/app/graph/workflow.py - Portal crawler → Content extractor: provides pages
backend/app/help_portal/extractor.py - RAG builder → Portal crawler: uses crawling
backend/app/help_portal/rag_builder.py - RAG builder → Embeddings: creates vectors
- RAG builder → Qdrant store: stores vectors
- Portal chatbot → Context retriever: retrieves context
- Context retriever → Qdrant store: searches store
- Jira analysis → Context retriever: optional context
README.md