papertrail/app/_components/SourceHintInput.tsx
caelum0x 695a365ae4 feat: PaperTrail — enterprise evidence-verification platform
Multi-tenant platform (182 pages, 228 API routes, ~30 modules) built on a
deterministic verification core: clinical-trial claims checked against
ClinicalTrials.gov registered results and raw event counts (ARR/NNT/RR+CI
recomputed in code, oracle-tested), code-enforced exact-span grounding, and
multi-source cross-verification. Auth/RBAC/multi-tenancy, document processing
at scale (unpdf + Docling), agentic workflows, Claude Science connector,
compliance/audit, billing, public API, and more.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08 07:21:22 +03:00

21 lines
662 B
TypeScript

interface SourceHintInputProps {
value: string;
onChange: (value: string) => void;
disabled: boolean;
}
export function SourceHintInput({ value, onChange, disabled }: SourceHintInputProps) {
return (
<div className="mt-2">
<input
type="text"
value={value}
onChange={(e) => onChange(e.target.value)}
disabled={disabled}
placeholder="Optional: cited source — DOI, PMID, or NCT (verify against that exact paper)"
className="w-full rounded-md border border-ink/15 bg-white px-3 py-2 text-sm text-ink/80 placeholder:text-ink/35 focus:border-accent/50 focus:outline-none"
/>
</div>
);
}