{
  "assessment": {
    "all_ok": false,
    "decision": "STOP_STEP_046S_VM100_LOCAL_CONTROLLER_PERIODIC_COMMIT_CANARY_WINDOW",
    "expected_absence": {
      "jobs_created": false,
      "selector_changed_final": false,
      "state_changed_final": false,
      "vm121_db_written": false,
      "wg_runtime_changed": false
    },
    "success_checks": {
      "after_commit_allowed_ip_count_stable": true,
      "after_commit_balanced_cs1_one": false,
      "after_commit_balanced_cs2_one": false,
      "after_commit_peer_count_stable": true,
      "commit_action_seen": true,
      "commit_count_increased": false,
      "commit_run_rc0_seen": true,
      "commit_selector_apply_seen": false,
      "commit_service_running": true,
      "commit_start_ok": true,
      "commit_state_write_seen": false,
      "commit_stop_ok": true,
      "db_enabled_peers_five": true,
      "db_lease_rows_five": true,
      "db_pending_zero": true,
      "dry_enable_ok": true,
      "dry_start_ok": true,
      "final_allowed_ip_count_five": true,
      "final_line_10_ok": true,
      "final_line_11_ok": true,
      "final_line_12_ok": true,
      "final_peer_count_five": true,
      "final_rows_five": true,
      "final_uci_zero": true,
      "imbalance_apply_ok": true,
      "imbalance_cs1_two": true,
      "imbalance_cs2_zero": true,
      "imbalance_rewrite_ok": true,
      "precheck_ok": true,
      "restore_apply_ok": true,
      "selector_restore_copy_ok": true,
      "selector_sha_restored": true,
      "service_enabled_final": true,
      "service_running_final": true,
      "state_action_count_after_commit_ok": false,
      "state_action_to_class_after_commit_ok": false,
      "state_restore_ok": true,
      "state_restored": true,
      "state_written_after_commit": false,
      "vm100_046s_rc_zero": true,
      "vm121_db_safety_ok": true
    },
    "warnings": [
      "This step intentionally runs periodic --commit for a short canary window against a temporary selector imbalance.",
      "After the canary window it restores selector/state and returns the service to periodic --dry-run.",
      "Final state is dry-run service enabled/running; no VM121 DB writes."
    ]
  },
  "changes": {
    "final_service_mode": "DRY_RUN_ENABLED_RUNNING",
    "jobs_created": "NO",
    "periodic_commit_window_ran": "YES",
    "selector_apply_ran": "YES_COMMIT_AND_RESTORE",
    "state_file_temporarily_written": "YES_RESTORED",
    "temporary_selector_imbalance": "YES_RESTORED",
    "vm121_db_changed": "NO"
  },
  "db_summary": {
    "enabled_peers": 5,
    "forced_leases": 0,
    "lease_rows": 5,
    "pending_jobs": 0
  },
  "mode": "VM100_PERIODIC_COMMIT_CANARY_WINDOW_RESTORE_TO_DRYRUN",
  "publish": {
    "facts_json": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260710-115423_step046s_vm100_periodic_commit_canary_window/facts.json",
    "report_txt": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260710-115423_step046s_vm100_periodic_commit_canary_window/report.txt",
    "trycf_report": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260710-115423_step046s_vm100_periodic_commit_canary_window/"
  },
  "schema": "router-step-facts-v1",
  "step": "STEP_046S_VM100_LOCAL_CONTROLLER_PERIODIC_COMMIT_CANARY_WINDOW",
  "summary": {
    "allowed_ip_count_final": "5",
    "class_cs1_after_commit": "2",
    "class_cs2_after_commit": "0",
    "commit_action_count_post": 2,
    "commit_count_post": 0,
    "commit_count_pre": 0,
    "commit_selector_apply_count_post": 0,
    "commit_state_write_count_post": 0,
    "init_enabled_final": "true",
    "line_10_after_commit": "10.253.1.10 cs1 canary_vpn3",
    "line_10_final": "10.253.1.10 cs1 canary_vpn3",
    "line_11_after_commit": "10.253.1.11 cs1 canary_vpn3",
    "line_11_final": "10.253.1.11 cs2 canary_vpn4",
    "line_12_final": "10.253.1.12 cs3 canary_vpn5",
    "peer_count_final": "5",
    "rollback": "/root/rollback-step046s-periodic-commit-20260710-115423.sh",
    "run_rc0_count_post": 16,
    "selector_backup": "/root/step046s-selector-20260710-115423.backup",
    "selector_sha_final": "2db1a0c46c1b93d9ede5f560d2d00db2dad3283adbc8f6ca6b0434ab695d8460",
    "selector_sha_pre": "2db1a0c46c1b93d9ede5f560d2d00db2dad3283adbc8f6ca6b0434ab695d8460",
    "service_running_final": "true",
    "state_exists_after_commit": "false",
    "state_exists_final": "false",
    "state_exists_pre": "false",
    "state_restored": true,
    "state_sha_after_commit": "none",
    "state_sha_final": "none",
    "state_sha_pre": "none",
    "uci_peer_sections_final": "0"
  }
}
