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

37 lines
1.1 KiB
TypeScript

import type { WorkflowDefinition } from "@/lib/workflows/types";
// Numbered ordered list of a workflow's steps, used on the detail page.
interface WorkflowStepsProps {
steps: WorkflowDefinition["steps"];
}
export function WorkflowSteps({ steps }: WorkflowStepsProps) {
return (
<div className="mt-6">
<div className="text-xs uppercase tracking-wide text-ink/40">Steps</div>
<ol className="mt-2 space-y-2">
{steps.map((s, i) => (
<li
key={`${s.name}-${i}`}
className="flex gap-3 rounded-md border border-ink/10 bg-paper p-3"
>
<span className="flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-white text-xs font-medium text-ink/60">
{i + 1}
</span>
<div>
<div className="text-sm font-medium text-ink/80">
{s.name}
<span className="ml-2 text-xs font-normal text-ink/40">
{s.kind}
</span>
</div>
<p className="text-sm text-ink/60">{s.description}</p>
</div>
</li>
))}
</ol>
</div>
);
}