{
  "adapter_dryrun": {
    "adapter": "hmn_pool_replace",
    "apply_performed": false,
    "apply_rc": 0,
    "candidate_endpoint": "151.236.30.139:33998",
    "current_endpoint": "78.31.250.16:41729",
    "decision": "dry_run_ok",
    "dscp": "cs2",
    "epoch": 1783766677,
    "interface": "vpn4",
    "iso": "2026-07-11T10:44:37+00:00",
    "mark": "0x204",
    "max_pool_age_sec": 129600,
    "mode": "--dry-run",
    "pool_is_fresh": true,
    "post_strict_ok": false,
    "provider": "hidemyname",
    "reason": "dry_run_candidate_selected",
    "rollback_file": "",
    "safety": {
      "dry_run_no_ifup_ifdown": true,
      "dry_run_no_route_change": true,
      "dry_run_no_uci_set": true,
      "dry_run_no_wg_set": true,
      "no_vm100_change": true,
      "requires_explicit_commit": true
    },
    "schema": "router-egress-recovery-hmn-pool-replace-v2",
    "selected_pool": "/root/hmn/cache/ok-awg1-strict-foreign-latest.tsv",
    "selected_pool_age_sec": 63935,
    "selected_pool_endpoint_count": 15,
    "slot": "egress4",
    "table": "204",
    "unused_candidate_count": 10
  },
  "architecture_plan": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260711-095354_step049i_architecture_lock_hmn_egress_recovery/",
  "assessment": {
    "all_ok": true,
    "decision": "PASS_STEP_050D_PATCH_REPAIR_RECORD_QUARANTINE_AND_COUNTER",
    "success_checks": {
      "adapter_dryrun_has_decision": true,
      "adapter_dryrun_no_mutation": true,
      "adapter_pre_exists": true,
      "adapter_wrapper_installed": true,
      "all_interfaces_exist": true,
      "all_tables_have_routes": true,
      "cron_fingerprint_unchanged": true,
      "dispatcher_dryrun_has_decision": true,
      "dispatcher_exists": true,
      "endpoint_fingerprint_unchanged": true,
      "helper_exists": true,
      "network_config_not_changed": true,
      "new_wrapper_syntax_ok": true,
      "prod_strict_all_ok": true,
      "real_repair_apply_not_performed": true,
      "selftest_daily_counter_one": true,
      "selftest_quarantine_recorded": true,
      "selftest_quarantine_rows_one": true,
      "selftest_state_last_new_ok": true,
      "selftest_state_last_old_ok": true,
      "selftest_temp_state_removed": true,
      "selftest_wrapper_rc_zero": true,
      "services_not_restarted": true,
      "vm101_rc_zero": true,
      "watcher_still_running": true
    },
    "warnings": []
  },
  "dispatcher_dryrun": {
    "adapter_dryrun_decision": "dry_run_ok",
    "apply_performed": false,
    "candidate_endpoint": "151.236.30.139:33998",
    "decision": "dry_run_ok",
    "iface": "vpn2",
    "mode": "--dry-run",
    "reason": "dispatcher_ready",
    "reason_input": "health_fail",
    "required_dispatch_confirm": "DISPATCH_egress2_151.236.30.139:33998",
    "safety": {
      "commit_requires_dispatch_confirm": true,
      "dry_run_no_ifup_ifdown": true,
      "dry_run_no_uci_set": true
    },
    "schema": "router-egress-recovery-dispatcher-v1",
    "slot": "egress2"
  },
  "mode": "PATCH_REPAIR_ADAPTER_WRAPPER_RECORDS_QUARANTINE_AND_COUNTER_NO_REAL_APPLY",
  "publish": {
    "architecture_plan": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260711-095354_step049i_architecture_lock_hmn_egress_recovery/",
    "facts_json": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260711-104436_step050d_patch_repair_record_quarantine_and_counter/facts.json",
    "report_txt": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260711-104436_step050d_patch_repair_record_quarantine_and_counter/report.txt",
    "trycf_report": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260711-104436_step050d_patch_repair_record_quarantine_and_counter/"
  },
  "schema": "router-step-facts-v1",
  "step": "STEP_050D_PATCH_REPAIR_RECORD_QUARANTINE_AND_COUNTER",
  "summary": {
    "adapter": "/usr/local/sbin/router-egress-recovery-hmn-pool-replace.sh",
    "adapter_core": "/usr/local/sbin/router-egress-recovery-hmn-pool-replace.sh.core-step050d-20260711-104437",
    "adapter_dryrun_decision": "dry_run_ok",
    "daily_counter_after_dryrun": "0",
    "daily_counter_pre": "0",
    "dispatcher_dryrun_decision": "dry_run_ok",
    "endpoint_fingerprint_post": "7398c52bdd06da0d7e1a03769e49d0859fdf58b153278a5f8a63a4e9b50fa53b",
    "endpoint_fingerprint_pre": "7398c52bdd06da0d7e1a03769e49d0859fdf58b153278a5f8a63a4e9b50fa53b",
    "ifaces": {
      "vpn1": true,
      "vpn2": true,
      "vpn3": true,
      "vpn4": true,
      "vpn5": true
    },
    "next_step": "STEP_050E_SIMULATE_REPAIR_RECORDS_QUARANTINE_AND_COUNTER",
    "quarantine_lines_after_dryrun": "1",
    "quarantine_lines_pre": "1",
    "rollback": "/root/rollback-step050d-repair-record-20260711-104437.sh",
    "routes": {
      "201": true,
      "202": true,
      "203": true,
      "204": true,
      "205": true
    },
    "strict": {
      "vpn1": true,
      "vpn2": true,
      "vpn3": true,
      "vpn4": true,
      "vpn5": true
    },
    "watcher_enabled": "true",
    "watcher_running": "true"
  }
}
