// SME Profile — all content + data (Jarjis Imam). Brand: ActionBoard violet.
const SME = {
  name: "Jarjis Imam",
  role: "Chief AIOps Architect at CloudCockpit Inc. and founder of ActionBoard.ai. 15+ years architecting cloud & AIOps for Fortune 100 finance — early at AWS and Capital One. Creator of the AIOps Maturity framework, built with enterprise teams and university students.",
  badge: "VERIFIED SME",
  mcpUri: "mcp://actionboard.ai/pro/jarjis",
  storyUrl: "https://www.linkedin.com/pulse/i-built-my-son-teachers-305-million-aws-customers-who-jarjis-imam-bmxye/",
  storyLabel: "Read the story: \u201CI built for my son what teachers gave 305M AWS customers\u201D \u2192",
  guideUrl: "User-Guide.html",
  heroImages: [
    { src: "assets/jarjis-3.jpg", label: "Editorial · 2026" },
    { src: "assets/sme-d3ee0a12.jpg", label: "On stage — AIOps session" },
    { src: "assets/jarjis-2.jpg", label: "Jarjis Imam" },
  ],
  coverLines: [
    "The AIOps Maturity framework — built with enterprise teams & students",
    "3 years of field research on James Hamilton's systems patterns",
    "Now running the 90-Day AIOps Challenge cohort",
  ],
  stats: [
    { value: "15+", label: "YEARS CLOUD & AIOPS" },
    { value: "3 clouds", label: "MULTI-CLOUD MLOPS AT SCALE" },
    { value: "Level 4", label: "AIOPS MATURITY · LION PILOT" },
    { value: "90-day", label: "AIOPS CHALLENGE COHORT" },
  ],
};

const SME_CREDENTIALS = [
  { icon: "check", title: "Identity verified", sub: "Founder, ActionBoard.ai" },
  { icon: "check", title: "AWS MVP award", sub: "Enterprise Solution Architect" },
  { icon: "check", title: "Capital One Tech Excellence", sub: "2016 & 2017 · two years running" },
  { icon: "star", title: "Action Assist Pro", sub: "Active subscription" },
];

const SME_MATURITY = {
  level: 4,
  rankLabel: "LION PILOT // ACTIVE",
  xpNow: "2,811",
  xpMax: "5,000",
  nextRank: "Paladin Commander",
  dims: [
    { name: "Data operations", score: "4.6", pct: 92 },
    { name: "Model deployment", score: "4.2", pct: 84 },
    { name: "Closed-loop evaluation", score: "4.8", pct: 96 },
    { name: "Incident automation", score: "3.8", pct: 76 },
    { name: "Education & enablement", score: "4.4", pct: 88 },
  ],
};
const SME_RANK_NAMES = ["Reactive", "Aware", "Proactive", "Optimized", "Autonomous", "Adaptive", "Self-Governing"];

const SME_COHORT = {
  heading: "The 90-Day AIOps Challenge",
  intro: "An education-based engineering practice for enterprise customers and university students. Over 90 days, teams lift their AIOps maturity using the RAOARA framework — Recognize, Acquire, Organize, Apply, Review, Amplify — the same method Jarjis built to close execution gaps on UN humanitarian missions.",
  quote: "Data is like Air — essential, omnipresent, and requiring purity.",
  weeks: [
    { w: "W 1–3", title: "Recognize & Acquire", body: "Frame the goal in plain language. Inventory data assets and cloud signals; set a maturity baseline across five dimensions." },
    { w: "W 4–7", title: "Organize & Apply", body: "Structure data into trusted assets and ship guided actionflows — clear goals, structured data, guided execution." },
    { w: "W 8–12", title: "Review & Amplify", body: "Score against the framework, harden what works, and scale the actions that compound. Confidence and maturity grow together." },
  ],
};

