{
  "schema": "router-step-facts-v1",
  "step": "STEP_050M07D5_FINAL_CLI_DISCOVERY_AND_PRE_NIGHT_FREEZE",
  "generated_at_utc": "20260711-212723",
  "assessment": {
    "all_ok": true,
    "decision": "PASS_STEP_050M07D5_FINAL_CLI_DISCOVERY_AND_PRE_NIGHT_FREEZE",
    "checks": {
      "planner_contract": true,
      "five_current_endpoints": true,
      "five_unique_endpoints": true,
      "five_strict_slots": true,
      "routes_201_205": true,
      "services_running_enabled": true,
      "locks_absent": true,
      "cron_0420_utc": true,
      "read_only": true,
      "stderr_clean": true
    },
    "warnings": [
      "planner_changes_count=3"
    ],
    "failed_checks": [],
    "cli_discovery": {
      "candidates": {
        "awg": "NOT_FOUND",
        "wg": "/usr/bin/wg",
        "amneziawg": "/usr/bin/amneziawg",
        "amnezia-wg": "NOT_FOUND",
        "amneziawg-go": "NOT_FOUND",
        "wg-amnezia": "NOT_FOUND"
      },
      "available": {
        "wg": "/usr/bin/wg",
        "amneziawg": "/usr/bin/amneziawg"
      },
      "dedicated_cli_required_for_checkpoint": false,
      "authoritative_endpoint_source": "live router-egress-hmn-plan-top5 current fields",
      "raw_discovery_preserved_in": "vm101.txt"
    },
    "schedule": {
      "cron": "20 4 * * *",
      "timezone": "UTC",
      "next_run_utc": "2026-07-12T04:20:00+00:00",
      "next_run_amsterdam": "2026-07-12T06:20:00+02:00"
    },
    "exact_endpoints_frozen": true,
    "safety": {
      "read_only": true,
      "refresh_ran": false,
      "rebalance_ran": false,
      "network_changed": false,
      "services_changed": false,
      "state_changed": false,
      "timer_changed": false,
      "plan_changed": false,
      "direct_failopen_changed": false
    },
    "next_action": "Pause changes. After scheduled refresh, run read-only comparison."
  },
  "exact_baseline": {
    "captured_at": {
      "epoch": 1783805244,
      "vm101_local": "2026-07-11T21:27:24+0000",
      "vm101_utc": "2026-07-11T21:27:24Z",
      "timezone": {
        "etc_tz": "UTC_",
        "uci_timezone": "UTC",
        "uci_zonename": "UNAVAILABLE"
      }
    },
    "schedule": {
      "cron": "20 4 * * *",
      "timezone": "UTC",
      "next_run_utc": "2026-07-12T04:20:00+00:00",
      "next_run_amsterdam": "2026-07-12T06:20:00+02:00"
    },
    "runtime_protocol": "AmneziaWG",
    "endpoint_source": "live router-egress-hmn-plan-top5 current",
    "cli_discovery": {
      "candidates": {
        "awg": "NOT_FOUND",
        "wg": "/usr/bin/wg",
        "amneziawg": "/usr/bin/amneziawg",
        "amnezia-wg": "NOT_FOUND",
        "amneziawg-go": "NOT_FOUND",
        "wg-amnezia": "NOT_FOUND"
      },
      "available": {
        "wg": "/usr/bin/wg",
        "amneziawg": "/usr/bin/amneziawg"
      },
      "dedicated_cli_required_for_checkpoint": false,
      "authoritative_endpoint_source": "live router-egress-hmn-plan-top5 current fields",
      "raw_discovery_preserved_in": "vm101.txt"
    },
    "endpoints": {
      "vpn1": "109.248.198.4:37129",
      "vpn2": "151.236.30.139:33998",
      "vpn3": "95.211.68.119:45176",
      "vpn4": "178.215.227.13:44408",
      "vpn5": "157.173.27.69:41797"
    },
    "strict": {
      "vpn1": true,
      "vpn2": true,
      "vpn3": true,
      "vpn4": true,
      "vpn5": true
    },
    "healthy_vpn_slots": 5,
    "routes_201_205": true,
    "services": {
      "hook_running": true,
      "hook_enabled": true,
      "watcher_running": true,
      "watcher_enabled": true
    },
    "locks": {
      "emergency": false,
      "refresh": false
    },
    "state": {
      "mode": "NORMAL",
      "status": "refresh_ok_rebalance_ok",
      "epoch": 1783803369,
      "repair_counter": 16,
      "commit_raw": "true"
    },
    "pool": {
      "sha256": "b9fd15bfe7aa2337048cbf7198c798e74e67e9b2f6e6040fb3c2138084378599",
      "rows": 15,
      "mtime_epoch": 1783702742,
      "latest_generation": "/root/hmn/configs/awg1/20260711-205609"
    },
    "planner": {
      "decision": "plan_ok",
      "changes_count": 3,
      "plan": [
        {
          "slot": "egress1",
          "iface": "vpn1",
          "current": "109.248.198.4:37129",
          "target": "192.121.163.235:42530",
          "change": true,
          "target_rank": "1",
          "target_avg_ms": "39.008"
        },
        {
          "slot": "egress2",
          "iface": "vpn2",
          "current": "151.236.30.139:33998",
          "target": "37.235.54.96:38971",
          "change": true,
          "target_rank": "7",
          "target_avg_ms": "62.926"
        },
        {
          "slot": "egress3",
          "iface": "vpn3",
          "current": "95.211.68.119:45176",
          "target": "95.211.68.119:45176",
          "change": false,
          "target_rank": "2",
          "target_avg_ms": "44.271"
        },
        {
          "slot": "egress4",
          "iface": "vpn4",
          "current": "178.215.227.13:44408",
          "target": "192.71.244.202:45735",
          "change": true,
          "target_rank": "8",
          "target_avg_ms": "66.349"
        },
        {
          "slot": "egress5",
          "iface": "vpn5",
          "current": "157.173.27.69:41797",
          "target": "157.173.27.69:41797",
          "change": false,
          "target_rank": "5",
          "target_avg_ms": "56.803"
        }
      ]
    },
    "runner": {
      "decision": "would_run_emergency_refresh",
      "reason": "threshold_or_force_reached_no_commit_in_dry_run",
      "daily_fail_count": 16,
      "cooldown_remaining": 0,
      "last_status": "refresh_ok_rebalance_ok",
      "last_epoch": 1783803369
    },
    "checks": {
      "planner_contract": true,
      "five_current_endpoints": true,
      "five_unique_endpoints": true,
      "five_strict_slots": true,
      "routes_201_205": true,
      "services_running_enabled": true,
      "locks_absent": true,
      "cron_0420_utc": true,
      "read_only": true,
      "stderr_clean": true
    },
    "warnings": [
      "planner_changes_count=3"
    ]
  },
  "operation": {
    "final_pre_night_checkpoint": true,
    "runtime_protocol": "AmneziaWG",
    "cli_discovery_completed": true,
    "exact_endpoints_frozen": true,
    "schedule_frozen": true,
    "failure_context_preserved": true,
    "comparison_contract_created": true
  },
  "safety": {
    "read_only": true,
    "refresh_ran": false,
    "rebalance_ran": false,
    "network_changed": false,
    "services_changed": false,
    "state_changed": false,
    "timer_changed": false,
    "plan_changed": false,
    "direct_failopen_changed": false
  },
  "plan": {
    "current_milestone": "M07",
    "milestone_completed": false,
    "milestone_changed": false
  },
  "next_step": "READONLY_POST_SCHEDULED_REFRESH_COMPARISON",
  "publish": {
    "trycf_report": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260711-212723_step050m07d5_final_cli_discovery_and_pre_night_freeze/",
    "report_txt": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260711-212723_step050m07d5_final_cli_discovery_and_pre_night_freeze/report.txt",
    "facts_json": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260711-212723_step050m07d5_final_cli_discovery_and_pre_night_freeze/facts.json",
    "architecture_plan": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260711-181158_local_architecture_plan_vm101_autonomous_hmn_recovery/",
    "xs_map": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260711-120734_xs_map_audit_repair_publish/",
    "global_project_plan": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260711-123348_global_project_plan_wg_paid/"
  }
}
