import{k as e}from"./index-BVfpSx5Q.js";import{L as x}from"./layout-NiehYZnq.js";import{P as y,K as l,C as m,S as g}from"./ui-DGkmnhL-.js";import{C as n,i,A as v}from"./hatunDoctrine-Cq1LMtli.js";import{R as j,f as A,d as T}from"./generateCategoricalChart-C3RFeikY.js";import{a as C,L}from"./LineChart-60khDhjR.js";import{C as w}from"./CartesianGrid-oYorAgGh.js";import{X as E,Y as S}from"./YAxis-BcKAP-pG.js";const c="#c9b787",I={"op-cascade":"#c9b787","op-counsel":"#8a8a8a","op-pipeline":"#e2c896","op-guardian":"#f5f5f5","op-terra":"#b08d52","op-watchdog":"#5e5e5e"};function D(){const p=n["op-cascade"].map(a=>a.release),b=p.map(a=>{const r={release:a};return i.forEach(s=>{const t=n[s].find(o=>o.release===a);t&&(r[s]=t.capability)}),r}),f=p.map(a=>{const r={release:a};return i.forEach(s=>{const t=n[s].find(o=>o.release===a);t&&(r[s]=t.alignment)}),r}),u=p.map(a=>{const r={release:a};return i.forEach(s=>{const t=n[s].find(o=>o.release===a);t&&(r[s]=t.oversight)}),r}),h=a=>{const r=i.map(s=>n[s].slice(-1)[0][a]);return Math.round(r.reduce((s,t)=>s+t,0)/r.length)},d=(a,r,s)=>e.jsxs(m,{children:[e.jsx(g,{children:r}),e.jsx("p",{className:"text-xs mb-2",style:{color:"var(--color-a11oy-text-ghost)"},children:s}),e.jsx(j,{width:"100%",height:260,children:e.jsxs(C,{data:a,margin:{top:8,right:12,bottom:8,left:0},children:[e.jsx(w,{stroke:"rgba(255,255,255,0.05)"}),e.jsx(E,{dataKey:"release",tick:{fill:"#5e5e5e",fontSize:11}}),e.jsx(S,{domain:[0,100],tick:{fill:"#5e5e5e",fontSize:11}}),e.jsx(A,{contentStyle:{background:"#0a0a0a",border:"1px solid rgba(255,255,255,0.08)",fontSize:11}}),e.jsx(T,{wrapperStyle:{fontSize:10,color:"#8a8a8a"}}),i.map(t=>e.jsx(L,{type:"monotone",dataKey:t,stroke:I[t],strokeWidth:1.8,dot:!1,name:v[t]},t))]})})]});return e.jsxs(x,{children:[e.jsx(y,{label:"DOCTRINE · CAPABILITY TRAJECTORY",title:"Capability Trajectory",subtitle:"Per-agent capability, alignment, and oversight over time. The frontier-lab graph, redrawn for enterprise agents.",status:"LIVE"}),e.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-3 mb-6",children:[e.jsx(l,{label:"AGENTS",value:i.length,sub:"tracked",accent:c}),e.jsx(l,{label:"AVG CAPABILITY",value:h("capability"),sub:"latest release",accent:c}),e.jsx(l,{label:"AVG ALIGNMENT",value:h("alignment"),sub:"latest release",accent:c}),e.jsx(l,{label:"AVG OVERSIGHT",value:h("oversight"),sub:"latest release",accent:c})]}),e.jsxs("div",{className:"grid lg:grid-cols-3 gap-4 mb-6",children:[d(b,"Capability","What the agent can do."),d(f,"Alignment","How well it stays inside the constitution at that capability."),d(u,"Oversight","How well the operator can inspect and intervene at that capability.")]}),e.jsxs(m,{children:[e.jsx(g,{children:"Why we publish this"}),e.jsx("p",{className:"text-xs",style:{color:"var(--color-a11oy-text-sub)",lineHeight:1.7},children:"The frontier-lab graph (capability vs alignment vs oversight) is the single most important picture you can draw of an AI system over time. Most enterprise AI vendors only show the capability curve. The Doctrine Layer requires all three curves on every agent — and the curves are tied to specific constitution versions, snapshot fingerprints, and ARG decisions in this same workspace. Hover any release to see the underlying numbers."})]})]})}export{D as CapabilityTrajectory};