How farheenaiml/trace-backup works
TRACE ingests GitHub repository activity, extracts decision rationale, indexes it for retrieval, and presents maintainers with evidence-grounded investigations and repository insights. Its backend also performs issue triage, health analysis, forecasting, and weekly brief generation; the React console provides the user-facing workflow. The README describes the broader product, while sampled source excerpts confirm only parts of the implementation, so uncertain UI-to-API wiring is omitted.
Main entry points: main.py REST API · agent.py Issue Triage Agent · graph_store.py Rationale Indexing · ingest.py GitHub Ingestion
Components 16
Maintainer Console
- TRACE Console
frontend/src/App.tsx - API Client
frontend/src/api.ts
Repository Ingestion
- REST API
backend/main.py - GitHub Ingestion
backend/ingest.py - Rationale Extraction
backend/extractor.py
Decision Intelligence
- Issue Triage Agent
backend/agent.py - LLM Client
backend/llm.py
Health and Briefs
- Health and Forecasting
backend/health.py - Weekly Brief
backend/brief.py
Index and Storage
- Rationale Indexing
backend/graph_store.py - Neo4j
- Chroma Vector Store
- Qdrant
Other components
- Maintainer
- GitHub
- Groq / Ollama
Connections 15
- Maintainer → TRACE Console: connects repository
README.md - TRACE Console → API Client: uses API
frontend/src/App.tsx - REST API → GitHub Ingestion: runs ingestion
README.md - GitHub → GitHub Ingestion: provides repository data
README.md - GitHub Ingestion → Rationale Extraction: supplies records
README.md - Rationale Extraction → Rationale Indexing: supplies rationale
backend/graph_store.py - Rationale Indexing → Neo4j: writes relations
backend/graph_store.py - Rationale Indexing → Chroma Vector Store: writes embeddings
backend/graph_store.py - REST API → Issue Triage Agent: runs triage
README.md - Issue Triage Agent → Qdrant: searches duplicates
backend/agent.py - Issue Triage Agent → LLM Client: scores issues
backend/agent.py - Weekly Brief → LLM Client: generates summary
backend/brief.py - LLM Client → Groq / Ollama: requests completion
backend/llm.py - REST API → Health and Forecasting: serves health metrics
backend/main.py - REST API → Weekly Brief: serves weekly brief
backend/main.py