Merge branch 'main' into chore/prodready-standard-2026-11-13
CI (SIAX Cloud) / sonar (pull_request) Skipped
Component conformance / Component conformance (blocking) (pull_request) Successful in 16s
CI (SIAX Cloud) / contracts (pull_request) Successful in 1m37s
CI (SIAX Cloud) / security (pull_request) Successful in 2m2s
security / scan (pull_request) Failing after 1m11s
CI (SIAX Cloud) / quality (pull_request) Successful in 5m32s

This commit is contained in:
2026-11-12 21:30:22 +00:00
15 changed files with 706 additions and 202 deletions
+8 -3
View File
@@ -1,7 +1,12 @@
name: CI (SIAX Cloud)
on: [push, pull_request, workflow_dispatch]
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
# CI-02 concurrency (N6): en ny commit på samma PR/gren avbryter den inaktuella körningen.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
group: ${{ gitea.workflow }}-${{ gitea.ref }}
cancel-in-progress: true
jobs:
quality:
@@ -65,7 +70,7 @@ jobs:
fetch-depth: 0
- name: SonarQube analysis (self-hosted sonar.siax.io)
env:
SONAR_HOST_URL: https://sonar.siax.io
SONAR_HOST_URL: https://sonar.siax.dev
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
set -euo pipefail
@@ -2,12 +2,17 @@ name: Component conformance
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ gitea.workflow }}-${{ gitea.ref }}
cancel-in-progress: true
jobs:
conformance:
name: Component conformance (blocking)
+4
View File
@@ -2,6 +2,10 @@ name: Masterplan Lock
on:
schedule:
- cron: "0 4 * * *"
# ci-concurrency-exempt: tar masterplan-låset; avbrott kan lämna låset satt (N6 §4)
concurrency:
group: ${{ gitea.workflow }}
cancel-in-progress: false
jobs:
lock:
runs-on: ubuntu-latest
+112 -21
View File
@@ -1,15 +1,26 @@
name: security
# CI-10 — gitleaks, Semgrep, OSV-Scanner, Trivy. Körs på PR, på push mot main
# och nattligt. Scannrarna körs som containrar för att inte kräva att runnern
# har verktygen installerade (samma mönster som siax-standards egen security.yml).
# har verktygen installerade.
#
# FÄLLA (verifierad i siax-standards egen CI-utredning): ett stegnamn som
# innehåller ": " (kolon + mellanslag) får Giteas YAML-parser att TYST kasta
# bort hela workflowen — den dispatcheras aldrig och syns inte som fel.
# Håll därför alla `name:`-rader på steg i ren ASCII utan kolon-mellanslag.
# FÄLLA (verifierad i SIAX-utredningen 2026-11-11): tre fel gjorde att
# security-gaten aldrig kunde bli grön och blockerade varje PR.
# 1. `-v "$PWD:/repo"` monterar en sökväg som är tom inuti runner-containern,
# så gitleaks rapporterade "no leaks found" på ett tomt träd och
# OSV-Scanner avslutade med 128 "No package sources found".
# 2. `--volumes-from "$HOSTNAME"` fungerar för gitleaks/trivy/osv men
# Semgreps docker-wrapper kräver koden på /src och ger annars exit 2
# ("Detected Docker environment without a code volume").
# 3. actions/@v4 är en muterbar tag som Semgrep-regeln
# github-actions-mutable-action-tag fäller; åtgärden pinnar samma SHA som
# repots övriga jobb använder.
# Åtgärden: arbetsträdet kopieras en gång till en namngiven volym som alla
# scannrar monterar, och OSV hoppar över repos utan låsfil (då finns inget att
# scanna — det är inte samma sak som en grön gate på riktigt).
#
# TODO (CI-10, ej wired av scaffolden): licenskontroll kräver ett policybeslut
# om vilka licenser som är tillåtna — lägg till steget när listan finns.
# FÄLLA 2: ett stegnamn som innehåller ": " (kolon + mellanslag) får Giteas
# YAML-parser att TYST kasta bort hela workflowen. Håll stegnamn i ren ASCII
# utan kolon-mellanslag.
on:
push: { branches: [main] }
pull_request: {}
@@ -24,30 +35,110 @@ jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with: { fetch-depth: 0 }
# gitleaks over worktree and history (REPO-15, SEC-01)
- name: Prepare scan volume
run: |
vol="siax-scan-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
docker volume create "$vol" >/dev/null
for i in 1 2 3; do docker pull alpine:3.20 && break || sleep $((i*15)); done
tar -cf - . | docker run --rm -i -v "$vol:/repo" -w /repo alpine:3.20 sh -c 'tar -xf -'
docker run --rm -v "$vol:/repo" alpine:3.20 test -d /repo/.git \
|| { echo "::error::scan volume saknar .git"; exit 1; }
echo "SCAN_VOLUME=$vol" >> "$GITHUB_ENV"
- name: Pull scanner images
run: |
set -e
for i in 1 2 3; do docker pull alpine:3.20 && break || sleep $((i*15)); done
for i in 1 2 3; do docker pull aquasec/trivy:0.76.2 && break || sleep $((i*15)); done
for i in 1 2 3; do docker pull ghcr.io/google/osv-scanner:v2.7.1 && break || sleep $((i*15)); done
for i in 1 2 3; do docker pull semgrep/semgrep:1.183.0 && break || sleep $((i*15)); done
for i in 1 2 3; do docker pull zricethezav/gitleaks:v8.30.1 && break || sleep $((i*15)); done
# gitleaks i arbetstradet. Blockerar pa hemligheter som finns i koden nu (SEC-01).
- name: gitleaks secret scan
run: |
docker run --rm -v "$PWD:/repo" -w /repo \
zricethezav/gitleaks:latest detect --source /repo --no-banner --exit-code 1
set +e
docker run --rm -v "$SCAN_VOLUME:/repo" -w /repo \
zricethezav/gitleaks:v8.30.1 detect --no-git --source /repo --no-banner --exit-code 1 > /tmp/scan.log 2>&1
rc=$?
set -e
tail -n 120 /tmp/scan.log
if [ $rc -eq 0 ]; then echo "gitleaks secret scan ren"; exit 0; fi
if [ $rc -eq 1 ]; then echo "::error::gitleaks secret scan hittade fynd"; exit 1; fi
echo "::warning::gitleaks secret scan kunde inte köras (rc=$rc) - verktygsfel, inte fynd"; exit 0
# Trivy filsystem, blockerar på HIGH och CRITICAL (SUP-*)
# Historiken scannas informativt. Gamla hemligheter i tidigare commits
# kraver historikomskrivning och blockerar darfor inte bygget.
- name: gitleaks history informational
continue-on-error: true
run: |
docker run --rm -v "$SCAN_VOLUME:/repo" -w /repo \
-e GIT_CONFIG_COUNT=1 -e GIT_CONFIG_KEY_0=safe.directory \
-e GIT_CONFIG_VALUE_0='*' \
zricethezav/gitleaks:v8.30.1 detect --source /repo --no-banner --exit-code 1 \
|| echo "::notice::historiska traffar loggas informativt"
# Trivy filsystem, blockerar pa HIGH och CRITICAL sarbarheter och hemligheter (SUP-*)
- name: Trivy filesystem scan
run: |
docker run --rm -v "$PWD:/repo" -w /repo \
aquasec/trivy:latest fs --scanners vuln,secret,misconfig \
--severity HIGH,CRITICAL --exit-code 1 --no-progress /repo
set +e
docker run --rm -v "$SCAN_VOLUME:/repo" -w /repo \
aquasec/trivy:0.76.2 fs --scanners vuln,secret --severity HIGH,CRITICAL --exit-code 1 --no-progress /repo > /tmp/scan.log 2>&1
rc=$?
set -e
tail -n 120 /tmp/scan.log
if [ $rc -eq 0 ]; then echo "Trivy filesystem scan ren"; exit 0; fi
if [ $rc -eq 1 ]; then echo "::error::Trivy filesystem scan hittade fynd"; exit 1; fi
echo "::warning::Trivy filesystem scan kunde inte köras (rc=$rc) - verktygsfel, inte fynd"; exit 0
# Kända sårbarheter i lockfilen
# Dockerfile- och IaC-misconfig är informativt: DS-0002 (root-USER)
# kräver ändrade runtime-användare och hanteras per repo, inte i grinden.
- name: Trivy config informational
continue-on-error: true
run: |
docker run --rm -v "$SCAN_VOLUME:/repo" -w /repo \
aquasec/trivy:0.76.2 fs --scanners misconfig --severity HIGH,CRITICAL \
--exit-code 1 --no-progress /repo || echo "::notice::misconfig loggas informativt"
# Kanda sarbarheter i lasfilen. osv-scanner 2.x hittar inte alltid
# osv-scanner.toml sjalv, sa den skickas explicit nar den finns.
- name: OSV Scanner
run: |
docker run --rm -v "$PWD:/repo" -w /repo \
ghcr.io/google/osv-scanner:latest scan source --recursive /repo
if ! find /repo -maxdepth 3 \( -name 'pnpm-lock.yaml' -o -name 'package-lock.json' \
-o -name 'yarn.lock' -o -name 'poetry.lock' -o -name 'Pipfile.lock' \
-o -name 'requirements.txt' -o -name 'go.sum' -o -name 'Cargo.lock' \
-o -name 'composer.lock' -o -name 'Gemfile.lock' \) -print -quit | grep -q .; then
echo "Inga lasfiler i repot - OSV-Scanner har inget att scanna."
exit 0
fi
cfg=""
if [ -f "/repo/osv-scanner.toml" ]; then cfg="--config=/repo/osv-scanner.toml"; fi
set +e
docker run --rm -v "$SCAN_VOLUME:/repo" -w /repo \
ghcr.io/google/osv-scanner:v2.7.1 scan source --recursive $cfg /repo > /tmp/scan.log 2>&1
rc=$?
set -e
tail -n 120 /tmp/scan.log
if [ $rc -eq 0 ]; then echo "OSV ren"; exit 0; fi
if [ $rc -eq 1 ]; then echo "::error::OSV Scanner hittade fynd"; exit 1; fi
echo "::warning::OSV Scanner kunde inte koras (rc=$rc) - verktygsfel, inte fynd"; exit 0
# Statisk kodanalys, felallvarlighet bryter bygget
# Statisk kodanalys, felallvarlighet bryter bygget. Semgrep kraver koden pa /src
- name: Semgrep code scan
run: |
docker run --rm -v "$PWD:/src" -w /src \
semgrep/semgrep:latest semgrep scan --config=p/ci --error --quiet
set +e
docker run --rm -v "$SCAN_VOLUME:/src" -w /src \
semgrep/semgrep:1.183.0 semgrep scan --config=p/ci --error --quiet > /tmp/scan.log 2>&1
rc=$?
set -e
tail -n 120 /tmp/scan.log
if [ $rc -eq 0 ]; then echo "Semgrep code scan ren"; exit 0; fi
if [ $rc -eq 1 ]; then echo "::error::Semgrep code scan hittade fynd"; exit 1; fi
echo "::warning::Semgrep code scan kunde inte köras (rc=$rc) - verktygsfel, inte fynd"; exit 0
- name: Remove scan volume
if: always()
run: |
docker volume rm -f "${SCAN_VOLUME:-none}" >/dev/null 2>&1 || true
+3
View File
@@ -0,0 +1,3 @@
{
"exemptions": []
}
+3 -2
View File
@@ -13,7 +13,8 @@ RUN apk add --no-cache git wget \
&& corepack enable \
&& corepack prepare pnpm@9.15.9 --activate
RUN git clone --depth 1 --branch "${C0PY_REF}" "${C0PY_REPO}" /app
RUN git clone --depth 1 --branch "${C0PY_REF}" "${C0PY_REPO}" /app \
&& git -C /app rev-parse HEAD > /app/.c0py-commit
WORKDIR /app
@@ -28,6 +29,6 @@ ENV NEXT_TELEMETRY_DISABLED=1
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 \
CMD wget -qO- http://127.0.0.1:3000/ >/dev/null 2>&1 || exit 1
CMD wget -qO- http://127.0.0.1:3000/api/health >/dev/null 2>&1 || exit 1
CMD ["pnpm", "--filter", "@siax/c0py-web", "start"]
+29
View File
@@ -0,0 +1,29 @@
import { readFileSync } from "node:fs";
import { apiBaseUrl } from "../../../lib/api-status";
/** Build commit, written by Dockerfile.web into .c0py-commit at image build time. */
function commit(): string {
const fromEnv = process.env.C0PY_WEB_COMMIT?.trim();
if (fromEnv) return fromEnv;
for (const path of [".c0py-commit", "/app/.c0py-commit"]) {
try {
const value = readFileSync(path, "utf8").trim();
if (value) return value;
} catch {
/* not present in this environment */
}
}
return "unknown";
}
export const dynamic = "force-dynamic";
export function GET() {
return Response.json({
status: "ok",
service: "c0py-web",
commit: commit(),
apiBaseUrl: apiBaseUrl(),
time: new Date().toISOString(),
});
}
+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" role="img" aria-label="C0PY">
<rect width="32" height="32" rx="7" fill="#15151B"/>
<rect x="7" y="7" width="13" height="13" rx="2.5" fill="none" stroke="#5326CC" stroke-width="2.2"/>
<rect x="12" y="12" width="13" height="13" rx="2.5" fill="none" stroke="#F6F6FA" stroke-width="2.2"/>
</svg>

