How jithendra0909/patchpulse works
PatchPulse is a web platform for diagnosing and repairing broken APIs. Users connect a repository, trigger or inspect an incident in Studio, and follow the repair workflow through localization, AI patch generation, sandbox verification, replay, safety scoring, and pull-request creation. Vault exposes incident history and analytics; Settings manages platform configuration. The README documents several capabilities whose page-level wiring is not in the excerpts, so those branches are represented without guessing their internal calls.
Main entry points: StudioPage.tsx Repair Studio · Orchestrator.ts Repair orchestrator · App.tsx App shell · server.ts API server
Components 26
Web application
- App shell
frontend/src/App.tsx - Repository onboarding
frontend/src/components/onboarding/OnboardingModal.tsx - Repair Studio
frontend/src/pages/StudioPage.tsx - Pipeline display
frontend/src/components/studio/AgentPipeline.tsx - Chaos controls
frontend/src/components/studio/ChaosPanel.tsx - Patch diff
frontend/src/components/studio/CodeDiffViewer.tsx - Sandbox logs
frontend/src/components/studio/TerminalPanel.tsx - API replay
frontend/src/components/studio/ApiReplayCard.tsx - Safety evidence
frontend/src/components/studio/SafetyEvidence.tsx - Approve PR
frontend/src/components/studio/CreatePRButton.tsx - Incident Vault
frontend/src/pages/VaultPage.tsx - Settings page
frontend/src/pages/SettingsPage.tsx - HTTP API client
frontend/src/services/api/client.ts
Repair engine
- API server
backend/src/server.ts - Repair orchestrator
backend/src/agent/Orchestrator.ts - Code localization
backend/src/code-intelligence/localization.ts - Patch generation
backend/src/ai/gemini.ts - Sandbox runner
backend/src/sandbox/runner.ts - Safety scoring
backend/src/verification/safety.ts - Live events
backend/src/shared/events.ts
Persistence
- Incident records
backend/src/models/Incident.ts - Repository records
backend/src/models/Repository.ts - Settings records
backend/src/models/Settings.ts
External integrations
- GitHub
- Gemini API
Other components
- Engineer
Connections 28
- Engineer → App shell: uses
README.md - App shell → Repair Studio: shows
frontend/src/App.tsx - App shell → Incident Vault: shows
frontend/src/App.tsx - App shell → Settings page: shows
frontend/src/App.tsx - App shell → Repository onboarding: renders
frontend/src/App.tsx - Repair Studio → Pipeline display: displays
- Repair Studio → Chaos controls: offers
- Repair Studio → Patch diff: shows
- Repair Studio → Sandbox logs: shows
- Repair Studio → API replay: shows
- Repair Studio → Safety evidence: shows
- Repair Studio → Approve PR: offers
- Repository onboarding → HTTP API client: calls
frontend/src/components/onboarding/OnboardingModal.tsx - App shell → HTTP API client: checks health
frontend/src/App.tsx - HTTP API client → API server: requests API
- API server → Repository records: reads and writes
backend/src/server.ts - API server → Incident records: reads and writes
backend/src/server.ts - API server → Settings records: reads and writes
backend/src/server.ts - API server → Repair orchestrator: starts repair
backend/src/server.ts - Repair orchestrator → Incident records: records incident
backend/src/agent/Orchestrator.ts - Repair orchestrator → Code localization: localizes code
backend/src/agent/Orchestrator.ts - Repair orchestrator → Patch generation: requests patch
backend/src/agent/Orchestrator.ts - Repair orchestrator → Sandbox runner: runs tests
backend/src/agent/Orchestrator.ts - Repair orchestrator → Safety scoring: scores evidence
backend/src/agent/Orchestrator.ts - Repair orchestrator → Live events: emits stages
backend/src/agent/Orchestrator.ts - Patch generation → Gemini API: generates patch
backend/src/ai/gemini.ts - Approve PR → GitHub: opens pull request
- API server → GitHub: creates pull request
backend/src/server.ts