{
  "schema": "router-step-facts-v1",
  "step": "STEP_050M07C4S_SALVAGE_DISK_AND_RESTORE_BASELINE",
  "assessment": {
    "decision": "STOP_STEP_050M07C4S_SALVAGE_DISK_AND_RESTORE_BASELINE_VM101_BASELINE_SALVAGE_FAILED",
    "all_ok": false,
    "error_rc": 33,
    "error_line": 788,
    "failed_stage": "03/06",
    "last_success": "remote_salvage_script_published"
  },
  "inline_diagnostic": {
    "schema": "router-step-inline-diagnostic-v8",
    "step": "STEP_050M07C4S_SALVAGE_DISK_AND_RESTORE_BASELINE",
    "failure": {
      "reason": "VM101_BASELINE_SALVAGE_FAILED",
      "rc": 33,
      "line": 788,
      "stage": "03/06",
      "last_success": "remote_salvage_script_published"
    },
    "command_results": {
      "vm101_rc": "33"
    },
    "automatic_classification": "VM101_FREE_SPACE_STILL_TOO_LOW",
    "captured_streams": {
      "vm101.txt": {
        "size_bytes": 2020,
        "tail": "__TRACE__ stage=before\n__BLOCK_BEGIN__ df_before\nFilesystem           1024-blocks    Used Available Capacity Mounted on\n/dev/root               100692     58788     39776  60% /\n__BLOCK_END__ df_before\n__BLOCK_BEGIN__ candidate_usage_before\n216\t/var/lib/router-egress-recovery/step050m07b-20260711-182854-8532\n628\t/root/step050m07c4-backup-20260711-203956-6486\n764\t/root/step050m07b2-backup-20260711-191743-10787\n__BLOCK_END__ candidate_usage_before\n__BLOCK_BEGIN__ table200_before\ndefault dev vpn1 scope link \n10.200.0.0/24 dev eth1 scope link src 10.200.0.2 \n10.201.0.0/24 dev eth3 scope link src 10.201.0.2 \n__BLOCK_END__ table200_before\n__FACT__ table200_hash_before=df05d441fb37682ed2b0bd46233513d2f905ea29d4a541029467788520064232\n__FACT__ hook_running_before=true\n__FACT__ hook_enabled_before=true\n__FACT__ watcher_running_before=true\n__FACT__ watcher_enabled_before=true\n__FACT__ commit_raw_before=1\n__BLOCK_BEGIN__ relevant_processes_before\n\n__BLOCK_END__ relevant_processes_before\n__FACT__ emergency_lock_before=false\n__FACT__ refresh_lock_before=false\n__TRACE__ stage=remove_incomplete_c4_artifacts\n__FACT__ incomplete_c4_backup_size_kb=628\n__FACT__ incomplete_c4_backup_removed=true\n__TRACE__ stage=restore_table200\n__BLOCK_BEGIN__ table200_after_route_restore\n10.200.0.0/24 dev eth1 scope link src 10.200.0.2 \n10.201.0.0/24 dev eth3 scope link src 10.201.0.2 \n__BLOCK_END__ table200_after_route_restore\n__FACT__ table200_hash_after=a03a7a5738c031c280e4a3147e9f7c5feb4af524f4d7ea427871b3b6cafd4691\n__TRACE__ stage=restore_services\n__FACT__ hook_running_after=true\n__FACT__ hook_enabled_after=true\n__FACT__ watcher_running_after=true\n__FACT__ watcher_enabled_after=true\n__TRACE__ stage=verify_baseline\n__FACT__ strict_all=true\n__FACT__ routes_all=true\n__FACT__ commit_raw_after=1\n__FACT__ emergency_lock_after=false\n__FACT__ refresh_lock_after=false\n__FACT__ free_kb_after=40404\n__FACT__ minimum_free_kb=131072\n__ERROR__ free_space_below_minimum\n__EXPECTED__ free_kb_at_least=131072\n__OBSERVED__ free_kb=40404\n"
      },
      "vm101.stderr": {
        "size_bytes": 80,
        "tail": "Warning: Permanently added '10.71.100.2' (ED25519) to the list of known hosts.\n"
      }
    },
    "safety": {
      "refresh_ran": false,
      "rebalance_apply_ran": false,
      "direct_failopen_changed": false,
      "plan_changed": false
    },
    "recommended_next_step": "Использовать уже опубликованные disk/du, service, table-200, strict и route факты. Отдельный диагностический STEP не нужен."
  },
  "safety": {
    "refresh_ran": false,
    "rebalance_apply_ran": false,
    "direct_failopen_changed": false,
    "plan_changed": false
  },
  "plan": {
    "current_milestone": "M07",
    "milestone_completed": false
  },
  "publish": {
    "trycf_report": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260711-204525_step050m07c4s_salvage_disk_and_restore_baseline/",
    "report_txt": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260711-204525_step050m07c4s_salvage_disk_and_restore_baseline/report.txt",
    "facts_json": "https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260711-204525_step050m07c4s_salvage_disk_and_restore_baseline/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/"
  }
}
