// ============================================================= // Chrome — TopNav, Sidebar, PageHeader, PipelineStrip // ============================================================= function TopNav({ onNew }) { return ( ); } const NAV_ITEMS = [ { key: 'inbox', label: 'Inbox', icon: 'inbox', count: 7 }, { key: 'prototypes', label: 'Prototypes', icon: 'flask-conical', count: 4 }, { key: 'signals', label: 'Signals', icon: 'activity', count: 12 }, { key: 'betas', label: 'Betas', icon: 'users', count: 1 }, { key: 'decisions', label: 'Decisions', icon: 'check-square', count: 3 }, ]; const DOC_ITEMS = [ { key: 'intent', label: 'INTENT.md' }, { key: 'scope', label: 'SCOPE.md' }, { key: 'operating', label: 'OPERATING_MODEL.md' }, { key: 'pipeline', label: 'PROTOTYPE_PIPELINE.md' }, { key: 'agent', label: 'AGENT_RULES.md' }, ]; function Sidebar({ current, onNav }) { const itemStyle = (active) => ({ display: 'flex', alignItems: 'center', gap: 10, padding: '8px 12px', borderRadius: 4, color: active ? 'var(--fg-1)' : 'var(--fg-2)', background: active ? 'var(--paper)' : 'transparent', boxShadow: active ? '0 0 0 1px var(--border) inset' : 'none', font: '500 13px var(--ff-sans)', cursor: 'pointer', textDecoration: 'none', transition: 'background 120ms ease, color 120ms ease', }); return ( ); } function PageHeader({ eyebrow, title, lede, actions }) { return (
{eyebrow && {eyebrow}}

{title}

{actions &&
{actions}
}
{lede &&

{lede}

}
); } function PipelineStrip({ activeIdx = 3 }) { const stages = [ { num: 'Stage 0', name: 'Raw idea', meta: 'inbox/' }, { num: 'Stage 1', name: 'Triage', meta: '2026-02-12' }, { num: 'Stage 2', name: 'Prototype card', meta: 'prototypes/' }, { num: 'Stage 3', name: 'Experiment', meta: 'ends 2026-04-01' }, { num: 'Stage 4', name: 'Signal review', meta: '— pending' }, ]; return (
{stages.map((s, i) => { const state = i < activeIdx ? 'done' : i === activeIdx ? 'active' : 'pending'; const topColor = state === 'done' ? 'var(--ink)' : state === 'active' ? 'var(--hi-2)' : 'var(--border)'; return (
{s.num} {s.name} {s.meta} {i > 0 && ( )}
); })}
); } Object.assign(window, { TopNav, Sidebar, PageHeader, PipelineStrip, NAV_ITEMS, DOC_ITEMS });