How chetanagrawal721/faultline-crossrepo_dependency_drift_detector works
Faultline is a cross-repository dependency-drift verifier. A user submits public GitHub repositories; pinned snapshots are ingested, manifests and lockfiles are analyzed into dependency worlds, and shared artifacts are checked across producer and consumer worlds. Evidence-backed relationships feed deterministic verdicts and two-sided attribution; reproducible failures become exportable, replayable witnesses. The React workspace presents analyses and persisted results. README documents the full product funnel; source-index references and excerpts support only some internal links, so unsampled wiring is omitted.
Main entry points: live.py Live analysis · handlers.py Worker handlers · canonical.py Canonical worlds · Workspace.tsx Analysis workspace
Components 25
User interface
- Product shell
frontend/src/App.tsx - Analysis workspace
frontend/src/app/Workspace.tsx - Result views
frontend/src/app/views - API client
frontend/src/api/client.ts
API and orchestration
- FastAPI app
backend/faultline/api/main.py - API routes
backend/faultline/api/routers - Worker handlers
backend/faultline/workers/handlers.py - Persisted records
backend/faultline/storage
Repository worlds
- Snapshot ingestion
backend/faultline/ingestion/service.py - Project discovery
backend/faultline/analysis/repository.py - Manifest parsers
backend/faultline/parsers - Python resolver
backend/faultline/resolvers/python.py - Canonical worlds
backend/faultline/worlds/canonical.py - World builder
backend/faultline/worlds/builder.py
Verification and evidence
- Relationship discovery
backend/faultline/relationships/engine.py - Live analysis
backend/faultline/analysis/live.py - Oracle checks
backend/faultline/oracles - Verdict engine
backend/faultline/verdicts/engine.py - Change attribution
backend/faultline/attribution/runner.py - Witness verification
backend/faultline/witnesses/verify.py - Evidence bundles
backend/faultline/witnesses/bundle.py
Runtime infrastructure
- Sandbox client
backend/faultline/sandbox/client.py
Other components
- Engineer
- GitHub
- Sandbox service
backend/faultline/sandbox/sandboxd.py
Connections 25
- Engineer → Product shell: uses
README.md - Product shell → Analysis workspace: routes to
frontend/src/App.tsx - Analysis workspace → Result views: shows
README.md - Analysis workspace → API client: requests data
- API client → FastAPI app: calls
README.md - FastAPI app → API routes: registers
backend/faultline/api/main.py - API routes → Worker handlers: submits work
- Worker handlers → Snapshot ingestion: ingests repository
backend/faultline/workers/handlers.py - Snapshot ingestion → GitHub: resolves and fetches
backend/faultline/ingestion/service.py - Worker handlers → Project discovery: analyzes snapshot
backend/faultline/workers/handlers.py - Project discovery → Manifest parsers: discovers projects
backend/faultline/analysis/repository.py - Project discovery → Canonical worlds: ensures worlds
backend/faultline/analysis/repository.py - Canonical worlds → Manifest parsers: parses manifests
backend/faultline/worlds/canonical.py - Canonical worlds → Python resolver: resolves Python
backend/faultline/worlds/canonical.py - Python resolver → Sandbox client: requests resolution
backend/faultline/resolvers/python.py - Canonical worlds → World builder: builds worlds
backend/faultline/worlds/canonical.py - Live analysis → Relationship discovery: finds relationships
README.md - Live analysis → Oracle checks: checks artifacts
README.md - Live analysis → Verdict engine: determines verdict
README.md - Verdict engine → Witness verification: verifies failures
backend/faultline/verdicts/engine.py - Live analysis → Change attribution: narrows change
README.md - Witness verification → Evidence bundles: exports evidence
README.md - Worker handlers → Persisted records: reads and writes
backend/faultline/workers/handlers.py - Snapshot ingestion → Persisted records: records snapshots
backend/faultline/ingestion/service.py - Sandbox client → Sandbox service: sends commands
backend/faultline/sandbox/client.py