{
  "all_ok": false,
  "decision": "STOP_STEP_050I10_RESEARCH_EXISTING_VM121_DB_CHECK_CONTRACT",
  "checks": {
    "previous_vm121_was_only_failed_check": true,
    "previous_vm101_core_passed": true,
    "previous_rollback_proven": true,
    "vm121_ssh_and_script_ok": false,
    "vm121_remote_completed": false,
    "vm121_remote_no_errors": false,
    "postgres_candidate_found": true,
    "postgres_container_identified": true,
    "database_ping": true,
    "required_tables_exist": false,
    "enabled_peers_five": false,
    "lease_rows_five": false,
    "pending_jobs_zero": false
  },
  "failed_checks": [
    "vm121_ssh_and_script_ok",
    "vm121_remote_completed",
    "vm121_remote_no_errors",
    "required_tables_exist",
    "enabled_peers_five",
    "lease_rows_five",
    "pending_jobs_zero"
  ],
  "classification": {
    "previous_vm121_failure": "DATABASE_SCHEMA_OR_OBJECT_FAILURE",
    "previous_vm121_stderr": "ERROR:  relation \"jobs\" does not exist\nLINE 1: SELECT count(*) FROM jobs WHERE status='pending';\n                             ^",
    "current_vm121_stderr": ""
  },
  "discovered_contract": {
    "postgres_container": "wgaccess-postgres",
    "postgres_user": "wg_access",
    "postgres_database": "wg_access",
    "enabled_peers": null,
    "lease_rows": null,
    "pending_jobs": null,
    "related_tool_count": null
  },
  "next_step": "STEP_050I11_REUSE_STEP050I9_VM101_ENABLE_COMMIT_WITH_PROVEN_VM121_CHECK"
}
