import { API_SURFACE, PIPELINE, apiBaseUrl, fetchApiStatus } from "../lib/api-status"; export const dynamic = "force-dynamic"; const band: React.CSSProperties = { background: "var(--c0py-band)", color: "#f6f6fa", padding: "1.1rem 1.5rem", display: "flex", gap: "0.9rem", alignItems: "baseline", flexWrap: "wrap", }; const shell: React.CSSProperties = { maxWidth: 1020, margin: "0 auto", padding: "2rem 1.5rem 3.5rem", borderLeft: "4px solid var(--c0py-accent)", }; const panel: React.CSSProperties = { border: "1px solid var(--c0py-line)", borderRadius: 10, padding: "1.1rem 1.25rem", marginTop: "1.25rem", }; const th: React.CSSProperties = { textAlign: "left", borderBottom: "1px solid var(--c0py-line)", padding: "0.45rem 0.6rem", fontSize: "0.78rem", textTransform: "uppercase", letterSpacing: "0.06em", color: "var(--c0py-muted)", }; const td: React.CSSProperties = { borderBottom: "1px solid var(--c0py-line)", padding: "0.45rem 0.6rem", verticalAlign: "top", }; export default async function Home() { const base = apiBaseUrl(); const api = await fetchApiStatus(base); return ( <>
C0PY SIAX · evidence-driven capture, digital-twin specification and verification

Capture console

C0PY consumes an authorized web target and produces a versioned Evidence Graph / Canonical IR covering routes, DOM and runtime state, styles, assets, responsive behaviour, interactions, workflows, network contracts, motion, accessibility and product topology. Reconstruction builders consume frozen C0PY specs; they never become the source of truth.

API status

{api.reachable ? (

{base} answered HTTP {api.httpStatus}: status {api.status}
CL0UD binding: {api.cl0ud ?? "not reported"} · API time: {api.timestamp ?? "not reported"} · read at{" "} {api.checkedAt}

) : (

{base} could not be read ({api.reason} {api.httpStatus ? `, HTTP ${api.httpStatus}` : ""}).
This console reports what it measured at {api.checkedAt}; it does not invent a status.

)}

API surface

The routes the C0PY API serves today. Everything except /health requires a bearer token; this console never asks for one and never stores one.

{API_SURFACE.map((route) => ( ))}
Method Path Access Purpose
{route.method} {route.path} {route.auth} {route.purpose}

Canonical pipeline

    {PIPELINE.map((step) => (
  1. {step}
  2. ))}

C0PY web · own liveness at /api/health · API liveness at{" "} {base}/health

); }