How ishikadubey1105/v4catalyst works
Thread is a complaint case-management product focused on accountable handovers: employees maintain case context, tasks and decisions, forward complete cases, and the receiver acknowledges the handover before ownership changes. The React client presents employee and management workflows; its API layer communicates with FastAPI, where rules, access control, auditing and persistence are enforced. The README documents major capabilities whose implementation files were not sampled; those branches are included with directory- or file-level paths, while uncertain internal calls are omitted or marked unverified.
Main entry points: App.tsx Thread web app · main.py FastAPI application · auth.py Authentication · client.ts API client
Components 25
Employee and management UI
- Thread web app
frontend/src/App.tsx - Case workspace
frontend/src/pages/CaseWorkspace.tsx - Forward case
frontend/src/pages/ForwardWizard.tsx - Handoff review
frontend/src/pages/HandoffReview.tsx - Management views
frontend/src/pages/Reports.tsx - API client
frontend/src/api/client.ts - API contracts
frontend/src/api/contracts.ts
API and workflow
- FastAPI application
backend/app/main.py - Authentication
backend/app/routers/auth.py - Case operations
backend/app/routers/cases.py - Handoff operations
backend/app/routers/handoffs.py - Completeness and rules
backend/app/rules.py
Product services
- AI handover assistant
backend/app/ai.py - Alerts and escalation
backend/app/alerts.py - Deadline watcher
backend/app/deadlines.py - Management reports
backend/app/reports.py - PDF generation
backend/app/report_pdf.py - Access and visibility
backend/app/deps.py - Audit and notifications
backend/app/services.py
Persistence and domain
- Relational database
backend/app/db.py - Case and handoff records
backend/app/models.py - Response serialization
backend/app/serializers.py
Other components
- Employee or manager
- PostgreSQL or SQLite
- Groq LLM
Connections 33
- Employee or manager → Thread web app: uses
- Thread web app → Case workspace: routes to
frontend/src/App.tsx - Thread web app → Forward case: routes to
frontend/src/App.tsx - Thread web app → Handoff review: routes to
frontend/src/App.tsx - Thread web app → Management views: routes to
frontend/src/App.tsx - Case workspace → API client: calls
- Forward case → API client: calls
- Handoff review → API client: calls
frontend/src/pages/HandoffReview.tsx - API client → API contracts: uses
frontend/src/api/client.ts - API client → FastAPI application: sends API requests
- FastAPI application → Authentication: registers
backend/app/main.py - FastAPI application → Case operations: registers
backend/app/main.py - FastAPI application → Handoff operations: registers
backend/app/main.py - FastAPI application → Deadline watcher: starts watcher
backend/app/main.py - Case operations → Completeness and rules: uses rules
backend/app/routers/cases.py - Handoff operations → Completeness and rules: uses rules
backend/app/routers/handoffs.py - Authentication → Access and visibility: resolves user
backend/app/routers/auth.py - Authentication → Audit and notifications: logs actions
backend/app/routers/auth.py - Case operations → Audit and notifications: records effects
backend/app/routers/cases.py - Handoff operations → Audit and notifications: records effects
backend/app/routers/handoffs.py - Case operations → Case and handoff records: reads and writes
backend/app/routers/cases.py - Handoff operations → Case and handoff records: reads and writes
backend/app/routers/handoffs.py - Authentication → Case and handoff records: reads and writes
backend/app/routers/auth.py - Case and handoff records → Relational database: uses mappings
backend/app/models.py - Relational database → PostgreSQL or SQLite: connects to
- Authentication → Response serialization: serializes employee
backend/app/routers/auth.py - AI handover assistant → Groq LLM: requests drafts
- Deadline watcher → Alerts and escalation: checks deadlines
- Management reports → PDF generation: generates PDF
- Management views → Management reports: requests reports
- Employee or manager → AI handover assistant: requests assistance
- Employee or manager → Alerts and escalation: reviews alerts
- Employee or manager → Audit and notifications: views audit trail