// Journal — research blog / paper analyses / white papers (replaces reviews).
const SME_MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul"];
const SME_JOURNAL = [
  { m: 6, type: "Research blog", accent: "#a78bfa", soft: "rgba(124,58,237,0.16)", title: "Compounding execution: why AIOps beats raw intelligence", meta: "Jul 2026 · 8 min read", body: "The promise of AI is not intelligence — it is execution at a compounding rate. A field note on turning one-off model wins into an action engine that sharpens every loop." },
  { m: 5, type: "Paper analysis", accent: "#38bdf8", soft: "rgba(2,132,199,0.18)", title: "CAST vs LoRA for action-model tuning — a field read", meta: "Jun 2026 · arXiv 2506.xxxxx", body: "A practitioner\u2019s read of Conditional Activation Steering against LoRA for tuning domain action models: where each wins on cost, drift, and governance in a live pod." },
  { m: 4, type: "White paper", accent: "#34d399", soft: "rgba(5,150,105,0.18)", title: "The RAOARA loop: a governance spec for multi-agent ops", meta: "May 2026 · ActionBoard.ai v1.1", body: "A reference specification for Recognize \u2192 Amplify with a Yellow-Lion policy gate, Proof-of-Thought audit trail, and Merkle-attested action logs for regulated deployments." },
  { m: 3, type: "Research blog", accent: "#a78bfa", soft: "rgba(124,58,237,0.16)", title: "Proof-of-Thought: making an audit trail you can defend", meta: "Apr 2026 · 6 min read", body: "How the Review phase turns every agent action into an immutable, attestable record — and why that is the precondition for autonomy in regulated work." },
  { m: 2, type: "Paper analysis", accent: "#38bdf8", soft: "rgba(2,132,199,0.18)", title: "Graph-hybrid RAG: retrieval that survives contact with ops", meta: "Mar 2026 · analysis", body: "Reading the dual-layer RAG results behind the Green Lion — semantic + graph + action-pattern retrieval, and the 70% LLM-cost reduction it buys in production pods." },
  { m: 1, type: "White paper", accent: "#34d399", soft: "rgba(5,150,105,0.18)", title: "Token economics of community AI pods", meta: "Feb 2026 · ActionBoard.ai", body: "A costing model for shared-infra community pods: subscription, token packs, model-hosting wallets, and the 70% member share that keeps earnings local." },
];

// Future press releases — written backwards, Amazon-style: milestones drafted today as if already shipped.
const SME_PRESS_RELEASES = [
  {
    tag: "90-Day AIOps Challenge",
    drafted: "Drafted Aug 2026",
    target: "Target Dec 2026",
    dateline: "New York \u2014 December 8, 2026",
    headline: "First 40 Teams Complete the 90-Day AIOps Challenge",
    sub: "Enterprise squads and university students lift their AIOps maturity a full level in one quarter, using the RAOARA loop.",
    body: "The inaugural 90-Day AIOps Challenge graduated 40 teams today \u2014 Fortune 100 platform groups and university cohorts side by side. Each team entered with a scored maturity baseline across five dimensions and left with a level-up, a hardened actionflow in production, and a Proof-of-Thought audit trail for every autonomous step.",
    metrics: [{ v: "40", k: "teams" }, { v: "+1.2", k: "avg maturity levels" }, { v: "90 days", k: "baseline to prod" }],
    quote: "Intelligence was never the bottleneck \u2014 execution was. Give people clear goals, structured data, and a review loop, and maturity compounds. These 40 teams just proved it at enterprise scale.",
    attr: "Founder, ActionBoard.ai & Chief AIOps Architect",
    boiler: "The 90-Day AIOps Challenge is an education-based engineering practice built on the RAOARA loop and the AIOps Maturity framework, hosted on ActionBoard.ai.",
  },
  {
    tag: "ActionBoard.ai",
    drafted: "Drafted Aug 2026",
    target: "Target Q2 2027",
    dateline: "San Francisco \u2014 April 14, 2027",
    headline: "ActionBoard.ai Ships Proof-of-Thought for Regulated Autonomy",
    sub: "Every agent action becomes immutable, attestable, and defensible \u2014 the governance layer regulated enterprises needed before turning autonomy on.",
    body: "ActionBoard.ai today made Proof-of-Thought generally available: a Merkle-attested audit trail that records every multi-agent action behind a Yellow-Lion policy gate. In regulated pilots across finance and healthcare, teams cleared audit review in hours instead of weeks while running fully closed-loop actionflows.",
    metrics: [{ v: "100%", k: "actions attested" }, { v: "Hours", k: "not weeks, to audit" }, { v: "0", k: "policy-gate bypasses" }],
    quote: "Autonomy in regulated work has one precondition: an audit trail you can defend in a room full of examiners. Proof-of-Thought makes every action immutable and attestable by default.",
    attr: "Founder, ActionBoard.ai",
    boiler: "ActionBoard.ai is an AIOps orchestration platform built on the RAOARA loop and a multi-agent Lion architecture, with Proof-of-Thought governance for regulated deployments.",
  },
  {
    tag: "AIOps Maturity",
    drafted: "Drafted Aug 2026",
    target: "Target Q3 2027",
    dateline: "Global \u2014 September 2, 2027",
    headline: "The AIOps Maturity Framework Becomes an Open Benchmark",
    sub: "1,000 teams have now scored themselves on the 7-rank model \u2014 turning a field-research idea into a shared industry language.",
    body: "The AIOps Maturity framework crossed 1,000 scored teams today and opened as a free benchmark. Built on distributed-systems patterns pioneered by AWS chief engineer James Hamilton, the 7-rank model \u2014 Reactive to Autonomous, across five dimensions \u2014 now gives enterprises and universities one vocabulary for where they are and what comes next.",
    metrics: [{ v: "1,000", k: "teams scored" }, { v: "7", k: "ranks, open" }, { v: "5", k: "dimensions" }],
    quote: "A maturity model only matters if the whole field can speak it. Opening the benchmark turns three years of field research into a shared language for operating AI reliably.",
    attr: "Creator, AIOps Maturity framework",
    boiler: "The AIOps Maturity framework is an open, 7-rank model for operating AI systems reliably, created by Jarjis Imam and maintained on ActionBoard.ai.",
  },
];