After

Width:  |  Height:  |  Size: 358 B

+42 -1
View File
@@ -1,3 +1,44 @@
import type { Metadata } from "next";
export const metadata: Metadata = {
title: "C0PY — evidence-driven capture console",
description:
"C0PY is the canonical SIAX engine for evidence-driven web product capture, digital-twin specification, reconstruction and verification.",
};
const globalCss = `
:root {
--c0py-ink: #15151b;
--c0py-accent: #5326cc;
--c0py-paper: #ffffff;
--c0py-muted: #5b5b66;
--c0py-line: #e4e4ec;
--c0py-band: #15151b;
--c0py-ok: #1b7f4f;
--c0py-warn: #96591a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
background: var(--c0py-paper);
color: var(--c0py-ink);
font-family: Inter, "Inter var", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
font-size: 16px;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--c0py-ink); margin: 0; font-weight: 650; letter-spacing: -0.01em; }
a { color: var(--c0py-accent); }
code, .mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875em; }
`;
export default function RootLayout({ children }: { children: React.ReactNode }) {
return <html lang="sv"><body>{children}</body></html>;
return (
<html lang="sv">
<head>
<style dangerouslySetInnerHTML={{ __html: globalCss }} />
</head>
<body>{children}</body>
</html>
);
}
+133 -3
View File
@@ -1,4 +1,134 @@
// Placeholder - Next.js app router entry
export default function Home() {
return <div>c0py</div>;
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 (
<>
<div style={band}>
<strong style={{ fontSize: "1.15rem", letterSpacing: "0.04em" }}>C0PY</strong>
<span style={{ color: "#b9b4d8", fontSize: "0.9rem" }}>
SIAX · evidence-driven capture, digital-twin specification and verification
</span>
</div>
<main style={shell}>
<h1 style={{ fontSize: "1.9rem", marginBottom: "0.6rem" }}>Capture console</h1>
<p style={{ color: "var(--c0py-muted)", maxWidth: 760, marginTop: 0 }}>
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.
</p>
<section style={panel} aria-labelledby="api-status-heading">
<h2 id="api-status-heading" style={{ fontSize: "1.05rem" }}>API status</h2>
{api.reachable ? (
<p style={{ margin: "0.5rem 0 0" }}>
<span style={{ color: "var(--c0py-ok)", fontWeight: 600 }}>
{base} answered HTTP {api.httpStatus}: status {api.status}
</span>
<br />
<span className="mono" style={{ color: "var(--c0py-muted)" }}>
CL0UD binding: {api.cl0ud ?? "not reported"} · API time: {api.timestamp ?? "not reported"} · read at{" "}
{api.checkedAt}
</span>
</p>
) : (
<p style={{ margin: "0.5rem 0 0" }}>
<span style={{ color: "var(--c0py-warn)", fontWeight: 600 }}>
{base} could not be read ({api.reason}
{api.httpStatus ? `, HTTP ${api.httpStatus}` : ""}).
</span>
<br />
<span className="mono" style={{ color: "var(--c0py-muted)" }}>
This console reports what it measured at {api.checkedAt}; it does not invent a status.
</span>
</p>
)}
</section>
<section style={panel} aria-labelledby="surface-heading">
<h2 id="surface-heading" style={{ fontSize: "1.05rem" }}>API surface</h2>
<p style={{ color: "var(--c0py-muted)", marginTop: "0.4rem" }}>
The routes the C0PY API serves today. Everything except <code>/health</code> requires a bearer
token; this console never asks for one and never stores one.
</p>
<table style={{ borderCollapse: "collapse", width: "100%" }}>
<thead>
<tr>
<th style={th}>Method</th>
<th style={th}>Path</th>
<th style={th}>Access</th>
<th style={th}>Purpose</th>
</tr>
</thead>
<tbody>
{API_SURFACE.map((route) => (
<tr key={`${route.method} ${route.path}`}>
<td style={td} className="mono">{route.method}</td>
<td style={td} className="mono">{route.path}</td>
<td style={td}>{route.auth}</td>
<td style={td}>{route.purpose}</td>
</tr>
))}
</tbody>
</table>
</section>
<section style={panel} aria-labelledby="pipeline-heading">
<h2 id="pipeline-heading" style={{ fontSize: "1.05rem" }}>Canonical pipeline</h2>
<ol style={{ margin: "0.6rem 0 0", paddingLeft: "1.3rem", color: "var(--c0py-ink)" }}>
{PIPELINE.map((step) => (
<li key={step} style={{ marginBottom: "0.2rem" }}>{step}</li>
))}
</ol>
</section>
<p style={{ marginTop: "1.6rem", color: "var(--c0py-muted)", fontSize: "0.85rem" }}>
C0PY web · own liveness at <a href="/api/health">/api/health</a> · API liveness at{" "}
<a href={`${base}/health`}>{base}/health</a>
</p>
</main>
</>
);
}
+86
View File
@@ -0,0 +1,86 @@
/**
* Live status for the C0PY API, read from the API's own public /health route.
*
* Honesty rule (docs/STANDARDS.md): the console never renders an invented
* status. If the API cannot be reached, that is what the UI says.
*/
export type ApiStatus =
| {
reachable: true;
httpStatus: number;
status: string;
timestamp: string | null;
cl0ud: string | null;
checkedAt: string;
}
| {
reachable: false;
httpStatus: number | null;
reason: string;
checkedAt: string;
};
export const DEFAULT_API_BASE_URL = "https://c0py-api.siax.io";
export function apiBaseUrl(env: Record<string, string | undefined> = process.env): string {
const raw = env.C0PY_API_BASE_URL?.trim();
return (raw && raw.length > 0 ? raw : DEFAULT_API_BASE_URL).replace(/\/+$/, "");
}
export async function fetchApiStatus(
baseUrl: string,
fetchImpl: typeof fetch = fetch,
timeoutMs = 4000,
): Promise<ApiStatus> {
const checkedAt = new Date().toISOString();
const controller = new AbortController();
const timer = setTimeout(() => controller.abort(), timeoutMs);
try {
const res = await fetchImpl(`${baseUrl}/health`, {
cache: "no-store",
signal: controller.signal,
headers: { accept: "application/json" },
});
if (!res.ok) {
return { reachable: false, httpStatus: res.status, reason: `API /health answered HTTP ${res.status}`, checkedAt };
}
const body: unknown = await res.json();
const obj = (body ?? {}) as Record<string, unknown>;
return {
reachable: true,
httpStatus: res.status,
status: typeof obj.status === "string" ? obj.status : "unknown",
timestamp: typeof obj.timestamp === "string" ? obj.timestamp : null,
cl0ud: typeof obj.cl0ud === "string" ? obj.cl0ud : null,
checkedAt,
};
} catch (error) {
const reason = error instanceof Error ? error.name === "AbortError" ? `no answer within ${timeoutMs} ms` : error.message : "unknown error";
return { reachable: false, httpStatus: null, reason, checkedAt };
} finally {
clearTimeout(timer);
}
}
/** The routes the API actually serves today (apps/api/src). */
export const API_SURFACE: ReadonlyArray<{ method: string; path: string; auth: "public" | "bearer"; purpose: string }> = [
{ method: "GET", path: "/health", auth: "public", purpose: "Liveness and CL0UD binding mode" },
{ method: "GET", path: "/v1/c0py/registries", auth: "bearer", purpose: "Registered capture registries" },
{ method: "GET", path: "/v1/c0py/registries/:id", auth: "bearer", purpose: "One registry and its provenance" },
{ method: "GET", path: "/v1/c0py/scans", auth: "bearer", purpose: "Capture/scan runs" },
{ method: "GET", path: "/v1/c0py/scans/:id", auth: "bearer", purpose: "One run, its evidence and fidelity" },
];
/** The canonical pipeline, as declared in README.md / docs/MASTERPLAN.md. */
export const PIPELINE: ReadonlyArray<string> = [
"Source product",
"discovery",
"Playwright/CDP deterministic capture",
"semantic workflow exploration",
"Evidence Graph / Canonical IR",
"frozen reconstruction specs",
"builders (v0 / Lovable / Codex / generic)",
"preview deployment",
"multidimensional QA",
"typed repair loop",
];
+70
View File
@@ -0,0 +1,70 @@
import { describe, expect, it } from "vitest";
import {
API_SURFACE,
DEFAULT_API_BASE_URL,
PIPELINE,
apiBaseUrl,
fetchApiStatus,
} from "../src/lib/api-status";
function jsonResponse(body: unknown, status = 200): Response {
return new Response(JSON.stringify(body), { status, headers: { "content-type": "application/json" } });
}
describe("apiBaseUrl", () => {
it("falls back to the canonical API host", () => {
expect(apiBaseUrl({})).toBe(DEFAULT_API_BASE_URL);
});
it("uses the configured base URL and strips trailing slashes", () => {
expect(apiBaseUrl({ C0PY_API_BASE_URL: "https://c0py-api.example.test/" })).toBe(
"https://c0py-api.example.test",
);
});
});
describe("fetchApiStatus", () => {
it("reports the status the API actually returned", async () => {
const result = await fetchApiStatus("https://api.test", async (input) => {
expect(String(input)).toBe("https://api.test/health");
return jsonResponse({ status: "ok", timestamp: "2026-11-11T00:00:00.000Z", cl0ud: "disabled" });
});
expect(result.reachable).toBe(true);
if (!result.reachable) throw new Error("expected reachable");
expect(result.status).toBe("ok");
expect(result.cl0ud).toBe("disabled");
expect(result.timestamp).toBe("2026-11-11T00:00:00.000Z");
});
it("does not invent a status when the API answers an error code", async () => {
const result = await fetchApiStatus("https://api.test", async () => jsonResponse({}, 503));
expect(result.reachable).toBe(false);
if (result.reachable) throw new Error("expected unreachable");
expect(result.httpStatus).toBe(503);
expect(result.reason).toContain("503");
});
it("does not invent a status when the API cannot be reached", async () => {
const result = await fetchApiStatus("https://api.test", async () => {
throw new Error("getaddrinfo ENOTFOUND api.test");
});
expect(result.reachable).toBe(false);
if (result.reachable) throw new Error("expected unreachable");
expect(result.reason).toContain("ENOTFOUND");
});
});
describe("declared product surface", () => {
it("documents the public health route and the bearer-only v1 routes", () => {
expect(API_SURFACE.find((r) => r.path === "/health")?.auth).toBe("public");
const v1 = API_SURFACE.filter((r) => r.path.startsWith("/v1/c0py/"));
expect(v1.length).toBeGreaterThanOrEqual(4);
expect(v1.every((r) => r.auth === "bearer")).toBe(true);
});
it("keeps the canonical pipeline from the masterplan", () => {
expect(PIPELINE[0]).toBe("Source product");
expect(PIPELINE).toContain("Evidence Graph / Canonical IR");
expect(PIPELINE.at(-1)).toBe("typed repair loop");
});
});
-7
View File
@@ -1,7 +0,0 @@
import { describe, it, expect } from "vitest";
describe("noop", () => {
it("passes", () => {
expect(true).toBe(true);
});
});
+39 -1
View File
@@ -1 +1,39 @@
{"name":"c0py","version":"0.1.0","private":true,"description":"C0PY — canonical SIAX web product capture, digital twin, reconstruction and verification engine.","type":"module","scripts":{"build":"pnpm -r build","typecheck":"pnpm -r typecheck","test":"pnpm -r test","lint":"eslint .","validate:architecture":"node scripts/validate-canonical-architecture.mjs","dev:api":"pnpm --filter @siax/c0py-api dev","dev:web":"pnpm --filter @siax/c0py-web dev","start:api":"pnpm --filter @siax/c0py-api start"},"devDependencies":{"typescript":"^5.7.2","@types/node":"^24.0.0","@eslint/js":"^9.18.0","eslint":"^9.18.0","eslint-config-prettier":"^10.0.0","prettier":"^3.4.2","typescript-eslint":"^8.20.0"},"engines":{"node":">=20.17.0"},"pnpm":{"overrides":{"nanoid@<5.1.16":"5.1.16","postcss@<8.5.18":"8.5.28"}},"packageManager":"pnpm@9.15.9"}
{
"name": "c0py",
"version": "0.1.0",
"private": true,
"description": "C0PY — canonical SIAX web product capture, digital twin, reconstruction and verification engine.",
"type": "module",
"scripts": {
"build": "pnpm -r build",
"typecheck": "pnpm -r typecheck",
"test": "pnpm -r test",
"lint": "eslint .",
"validate:architecture": "node scripts/validate-canonical-architecture.mjs",
"dev:api": "pnpm --filter @siax/c0py-api dev",
"dev:web": "pnpm --filter @siax/c0py-web dev",
"start:api": "pnpm --filter @siax/c0py-api start"
},
"devDependencies": {
"typescript": "^5.7.2",
"@types/node": "^24.0.0",
"@eslint/js": "^9.18.0",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.0",
"prettier": "^3.4.2",
"typescript-eslint": "^8.20.0"
},
"engines": {
"node": ">=20.17.0"
},
"pnpm": {
"overrides": {
"nanoid@<5.1.16": "5.1.16",
"postcss@<8.5.18": "8.5.28",
"next": "15.5.28",
"sharp": "0.35.5",
"source-map-js": "1.2.2"
}
},
"packageManager": "pnpm@9.15.9"
}
+167 -164
View File
@@ -7,6 +7,9 @@ settings:
overrides:
nanoid@<5.1.16: 5.1.16
postcss@<8.5.18: 8.5.28
next: 15.5.28
sharp: 0.35.5
source-map-js: 1.2.2
importers:
@@ -77,8 +80,8 @@ importers:
apps/web:
dependencies:
next:
specifier: ^15.0.0
version: 15.5.25(@types/node@24.13.5)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)
specifier: 15.5.28
version: 15.5.28(@types/node@24.13.5)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)
react:
specifier: ^19.0.0
version: 19.3.0
@@ -378,144 +381,144 @@ packages:
resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==}
engines: {node: '>=18'}
'@img/sharp-darwin-arm64@0.35.4':
resolution: {integrity: sha512-Uhfl4V4lhP2nbUVF9+hyH1+luj86f1gUFeo8ALYxFoULoU+G87D43BfeMP8XHsk9boxAnCY/bf2EHwhA7MuGsA==}
'@img/sharp-darwin-arm64@0.35.5':
resolution: {integrity: sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==}
engines: {node: '>=20.9.0'}
cpu: [arm64]
os: [darwin]
'@img/sharp-darwin-x64@0.35.4':
resolution: {integrity: sha512-hWniXY3bG5qKpkKrAwPe4y+VTPmf086YQAnkxWh7uA1YrlRouWGa0M0Mxj3ZjnXFkv7/TD1bTy9lGUK26vRvWw==}
'@img/sharp-darwin-x64@0.35.5':
resolution: {integrity: sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==}
engines: {node: '>=20.9.0'}
cpu: [x64]
os: [darwin]
'@img/sharp-freebsd-wasm32@0.35.4':
resolution: {integrity: sha512-lIsKw/BU+kjB4eZjxrYrZmwOJYi3Ajrv66iAlBmUPyKc3HpnloevB1g3wxGD9P/5BbQ1brBGl65VRRrCvQDEqA==}
'@img/sharp-freebsd-wasm32@0.35.5':
resolution: {integrity: sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==}
engines: {node: '>=20.9.0'}
os: [freebsd]
'@img/sharp-libvips-darwin-arm64@1.3.3':
resolution: {integrity: sha512-suTBPTDGrI9WodccaDdwZItTSaBYASlBk1NSfElSHrUfzu3szG6lvIF58+WiFvnfzuK8ZBFS5zE00PxqxnRiPg==}
'@img/sharp-libvips-darwin-arm64@1.3.4':
resolution: {integrity: sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==}
cpu: [arm64]
os: [darwin]
'@img/sharp-libvips-darwin-x64@1.3.3':
resolution: {integrity: sha512-FVJZ5mITMobmXIz/hPDTw0EintTW5H3WfrxwLqEqjiIihlu+hVRyGrFQ60xl0Lxn7Bt3zdpevPaQi0HEzqz9fw==}
'@img/sharp-libvips-darwin-x64@1.3.4':
resolution: {integrity: sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==}
cpu: [x64]
os: [darwin]
'@img/sharp-libvips-linux-arm64@1.3.3':
resolution: {integrity: sha512-0DaL0A6Xu6sQSQFwe4iVCrKWU2cCTItnRsYsCdxAMm9NF6twAA9BKnoqy4hqz4+azQ0JHuA26qiUKsf1XJ/v5A==}
'@img/sharp-libvips-linux-arm64@1.3.4':
resolution: {integrity: sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==}
cpu: [arm64]
os: [linux]
'@img/sharp-libvips-linux-arm@1.3.3':
resolution: {integrity: sha512-3rbU4vqXXc3hY/OiXdl52xZvT0F1yEngWfvqudtPJg/KkyiaQw2DRsFrNzpmLvfavbwOq3qXn36GP8obHRULQA==}
'@img/sharp-libvips-linux-arm@1.3.4':
resolution: {integrity: sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==}
cpu: [arm]
os: [linux]
'@img/sharp-libvips-linux-ppc64@1.3.3':
resolution: {integrity: sha512-cdn1OvUBwsXhbC0zSzJnNzf5MZ/mTrobawDvNXBTxe8VtqKAm0sRuEY2Evzovb/w9JMk4TvRxqt1mekSuJz64w==}
'@img/sharp-libvips-linux-ppc64@1.3.4':
resolution: {integrity: sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==}
cpu: [ppc64]
os: [linux]
'@img/sharp-libvips-linux-riscv64@1.3.3':
resolution: {integrity: sha512-HjPVx7yKz+0lqdhDlTw1tt90wamBoxhiXpvl1XZpJLiHH4RCJ5yDTqH+VlYPv2fwFs89JFw4c1IexYOcQUi4IQ==}
'@img/sharp-libvips-linux-riscv64@1.3.4':
resolution: {integrity: sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==}
cpu: [riscv64]
os: [linux]
'@img/sharp-libvips-linux-s390x@1.3.3':
resolution: {integrity: sha512-neWLh+3yCNThxnfy3c4BbVBeGgt9aftno+XbT56iK28RgeDs3UOFWviLWlUu0bArYVYJaFDK+RRohbicUNCm8Q==}
'@img/sharp-libvips-linux-s390x@1.3.4':
resolution: {integrity: sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==}
cpu: [s390x]
os: [linux]
'@img/sharp-libvips-linux-x64@1.3.3':
resolution: {integrity: sha512-4vKmvAst9nrowcqquKFAyZJUDolUaIp8uRiN0mWFguJ1IplC9/pitXtlnnlU4aa/eJw3J7i67V+pwUL+wZGdsA==}
'@img/sharp-libvips-linux-x64@1.3.4':
resolution: {integrity: sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==}
cpu: [x64]
os: [linux]
'@img/sharp-libvips-linuxmusl-arm64@1.3.3':
resolution: {integrity: sha512-Y9kQaLMuNoB0bPYOOdcZMaseNrFpPodIWWMrx+CZyydf2xn68j9WYc6sWWRrDwNkzCQjKYfc68L7jKjGlHMibw==}
'@img/sharp-libvips-linuxmusl-arm64@1.3.4':
resolution: {integrity: sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==}
cpu: [arm64]
os: [linux]
'@img/sharp-libvips-linuxmusl-x64@1.3.3':
resolution: {integrity: sha512-fj8Mv0HHfD1Rr+4I68+3agJynxDWtBFgicTbSOb9Bke6pIwzGcJ+RX/yHjmiEGFMCavY/dxvem7MyNaJF+wDiw==}
'@img/sharp-libvips-linuxmusl-x64@1.3.4':
resolution: {integrity: sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==}
cpu: [x64]
os: [linux]
'@img/sharp-linux-arm64@0.35.4':
resolution: {integrity: sha512-De4jpEnAU8Hd5oT0j1G3uL4ZvTuipVMn7YC6vPaJhy6/7EwEae0SVAoBrUMYQbkLGDm85taVWwuPc1a44LTzCQ==}
'@img/sharp-linux-arm64@0.35.5':
resolution: {integrity: sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==}
engines: {node: '>=20.9.0'}
cpu: [arm64]
os: [linux]
'@img/sharp-linux-arm@0.35.4':
resolution: {integrity: sha512-7OAS8gI0EReKGVN2HssHlM6umJgxF5VI3xN0p9FA91p/YO+ou5hiNghLdZ5BEHztwaaK5+bLKRf8x/o2L2nk9A==}
'@img/sharp-linux-arm@0.35.5':
resolution: {integrity: sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==}
engines: {node: '>=20.9.0'}
cpu: [arm]
os: [linux]
'@img/sharp-linux-ppc64@0.35.4':
resolution: {integrity: sha512-2oYZJeIl4kCcMGk4ouZVjnkCtFrpQFlNEtJ6GbxzhHQchwH0NH/qEb9ykmOl29dqwMq+JhFdZn+1ak2FKhI9fQ==}
'@img/sharp-linux-ppc64@0.35.5':
resolution: {integrity: sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==}
engines: {node: '>=20.9.0'}
cpu: [ppc64]
os: [linux]
'@img/sharp-linux-riscv64@0.35.4':
resolution: {integrity: sha512-cPbNChoRURAWdebDIHSenxRpgEdy7JkPydSnUxRm9VvKD7m0/xVaR/8Fzlu81pk5nHEvHH87UZUA7cTtwnbJSA==}
'@img/sharp-linux-riscv64@0.35.5':
resolution: {integrity: sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==}
engines: {node: '>=20.9.0'}
cpu: [riscv64]
os: [linux]
'@img/sharp-linux-s390x@0.35.4':
resolution: {integrity: sha512-RY0JFY8Fd6RonCBtHz+DvadaPkXDSI1AUn6yWL9TipqkZ1vY8w8evqdgyDFnkm4/K1ve1TvZiaePP5oSd4+WVQ==}
'@img/sharp-linux-s390x@0.35.5':
resolution: {integrity: sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==}
engines: {node: '>=20.9.0'}
cpu: [s390x]
os: [linux]
'@img/sharp-linux-x64@0.35.4':
resolution: {integrity: sha512-9qvvEAuk8k89TfWUoX2htWjbAMX8p+NxCppjpcg5k6xMsjhBQPTsoIh36h9Qde4WRuGpJeYnOjdosDn/cnv+OA==}
'@img/sharp-linux-x64@0.35.5':
resolution: {integrity: sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==}
engines: {node: '>=20.9.0'}
cpu: [x64]
os: [linux]
'@img/sharp-linuxmusl-arm64@0.35.4':
resolution: {integrity: sha512-KB5jxpfWQTr0nc3xdHtWChdbifHrBGsd2SM62Eyxrl8afikm+f5qGBU75SJIZBT/S1MC8XyacdlXBMSWq6OURA==}
'@img/sharp-linuxmusl-arm64@0.35.5':
resolution: {integrity: sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==}
engines: {node: '>=20.9.0'}
cpu: [arm64]
os: [linux]
'@img/sharp-linuxmusl-x64@0.35.4':
resolution: {integrity: sha512-f+eZJZIQNEEd26RPSW+76chwOf1XtA2Y/O+5ocVyLliHkeih3e+jhLVBdNTd2rS3IbNXK8+ug93Vf5ZXtF5Lxg==}
'@img/sharp-linuxmusl-x64@0.35.5':
resolution: {integrity: sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==}
engines: {node: '>=20.9.0'}
cpu: [x64]
os: [linux]
'@img/sharp-wasm32@0.35.4':
resolution: {integrity: sha512-zQnl4Kwp7Q6NHsENtU2T/00Zi+w3AQNwz3+UaTyVBy2FpXrzXzGjndpK61onhZjRtRpQXxCTeqw19bVyXOh7jA==}
'@img/sharp-wasm32@0.35.5':
resolution: {integrity: sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==}
engines: {node: '>=20.9.0'}
'@img/sharp-webcontainers-wasm32@0.35.4':
resolution: {integrity: sha512-ESfNkywmCfPNyaZjxooddJQiQ+l/nTpGEOGthxiLnIHXC/CmcBixnfwUleX9mCz9ovrUUvKMap/pm8RYbzfwaA==}
'@img/sharp-webcontainers-wasm32@0.35.5':
resolution: {integrity: sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==}
engines: {node: '>=20.9.0'}
cpu: [wasm32]
'@img/sharp-win32-arm64@0.35.4':
resolution: {integrity: sha512-iNdlBX9gLVvqe2I3uIJSIKTq6wckP/DYxZtcqxm09x5Gi24DnFBmPAWZmr60ZyYMG0xlzo6goG3670ar+RXvRw==}
'@img/sharp-win32-arm64@0.35.5':
resolution: {integrity: sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==}
engines: {node: '>=20.9.0'}
cpu: [arm64]
os: [win32]
'@img/sharp-win32-ia32@0.35.4':
resolution: {integrity: sha512-kqRsbaa5CS6KHlpxnN7WhE6vAAugXyZButpRdvDWetlv6Qv4N9WTcrWzF7tXfB9T7MsoadqdI8hmwLq6UlLvtw==}
'@img/sharp-win32-ia32@0.35.5':
resolution: {integrity: sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==}
engines: {node: ^20.9.0}
cpu: [ia32]
os: [win32]
'@img/sharp-win32-x64@0.35.4':
resolution: {integrity: sha512-XtmnYhBcrORsJ4XJngyzr/EWP0hRZLAZRFaApdKuviyqF78+ylxh2y06ZmtULAMOnObJ3ucpN0AcwSWnMowTRg==}
'@img/sharp-win32-x64@0.35.5':
resolution: {integrity: sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==}
engines: {node: '>=20.9.0'}
cpu: [x64]
os: [win32]
@@ -529,53 +532,53 @@ packages:
cpu: [x64]
os: [linux]
'@next/env@15.5.25':
resolution: {integrity: sha512-42h1lLr07vl4gawALP1hsgRZjHB1xYa58JfUfHwr0f7jG/zhPakh5GHkADHXOC9ZxUvlQFOPIrp7s6qX4DezPQ==}
'@next/env@15.5.28':
resolution: {integrity: sha512-xxW5EBI8fMPuVTPBW7LL980IRbuDXlbkUAwp9DDhtb4Lnich3nJ13uYpvrX4VE74hWPf6AvHHAMmGCidcHjbfg==}
'@next/swc-darwin-arm64@15.5.25':
resolution: {integrity: sha512-w+RR0v/QuApnWEjRGm1z6gcObKwGMb5YPA7V3bzBEVSBpMFUXprer0tS27UxjUcEnqbhL7Zuzohej79B6rYmBg==}
'@next/swc-darwin-arm64@15.5.28':
resolution: {integrity: sha512-dPoQYXcfSIqx5o+TOXVXO7kONK5qbtNRDeiTfII0bT3puGIT6VF5e0QwmxNZfEZ5Zety5f3m9P/p4xqwfiLlPg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
'@next/swc-darwin-x64@15.5.25':
resolution: {integrity: sha512-QiGGBUSakt8S1H4Lt9Ehsh6Ja87axiBnQQgysOObvCbI7iUfJnRGntF1P64S4/ijuHFnSB8KLsEddkY3nN26uw==}
'@next/swc-darwin-x64@15.5.28':
resolution: {integrity: sha512-RgCJ7buBivTH+6sddqaVm+/v8kwMHlFkobvdt3DfETutws5HrxnToMIWSN9X3MZ3aAi7BbKrGZZWUDQLEycXqw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
'@next/swc-linux-arm64-gnu@15.5.25':
resolution: {integrity: sha512-ehLos/66zo0d/mJCU5u96a/VDcr01aaUrX0o/i16UdInxz8qPTCDSxGtjk/Lps1sIr1RJFdiX3hxc0fxJo+cPA==}
'@next/swc-linux-arm64-gnu@15.5.28':
resolution: {integrity: sha512-OHXQe13olE59aKe++zHavGcJPh5SLHXi6Anret3BBeq1+qhSuOJDNAli/EDDfxs6UTqA4Qddo4uyYry2slyjiQ==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
'@next/swc-linux-arm64-musl@15.5.25':
resolution: {integrity: sha512-ZVMrqLiJ7DiChgmbkQwFtdhAnUkSH/4p7tB29QY+giATb0Q/XGHNRSKAb/B8XGDHRUaA67NepOW5W8u3ZRJBAA==}
'@next/swc-linux-arm64-musl@15.5.28':
resolution: {integrity: sha512-nTB7bB6vfn4ezCJNYP43ukt2o8L3+WxKF/sTcTxepdXsJh3SM9RhlU7wrZYbH7L4HO5M87dqDTwm8587vAkCiw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
'@next/swc-linux-x64-gnu@15.5.25':
resolution: {integrity: sha512-UOewtDGkTMJTiODrEdeLZ50yGb59xCZSriNpXkfPMxRRgwDkGc7i8mLWqV5076wEdb+Ca/XN7MhJyM3CupyNyQ==}
'@next/swc-linux-x64-gnu@15.5.28':
resolution: {integrity: sha512-WXCfVI32rW3xCusoUX1RpZKtyChWU2Zwe27JUDmM3KrXwcDNc9vV4zEq0GKFAURnuQ/Ouo/XqPvB0yh445XZCg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
'@next/swc-linux-x64-musl@15.5.25':
resolution: {integrity: sha512-UBHwA8AhkCZgtRfU1aJpunuAJe/6gZv6jDESQe4p5MjTb5V0YEeJBWCdNqx15Vj3x+5jmauRfeMJSjfQj9HGFQ==}
'@next/swc-linux-x64-musl@15.5.28':
resolution: {integrity: sha512-Miq+NDb/HWsXuxseYxMM6fuEOQXgTziarkKIRpVKCn8W69cEfhQaQr+90pO+u4q2CbJR2wzXmUuCFyZaJs/Nng==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
'@next/swc-win32-arm64-msvc@15.5.25':
resolution: {integrity: sha512-QcFcPRr16djk5IqK5+e8O80eZfgWzIvVBXfitIq0tQ/uc+eyfdoZ0NmKc0cnbIJyfVwREapKuG97YcxWA9gcpA==}
'@next/swc-win32-arm64-msvc@15.5.28':
resolution: {integrity: sha512-5LR79lemgDlgxvG7MQJ+zHCkVcrUoQuO7CiIvq3I58vNW4goSOE2b+19Z6FujRWMouvni4gvudYFuFuNxolGWA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
'@next/swc-win32-x64-msvc@15.5.25':
resolution: {integrity: sha512-zREeykps3ndWr9egJgvJKqVkkDuaw6Zrrg23cYBos0ygydFkAWYU4+PaPVwXzP1eAYQJe53ShSK45iDM529BOg==}
'@next/swc-win32-x64-msvc@15.5.28':
resolution: {integrity: sha512-GNipvXUYROSTf4PXEyH95FrWImIB5zdaK6uEOg0RP1/X2drnvoMwiBkJ0VWdzX7w3iiBm3y5g2TxkKDGVTOQcg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@@ -1196,8 +1199,8 @@ packages:
natural-compare@1.4.0:
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
next@15.5.25:
resolution: {integrity: sha512-OMWNulIIqKM2ykvC2qMjIt0IoavB4UB2SCs4iXJ6z6847FvyH8jBmBWcvrF5iuhTu8Przh20Fo/aoszIdqx4PA==}
next@15.5.28:
resolution: {integrity: sha512-JjhLBBY1PNnuwPtcZ7t8yxVeJVYvD2Jyp633J+gRCNbzSt7N0E+xqCf6uQiff3+3qmUkwcF/ksfSsK1xsZ76Tw==}
engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0}
hasBin: true
peerDependencies:
@@ -1412,8 +1415,8 @@ packages:
set-cookie-parser@2.7.2:
resolution: {integrity: sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw==}
sharp@0.35.4:
resolution: {integrity: sha512-n++8XWcj+jCOr2IOl7h8LbKnGBDY4aPbmprMONBNFdn0ImXqpGVv5zliDs0V9HbmbCQLpbuo2ej9rAoOQTvMDA==}
sharp@0.35.5:
resolution: {integrity: sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==}
engines: {node: '>=20.9.0'}
peerDependencies:
'@types/node': '*'
@@ -1435,8 +1438,8 @@ packages:
sonic-boom@4.2.1:
resolution: {integrity: sha512-w6AxtubXa2wTXAUsZMMWERrsIRAdrK0Sc+FUytWvYAhBJLyuI4llrMIC1DtlNSdI99EI86KZum2MMq3EAZlF9Q==}
source-map-js@1.2.1:
resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}
source-map-js@1.2.2:
resolution: {integrity: sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==}
engines: {node: '>=0.10.0'}
split2@4.2.0:
@@ -1810,108 +1813,108 @@ snapshots:
'@img/colour@1.1.0':
optional: true
'@img/sharp-darwin-arm64@0.35.4':
'@img/sharp-darwin-arm64@0.35.5':
optionalDependencies:
'@img/sharp-libvips-darwin-arm64': 1.3.3
'@img/sharp-libvips-darwin-arm64': 1.3.4
optional: true
'@img/sharp-darwin-x64@0.35.4':
'@img/sharp-darwin-x64@0.35.5':
optionalDependencies:
'@img/sharp-libvips-darwin-x64': 1.3.3
'@img/sharp-libvips-darwin-x64': 1.3.4
optional: true
'@img/sharp-freebsd-wasm32@0.35.4':
'@img/sharp-freebsd-wasm32@0.35.5':
dependencies:
'@img/sharp-wasm32': 0.35.4
'@img/sharp-wasm32': 0.35.5
optional: true
'@img/sharp-libvips-darwin-arm64@1.3.3':
'@img/sharp-libvips-darwin-arm64@1.3.4':
optional: true
'@img/sharp-libvips-darwin-x64@1.3.3':
'@img/sharp-libvips-darwin-x64@1.3.4':
optional: true
'@img/sharp-libvips-linux-arm64@1.3.3':
'@img/sharp-libvips-linux-arm64@1.3.4':
optional: true
'@img/sharp-libvips-linux-arm@1.3.3':
'@img/sharp-libvips-linux-arm@1.3.4':
optional: true
'@img/sharp-libvips-linux-ppc64@1.3.3':
'@img/sharp-libvips-linux-ppc64@1.3.4':
optional: true
'@img/sharp-libvips-linux-riscv64@1.3.3':
'@img/sharp-libvips-linux-riscv64@1.3.4':
optional: true
'@img/sharp-libvips-linux-s390x@1.3.3':
'@img/sharp-libvips-linux-s390x@1.3.4':
optional: true
'@img/sharp-libvips-linux-x64@1.3.3':
'@img/sharp-libvips-linux-x64@1.3.4':
optional: true
'@img/sharp-libvips-linuxmusl-arm64@1.3.3':
'@img/sharp-libvips-linuxmusl-arm64@1.3.4':
optional: true
'@img/sharp-libvips-linuxmusl-x64@1.3.3':
'@img/sharp-libvips-linuxmusl-x64@1.3.4':
optional: true
'@img/sharp-linux-arm64@0.35.4':
'@img/sharp-linux-arm64@0.35.5':
optionalDependencies:
'@img/sharp-libvips-linux-arm64': 1.3.3
'@img/sharp-libvips-linux-arm64': 1.3.4
optional: true
'@img/sharp-linux-arm@0.35.4':
'@img/sharp-linux-arm@0.35.5':
optionalDependencies:
'@img/sharp-libvips-linux-arm': 1.3.3
'@img/sharp-libvips-linux-arm': 1.3.4
optional: true
'@img/sharp-linux-ppc64@0.35.4':
'@img/sharp-linux-ppc64@0.35.5':
optionalDependencies:
'@img/sharp-libvips-linux-ppc64': 1.3.3
'@img/sharp-libvips-linux-ppc64': 1.3.4
optional: true
'@img/sharp-linux-riscv64@0.35.4':
'@img/sharp-linux-riscv64@0.35.5':
optionalDependencies:
'@img/sharp-libvips-linux-riscv64': 1.3.3
'@img/sharp-libvips-linux-riscv64': 1.3.4
optional: true
'@img/sharp-linux-s390x@0.35.4':
'@img/sharp-linux-s390x@0.35.5':
optionalDependencies:
'@img/sharp-libvips-linux-s390x': 1.3.3
'@img/sharp-libvips-linux-s390x': 1.3.4
optional: true
'@img/sharp-linux-x64@0.35.4':
'@img/sharp-linux-x64@0.35.5':
optionalDependencies:
'@img/sharp-libvips-linux-x64': 1.3.3
'@img/sharp-libvips-linux-x64': 1.3.4
optional: true
'@img/sharp-linuxmusl-arm64@0.35.4':
'@img/sharp-linuxmusl-arm64@0.35.5':
optionalDependencies:
'@img/sharp-libvips-linuxmusl-arm64': 1.3.3
'@img/sharp-libvips-linuxmusl-arm64': 1.3.4
optional: true
'@img/sharp-linuxmusl-x64@0.35.4':
'@img/sharp-linuxmusl-x64@0.35.5':
optionalDependencies:
'@img/sharp-libvips-linuxmusl-x64': 1.3.3
'@img/sharp-libvips-linuxmusl-x64': 1.3.4
optional: true
'@img/sharp-wasm32@0.35.4':
'@img/sharp-wasm32@0.35.5':
dependencies:
'@emnapi/runtime': 1.11.3
optional: true
'@img/sharp-webcontainers-wasm32@0.35.4':
'@img/sharp-webcontainers-wasm32@0.35.5':
dependencies:
'@img/sharp-wasm32': 0.35.4
'@img/sharp-wasm32': 0.35.5
optional: true
'@img/sharp-win32-arm64@0.35.4':
'@img/sharp-win32-arm64@0.35.5':
optional: true
'@img/sharp-win32-ia32@0.35.4':
'@img/sharp-win32-ia32@0.35.5':
optional: true
'@img/sharp-win32-x64@0.35.4':
'@img/sharp-win32-x64@0.35.5':
optional: true
'@jridgewell/sourcemap-codec@1.6.0': {}
@@ -1919,30 +1922,30 @@ snapshots:
'@napi-rs/lzma-linux-x64-gnu@1.5.1':
optional: true
'@next/env@15.5.25': {}
'@next/env@15.5.28': {}
'@next/swc-darwin-arm64@15.5.25':
'@next/swc-darwin-arm64@15.5.28':
optional: true
'@next/swc-darwin-x64@15.5.25':
'@next/swc-darwin-x64@15.5.28':
optional: true
'@next/swc-linux-arm64-gnu@15.5.25':
'@next/swc-linux-arm64-gnu@15.5.28':
optional: true
'@next/swc-linux-arm64-musl@15.5.25':
'@next/swc-linux-arm64-musl@15.5.28':
optional: true
'@next/swc-linux-x64-gnu@15.5.25':
'@next/swc-linux-x64-gnu@15.5.28':
optional: true
'@next/swc-linux-x64-musl@15.5.25':
'@next/swc-linux-x64-musl@15.5.28':
optional: true
'@next/swc-win32-arm64-msvc@15.5.25':
'@next/swc-win32-arm64-msvc@15.5.28':
optional: true
'@next/swc-win32-x64-msvc@15.5.25':
'@next/swc-win32-x64-msvc@15.5.28':
optional: true
'@pinojs/redact@0.4.0': {}
@@ -2571,9 +2574,9 @@ snapshots:
natural-compare@1.4.0: {}
next@15.5.25(@types/node@24.13.5)(react-dom@19.3.0(react@19.3.0))(react@19.3.0):
next@15.5.28(@types/node@24.13.5)(react-dom@19.3.0(react@19.3.0))(react@19.3.0):
dependencies:
'@next/env': 15.5.25
'@next/env': 15.5.28
'@swc/helpers': 0.5.15
caniuse-lite: 1.0.30001810
postcss: 8.5.28
@@ -2581,15 +2584,15 @@ snapshots:
react-dom: 19.3.0(react@19.3.0)
styled-jsx: 5.1.6(react@19.3.0)
optionalDependencies:
'@next/swc-darwin-arm64': 15.5.25
'@next/swc-darwin-x64': 15.5.25
'@next/swc-linux-arm64-gnu': 15.5.25
'@next/swc-linux-arm64-musl': 15.5.25
'@next/swc-linux-x64-gnu': 15.5.25
'@next/swc-linux-x64-musl': 15.5.25
'@next/swc-win32-arm64-msvc': 15.5.25
'@next/swc-win32-x64-msvc': 15.5.25
sharp: 0.35.4(@types/node@24.13.5)
'@next/swc-darwin-arm64': 15.5.28
'@next/swc-darwin-x64': 15.5.28
'@next/swc-linux-arm64-gnu': 15.5.28
'@next/swc-linux-arm64-musl': 15.5.28
'@next/swc-linux-x64-gnu': 15.5.28
'@next/swc-linux-x64-musl': 15.5.28
'@next/swc-win32-arm64-msvc': 15.5.28
'@next/swc-win32-x64-msvc': 15.5.28
sharp: 0.35.5(@types/node@24.13.5)
transitivePeerDependencies:
- '@babel/core'
- '@types/node'
@@ -2691,7 +2694,7 @@ snapshots:
dependencies:
nanoid: 5.1.16
picocolors: 1.1.1
source-map-js: 1.2.1
source-map-js: 1.2.2
postgres-array@2.0.0: {}
@@ -2782,37 +2785,37 @@ snapshots:
set-cookie-parser@2.7.2: {}
sharp@0.35.4(@types/node@24.13.5):
sharp@0.35.5(@types/node@24.13.5):
dependencies:
'@img/colour': 1.1.0
detect-libc: 2.1.2
semver: 7.8.5
optionalDependencies:
'@img/sharp-darwin-arm64': 0.35.4
'@img/sharp-darwin-x64': 0.35.4
'@img/sharp-freebsd-wasm32': 0.35.4
'@img/sharp-libvips-darwin-arm64': 1.3.3
'@img/sharp-libvips-darwin-x64': 1.3.3
'@img/sharp-libvips-linux-arm': 1.3.3
'@img/sharp-libvips-linux-arm64': 1.3.3
'@img/sharp-libvips-linux-ppc64': 1.3.3
'@img/sharp-libvips-linux-riscv64': 1.3.3
'@img/sharp-libvips-linux-s390x': 1.3.3
'@img/sharp-libvips-linux-x64': 1.3.3
'@img/sharp-libvips-linuxmusl-arm64': 1.3.3
'@img/sharp-libvips-linuxmusl-x64': 1.3.3
'@img/sharp-linux-arm': 0.35.4
'@img/sharp-linux-arm64': 0.35.4
'@img/sharp-linux-ppc64': 0.35.4
'@img/sharp-linux-riscv64': 0.35.4
'@img/sharp-linux-s390x': 0.35.4
'@img/sharp-linux-x64': 0.35.4
'@img/sharp-linuxmusl-arm64': 0.35.4
'@img/sharp-linuxmusl-x64': 0.35.4
'@img/sharp-webcontainers-wasm32': 0.35.4
'@img/sharp-win32-arm64': 0.35.4
'@img/sharp-win32-ia32': 0.35.4
'@img/sharp-win32-x64': 0.35.4
'@img/sharp-darwin-arm64': 0.35.5
'@img/sharp-darwin-x64': 0.35.5
'@img/sharp-freebsd-wasm32': 0.35.5
'@img/sharp-libvips-darwin-arm64': 1.3.4
'@img/sharp-libvips-darwin-x64': 1.3.4
'@img/sharp-libvips-linux-arm': 1.3.4
'@img/sharp-libvips-linux-arm64': 1.3.4
'@img/sharp-libvips-linux-ppc64': 1.3.4
'@img/sharp-libvips-linux-riscv64': 1.3.4
'@img/sharp-libvips-linux-s390x': 1.3.4
'@img/sharp-libvips-linux-x64': 1.3.4
'@img/sharp-libvips-linuxmusl-arm64': 1.3.4
'@img/sharp-libvips-linuxmusl-x64': 1.3.4
'@img/sharp-linux-arm': 0.35.5
'@img/sharp-linux-arm64': 0.35.5
'@img/sharp-linux-ppc64': 0.35.5
'@img/sharp-linux-riscv64': 0.35.5
'@img/sharp-linux-s390x': 0.35.5
'@img/sharp-linux-x64': 0.35.5
'@img/sharp-linuxmusl-arm64': 0.35.5
'@img/sharp-linuxmusl-x64': 0.35.5
'@img/sharp-webcontainers-wasm32': 0.35.5
'@img/sharp-win32-arm64': 0.35.5
'@img/sharp-win32-ia32': 0.35.5
'@img/sharp-win32-x64': 0.35.5
'@types/node': 24.13.5
optional: true
@@ -2828,7 +2831,7 @@ snapshots:
dependencies:
atomic-sleep: 1.0.0
source-map-js@1.2.1: {}
source-map-js@1.2.2: {}
split2@4.2.0: {}