{
  "architecture_summary": {
    "architecture_ready_for_vm100_local_implementation": false,
    "next_steps": [
      "STEP_046E_VM100_LOCAL_ACTIVITY_SAMPLER_DRYRUN",
      "STEP_046F_VM100_LOCAL_REBALANCER_DRYRUN",
      "STEP_046G_VM100_LOCAL_SELECTOR_APPLY_DRYRUN",
      "STEP_046H_VM100_LOCAL_ONE_IDLE_SELECTOR_CHANGE"
    ],
    "vm100_is_live_loop_owner": true,
    "vm101_is_static_mapper_only": true,
    "vm121_is_not_live_loop_owner": true,
    "vm130_is_ops_only": true
  },
  "assessment": {
    "all_ok": false,
    "blockers": [],
    "decision": "STOP_STEP_046D_VM100_LOCAL_DYNAMIC_EGRESS_ARCHITECTURE_READONLY",
    "expected_absence": {
      "jobs_created": false,
      "manual_agent_service_start_used": false,
      "new_traffic_delta_seen": false,
      "private_material_published": false,
      "prototype_apply_preview_wrote_db": false,
      "real_apply_enabled": false,
      "selector_changed": false,
      "timer_disabled": false,
      "vm100_changed": false,
      "vm101_changed": false,
      "vm121_db_written": false,
      "wg_runtime_changed": false
    },
    "success_checks": {
      "architecture_design_created": true,
      "architecture_design_mode_readonly": true,
      "architecture_ready_for_vm100_local_implementation": false,
      "db_active_one": true,
      "db_enabled_peers_five": true,
      "db_forced_zero": true,
      "db_idle_four": true,
      "db_lease_rows_five": true,
      "db_pending_zero": true,
      "post_timer_enabled_active": true,
      "pre_timer_enabled_active": true,
      "prototype_apply_preview_no_write": true,
      "prototype_apply_preview_ok": true,
      "prototype_apply_preview_zero_actions": true,
      "prototype_apply_preview_zero_jobs": true,
      "prototype_apply_preview_zero_updates": true,
      "prototype_dryrun_noop": true,
      "prototype_dryrun_ok": true,
      "prototype_rows_all_have_peer_id": true,
      "public_index_rebuilt": true,
      "public_report_created": true,
      "real_apply_refused": true,
      "rebalancer_executable": true,
      "router_ops_post_state_collected": true,
      "router_ops_pre_state_collected": true,
      "sampler_executable": true,
      "sampler_post_active_by_new_delta_zero": true,
      "sampler_post_ok": true,
      "sampler_post_rows_five": true,
      "sampler_post_selector_match_five": true,
      "sampler_post_zero_delta_rows_five": true,
      "vm100_activity_table_seen": false,
      "vm100_allowed_ip_count_five": false,
      "vm100_inventory_ok": true,
      "vm100_is_live_loop_owner": true,
      "vm100_required_tools_present": false,
      "vm100_selector_apply_seen": false,
      "vm100_selector_file_exists": false,
      "vm100_selector_rows_five": false,
      "vm100_wg_paid_peer_count_five": false,
      "vm101_cs1_to_vpn3": false,
      "vm101_cs2_to_vpn4": false,
      "vm101_cs3_to_vpn5": false,
      "vm101_cs4_to_vpn1": false,
      "vm101_cs5_to_vpn2": false,
      "vm101_dynamic_changes_not_required": true,
      "vm101_inventory_ok": true,
      "vm101_is_static_mapper_only": true,
      "vm101_slot_rows_five": false,
      "vm121_is_not_live_loop_owner": true,
      "vm121_not_dynamic_decision_owner": true,
      "vm121_not_live_accounting_owner": true,
      "vm121_not_selector_apply_owner": true,
      "vm121_role_check_ok": true,
      "vm130_is_ops_only": true
    },
    "warnings": [
      "This step intentionally replaces the previous VM121 production-handler 046D direction.",
      "VM121 remains backend/admin/history only; VM100 becomes the live dynamic egress controller owner.",
      "No VM100/VM101/VM121 changes are made in this step."
    ]
  },
  "changes": {
    "jobs_created": "NO",
    "manual_agent_service_start_used": "NO",
    "private_material_published": "NO",
    "router_ops_changed": "NO_READONLY_REPORT_ARTIFACT_ONLY",
    "selector_changed": "NO",
    "vm100_changed": "NO",
    "vm101_changed": "NO",
    "vm121_db_changed": "NO",
    "wg_peer_runtime_changed": "NO"
  },
  "db_summary": {
    "active_leases": 1,
    "enabled_peers": 5,
    "forced_leases": 0,
    "idle_leases": 4,
    "lease_rows": 5,
    "pending_jobs": 0
  },
  "dryrun_summary": {
    "action_count": 0,
    "active_count": 1,
    "blocked": false,
    "forced_count": 0,
    "idle_count": 4,
    "lease_rows": 5,
    "noop": true,
    "selector_match_count": 5,
    "slot_seen_count": 5,
    "target_count": 5
  },
  "mode": "READONLY_ARCHITECTURE_PIVOT_TO_VM100_LOCAL_LIVE_LOOP",
  "prototype_status": {
    "current_apply_preview": {
      "action_count": 0,
      "mode": "apply-preview-no-write",
      "would_create_jobs": 0,
      "would_update_lease_rows": 0
    },
    "current_rebalancer_dryrun": {
      "action_count": 0,
      "active_count": 1,
      "blocked": false,
      "forced_count": 0,
      "idle_count": 4,
      "lease_rows": 5,
      "noop": true,
      "selector_match_count": 5,
      "slot_seen_count": 5,
      "target_count": 5
    },
    "old_vm121_peer_egress_reassign_handler": "contract_probe_only_not_production_path",
    "old_vm130_vm121_sampler_rebalancer": "prototype_only_not_final_architecture",
    "real_apply_should_remain_disabled": true
  },
  "publish": {
    "local_report": "http://127.0.0.1:8099/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260710-062804_step046d_vm100_local_dynamic_egress_architecture_readonly/",
    "public_index_rebuilt": true,
    "trycf_report": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260710-062804_step046d_vm100_local_dynamic_egress_architecture_readonly/"
  },
  "sampler_post_summary": {
    "active_by_new_delta_count": 0,
    "rows": 5,
    "rows_with_selector_match": 5,
    "rows_with_zero_delta": 5
  },
  "schema": "router-step-facts-v1",
  "step": "STEP_046D_VM100_LOCAL_DYNAMIC_EGRESS_ARCHITECTURE_READONLY",
  "vm100_capabilities": {
    "activity_counter_evidence_lines": [],
    "activity_table_seen": false,
    "local_state_paths_available": {
      "/etc/router-wgpay-selector.d": false,
      "/tmp": false,
      "/usr/local/sbin": false,
      "/var/lib": false,
      "/var/run": false
    },
    "optional_json_tools": {
      "jq": false,
      "jsonfilter": false,
      "python3": false,
      "sqlite3": false
    },
    "selector_apply_script_seen": false,
    "selector_file_exists": false,
    "selector_init_service_seen": false,
    "selector_rows": [],
    "selector_rows_count": 0,
    "tools_present": {
      "awk": false,
      "flock": false,
      "grep": false,
      "ip": false,
      "logger": false,
      "nft": false,
      "sed": false,
      "service": false,
      "uci": false,
      "wg": false
    },
    "wg_paid_allowed_ip_count_5": false,
    "wg_paid_peer_count_5": false
  },
  "vm101_static_mapper": {
    "cs1_to_vpn3": false,
    "cs2_to_vpn4": false,
    "cs3_to_vpn5": false,
    "cs4_to_vpn1": false,
    "cs5_to_vpn2": false,
    "dynamic_changes_required": false,
    "slot_rows": [],
    "slot_rows_count": 0
  }
}
