Trace-native CI/CD for AI agents — production failures become regression tests that block the PR. Auto-detect, cluster, freeze into hermetic cases, replay in CI for $0.
Python agentagent-observabilityai-agentsci-cdclickhouseevalsevaluationllmllm-as-judgellm-evaluationllm-observabilityllm-opsllmopsmcpmonitoringopentelemetrypythonself-hostedtracing
refactor(app): drop the first-run checklist; open on Trends
Wuthrich Juliencfdffdb0be17
diff --git a/docs/next.config.mjs b/docs/next.config.mjsindex 56f8e1d..b8a3fe9 100644--- a/docs/next.config.mjs+++ b/docs/next.config.mjs@@ -18,6 +18,8 @@ export default withNextra({destination: "https://doc.tracely-ai.com/:path*",permanent: true,},+ // The Dashboard page is gone — its headline numbers live on Trends; keep inbound links alive.+ { source: "/product/dashboard", destination: "/product/trends", permanent: true },];},});diff --git a/docs/pages/product/_meta.js b/docs/pages/product/_meta.jsindex 0aca21a..9b07cf0 100644--- a/docs/pages/product/_meta.js+++ b/docs/pages/product/_meta.js@@ -1,6 +1,5 @@export default {index: "Overview",- dashboard: "First-run checklist",traces: "Traces & conversations",evaluators: "Evaluators",trends: "Trends & cross-metric analysis",diff --git a/docs/pages/product/dashboard.mdx b/docs/pages/product/dashboard.mdxdeleted file mode 100644index db4f735..0000000--- a/docs/pages/product/dashboard.mdx+++ /dev/null@@ -1,25 +0,0 @@-----description: "The 'Get to your first gate' activation checklist at the top of Failure clusters: trace → check → failure → reproduced → verified fix → CI."------# First-run checklist--A workspace opens on [Failure clusters](/product/clusters), and until it has closed the loop once there is a card above the list. It exists to answer one question — *has this workspace closed the loop yet?* — and then it goes away.--There used to be a separate Overview page. It is gone: the headline counts live on [Trends](/product/trends), the biggest open issues and the latest runs are one click away in [Failure clusters](/product/clusters) and [Traces](/product/traces), and `/dashboard` just forwards to Failure clusters.--## Get to your first gate--The activation card walks the whole loop once, in order. Every step is derived from a **real count** in the workspace, never from a flag you tick:--| Step | Done when |-|---|---|-| Send your first trace | the workspace holds at least one trace |-| Let Tracely grade every run | at least one evaluator column is enabled on the Traces table |-| Catch a real failure | at least one trace has failed a non-advisory evaluator |-| Promote a failure to a regression case | a case exists |-| Gate a pull request | a gate run exists |--Since 2026-09 the card reads **durable activation milestones** instead of counts: *first trace received → first check completed → source failure confirmed → case reproduced → candidate verified → CI check completed*. Each is recorded by the backend from the operation itself (an ingested trace, a written verdict, a validated promote, a recorded-mode replay that reproduced the failure, a candidate that passed, a run-scoped gate that finished PASS or FAIL) — never from a click, a resource count, an empty gate or a source-only validation — and survives a new browser. **Try the sample** seeds a labelled sample agent with a real reproducible bug and its fix (the same `make demo` path); sample data is stamped `sample` everywhere and never ticks a step. **Connect my agent** jumps to the real path. Workspaces from before milestones existed keep the old count-derived ticks. Operators see counts and drop-off per milestone, real vs sample, at `GET /api/admin/milestones/funnel`.--Each step shows the exact snippet or the button that completes it (an instrumented Python snippet, a `tracely gate` command, a link to the right screen). Once every step has happened the card disappears for good — it is an onboarding aid, not a status page.diff --git a/docs/pages/product/index.mdx b/docs/pages/product/index.mdxindex cd9d7a6..1f61509 100644--- a/docs/pages/product/index.mdx+++ b/docs/pages/product/index.mdx@@ -29,7 +29,6 @@ Each page — and each panel that does something non-obvious — carries a small| Page | Answers | Guide ||---|---|---|-| First-run checklist | "Is the loop closed?" — the activation card on top of Failure clusters, until it is | [First-run checklist](/product/dashboard) || Traces | "What did the agent do?" — conversation → message → step, with a grade per level | [Traces & conversations](/product/traces) || Evaluators | "What counts as a failure?" — the checks and LLM judges that grade every run | [Evaluators](/product/evaluators) || Trends | "Is it getting better?" — failure rate, gate pass-rate, latency/cost, and how metrics move *together* | [Trends & cross-metric analysis](/product/trends) |diff --git a/frontend/README.md b/frontend/README.mdindex 6980a41..6dfb51c 100644--- a/frontend/README.md+++ b/frontend/README.md@@ -60,7 +60,7 @@ All are **Server Components** unless noted; each lists the `lib/api.ts` calls it| Route | Fetches | Renders ||---|---|---|| `/` | — | **Public marketing landing page** (`(marketing)/`) — no auth, no app shell. Client component animated with GSAP; all motion behind `gsap.matchMedia("(prefers-reduced-motion: no-preference)")`. |-| `/dashboard` | — | **Not a page** — `next.config.mjs` 307s it to `/clusters`, so login, register, invites and the marketing CTAs keep a stable front door. The old Overview is gone; its **Activation** checklist (trace → grade → failure → case → gate; the card disappears once the loop has been closed once) now streams in on top of `/clusters` via `FirstRun` (`getStats`, `getEvaluators`, `getGates`, `getMe`, `getMilestones`). |+| `/dashboard` | — | **Not a page** — `next.config.mjs` 307s it to `/trends` (the landing page), so login, register, invites and the marketing CTAs keep a stable front door. || `/traces` | `getSessions` | `TracesExplorer` (filter + search + date range) wrapping the hierarchical **TraceTable** in list mode. || `/traces/[traceId]` | `getTrace` | Single trace header (spans/latency/**usage totals**, `PromoteButton` if failing) + `SingleTraceView` (Table / Timeline tabs + an Agents drawer). || `/sessions/[threadId]` | `loadConversation` (`lib/conversation.ts`) | A conversation, pre-expanded: builds a `ConvNode` with all turns + spans and renders **TraceTable** in detail mode. `?view=timeline` opens on the waterfall. |diff --git a/frontend/app/(app)/clusters/page.tsx b/frontend/app/(app)/clusters/page.tsxindex 285058f..575ce6c 100644--- a/frontend/app/(app)/clusters/page.tsx+++ b/frontend/app/(app)/clusters/page.tsx@@ -1,6 +1,4 @@-import { Suspense } from "react";import { DocLink } from "@/app/components/DocLink";-import { FirstRun } from "@/app/components/FirstRun";import { getClusters, getLlmKeyConfigured, PAGE_SIZE } from "@/app/lib/api";import { Badge } from "@/app/components/ui";import { ClusterList } from "@/app/components/ClusterList";@@ -59,12 +57,6 @@ export default async function ClustersPage({</div></header>- {/* The first-run checklist — it lived on the Overview page, which is gone. Streams in after- the page; renders nothing once the loop is closed or if its roll-up fails. */}- <Suspense fallback={null}>- <FirstRun />- </Suspense>-{/* rows + multi-select delete (client) */}<ClusterList clusters={clusters} />diff --git a/frontend/app/components/Activation.tsx b/frontend/app/components/Activation.tsxdeleted file mode 100644index 6dc4d05..0000000--- a/frontend/app/components/Activation.tsx+++ /dev/null@@ -1,218 +0,0 @@-import { CopyId } from "./CopyId";-import { PipelinePeek } from "./PipelinePeek";-import { SampleButton } from "./SampleButton";-import type { Milestone } from "@/app/lib/api";--/* The first-run path, told as the product's own loop: trace → check → confirmed failure →- reproduced → verified fix → CI. Every step's done-ness is a DURABLE milestone the backend- recorded from a confirmed operation (services/milestones.py) — never a click, never sample- data. Workspaces from before milestones existed fall back to the old counts. Only the first- unfinished step is expanded; the rest are one line each. */--export type ActivationState = {- traces: number;- evaluators: number;- failures: number;- clusters: number;- cases: number;- gates: number;- ingestKey: string;- endpoint: string;- milestones: Milestone[];-};--type Step = {- title: string;- done: boolean;- /** Shown on the right of a finished step — the evidence it's done. */- proof: string;- /** What to do about it, rendered only while this is the current step. */- body: React.ReactNode;-};--const n = (v: number) => v.toLocaleString("en-US");-const when = (iso: string | null) => (iso ? iso.slice(0, 16).replace("T", " ") : "");--function Snippet({ code, label }: { code: string; label: string }) {- return (- <div className="mt-2 overflow-hidden rounded-lg border border-line bg-ink-900">- <div className="flex items-center justify-between border-b border-line/60 px-3 py-1.5">- <span className="font-mono text-[10px] uppercase tracking-wider text-fg-faint">{label}</span>- <CopyId value={code} text="copy" label={label} />- </div>- <pre className="overflow-x-auto p-3 font-mono text-[11.5px] leading-relaxed text-fg-muted">{code}</pre>- </div>- );-}--function Action({ href, children }: { href: string; children: React.ReactNode }) {- return (- <a href={href} className="btn-ghost mt-2 inline-flex">- {children}- </a>- );-}--export function Activation(s: ActivationState) {- const ms = s.milestones ?? [];- const real = (name: string) => ms.find((m) => m.name === name && m.first_at && !m.sample) ?? null;- const sampleOnly = ms.some((m) => m.first_at && m.sample) && !ms.some((m) => m.first_at && !m.sample);- // Pre-milestone workspaces: nothing was ever recorded, so the old count-derived doneness stands.- const legacy = !ms.some((m) => m.first_at);- const done = (name: string, fallback: boolean) => Boolean(real(name)) || (legacy && fallback);- const proof = (name: string, fallback: string) => {- const m = real(name);- return m ? `${when(m.first_at)}${m.integration ? ` · ${m.integration}` : ""}` : fallback;- };-- const steps: Step[] = [- {- title: "Send your first trace",- done: done("first_trace_received", s.traces > 0),- proof: proof("first_trace_received", `${n(s.traces)} traces`),- body: (- <>- <p className="text-[12.5px] text-fg-muted">- Point the SDK at this workspace. Auto-instrumentation traces your existing agent with- no span code. The package is <code className="font-mono">tracely-ai</code>.- </p>- <Snippet- label="python"- code={`pip install "tracely-ai[openai]"--import tracely_sdk as tracely-tracely.init(endpoint="${s.endpoint}", api_key="${s.ingestKey}")--with tracely.trace(agent="support", conversation="conv-1"):- ... # your agent runs as usual`}- />- </>- ),- },- {- title: "Complete a check on a real run",- done: done("first_check_completed", s.evaluators > 0 && s.traces > 0),- proof: proof("first_check_completed", `${n(s.evaluators)} evaluator${s.evaluators === 1 ? "" : "s"}`),- body: (- <>- <p className="text-[12.5px] text-fg-muted">- Evaluators are the columns of the traces table — structural checks run free, an LLM- judge grades the answer. This ticks when one actually produces a verdict on your trace.- </p>- <Action href="/evaluators">Add an evaluator →</Action>- </>- ),- },- {- title: "Confirm a real failure as a test",- done: done("source_failure_confirmed", s.cases > 0),- proof: proof("source_failure_confirmed", `${n(s.cases)} case${s.cases === 1 ? "" : "s"}`),- body: (- <>- <p className="text-[12.5px] text-fg-muted">- Promote a failing run. It becomes a case only once the original is shown to fail the- contract — a failure that cannot be told from a fix is left as a draft.- </p>- <Action href="/clusters">Promote from a failure cluster →</Action>- </>- ),- },- {- title: "Reproduce it under recorded conditions",- done: done("case_reproduced", false),- proof: proof("case_reproduced", ""),- body: (- <>- <p className="text-[12.5px] text-fg-muted">- Replay the case against your current code with the recorded tools and model. A FAIL- here is the bug reproduced offline — no keys, no cost.- </p>- <Snippet- label="shell"- code={`pip install tracely-ai-TRACELY_API=${s.endpoint} TRACELY_KEY=${s.ingestKey} \\- tracely replay --agent support --entrypoint app.agent:run`}- />- </>- ),- },- {- title: "Verify a fix",- done: done("candidate_verified", false),- proof: proof("candidate_verified", ""),- body: (- <p className="text-[12.5px] text-fg-muted">- Fix the agent, run the same command (or pick the run on the case page and press Verify).- The case records which candidate passed, at which case version.- </p>- ),- },- {- title: "Run it in CI",- done: done("ci_check_completed", s.gates > 0),- proof: proof("ci_check_completed", `${n(s.gates)} gate run${s.gates === 1 ? "" : "s"}`),- body: (- <>- <p className="text-[12.5px] text-fg-muted">- Add the gate to your workflow. It exits non-zero and posts a commit status; this ticks- when a run-scoped gate actually grades the suite against a revision.- </p>- <Action href="https://docs.tracely-ai.com/cli">CI setup →</Action>- </>- ),- },- ];-- const finished = steps.filter((x) => x.done).length;- if (finished === steps.length) return null; // the loop is closed — this card has nothing left to say- const current = steps.findIndex((x) => !x.done);-- return (- <section className="reveal card p-5" aria-label="Getting started">- <div className="flex flex-wrap items-center justify-between gap-3">- <div>- <h2 className="text-[15px] font-semibold text-fg">Close the loop once</h2>- <p className="mt-0.5 text-[12.5px] text-fg-muted">- Six real outcomes, in order. Each ticks from the operation itself — not from a click.- </p>- </div>- <div className="flex items-center gap-3">- <span className="font-mono text-[12px] text-fg-faint">{finished} / {steps.length}</span>- <SampleButton />- <a href="#connect" className="btn-primary">Connect my agent</a>- </div>- </div>- {sampleOnly && (- <p className="mt-3 rounded-md border border-warn/30 bg-warn/[0.05] px-3 py-2 text-[12px] text-warn">- Sample data is flowing (labelled <code className="font-mono">sample</code> everywhere). It never ticks these steps —- they are yours to earn with your own agent.- </p>- )}- <PipelinePeek live={{ traces: s.traces, evaluators: s.evaluators, failures: s.failures, clusters: s.clusters, cases: s.cases, gates: s.gates }} />- <ol id="connect" className="mt-4 space-y-2">- {steps.map((step, i) => (- <li key={i} className="rounded-lg border border-line/60 px-3 py-2">- <div className="flex items-center gap-2.5">- <span- className={`grid h-4 w-4 shrink-0 place-items-center rounded-full border text-[9px] ${- step.done ? "border-ok/50 bg-ok/15 text-ok" : i === current ? "border-signal/60 bg-signal/15 text-signal" : "border-line text-fg-faint"- }`}- >- {step.done ? "✓" : i + 1}- </span>- <span- className={`flex-1 truncate text-[13px] ${- step.done ? "text-fg-muted line-through decoration-line" : i === current ? "font-semibold text-fg" : "text-fg-muted"- }`}- >- {step.title}- </span>- {step.done && step.proof && <span className="shrink-0 font-mono text-[10.5px] text-fg-faint">{step.proof}</span>}- </div>- {i === current && <div className="mt-2 pl-6.5">{step.body}</div>}- </li>- ))}- </ol>- </section>- );-}diff --git a/frontend/app/components/FirstRun.tsx b/frontend/app/components/FirstRun.tsxdeleted file mode 100644index e07c5cb..0000000--- a/frontend/app/components/FirstRun.tsx+++ /dev/null@@ -1,33 +0,0 @@-import { Activation } from "@/app/components/Activation";-import { getEvaluators, getGates, getMilestones, getStats } from "@/app/lib/api";-import { getMe } from "@/app/lib/auth";--/** The first-run checklist, mounted on the landing page (/clusters) now that the Overview page it- * lived on is gone. Fetches for itself so the page streams around it; renders nothing once the- * loop is closed (Activation returns null) and never blocks the page if a roll-up fails. */-export async function FirstRun() {- try {- const [stats, evaluators, gates, me, milestones] = await Promise.all([- getStats(),- getEvaluators(),- getGates(1),- getMe(),- getMilestones(),- ]);- return (- <Activation- traces={stats.traces}- evaluators={evaluators.length}- failures={stats.auto_failures}- clusters={stats.open_clusters}- cases={stats.cases}- gates={gates.total}- ingestKey={me?.ingest_keys?.[0] ?? "<your-ingest-key>"}- endpoint={process.env.NEXT_PUBLIC_TRACELY_PUBLIC_API ?? "http://localhost:8000"}- milestones={milestones}- />- );- } catch {- return null;- }-}diff --git a/frontend/app/components/SampleButton.tsx b/frontend/app/components/SampleButton.tsxdeleted file mode 100644index 930d223..0000000--- a/frontend/app/components/SampleButton.tsx+++ /dev/null@@ -1,45 +0,0 @@-"use client";--import { useRouter } from "next/navigation";-import { useState } from "react";--/** "Try the sample": seeds the demo dataset (same path as `make demo`) — its traces are stamped- * as sample data and never count as this workspace's activation. Queued, not awaited. */-export function SampleButton() {- const [state, setState] = useState<"idle" | "busy" | "queued">("idle");- const [err, setErr] = useState<string | null>(null);- const router = useRouter();-- async function go() {- setState("busy");- setErr(null);- try {- const r = await fetch("/api/project/seed", { method: "POST" });- const d = await r.json().catch(() => null);- if (!r.ok) {- setErr(typeof d?.detail === "string" ? d.detail : `Seeding failed (HTTP ${r.status})`);- setState("idle");- return;- }- setState("queued");- } catch {- setErr("Seeding failed: could not reach the server.");- setState("idle");- }- }-- return (- <span className="inline-flex flex-wrap items-center gap-2">- <button onClick={go} disabled={state === "busy"} className="btn-ghost" title="Seeds a sample agent with a real reproducible bug and its fix. Labelled as sample data everywhere.">- {state === "busy" ? "Queueing…" : "Try the sample"}- </button>- {state === "queued" && (- <span className="text-[12px] text-fg-muted">- Queued (a minute or two).{" "}- <button onClick={() => router.refresh()} className="text-signal hover:underline">Refresh</button>- </span>- )}- {err && <span role="alert" className="text-[12px] text-fail">{err}</span>}- </span>- );-}diff --git a/frontend/app/components/Sidebar.tsx b/frontend/app/components/Sidebar.tsxindex 17e4604..cd4a0a5 100644--- a/frontend/app/components/Sidebar.tsx+++ b/frontend/app/components/Sidebar.tsx@@ -12,7 +12,7 @@ type NavItem = { href: string; label: string; Icon: typeof IconGrid; exact?: boo// Organised around the workflow — Failures → Tests → Runs — with the routes exactly as they were:// every deep link and bookmark keeps working; only the grouping changed (W7). There is no Overview-// page any more: `/dashboard` still resolves (next.config redirects it to /clusters, the first item).+// page any more: `/dashboard` still resolves (next.config redirects it to /trends, the landing page).const NAV: { group: string; items: NavItem[] }[] = [{group: "Failures",diff --git a/frontend/app/components/__tests__/Activation.test.tsx b/frontend/app/components/__tests__/Activation.test.tsxdeleted file mode 100644index 24e233a..0000000--- a/frontend/app/components/__tests__/Activation.test.tsx+++ /dev/null@@ -1,69 +0,0 @@-import { render, screen, within } from "@testing-library/react";-import { describe, expect, it, vi } from "vitest";-import { Activation, type ActivationState } from "../Activation";-import type { Milestone } from "@/app/lib/api";--vi.mock("next/navigation", () => ({ useRouter: () => ({ refresh: () => {} }) }));--const ms = (over: Partial<Record<string, { sample?: boolean }>> = {}): Milestone[] =>- ["first_trace_received", "first_check_completed", "source_failure_confirmed", "case_reproduced", "candidate_verified", "ci_check_completed"].map((name) => ({- name,- first_at: name in over ? "2026-09-07T10:00:00+00:00" : null,- sample: over[name]?.sample ?? null,- integration: name in over ? "tracely" : "",- elapsed_ms: null,- }));--const state = (over: Partial<ActivationState> = {}): ActivationState => ({- traces: 0, evaluators: 0, failures: 0, clusters: 0, cases: 0, gates: 0,- ingestKey: "tracely_k_abc", endpoint: "https://api.example.com", milestones: ms(),- ...over,-});--describe("Activation", () => {- it("opens a brand-new workspace on step 1, with a runnable snippet for the real package", () => {- render(<Activation {...state()} />);- expect(screen.getByText("0 / 6")).toBeTruthy();- const code = screen.getByText(/tracely.init/).textContent ?? "";- expect(code).toContain('pip install "tracely-ai[openai]"');- expect(code).toContain('api_key="tracely_k_abc"');- expect(code).toContain('endpoint="https://api.example.com"');- expect(screen.queryByText(/tracely replay/)).toBeNull();- expect(screen.getByText("Try the sample")).toBeTruthy();- expect(screen.getByText("Connect my agent")).toBeTruthy();- });-- it("ticks from real milestones and shows when they happened", () => {- render(<Activation {...state({ milestones: ms({ first_trace_received: {}, first_check_completed: {} }) })} />);- expect(screen.getByText("2 / 6")).toBeTruthy();- const list = within(screen.getByRole("list"));- expect(list.getAllByText(/2026-09-07 10:00 · tracely/)).toHaveLength(2);- expect(screen.getByText(/Promote a failing run/)).toBeTruthy(); // step 3 is current- });-- it("sample milestones never count as activation", () => {- render(- <Activation- {...state({- traces: 900, cases: 3, gates: 2,- milestones: ms({ first_trace_received: { sample: true }, source_failure_confirmed: { sample: true }, ci_check_completed: { sample: true } }),- })}- />,- );- expect(screen.getByText("0 / 6")).toBeTruthy();- expect(screen.getByText(/Sample data is flowing/)).toBeTruthy();- });-- it("falls back to counts for a workspace that predates milestones", () => {- render(<Activation {...state({ traces: 1204, evaluators: 3, cases: 1 })} />);- expect(screen.getByText("3 / 6")).toBeTruthy();- const list = within(screen.getByRole("list"));- expect(list.getByText("1,204 traces")).toBeTruthy();- });-- it("disappears once every real milestone is in", () => {- const all = ms(Object.fromEntries(["first_trace_received", "first_check_completed", "source_failure_confirmed", "case_reproduced", "candidate_verified", "ci_check_completed"].map((k) => [k, {}])));- const { container } = render(<Activation {...state({ milestones: all })} />);- expect(container.firstChild).toBeNull();- });-});diff --git a/frontend/app/lib/api.ts b/frontend/app/lib/api.tsindex 6cadc0b..2937efc 100644--- a/frontend/app/lib/api.ts+++ b/frontend/app/lib/api.ts@@ -278,20 +278,6 @@ export async function getCase(caseId: string): Promise<EvalCase | null> {return getJsonOrNull<EvalCase>(`/api/cases/${caseId}`);}-/** A durable activation milestone (W6): the first time a real outcome happened in this workspace. */-export type Milestone = {- name: string;- first_at: string | null;- sample: boolean | null;- integration: string;- elapsed_ms: number | null;-};--export async function getMilestones(): Promise<Milestone[]> {- const r = await getJsonOrNull<{ items: Milestone[] }>("/api/onboarding/milestones");- return r?.items ?? [];-}-/** A run with exactly this case's input — a compatible candidate (W5). */export type CaseCandidate = {trace_id: string;diff --git a/frontend/app/lib/quest.test.ts b/frontend/app/lib/quest.test.tsindex 4c6a605..e13efa9 100644--- a/frontend/app/lib/quest.test.ts+++ b/frontend/app/lib/quest.test.ts@@ -54,7 +54,7 @@ describe("deriveSteps", () => {eval: true,trends: true,replay: true,- fail: true, // a cluster counts as a caught failure, same as Activation+ fail: true, // a cluster counts as a caught failurecase: false,gate: false,});diff --git a/frontend/app/lib/quest.ts b/frontend/app/lib/quest.tsindex 28ee888..5fb1cc3 100644--- a/frontend/app/lib/quest.ts+++ b/frontend/app/lib/quest.ts@@ -1,5 +1,5 @@/* Pure logic for the onboarding quest — the gamified tour of every feature, plus the daily- challenges that keep it alive after day one. Same philosophy as Activation.tsx: anything the+ challenges that keep it alive after day one. Anything theproduct can count is DERIVED from real data (no stored progress to drift out of sync); only"go look at a page" steps live in localStorage as visit markers. Dates are UTC day-keys("YYYY-MM-DD") to match the backend's trends buckets. */@@ -122,7 +122,7 @@ export function deriveSteps(s: QuestStatus, l: QuestLocal): QuestStep[] {group: "Set up",title: "Send your first trace",detail: "pip install the SDK and point it at this workspace — auto-instrumentation does the rest.",- href: "/clusters", // the first-run checklist (with the SDK snippet) sits on the landing page+ href: "/settings/api-keys", // the SDK snippet sits next to the keyscta: "Get the snippet",done: real("first_trace_received", s.traces > 0),},diff --git a/frontend/next.config.mjs b/frontend/next.config.mjsindex 51ff024..e68342d 100644--- a/frontend/next.config.mjs+++ b/frontend/next.config.mjs@@ -28,9 +28,9 @@ const nextConfig = {permanent: true,})),// There is no Overview page, but `/dashboard` stays the app's front door — login, register,- // invites, the marketing CTAs and the quest all link to it — so it forwards to the first nav- // item. A 307, not a 308: it is an alias and the landing page may move again.- { source: "/dashboard", destination: "/clusters", permanent: false },+ // invites and the marketing CTAs link to it — so it forwards to the landing page (Trends).+ // A 307, not a 308: it is an alias and the landing page may move again.+ { source: "/dashboard", destination: "/trends", permanent: false },];},};