How atharva3131/sprint_execution_copilot works
Purpose and Entry Points
Sprint Intelligence converts sprint/task JSON into structured execution intelligence: blockers, risks, prioritized recommendations, progress metrics, standup summaries, and a critical-path execution plan. Primary runtime entry points are main.py for local orchestration, modal_app.py for GPU-backed inference deployment, and app/streamlit_app.py / ui/app.py for interactive UI surfaces.
Pipeline Orchestration
core/pipeline.py is the central workflow boundary: it coordinates model inference, agent analysis, deterministic reasoning, merging, and final output assembly. core/runner.py likely provides the executable wrapper around this pipeline, while core/merge.py consolidates independently produced agent results into one response. The pipeline separates raw model generation from validated execution-oriented conclusions.
Agent Graph and Specialized Analysis
The multi-agent layer is defined by agents/graph.py, which composes specialized stages:
• Task interpretation and complexity classification: agents/task_analyzer.py
• Dependency/blocker and critical-path analysis: agents/dependency_agent.py
• Risk detection and scoring: agents/risk_agent.py
• Progress and sprint metrics: agents/progress_agent.py
• Recommendation validation/ranking: agents/critic_agent.py
• Operational summary generation: agents/standup_agent.py
This division makes planning logic explicit rather than relying on one unconstrained LLM response.
Deterministic Execution Intelligence
Core planning artifacts and rule-driven augmentation live in core/execution_plan.py, core/impact.py, and core/reasoning.py. These components transform agent findings into ordered actions, evaluate likely execution impact, and retain a transparent reasoning trace. They form the key boundary between probabilistic LLM output and execution-ready recommendations.
Model and Schema Boundary
models/schemas.py defines the structured contract used between inference, agents, and final consumers. Model adapters isolate provider-specific calls: models/modal_client.py targets the deployed fine-tuned model, models/gemini_client.py supports Gemini evaluation/comparison, and models/gpt_oss_client.py supports an additional open-model backend. models/your_system.py appears to expose the repository’s unified model-facing interface.
Inference Infrastructure and Evaluation
modal_app.py hosts the Modal deployment boundary, described as a FastAPI GPU inference service using a QLoRA-fine-tuned Mistral-7B model on T4 hardware. core/evaluator.py compares system outputs across model providers. Training/evaluation examples and mock sprint inputs are stored under data/sprint_finetune_dataset.jsonl, data/mock_data.json, and data/dataset_preview.json.
Primary Flow
A caller submits sprint data or a prompt through a local runner, UI, or Modal API. The selected model adapter produces structured candidate analysis; the LangGraph-style agent graph analyzes tasks, dependencies, risks, and progress; the critic validates and prioritizes recommendations. Core reasoning computes impact and execution sequencing, merge logic assembles the result, and consumers receive structured JSON plus an execution plan and reasoning trace.
Main entry points: graph.py Agent graph · pipeline.py Intelligence pipeline · your_system.py Unified model interface · merge.py Result merger
Components 23
Entry Surfaces
- Local orchestration
main.py - Streamlit UI
app/streamlit_app.py - UI surface
ui/app.py
Analysis Workflow
- Pipeline runner
core/runner.py - Intelligence pipeline · Coordinates inference, agents, reasoning, merging, and output assembly.
core/pipeline.py - Deterministic reasoning · Produces transparent execution-oriented conclusions.
core/reasoning.py - Impact evaluation
core/impact.py - Execution plan · Orders prioritized actions into a critical-path plan.
core/execution_plan.py - Result merger
core/merge.py - Provider evaluator · Compares outputs across model providers.
core/evaluator.py
Specialist Agents
- Agent graph
agents/graph.py - Task analysis · Interprets tasks and classifies complexity.
agents/task_analyzer.py - Dependency analysis · Finds blockers and critical-path dependencies.
agents/dependency_agent.py - Risk analysis
agents/risk_agent.py - Progress metrics
agents/progress_agent.py - Recommendation critic · Validates and ranks recommendations.
agents/critic_agent.py - Standup summary
agents/standup_agent.py
Model Boundary
- Structured contracts · Contract shared by inference, analysis, and consumers.
models/schemas.py - Unified model interface
models/your_system.py - Modal model adapter
models/modal_client.py - Gemini adapter
models/gemini_client.py - Open-model adapter
models/gpt_oss_client.py
Inference Deployment
- GPU inference API · Hosts QLoRA-fine-tuned Mistral-7B inference on T4 GPUs.
modal_app.py
Connections 25
- Local orchestration → Pipeline runner: starts
- Pipeline runner → Intelligence pipeline: executes
- Streamlit UI → Intelligence pipeline: submits sprint input
- UI surface → Intelligence pipeline: submits sprint input
- Intelligence pipeline → Unified model interface: requests candidate analysis
- Unified model interface → Modal model adapter: selects backend
- Unified model interface → Gemini adapter: selects backend
- Unified model interface → Open-model adapter: selects backend
- Modal model adapter → GPU inference API: calls inference API
- Intelligence pipeline → Agent graph: dispatches structured analysis
- Agent graph → Task analysis: analyzes tasks
- Agent graph → Dependency analysis: analyzes dependencies
- Agent graph → Risk analysis: scores risks
- Agent graph → Progress metrics: computes progress
- Agent graph → Recommendation critic: validates recommendations
- Agent graph → Standup summary: creates summary
- Agent graph → Deterministic reasoning: provides findings
- Deterministic reasoning → Impact evaluation: evaluates execution impact
- Impact evaluation → Execution plan: sequences actions
- Intelligence pipeline → Result merger: assembles final response
- Agent graph → Result merger: contributes analysis
- Execution plan → Result merger: contributes plan and trace
- Structured contracts → Intelligence pipeline: defines input/output contract
- Structured contracts → Agent graph: defines agent contract
- Provider evaluator → Unified model interface: compares providers