{
  "app": "",
  "buildinfo": {
    "_hints": {
      "related": [
        "/health",
        "/workspace/health",
        "/ports"
      ],
      "usage": "Compare build_sha to `git rev-parse HEAD` of the commit you built. Equal = running code is the code you shipped. Unequal = STALE build; rebuild before testing behavior."
    },
    "build_dirty": "true",
    "build_epoch": "1793509048",
    "build_local": "Oct 31 11:57 PM",
    "build_sha": "003b96f18e115a26df0f9b433812db191673520c",
    "build_stamp": "003b96f18e115a26df0f9b433812db191673520c-dirty-1793509048",
    "dev": false,
    "install_path": "C:\\Users\\joshh\\AppData\\Local\\Adom Hydrogen\\hydrogen.exe",
    "instance_id": "hd-20108-18e40c069c43efbc",
    "narrative": "Running exe IS build 003b96f18e115a26df0f9b433812db191673520c-dirty (built Oct 31 11:57 PM). If this equals the SHA you pushed, your build shipped; if not, it's STALE, rebuild before trusting any behavior.",
    "ok": true,
    "pid": 20108
  },
  "context": "setup",
  "device": {
    "arch": "AMD64",
    "arch_process": "AMD64",
    "computer_name": "JOSH-DESKTOP",
    "cpu": "AMD64 Family 25 Model 97 Stepping 2, AuthenticAMD",
    "cpu_count": "24",
    "cpu_name": "AMD Ryzen 9 7900X 12-Core Processor            ",
    "display_version": "26H2",
    "manufacturer": "Micro-Star International Co., Ltd.",
    "model": "MS-7D77",
    "os_arch": "64-bit",
    "ram_gb": 63.2,
    "system_type": "x64-based PC",
    "windows": "Microsoft Windows 11 Pro",
    "windows_build": "26300",
    "windows_version": "10.0.26300",
    "wsl_distros": "NAME              STATE           VERSION\r\n* Ubuntu            Stopped         2\r\n  Adom-Workspace    Running         2",
    "wsl_version": "WSL version: 2.7.12.0\r\nKernel version: 6.18.33.2-2\r\nWSLg version: 1.0.73.2\r\nMSRDC version: 1.2.7214\r\nDirect3D version: 1.611.1-81528511\r\nDXCore version: 10.0.26100.1-240331-1435.ge-release\r\nWindows version: 10.0.26300.9818",
    "wslconfig": "[wsl2]\r\nnetworkingMode=mirrored\r\nguiApplications=false\r\n"
  },
  "diagnostics": {
    "_hints": {
      "expected": "16/16 checks should pass for a healthy system",
      "if_failures": "Each check has a 'fix' field with remediation steps. Common: workspace (restart the WSL2 distro), claude-auth (re-authenticate)",
      "related": [
        "/diagnostics/<check-name>",
        "/container-status",
        "/claude/status",
        "/wsl/status"
      ]
    },
    "checks": [
      {
        "check": "wsl-plane",
        "duration_ms": 32,
        "message": "WSL management plane answering (fresh wsl.exe probe)",
        "ok": true
      },
      {
        "check": "workspace",
        "details": {
          "distro": "Adom-Workspace",
          "runtime": "wsl2"
        },
        "duration_ms": 0,
        "message": "Workspace runtime is the WSL2 Adom-Workspace distro",
        "ok": true
      },
      {
        "check": "api-key",
        "details": {
          "key_preview": "a_wAhD...Lyyf",
          "path": "/var/run/adom/api-key",
          "validation": "skipped: carbon.adom.inc unreachable or rejected the probe"
        },
        "duration_ms": 1441,
        "message": "API key installed (a_wAhD...Lyyf); live validation skipped (Adom API not reachable right now, normal offline)",
        "ok": true
      },
      {
        "check": "env-vars",
        "duration_ms": 68,
        "error": "Missing env vars: ADOM_CARBON_URL, ADOM_HYDROGEN_URL, VSCODE_PROXY_URI, ADOM_DESKTOP_MODE",
        "fix": "Re-run the Auth + Connectivity setup phase, or manually set vars in .bashrc inside the container.",
        "message": "env-vars failed",
        "ok": false
      },
      {
        "check": "adom-cli",
        "details": {
          "output": "/usr/local/bin/adom-cli\n{\n  \"carbon_url\": null,\n  \"hydrogen_url\": null,\n  \"api_token\": null\n}\ntoken_source: [redacted]:/var/run/adom/api-key"
        },
        "duration_ms": 68,
        "message": "adom-cli installed and configured",
        "ok": true
      },
      {
        "check": "adom-cli-api",
        "duration_ms": 144,
        "error": "adom-cli carbon status failed: Checking Carbon API at https://carbon.adom.inc...\nCarbon API unreachable: GET https://carbon.adom.inc/health",
        "fix": "Install adom-cli and ensure API key is valid.",
        "message": "adom-cli-api failed",
        "ok": false
      },
      {
        "check": "sse",
        "duration_ms": 0,
        "error": "SSE probe: browser_connected=false, sse_connections=0",
        "fix": "Reload the Hydrogen window or check the proxy server.",
        "message": "sse failed",
        "ok": false
      },
      {
        "check": "webview",
        "details": {
          "latency_ms": 0,
          "method": "read-only GET (no test tab)"
        },
        "duration_ms": 0,
        "message": "Workspace tab API reachable (0ms)",
        "ok": true
      },
      {
        "check": "code-server",
        "duration_ms": 2019,
        "error": "Cannot reach code-server on :7380: error sending request for url (http://127.0.0.1:7380/)",
        "fix": "Ensure the WSL2 workspace (Adom-Workspace) + code-server are running.",
        "message": "code-server failed",
        "ok": false
      },
      {
        "check": "extensions",
        "details": {
          "count": 4,
          "extensions": [
            "adom.adom-theme",
            "adom.adom-vscode",
            "anthropic.claude-code",
            "openai.chatgpt"
          ]
        },
        "duration_ms": 277,
        "message": "adom.adom-vscode + anthropic.claude-code installed",
        "ok": true
      },
      {
        "check": "claude-installed",
        "details": {
          "path": "/home/adom/.local/bin/claude",
          "version": "2.1.278 (Claude Code)"
        },
        "duration_ms": 165,
        "message": "claude 2.1.278 (Claude Code)",
        "ok": true
      },
      {
        "check": "claude-auth",
        "duration_ms": 67,
        "error": "No credentials file at /home/adom/.claude/.credentials.json",
        "fix": "Open Claude Code and sign in via the Claude.ai Subscription button.",
        "message": "claude-auth failed",
        "ok": false
      },
      {
        "check": "skills",
        "details": {
          "adompkg_module_count": 29,
          "adompkg_present": false,
          "skill_count": 213,
          "skill_md_exists": true
        },
        "duration_ms": 289,
        "message": "213 skills deployed (29 adompkg modules)",
        "ok": true
      },
      {
        "check": "relay",
        "details": {
          "connectedClients": 0,
          "httpPort": 8766,
          "status": "ok",
          "tokenWarning": "This relay accepts the well-known DEVELOPMENT token, which is published in the              adom-bridge docs. Anyone who knows this relay's URL can join it and drive every              desktop connected to it. Rotate: restart with `adom-bridge-cli serve --supervise --token              <secret>` (or set ADOM_AUTH_TOKEN) and update each desktop's server entry auth_token to match.",
          "usingDefaultToken": true,
          "wsPort": 8765
        },
        "duration_ms": 75,
        "message": "Relay healthy on :8766 inside container",
        "ok": true
      },
      {
        "check": "ports",
        "duration_ms": 4029,
        "error": "Inaccessible ports: code-server (7380)",
        "fix": "Ensure the WSL2 workspace (Adom-Workspace) is running and the proxy is up.",
        "message": "ports failed",
        "ok": false
      },
      {
        "check": "identity",
        "duration_ms": 72,
        "message": "Identity established via api-key + session (legacy adom-identity.json not used)",
        "ok": true
      },
      {
        "check": "adom-bridge",
        "duration_ms": 2041,
        "error": "Relay HTTP unreachable via code-server proxy (:7380/proxy/8766/)",
        "fix": "Ensure the adom-bridge relay is running in the container and code-server is accessible.",
        "message": "adom-bridge failed",
        "ok": false
      },
      {
        "check": "adom-bridge-direct",
        "details": {
          "discovered_via": "discovery-file",
          "health": {
            "instanceId": "ab-48708-a294b06abbe94b0d",
            "ok": true,
            "pid": 48708,
            "service": "adom-bridge"
          },
          "port": 24680
        },
        "duration_ms": 1,
        "message": "ab direct API healthy on :24680 (found via discovery-file)",
        "ok": true
      }
    ],
    "duration_ms": 10795,
    "failed": 7,
    "ok": false,
    "passed": 11,
    "total": 18
  },
  "health": {
    "_hints": {
      "eval": "POST /eval with {\"js\":\"...\"} returns the JS result. Use for DOM queries. Never use /eval to click buttons, use /ai-cursor/click instead.",
      "next": "Check /workspace/health for the WSL editor, /container-status for workspace state, /claude/status for Claude auth, /diagnostics/all for full system health",
      "related": [
        "/workspace/health",
        "/buildinfo",
        "/ports",
        "/container-status",
        "/claude/status",
        "/diagnostics/all",
        "/wsl/status"
      ]
    },
    "build_dirty": "true",
    "build_epoch": "1793509048",
    "build_local": "Oct 31 11:57 PM",
    "build_sha": "003b96f18e115a26df0f9b433812db191673520c",
    "narrative": "HD control API is up. Running exe is build 003b96f18e115a26df0f9b433812db191673520c (built Oct 31 11:57 PM). Compare build_sha to `git rev-parse HEAD` to confirm it's the code you shipped.",
    "ok": true,
    "port": 47084,
    "service": "hydrogen-desktop-control"
  },
  "hydrogen_version": "1.0.701",
  "machine": "JOSH-DESKTOP",
  "reported_at": "2026-11-01T22:42:39Z",
  "setup_state": {
    "_hints": {
      "note": "Setup state: 'never-run' | 'in-progress' | 'complete' | 'error'. POST /setup/state to update. POST /setup/run-all to re-trigger full setup.",
      "related": [
        "/setup-status",
        "/setup/trigger",
        "/setup/run-all"
      ]
    },
    "ok": true,
    "state": "in-progress"
  },
  "wsl_status": {
    "_hints": {
      "note": "Lightweight WSL2 distro status (registered/running/host-reachable). For the deeper 'will the editor actually load' check (in-distro process + listener), use /workspace/health.",
      "related": [
        "/workspace/health",
        "/wsl/unregister",
        "/setup/run-all",
        "/setup/virgin-reset"
      ]
    },
    "code_server_port": 7380,
    "distro": "Adom-Workspace",
    "host_reachable": false,
    "ok": true,
    "registered": true,
    "running": true
  }
}