Tarka Sabha
A decision evidence workspace. Teams ingest a public repository, review model-proposed candidates, confirm what the evidence supports, and publish a versioned diligence dossier.
Next.js · TypeScript · PostgreSQL · Prisma · NextAuth · Tailwind CSS
Problem
A frontier model can generate a plausible diligence summary. A buyer still needs a reproducible record of what was examined, which claims have source evidence, what contradicts them, and who approved the conclusion.
What I built
A Next.js App Router application with PostgreSQL and Prisma. It ingests public GitHub sources into immutable snapshots, proposes candidate decisions from bounded snapshots with an optional focus, requires verbatim snapshot citations, and records human confirmations, approvals, and outcomes. Versioned dossiers include evidence appendices and expiring share links.
Architecture
- IngestSnapshot a public GitHub repository, its commits, pull requests, and issues.
- ExtractPropose candidate decisions from bounded snapshots; each must cite a source.
- ConfirmA human confirms or rejects each candidate, records approvals, and scores decision debt.
- PublishGenerate a versioned dossier and share a redacted, expiring link.
Decisions
- Make the decision the primary object; the model is a candidate generator, not the authority.
- Link every evidence item to an immutable source snapshot so path, commit, and hash cannot drift.
- Require a verbatim snapshot quote and drop paraphrases before a candidate reaches review.
Evidence
- A 6-call extraction eval across three public repos: 66.7% label recall, 100% accepted citation validity, 0 unsupported claims admitted, and 3/3 refusals.
- The model proposes candidates from bounded snapshots; every candidate needs 1–3 cited snapshots, unknown source IDs and uncited candidates are dropped, and a human confirms or rejects each one.
- Versioned dossiers ship with evidence appendices, open questions, expiring or revocable share links, and HMAC-signed exports.
Limits
- Ingestion currently targets public GitHub repositories; private-repo and data-room workflows need more setup.
- Extraction is bounded by snapshot coverage; it cannot prove runtime behavior or code that was not ingested.
- The public eval is 18 labeled decisions; recall is directional, not a production guarantee.