How marvel-kabego-dev/docproof works
DocProof checks whether documentation claims match repository evidence, then presents contracts, evidence, fixes, approval/rejection, re-verification, and trust scores. The README describes the current frontend as deterministic mock data, while the tree also contains a FastAPI backend and the frontend API client is prepared for it. The backend pipeline excerpt supports the verification-to-fix-to-reverification flow; unsampled API-handler wiring is therefore not inferred.
Main entry points: pipeline.py Full pipeline · verification_pipeline.py Config verifier · main.py FastAPI app · App.tsx App routes
Components 20
Frontend experience
- App routes
frontend/src/App.tsx - Contracts state
frontend/src/context/ContractsContext.tsx - API client
frontend/src/api/client.ts - Review pages
frontend/src/pages
Backend API
- FastAPI app
backend/app/main.py - API routers
backend/app/api
Verification pipeline
- Full pipeline
backend/app/orchestration/pipeline.py - Verification agents
backend/app/orchestration/subagents - Config verifier
backend/app/verification/verification_pipeline.py - Claim parser
backend/app/verification/doc_parser.py - Config checks
backend/app/verification/config_verifier.py - Contract evidence
backend/app/verification/evidence_builder.py - Fix generation
backend/app/orchestration/subagents/fix_agent.py - Reverification
backend/app/orchestration/subagents/reverification_agent.py
State and reporting
- Trust scoring
backend/app/verification/trust_score.py - Storage facade
backend/app/storage/repository.py - In-memory store
backend/app/storage/db.py - History store
backend/app/storage/history_db.py
Other components
- Developer
- Analysed repository
Connections 17
- Developer → App routes: uses
- App routes → Review pages: routes to
- Review pages → Contracts state: reads state
- Contracts state → API client: requests data
- API client → FastAPI app: HTTP requests
- FastAPI app → API routers: mounts routers
- Full pipeline → Verification agents: runs checks
- Full pipeline → Fix generation: generates fixes
- Full pipeline → Reverification: re-runs checks
- Full pipeline → Trust scoring: scores results
- Config verifier → Claim parser: extracts claims
- Config verifier → Config checks: checks claims
- Config verifier → Contract evidence: builds contracts
- Config verifier → Trust scoring: scores contracts
- Verification agents → Analysed repository: checks evidence
- Storage facade → In-memory store: reads and writes
- FastAPI app → In-memory store: resets on startup