diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json index 636615308..f8d5a5878 100644 --- a/apps/web/messages/en.json +++ b/apps/web/messages/en.json @@ -9365,6 +9365,12 @@ "sourceDependency": "source dep {aliases}", "sourceDependencyClear": "source dep 0", "poweredOff": "power off {count}", + "sourceState": "Source", + "sourceClear": "source clear", + "powerState": "Guest power", + "powerBlocked": "off {count}", + "powerClear": "all running", + "checkModeState": "Next", "checkMode": "check-mode", "applyClosed": "apply 0", "applyOpen": "apply 1", diff --git a/apps/web/messages/zh-TW.json b/apps/web/messages/zh-TW.json index 17a2c2c41..518fe6237 100644 --- a/apps/web/messages/zh-TW.json +++ b/apps/web/messages/zh-TW.json @@ -9356,35 +9356,41 @@ "publicVerifier": "公開驗證器" }, "vmxRepair": { - "label": "VMX repair", + "label": "VMX 修復", "powerLabel": "自動啟動 check-mode", - "ready": "package ready", + "ready": "Package 就緒", "waiting": "等待 package", - "missing": "VMX {aliases}", - "missingNone": "VMX 0", - "sourceDependency": "source dep {aliases}", - "sourceDependencyClear": "source dep 0", - "poweredOff": "power off {count}", + "missing": "缺 {aliases}", + "missingNone": "VMX 已清", + "sourceDependency": "來源 {aliases}", + "sourceDependencyClear": "來源 0", + "poweredOff": "關機 {count}", + "sourceState": "來源", + "sourceClear": "來源已清", + "powerState": "Guest power", + "powerBlocked": "關機 {count}", + "powerClear": "全部運行", + "checkModeState": "下一步", "checkMode": "check-mode", "applyClosed": "apply 0", "applyOpen": "apply 1", - "actionChain": "action chain", - "stageSource": "source repair", - "stagePower": "power readback", - "stageVerify": "verify only", - "nextLocate": "locate source", - "nextPower": "power check", - "nextVerify": "rerun verifier", - "checkReady": "check ready", + "actionChain": "執行鏈", + "stageSource": "來源修復", + "stagePower": "電源讀回", + "stageVerify": "驗證", + "nextLocate": "找來源", + "nextPower": "Power check", + "nextVerify": "重跑驗證", + "checkReady": "check 就緒", "checkWaiting": "check wait", "rollbackSet": "rollback set", "rollbackMissing": "rollback missing", - "noPower": "no VM power", + "noPower": "不動 VM power", "powerOpen": "VM power open", - "noRemoteWrite": "no remote write", - "noWindowsWrite": "no Windows write", + "noRemoteWrite": "不寫遠端", + "noWindowsWrite": "不寫 Windows", "windowsWriteOpen": "Windows write open", - "noDestructive": "no destructive", + "noDestructive": "不做破壞", "destructiveOpen": "destructive open", "executor": "executor {value}", "executorConsole": "console/no-secret", diff --git a/apps/web/src/app/[locale]/awooop/work-items/page.tsx b/apps/web/src/app/[locale]/awooop/work-items/page.tsx index cebb914b6..ca75657a3 100644 --- a/apps/web/src/app/[locale]/awooop/work-items/page.tsx +++ b/apps/web/src/app/[locale]/awooop/work-items/page.tsx @@ -1450,11 +1450,44 @@ const COMMANDER_INSERTED_REQUIREMENT_FALLBACK: PriorityWorkOrderResponse = { "windows99_vmware_guest_power_not_ready", "windows99_uptime_unknown", ], + windows99_vmware_autostart_check_mode_package_status: + "check_mode_package_ready_windows99_vmware_guest_power_readback_required", + windows99_vmware_autostart_check_mode_package_ready: true, + windows99_vmware_autostart_check_mode_powered_off_aliases: [ + "112", + "120", + "121", + "188", + "110", + ], + windows99_vmware_autostart_check_mode_powered_off_count: 5, + windows99_vmware_autostart_check_mode_safe_next_step: + "build_windows99_vmware_autostart_check_mode_package_for_powered_off_aliases_then_rerun_no_secret_collector_no_vm_power_change", + windows99_vmware_autostart_check_mode_work_order_id: + "windows99-vmware-autostart-check-mode-112", + windows99_vmware_autostart_check_mode_action_stage: + "power_readback_check_mode_ready", + windows99_vmware_autostart_check_mode_next_executable_step: + "build_vmware_autostart_power_readback_check_mode", + windows99_vmware_autostart_check_mode_allowed: true, + windows99_vmware_autostart_check_mode_vm_power_change_allowed: false, + windows99_vmware_autostart_check_mode_registry_apply_allowed: false, + windows99_vmware_autostart_check_mode_scheduled_task_modify_allowed: false, + windows99_vmware_autostart_check_mode_target_vm_aliases: [ + "112", + "120", + "121", + "188", + "110", + ], + windows99_vmware_autostart_check_mode_probe_command_count: 2, + windows99_vmware_autostart_check_mode_post_apply_verifier_count: 5, + windows99_vmware_autostart_check_mode_learning_writeback_ref_count: 6, windows99_vmx_source_repair_package_status: "check_mode_package_ready_windows99_power_check_required", windows99_vmx_source_repair_package_ready: true, windows99_vmx_source_repair_missing_aliases: [], - windows99_vmx_source_repair_powered_off_aliases: ["110", "112", "120", "121", "188"], + windows99_vmx_source_repair_powered_off_aliases: ["112", "120", "121", "188", "110"], windows99_vmx_source_repair_controlled_restore_required_count: 0, windows99_vmx_source_repair_powered_off_count: 5, windows99_vmx_source_repair_safe_next_step: @@ -1462,7 +1495,7 @@ const COMMANDER_INSERTED_REQUIREMENT_FALLBACK: PriorityWorkOrderResponse = { windows99_vmx_source_repair_controlled_apply_mode: "check_mode_package_only_no_windows_or_vm_write", windows99_vmx_source_repair_apply_allowed_by_this_package: false, - windows99_vmx_source_repair_work_order_id: "windows99-vmx-source-repair-110", + windows99_vmx_source_repair_work_order_id: "windows99-vmx-source-repair-112", windows99_vmx_source_repair_action_stage: "power_readback_check_mode_ready", windows99_vmx_source_repair_next_executable_step: "build_vmware_autostart_power_readback_check_mode", @@ -1471,7 +1504,7 @@ const COMMANDER_INSERTED_REQUIREMENT_FALLBACK: PriorityWorkOrderResponse = { windows99_vmx_source_repair_vm_power_change_allowed: false, windows99_vmx_source_repair_destructive_restore_allowed: false, windows99_vmx_source_repair_source_diff_alias_count: 5, - windows99_vmx_source_repair_target_vm_aliases: ["110", "112", "120", "121", "188"], + windows99_vmx_source_repair_target_vm_aliases: ["112", "120", "121", "188", "110"], windows99_vmx_source_repair_check_mode_probe_command_count: 5, windows99_vmx_source_repair_controlled_apply_candidate_status: "candidate_waiting_power_policy_check_mode", @@ -1482,76 +1515,31 @@ const COMMANDER_INSERTED_REQUIREMENT_FALLBACK: PriorityWorkOrderResponse = { windows99_vmx_source_repair_post_apply_verifier_count: 5, windows99_vmx_source_repair_learning_writeback_ref_count: 6, windows99_vmx_source_repair_log_receipt_ref: - "log://awoooi/p0-006/windows99-vmware-autostart-power-readback-110-112-120-121-188", + "log://awoooi/p0-006/windows99-vmx-source-repair-112", windows99_vmx_source_repair_km_writeback_ref: - "km://awoooi/reboot-slo/windows99-vmware-autostart-power-readback-110-112-120-121-188", + "km://awoooi/reboot-slo/windows99-vmx-source-repair-112", windows99_vmx_source_repair_rag_chunk_ref: - "rag://awoooi/reboot-slo/windows99-vmware-autostart-power-readback-110-112-120-121-188", + "rag://awoooi/reboot-slo/windows99-vmx-source-repair-112", windows99_vmx_source_repair_mcp_evidence_ref: - "mcp://awoooi/windows99/windows99-vmware-autostart-power-readback-110-112-120-121-188", + "mcp://awoooi/windows99/windows99-vmx-source-repair-112", windows99_vmx_source_repair_playbook_trust_writeback_ref: - "playbook://awoooi/windows99-vmware-autostart-power/windows99-vmware-autostart-power-readback-110-112-120-121-188", - windows99_vmware_autostart_check_mode_package_status: - "check_mode_package_ready_windows99_vmware_guest_power_readback_required", - windows99_vmware_autostart_check_mode_package_ready: true, - windows99_vmware_autostart_check_mode_powered_off_aliases: ["110", "112", "120", "121", "188"], - windows99_vmware_autostart_check_mode_powered_off_count: 5, - windows99_vmware_autostart_check_mode_safe_next_step: - "build_windows99_vmware_autostart_check_mode_package_for_powered_off_aliases_then_rerun_no_secret_collector_no_vm_power_change", - windows99_vmware_autostart_check_mode_controlled_apply_mode: - "check_mode_package_only_no_windows_or_vm_write", - windows99_vmware_autostart_check_mode_apply_allowed_by_this_package: false, - windows99_vmware_autostart_check_mode_work_order_id: - "windows99-vmware-autostart-power-readback-110-112-120-121-188", - windows99_vmware_autostart_check_mode_action_stage: "power_readback_check_mode_ready", - windows99_vmware_autostart_check_mode_next_executable_step: - "run_windows99_vmware_autostart_power_readback_check_mode", - windows99_vmware_autostart_check_mode_allowed: true, - windows99_vmware_autostart_check_mode_rollback_required: false, - windows99_vmware_autostart_check_mode_vm_power_change_allowed: false, - windows99_vmware_autostart_check_mode_remote_write_allowed: false, - windows99_vmware_autostart_check_mode_windows_service_restart_allowed: false, - windows99_vmware_autostart_check_mode_registry_apply_allowed: false, - windows99_vmware_autostart_check_mode_scheduled_task_modify_allowed: false, - windows99_vmware_autostart_check_mode_source_diff_alias_count: 0, - windows99_vmware_autostart_check_mode_target_vm_aliases: ["110", "112", "120", "121", "188"], - windows99_vmware_autostart_check_mode_probe_command_count: 5, - windows99_vmware_autostart_check_mode_controlled_apply_candidate_status: - "candidate_waiting_power_state_readback_check_mode", - windows99_vmware_autostart_check_mode_controlled_apply_candidate_executor: - "windows99_no_secret_management_channel_or_local_console", - windows99_vmware_autostart_check_mode_controlled_apply_candidate_command_id: - "windows99_vmware_autostart_power_readback_check_mode", - windows99_vmware_autostart_check_mode_post_apply_verifier_count: 5, - windows99_vmware_autostart_check_mode_learning_writeback_ref_count: 6, - windows99_vmware_autostart_check_mode_log_receipt_ref: - "log://awoooi/p0-006/windows99-vmware-autostart-power-readback-110-112-120-121-188", - windows99_vmware_autostart_check_mode_km_writeback_ref: - "km://awoooi/reboot-slo/windows99-vmware-autostart-power-readback-110-112-120-121-188", - windows99_vmware_autostart_check_mode_rag_chunk_ref: - "rag://awoooi/reboot-slo/windows99-vmware-autostart-power-readback-110-112-120-121-188", - windows99_vmware_autostart_check_mode_mcp_evidence_ref: - "mcp://awoooi/windows99/windows99-vmware-autostart-power-readback-110-112-120-121-188", - windows99_vmware_autostart_check_mode_playbook_trust_writeback_ref: - "playbook://awoooi/windows99-vmware-autostart-power/windows99-vmware-autostart-power-readback-110-112-120-121-188", - windows99_vmx_source_locator_status: - "collector_readback_single_identity_candidate_confirmation_required", - windows99_vmx_source_locator_required: true, - windows99_vmx_source_locator_check_mode_ready: true, - windows99_vmx_source_locator_target_aliases: ["111"], + "playbook://awoooi/windows99-vmx-source-repair/windows99-vmx-source-repair-112", + windows99_vmx_source_locator_status: "ready_no_windows99_vmx_source_locator_required", + windows99_vmx_source_locator_required: false, + windows99_vmx_source_locator_check_mode_ready: false, + windows99_vmx_source_locator_target_aliases: ["112", "120", "121", "188", "110"], windows99_vmx_source_locator_next_executable_step: - "confirm_single_unassigned_ubuntu_candidate_before_scoped_relink_dry_run", - windows99_vmx_source_locator_expected_vmx_path_count: 1, - windows99_vmx_source_locator_candidate_source_count: 6, - windows99_vmx_source_locator_identity_unassigned_ubuntu_candidate_count: 1, - windows99_vmx_source_locator_candidate_confirmation_required: true, - windows99_vmx_source_locator_candidate_source_count_known: true, - windows99_vmx_source_locator_collector_readback_present: true, - windows99_vmx_source_locator_collector_collection_status: - "collected_windows99_vmx_source_locator_stdout", + "rerun_no_secret_vmware_verify_collector", + windows99_vmx_source_locator_expected_vmx_path_count: 0, + windows99_vmx_source_locator_candidate_source_count: 0, + windows99_vmx_source_locator_identity_unassigned_ubuntu_candidate_count: 0, + windows99_vmx_source_locator_candidate_confirmation_required: false, + windows99_vmx_source_locator_candidate_source_count_known: false, + windows99_vmx_source_locator_collector_readback_present: false, + windows99_vmx_source_locator_collector_collection_status: "not_collected_by_api_readback", windows99_vmx_source_locator_raw_path_output: false, windows99_vmx_source_locator_path_fingerprint_only: true, - windows99_vmx_source_locator_file_content_read: true, + windows99_vmx_source_locator_file_content_read: false, windows99_vmx_source_locator_remote_write_performed: false, windows99_vmx_source_locator_vm_power_change_performed: false, stockplatform_public_api_runtime_status: "stockplatform_public_api_runtime_ready", @@ -1608,11 +1596,44 @@ const COMMANDER_INSERTED_REQUIREMENT_FALLBACK: PriorityWorkOrderResponse = { "windows99_vmware_guest_power_not_ready", "windows99_uptime_unknown", ], + windows99_vmware_autostart_check_mode_package_status: + "check_mode_package_ready_windows99_vmware_guest_power_readback_required", + windows99_vmware_autostart_check_mode_package_ready: true, + windows99_vmware_autostart_check_mode_powered_off_aliases: [ + "112", + "120", + "121", + "188", + "110", + ], + windows99_vmware_autostart_check_mode_powered_off_count: 5, + windows99_vmware_autostart_check_mode_safe_next_step: + "build_windows99_vmware_autostart_check_mode_package_for_powered_off_aliases_then_rerun_no_secret_collector_no_vm_power_change", + windows99_vmware_autostart_check_mode_work_order_id: + "windows99-vmware-autostart-check-mode-112", + windows99_vmware_autostart_check_mode_action_stage: + "power_readback_check_mode_ready", + windows99_vmware_autostart_check_mode_next_executable_step: + "build_vmware_autostart_power_readback_check_mode", + windows99_vmware_autostart_check_mode_allowed: true, + windows99_vmware_autostart_check_mode_vm_power_change_allowed: false, + windows99_vmware_autostart_check_mode_registry_apply_allowed: false, + windows99_vmware_autostart_check_mode_scheduled_task_modify_allowed: false, + windows99_vmware_autostart_check_mode_target_vm_aliases: [ + "112", + "120", + "121", + "188", + "110", + ], + windows99_vmware_autostart_check_mode_probe_command_count: 2, + windows99_vmware_autostart_check_mode_post_apply_verifier_count: 5, + windows99_vmware_autostart_check_mode_learning_writeback_ref_count: 6, windows99_vmx_source_repair_package_status: "check_mode_package_ready_windows99_power_check_required", windows99_vmx_source_repair_package_ready: true, windows99_vmx_source_repair_missing_aliases: [], - windows99_vmx_source_repair_powered_off_aliases: ["110", "112", "120", "121", "188"], + windows99_vmx_source_repair_powered_off_aliases: ["112", "120", "121", "188", "110"], windows99_vmx_source_repair_controlled_restore_required_count: 0, windows99_vmx_source_repair_powered_off_count: 5, windows99_vmx_source_repair_safe_next_step: @@ -1620,7 +1641,7 @@ const COMMANDER_INSERTED_REQUIREMENT_FALLBACK: PriorityWorkOrderResponse = { windows99_vmx_source_repair_controlled_apply_mode: "check_mode_package_only_no_windows_or_vm_write", windows99_vmx_source_repair_apply_allowed_by_this_package: false, - windows99_vmx_source_repair_work_order_id: "windows99-vmx-source-repair-110", + windows99_vmx_source_repair_work_order_id: "windows99-vmx-source-repair-112", windows99_vmx_source_repair_action_stage: "power_readback_check_mode_ready", windows99_vmx_source_repair_next_executable_step: "build_vmware_autostart_power_readback_check_mode", @@ -1629,7 +1650,7 @@ const COMMANDER_INSERTED_REQUIREMENT_FALLBACK: PriorityWorkOrderResponse = { windows99_vmx_source_repair_vm_power_change_allowed: false, windows99_vmx_source_repair_destructive_restore_allowed: false, windows99_vmx_source_repair_source_diff_alias_count: 5, - windows99_vmx_source_repair_target_vm_aliases: ["110", "112", "120", "121", "188"], + windows99_vmx_source_repair_target_vm_aliases: ["112", "120", "121", "188", "110"], windows99_vmx_source_repair_check_mode_probe_command_count: 5, windows99_vmx_source_repair_controlled_apply_candidate_status: "candidate_waiting_power_policy_check_mode", @@ -1640,77 +1661,33 @@ const COMMANDER_INSERTED_REQUIREMENT_FALLBACK: PriorityWorkOrderResponse = { windows99_vmx_source_repair_post_apply_verifier_count: 5, windows99_vmx_source_repair_learning_writeback_ref_count: 6, windows99_vmx_source_repair_log_receipt_ref: - "log://awoooi/p0-006/windows99-vmware-autostart-power-readback-110-112-120-121-188", + "log://awoooi/p0-006/windows99-vmx-source-repair-112", windows99_vmx_source_repair_km_writeback_ref: - "km://awoooi/reboot-slo/windows99-vmware-autostart-power-readback-110-112-120-121-188", + "km://awoooi/reboot-slo/windows99-vmx-source-repair-112", windows99_vmx_source_repair_rag_chunk_ref: - "rag://awoooi/reboot-slo/windows99-vmware-autostart-power-readback-110-112-120-121-188", + "rag://awoooi/reboot-slo/windows99-vmx-source-repair-112", windows99_vmx_source_repair_mcp_evidence_ref: - "mcp://awoooi/windows99/windows99-vmware-autostart-power-readback-110-112-120-121-188", + "mcp://awoooi/windows99/windows99-vmx-source-repair-112", windows99_vmx_source_repair_playbook_trust_writeback_ref: - "playbook://awoooi/windows99-vmware-autostart-power/windows99-vmware-autostart-power-readback-110-112-120-121-188", - windows99_vmware_autostart_check_mode_package_status: - "check_mode_package_ready_windows99_vmware_guest_power_readback_required", - windows99_vmware_autostart_check_mode_package_ready: true, - windows99_vmware_autostart_check_mode_powered_off_aliases: ["110", "112", "120", "121", "188"], - windows99_vmware_autostart_check_mode_powered_off_count: 5, - windows99_vmware_autostart_check_mode_safe_next_step: - "build_windows99_vmware_autostart_check_mode_package_for_powered_off_aliases_then_rerun_no_secret_collector_no_vm_power_change", - windows99_vmware_autostart_check_mode_controlled_apply_mode: - "check_mode_package_only_no_windows_or_vm_write", - windows99_vmware_autostart_check_mode_apply_allowed_by_this_package: false, - windows99_vmware_autostart_check_mode_work_order_id: - "windows99-vmware-autostart-power-readback-110-112-120-121-188", - windows99_vmware_autostart_check_mode_action_stage: - "power_readback_check_mode_ready", - windows99_vmware_autostart_check_mode_next_executable_step: - "run_windows99_vmware_autostart_power_readback_check_mode", - windows99_vmware_autostart_check_mode_allowed: true, - windows99_vmware_autostart_check_mode_rollback_required: false, - windows99_vmware_autostart_check_mode_vm_power_change_allowed: false, - windows99_vmware_autostart_check_mode_remote_write_allowed: false, - windows99_vmware_autostart_check_mode_windows_service_restart_allowed: false, - windows99_vmware_autostart_check_mode_registry_apply_allowed: false, - windows99_vmware_autostart_check_mode_scheduled_task_modify_allowed: false, - windows99_vmware_autostart_check_mode_source_diff_alias_count: 0, - windows99_vmware_autostart_check_mode_target_vm_aliases: ["110", "112", "120", "121", "188"], - windows99_vmware_autostart_check_mode_probe_command_count: 5, - windows99_vmware_autostart_check_mode_controlled_apply_candidate_status: - "candidate_waiting_power_state_readback_check_mode", - windows99_vmware_autostart_check_mode_controlled_apply_candidate_executor: - "windows99_no_secret_management_channel_or_local_console", - windows99_vmware_autostart_check_mode_controlled_apply_candidate_command_id: - "windows99_vmware_autostart_power_readback_check_mode", - windows99_vmware_autostart_check_mode_post_apply_verifier_count: 5, - windows99_vmware_autostart_check_mode_learning_writeback_ref_count: 6, - windows99_vmware_autostart_check_mode_log_receipt_ref: - "log://awoooi/p0-006/windows99-vmware-autostart-power-readback-110-112-120-121-188", - windows99_vmware_autostart_check_mode_km_writeback_ref: - "km://awoooi/reboot-slo/windows99-vmware-autostart-power-readback-110-112-120-121-188", - windows99_vmware_autostart_check_mode_rag_chunk_ref: - "rag://awoooi/reboot-slo/windows99-vmware-autostart-power-readback-110-112-120-121-188", - windows99_vmware_autostart_check_mode_mcp_evidence_ref: - "mcp://awoooi/windows99/windows99-vmware-autostart-power-readback-110-112-120-121-188", - windows99_vmware_autostart_check_mode_playbook_trust_writeback_ref: - "playbook://awoooi/windows99-vmware-autostart-power/windows99-vmware-autostart-power-readback-110-112-120-121-188", + "playbook://awoooi/windows99-vmx-source-repair/windows99-vmx-source-repair-112", windows99_vmx_source_locator_status: - "collector_readback_single_identity_candidate_confirmation_required", - windows99_vmx_source_locator_required: true, - windows99_vmx_source_locator_check_mode_ready: true, - windows99_vmx_source_locator_target_aliases: ["111"], + "ready_no_windows99_vmx_source_locator_required", + windows99_vmx_source_locator_required: false, + windows99_vmx_source_locator_check_mode_ready: false, + windows99_vmx_source_locator_target_aliases: ["112", "120", "121", "188", "110"], windows99_vmx_source_locator_next_executable_step: - "confirm_single_unassigned_ubuntu_candidate_before_scoped_relink_dry_run", - windows99_vmx_source_locator_expected_vmx_path_count: 1, - windows99_vmx_source_locator_candidate_source_count: 6, - windows99_vmx_source_locator_identity_unassigned_ubuntu_candidate_count: 1, - windows99_vmx_source_locator_candidate_confirmation_required: true, - windows99_vmx_source_locator_candidate_source_count_known: true, - windows99_vmx_source_locator_collector_readback_present: true, + "rerun_no_secret_vmware_verify_collector", + windows99_vmx_source_locator_expected_vmx_path_count: 0, + windows99_vmx_source_locator_candidate_source_count: 0, + windows99_vmx_source_locator_identity_unassigned_ubuntu_candidate_count: 0, + windows99_vmx_source_locator_candidate_confirmation_required: false, + windows99_vmx_source_locator_candidate_source_count_known: false, + windows99_vmx_source_locator_collector_readback_present: false, windows99_vmx_source_locator_collector_collection_status: - "collected_windows99_vmx_source_locator_stdout", + "not_collected_by_api_readback", windows99_vmx_source_locator_raw_path_output: false, windows99_vmx_source_locator_path_fingerprint_only: true, - windows99_vmx_source_locator_file_content_read: true, + windows99_vmx_source_locator_file_content_read: false, windows99_vmx_source_locator_remote_write_performed: false, windows99_vmx_source_locator_vm_power_change_performed: false, drill_preflight_blocker_count: 5, @@ -9353,48 +9330,76 @@ function ManagerSituationBoard({ [] ).filter(Boolean); const vmxRepairPoweredOffAliases = ( + summary?.windows99_vmware_autostart_check_mode_powered_off_aliases ?? + evidence?.windows99_vmware_autostart_check_mode_powered_off_aliases ?? summary?.windows99_vmx_source_repair_powered_off_aliases ?? evidence?.windows99_vmx_source_repair_powered_off_aliases ?? [] ).filter(Boolean); const vmxRepairPackageReady = + summary?.windows99_vmware_autostart_check_mode_package_ready ?? + evidence?.windows99_vmware_autostart_check_mode_package_ready ?? summary?.windows99_vmx_source_repair_package_ready ?? evidence?.windows99_vmx_source_repair_package_ready ?? false; + const vmxRepairRestoreCount = + summary?.windows99_vmx_source_repair_controlled_restore_required_count ?? + evidence?.windows99_vmx_source_repair_controlled_restore_required_count ?? + vmxRepairMissingAliases.length; const vmxRepairActionStage = + summary?.windows99_vmware_autostart_check_mode_action_stage ?? + evidence?.windows99_vmware_autostart_check_mode_action_stage ?? summary?.windows99_vmx_source_repair_action_stage ?? evidence?.windows99_vmx_source_repair_action_stage ?? ""; const vmxRepairNextStep = + summary?.windows99_vmware_autostart_check_mode_next_executable_step ?? + evidence?.windows99_vmware_autostart_check_mode_next_executable_step ?? summary?.windows99_vmx_source_repair_next_executable_step ?? evidence?.windows99_vmx_source_repair_next_executable_step ?? ""; const vmxRepairCheckModeAllowed = + summary?.windows99_vmware_autostart_check_mode_allowed ?? + evidence?.windows99_vmware_autostart_check_mode_allowed ?? summary?.windows99_vmx_source_repair_check_mode_allowed ?? evidence?.windows99_vmx_source_repair_check_mode_allowed ?? false; + const vmxRepairVmPowerAllowed = + summary?.windows99_vmware_autostart_check_mode_vm_power_change_allowed ?? + evidence?.windows99_vmware_autostart_check_mode_vm_power_change_allowed ?? + summary?.windows99_vmx_source_repair_vm_power_change_allowed ?? + evidence?.windows99_vmx_source_repair_vm_power_change_allowed ?? + false; + const vmxRepairDestructiveAllowed = + summary?.windows99_vmware_autostart_check_mode_registry_apply_allowed === true || + evidence?.windows99_vmware_autostart_check_mode_registry_apply_allowed === true || + summary?.windows99_vmware_autostart_check_mode_scheduled_task_modify_allowed === true || + evidence?.windows99_vmware_autostart_check_mode_scheduled_task_modify_allowed === true || + (summary?.windows99_vmx_source_repair_destructive_restore_allowed ?? + evidence?.windows99_vmx_source_repair_destructive_restore_allowed ?? + false); const vmxRepairTargetAliases = ( + summary?.windows99_vmware_autostart_check_mode_target_vm_aliases ?? + evidence?.windows99_vmware_autostart_check_mode_target_vm_aliases ?? summary?.windows99_vmx_source_repair_target_vm_aliases ?? evidence?.windows99_vmx_source_repair_target_vm_aliases ?? vmxRepairMissingAliases ).filter(Boolean); const vmxRepairProbeCount = + summary?.windows99_vmware_autostart_check_mode_probe_command_count ?? + evidence?.windows99_vmware_autostart_check_mode_probe_command_count ?? summary?.windows99_vmx_source_repair_check_mode_probe_command_count ?? evidence?.windows99_vmx_source_repair_check_mode_probe_command_count ?? 0; - const vmxRepairExecutor = - summary?.windows99_vmx_source_repair_controlled_apply_candidate_executor ?? - evidence?.windows99_vmx_source_repair_controlled_apply_candidate_executor ?? - ""; - const vmxRepairCandidateStatus = - summary?.windows99_vmx_source_repair_controlled_apply_candidate_status ?? - evidence?.windows99_vmx_source_repair_controlled_apply_candidate_status ?? - ""; const vmxRepairVerifierCount = + summary?.windows99_vmware_autostart_check_mode_post_apply_verifier_count ?? + evidence?.windows99_vmware_autostart_check_mode_post_apply_verifier_count ?? summary?.windows99_vmx_source_repair_post_apply_verifier_count ?? evidence?.windows99_vmx_source_repair_post_apply_verifier_count ?? 0; const vmxRepairWritebackCount = + summary?.windows99_vmware_autostart_check_mode_learning_writeback_ref_count ?? + evidence?.windows99_vmware_autostart_check_mode_learning_writeback_ref_count ?? summary?.windows99_vmx_source_repair_learning_writeback_ref_count ?? evidence?.windows99_vmx_source_repair_learning_writeback_ref_count ?? 0; @@ -9411,10 +9416,6 @@ function ManagerSituationBoard({ summary?.windows99_vmware_autostart_check_mode_powered_off_count ?? evidence?.windows99_vmware_autostart_check_mode_powered_off_count ?? autostartCheckModePoweredOffAliases.length; - const autostartCheckModeApplyAllowed = - summary?.windows99_vmware_autostart_check_mode_apply_allowed_by_this_package ?? - evidence?.windows99_vmware_autostart_check_mode_apply_allowed_by_this_package ?? - false; const autostartCheckModeActionStage = summary?.windows99_vmware_autostart_check_mode_action_stage ?? evidence?.windows99_vmware_autostart_check_mode_action_stage ?? @@ -9427,10 +9428,6 @@ function ManagerSituationBoard({ summary?.windows99_vmware_autostart_check_mode_allowed ?? evidence?.windows99_vmware_autostart_check_mode_allowed ?? vmxRepairCheckModeAllowed; - const autostartCheckModeRollbackRequired = - summary?.windows99_vmware_autostart_check_mode_rollback_required ?? - evidence?.windows99_vmware_autostart_check_mode_rollback_required ?? - false; const autostartCheckModeVmPowerAllowed = summary?.windows99_vmware_autostart_check_mode_vm_power_change_allowed ?? evidence?.windows99_vmware_autostart_check_mode_vm_power_change_allowed ?? @@ -9449,11 +9446,6 @@ function ManagerSituationBoard({ (summary?.windows99_vmware_autostart_check_mode_scheduled_task_modify_allowed ?? evidence?.windows99_vmware_autostart_check_mode_scheduled_task_modify_allowed ?? false); - const autostartCheckModeSourceDependencyAliases = vmxRepairMissingAliases.filter(Boolean); - const autostartCheckModeSourceDependencyCount = - summary?.windows99_vmware_autostart_check_mode_source_diff_alias_count ?? - evidence?.windows99_vmware_autostart_check_mode_source_diff_alias_count ?? - autostartCheckModeSourceDependencyAliases.length; const autostartCheckModeTargetAliases = ( summary?.windows99_vmware_autostart_check_mode_target_vm_aliases ?? evidence?.windows99_vmware_autostart_check_mode_target_vm_aliases ?? @@ -9463,14 +9455,6 @@ function ManagerSituationBoard({ summary?.windows99_vmware_autostart_check_mode_probe_command_count ?? evidence?.windows99_vmware_autostart_check_mode_probe_command_count ?? vmxRepairProbeCount; - const autostartCheckModeExecutor = - summary?.windows99_vmware_autostart_check_mode_controlled_apply_candidate_executor ?? - evidence?.windows99_vmware_autostart_check_mode_controlled_apply_candidate_executor ?? - vmxRepairExecutor; - const autostartCheckModeCandidateStatus = - summary?.windows99_vmware_autostart_check_mode_controlled_apply_candidate_status ?? - evidence?.windows99_vmware_autostart_check_mode_controlled_apply_candidate_status ?? - vmxRepairCandidateStatus; const autostartCheckModeVerifierCount = summary?.windows99_vmware_autostart_check_mode_post_apply_verifier_count ?? evidence?.windows99_vmware_autostart_check_mode_post_apply_verifier_count ?? @@ -9479,18 +9463,6 @@ function ManagerSituationBoard({ summary?.windows99_vmware_autostart_check_mode_learning_writeback_ref_count ?? evidence?.windows99_vmware_autostart_check_mode_learning_writeback_ref_count ?? vmxRepairWritebackCount; - const autostartCheckModeWritebackRefs = [ - summary?.windows99_vmware_autostart_check_mode_log_receipt_ref ?? - evidence?.windows99_vmware_autostart_check_mode_log_receipt_ref, - summary?.windows99_vmware_autostart_check_mode_km_writeback_ref ?? - evidence?.windows99_vmware_autostart_check_mode_km_writeback_ref, - summary?.windows99_vmware_autostart_check_mode_rag_chunk_ref ?? - evidence?.windows99_vmware_autostart_check_mode_rag_chunk_ref, - summary?.windows99_vmware_autostart_check_mode_mcp_evidence_ref ?? - evidence?.windows99_vmware_autostart_check_mode_mcp_evidence_ref, - summary?.windows99_vmware_autostart_check_mode_playbook_trust_writeback_ref ?? - evidence?.windows99_vmware_autostart_check_mode_playbook_trust_writeback_ref, - ].filter((value): value is string => Boolean(value)); const vmxSourceLocatorReady = summary?.windows99_vmx_source_locator_check_mode_ready ?? evidence?.windows99_vmx_source_locator_check_mode_ready ?? @@ -9519,6 +9491,10 @@ function ManagerSituationBoard({ summary?.windows99_vmx_source_locator_candidate_confirmation_required ?? evidence?.windows99_vmx_source_locator_candidate_confirmation_required ?? false; + const vmxSourceLocatorRequired = + summary?.windows99_vmx_source_locator_required ?? + evidence?.windows99_vmx_source_locator_required ?? + false; const vmxSourceLocatorIdentityEvidenceSufficient = summary?.windows99_vmx_source_locator_candidate_identity_evidence_sufficient ?? evidence?.windows99_vmx_source_locator_candidate_identity_evidence_sufficient ?? @@ -9559,18 +9535,20 @@ function ManagerSituationBoard({ const autostartCheckModeTargetLabel = autostartCheckModeTargetAliases.length ? autostartCheckModeTargetAliases.join(", ") : "0"; - const autostartCheckModeSourceDependencyLabel = - autostartCheckModeSourceDependencyAliases.length - ? autostartCheckModeSourceDependencyAliases.join(", ") - : String(autostartCheckModeSourceDependencyCount); - const autostartCheckModeExecutorLabel = autostartCheckModeExecutor.includes("local_console") - ? t("vmxRepair.executorConsole") - : autostartCheckModeExecutor - ? t("vmxRepair.executorReady") - : t("vmxRepair.executorWaiting"); - const autostartCheckModeCandidateLabel = autostartCheckModeCandidateStatus.includes("waiting") - ? t("vmxRepair.candidateWaiting") - : t("vmxRepair.candidateReady"); + const vmxRepairMissingLabel = vmxRepairMissingAliases.length + ? vmxRepairMissingAliases.join(", ") + : "0"; + const vmxSourceResolved = + vmxRepairRestoreCount === 0 && vmxRepairMissingAliases.length === 0; + const autostartCheckModePowerBlocked = autostartCheckModePoweredOffCount > 0; + const autostartCheckModeCheckReady = + autostartCheckModePackageReady && autostartCheckModeCheckModeAllowed; + const showSourceLocatorReceipt = + vmxSourceLocatorRequired || + vmxSourceLocatorConfirmationRequired || + vmxSourceLocatorCollectorPresent || + vmxSourceLocatorCandidateCount > 0 || + vmxSourceLocatorIdentityUnassignedCount > 0; const autostartCheckModeStageLabel = autostartCheckModeActionStage.includes("source") ? t("vmxRepair.stageSource") : autostartCheckModeActionStage.includes("power") @@ -9780,46 +9758,88 @@ function ManagerSituationBoard({ {isRebootP0 ? (