const SME_CHAT = {
  assistantName: "ActionBoard AIOps Assistant",
  seed: "Hi — I'm the ActionBoard AIOps assistant. Tell me where your team is stuck, and I'll map it to a maturity level and a 90-day actionflow. What are you trying to operate more reliably?",
  suggestions: [
    "Help with a custom AI ActionBoard for your business",
    "Create a mission briefing",
    "Send me a meeting invite",
  ],
  // Deterministic fallback when window.claude.complete is unavailable.
  replies: [
    "Got it. That sounds like a Level 2→3 jump. I'd start by scoring your five maturity dimensions, then frame the goal with the RAOARA method. How many teams and clouds are in scope?",
    "Understood. I'll draft a 90-Day AIOps Challenge plan and loop in Jarjis for the kickoff review. Do you already have data and cloud signals we can inventory?",
    "Noted — I've outlined the cohort scope and a first maturity assessment. Jarjis's team will confirm timing to your ActionBoard inbox. Anything else you'd like the plan to cover?",
  ],
};

const SME_POSTS = [
  { author: "Jarjis Imam", handle: "@jarjis · AIOps Architect", init: "JI", bg: "linear-gradient(135deg,#5B21B6,#7C3AED)", time: "2h", text: "New 90-Day AIOps Challenge cohort kicks off Monday — enterprise teams and university students in the same room. We score maturity on day one, then close the execution gap with RAOARA.", tag: "Cohort", likes: 62, comments: 14, liked: false },
  { author: "ActionBoard.ai", handle: "@actionboard", init: "A", bg: "linear-gradient(135deg,#7C3AED,#a855f7)", time: "1d", text: "The AIOps Maturity framework now maps every action to a rank, 1→7. Built on distributed-systems patterns pioneered by AWS chief engineer James Hamilton. Reactive to Autonomous, scored on 5 dimensions.", tag: "Framework", likes: 128, comments: 22, liked: false },
  { author: "Jarjis Imam", handle: "@jarjis · AIOps Architect", init: "JI", bg: "linear-gradient(135deg,#5B21B6,#7C3AED)", time: "3d", text: "Three years of field research in one line: intelligence was never the bottleneck — execution was. Give people clear goals, structured data, and a review loop, and maturity compounds.", tag: "Field notes", likes: 174, comments: 39, liked: false },
];

const SME_AVATARS = [
  { emoji: "\uD83E\uDD81", label: "Lion · Navy", bg: "linear-gradient(135deg,#1E3A8A,#3B82F6)" },
  { emoji: "\uD83E\uDD81", label: "Lion · Charcoal", bg: "linear-gradient(135deg,#334155,#64748B)" },
  { emoji: "\uD83E\uDD81", label: "Lion · Purple", bg: "linear-gradient(135deg,#4C1D95,#7C3AED)" },
  { emoji: "\uD83D\uDC31", label: "Kitten · Blazer", bg: "linear-gradient(135deg,#9A3412,#F59E0B)" },
  { emoji: "\uD83D\uDC31", label: "Kitten · Bow tie", bg: "linear-gradient(135deg,#065F5B,#14B8A6)" },
  { emoji: "\uD83D\uDC31", label: "Kitten · Glasses", bg: "linear-gradient(135deg,#BE185D,#F472B6)" },
];

Object.assign(window, { SME, SME_CREDENTIALS, SME_MATURITY, SME_RANK_NAMES, SME_COHORT, SME_MONTHS, SME_JOURNAL, SME_PRESS_RELEASES, SME_CHAT, SME_POSTS, SME_AVATARS });
