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

51 lines
1.6 KiB
TypeScript

"use client";
import Link from "next/link";
import { ModuleHeader } from "../_components/ModuleHeader";
import { useActiveOrgRole, canManageSignatures } from "../_components/useActiveOrgRole";
import { RequestForm } from "./_components/RequestForm";
// New signature request flow: RequestForm (entity + title) with an embedded
// SignerPicker. Editors and above only; viewers are shown a gentle block.
export default function NewSignatureRequestPage() {
const role = useActiveOrgRole();
const canCreate = canManageSignatures(role);
return (
<div className="max-w-3xl">
<Link
href="/console/signatures"
className="text-sm text-accent hover:underline"
>
← Back to signatures
</Link>
<div className="mt-4">
<ModuleHeader
title="New signature request"
description="Route an entity through an ordered signing ceremony."
/>
</div>
<div className="mt-6">
{role === null ? (
<div className="rounded-lg border border-ink/10 bg-white p-8 text-center text-sm text-ink/40">
Checking your permissions…
</div>
) : canCreate ? (
<RequestForm />
) : (
<div className="rounded-lg border border-dashed border-ink/10 bg-white p-8 text-center">
<p className="text-sm font-medium text-ink/60">
You cannot create signature requests
</p>
<p className="mt-1 text-xs text-ink/40">
An editor role or higher is required.
</p>
</div>
)}
</div>
</div>
);
}