fix(reboot): add windows99 vmx source locator
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m11s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled

This commit is contained in:
Your Name
2026-07-03 12:18:21 +08:00
parent 5e25565e1b
commit 6f65764feb
11 changed files with 1395 additions and 2 deletions

View File

@@ -1183,6 +1183,20 @@ type PriorityWorkOrderResponse = {
windows99_vmx_source_repair_rag_chunk_ref?: string | null;
windows99_vmx_source_repair_mcp_evidence_ref?: string | null;
windows99_vmx_source_repair_playbook_trust_writeback_ref?: string | null;
windows99_vmx_source_locator_status?: string | null;
windows99_vmx_source_locator_required?: boolean | null;
windows99_vmx_source_locator_check_mode_ready?: boolean | null;
windows99_vmx_source_locator_target_aliases?: string[] | null;
windows99_vmx_source_locator_next_executable_step?: string | null;
windows99_vmx_source_locator_expected_vmx_path_count?: number | null;
windows99_vmx_source_locator_candidate_source_count_known?: boolean | null;
windows99_vmx_source_locator_collector_readback_present?: boolean | null;
windows99_vmx_source_locator_collector_collection_status?: string | null;
windows99_vmx_source_locator_raw_path_output?: boolean | null;
windows99_vmx_source_locator_path_fingerprint_only?: boolean | null;
windows99_vmx_source_locator_file_content_read?: boolean | null;
windows99_vmx_source_locator_remote_write_performed?: boolean | null;
windows99_vmx_source_locator_vm_power_change_performed?: boolean | null;
ai_loop_log_source_grouping_key_count?: number | null;
ai_loop_log_source_grouping_keys?: string[] | null;
ai_loop_log_source_tagging_contract_count?: number | null;
@@ -1249,6 +1263,20 @@ type PriorityWorkOrderResponse = {
windows99_vmx_source_repair_rag_chunk_ref?: string | null;
windows99_vmx_source_repair_mcp_evidence_ref?: string | null;
windows99_vmx_source_repair_playbook_trust_writeback_ref?: string | null;
windows99_vmx_source_locator_status?: string | null;
windows99_vmx_source_locator_required?: boolean | null;
windows99_vmx_source_locator_check_mode_ready?: boolean | null;
windows99_vmx_source_locator_target_aliases?: string[] | null;
windows99_vmx_source_locator_next_executable_step?: string | null;
windows99_vmx_source_locator_expected_vmx_path_count?: number | null;
windows99_vmx_source_locator_candidate_source_count_known?: boolean | null;
windows99_vmx_source_locator_collector_readback_present?: boolean | null;
windows99_vmx_source_locator_collector_collection_status?: string | null;
windows99_vmx_source_locator_raw_path_output?: boolean | null;
windows99_vmx_source_locator_path_fingerprint_only?: boolean | null;
windows99_vmx_source_locator_file_content_read?: boolean | null;
windows99_vmx_source_locator_remote_write_performed?: boolean | null;
windows99_vmx_source_locator_vm_power_change_performed?: boolean | null;
drill_preflight_blocker_count?: number | null;
ai_loop_current_blocker_log_source_tags?: AiLoopLogSourceTag[] | null;
ai_loop_log_source_tagging_contract?: AiLoopLogSourceContract[] | null;
@@ -1385,6 +1413,23 @@ const COMMANDER_INSERTED_REQUIREMENT_FALLBACK: PriorityWorkOrderResponse = {
"mcp://awoooi/windows99/windows99-vmx-source-repair-111",
windows99_vmx_source_repair_playbook_trust_writeback_ref:
"playbook://awoooi/windows99-vmx-source-repair/windows99-vmx-source-repair-111",
windows99_vmx_source_locator_status:
"check_mode_locator_ready_windows99_vmx_source_required",
windows99_vmx_source_locator_required: true,
windows99_vmx_source_locator_check_mode_ready: true,
windows99_vmx_source_locator_target_aliases: ["111"],
windows99_vmx_source_locator_next_executable_step:
"run_no_secret_windows99_vmx_source_locator_collect",
windows99_vmx_source_locator_expected_vmx_path_count: 1,
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: 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",
stockplatform_public_api_controlled_recovery_preflight_status:
"not_required_stockplatform_runtime_ready",
@@ -1482,6 +1527,23 @@ const COMMANDER_INSERTED_REQUIREMENT_FALLBACK: PriorityWorkOrderResponse = {
"mcp://awoooi/windows99/windows99-vmx-source-repair-111",
windows99_vmx_source_repair_playbook_trust_writeback_ref:
"playbook://awoooi/windows99-vmx-source-repair/windows99-vmx-source-repair-111",
windows99_vmx_source_locator_status:
"check_mode_locator_ready_windows99_vmx_source_required",
windows99_vmx_source_locator_required: true,
windows99_vmx_source_locator_check_mode_ready: true,
windows99_vmx_source_locator_target_aliases: ["111"],
windows99_vmx_source_locator_next_executable_step:
"run_no_secret_windows99_vmx_source_locator_collect",
windows99_vmx_source_locator_expected_vmx_path_count: 1,
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: false,
windows99_vmx_source_locator_remote_write_performed: false,
windows99_vmx_source_locator_vm_power_change_performed: false,
drill_preflight_blocker_count: 5,
stockplatform_public_api_runtime_status: "stockplatform_public_api_runtime_ready",
stockplatform_public_api_runtime_ready: true,
@@ -9279,6 +9341,42 @@ function ManagerSituationBoard({
summary?.windows99_vmx_source_repair_playbook_trust_writeback_ref ??
evidence?.windows99_vmx_source_repair_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 ??
false;
const vmxSourceLocatorTargets = (
summary?.windows99_vmx_source_locator_target_aliases ??
evidence?.windows99_vmx_source_locator_target_aliases ??
[]
).filter(Boolean);
const vmxSourceLocatorTargetLabel = vmxSourceLocatorTargets.length
? vmxSourceLocatorTargets.join(", ")
: "0";
const vmxSourceLocatorExpectedCount =
summary?.windows99_vmx_source_locator_expected_vmx_path_count ??
evidence?.windows99_vmx_source_locator_expected_vmx_path_count ??
0;
const vmxSourceLocatorCandidateKnown =
summary?.windows99_vmx_source_locator_candidate_source_count_known ??
evidence?.windows99_vmx_source_locator_candidate_source_count_known ??
false;
const vmxSourceLocatorCollectorPresent =
summary?.windows99_vmx_source_locator_collector_readback_present ??
evidence?.windows99_vmx_source_locator_collector_readback_present ??
false;
const vmxSourceLocatorRawPathOutput =
summary?.windows99_vmx_source_locator_raw_path_output ??
evidence?.windows99_vmx_source_locator_raw_path_output ??
false;
const vmxSourceLocatorFileContentRead =
summary?.windows99_vmx_source_locator_file_content_read ??
evidence?.windows99_vmx_source_locator_file_content_read ??
false;
const vmxSourceLocatorRemoteWrite =
summary?.windows99_vmx_source_locator_remote_write_performed ??
evidence?.windows99_vmx_source_locator_remote_write_performed ??
false;
const vmxRepairMissingLabel = vmxRepairMissingAliases.length
? vmxRepairMissingAliases.join(", ")
: "0";
@@ -9606,6 +9704,62 @@ function ManagerSituationBoard({
{t("vmxRepair.refs", { count: vmxRepairWritebackRefs.length })}
</span>
</div>
<div
className="mb-2 flex flex-wrap items-center gap-1.5"
data-testid="awooop-windows99-vmx-source-locator"
>
<span className="inline-flex items-center gap-1.5 border border-[#c9d8ea] bg-white px-2 py-0.5 text-[11px] font-semibold text-[#1f5b9b]">
<SearchCheck className="h-3.5 w-3.5" aria-hidden="true" />
{t("vmxRepair.locator")}
</span>
<span
className={cn(
"border bg-white px-2 py-0.5 text-[11px] font-semibold",
vmxSourceLocatorReady
? "border-[#cbd7bf] text-[#3d6b24]"
: "border-[#d8d3c7] text-[#5f5b52]"
)}
>
{vmxSourceLocatorReady
? t("vmxRepair.locatorReady")
: t("vmxRepair.locatorWaiting")}
</span>
<span className="border border-[#f0c6a8] bg-white px-2 py-0.5 font-mono text-[11px] font-semibold text-[#9a4d16]">
{t("vmxRepair.locatorTarget", {
aliases: vmxSourceLocatorTargetLabel,
})}
</span>
<span className="border border-[#d8d3c7] bg-white px-2 py-0.5 text-[11px] font-semibold text-[#5f5b52]">
{t("vmxRepair.locatorExpected", {
count: vmxSourceLocatorExpectedCount,
})}
</span>
<span className="border border-[#d8d3c7] bg-white px-2 py-0.5 text-[11px] font-semibold text-[#5f5b52]">
{vmxSourceLocatorCandidateKnown
? t("vmxRepair.locatorCandidatesKnown")
: t("vmxRepair.locatorCandidatesUnknown")}
</span>
<span className="border border-[#d8d3c7] bg-white px-2 py-0.5 text-[11px] font-semibold text-[#5f5b52]">
{vmxSourceLocatorCollectorPresent
? t("vmxRepair.locatorCollected")
: t("vmxRepair.locatorPending")}
</span>
<span className="border border-[#cbd7bf] bg-white px-2 py-0.5 text-[11px] font-semibold text-[#3d6b24]">
{vmxSourceLocatorRawPathOutput
? t("vmxRepair.rawPathOpen")
: t("vmxRepair.noRawPath")}
</span>
<span className="border border-[#cbd7bf] bg-white px-2 py-0.5 text-[11px] font-semibold text-[#3d6b24]">
{vmxSourceLocatorFileContentRead
? t("vmxRepair.fileReadOpen")
: t("vmxRepair.noFileRead")}
</span>
<span className="border border-[#cbd7bf] bg-white px-2 py-0.5 text-[11px] font-semibold text-[#3d6b24]">
{vmxSourceLocatorRemoteWrite
? t("vmxRepair.writeOpen")
: t("vmxRepair.noWrite")}
</span>
</div>
<div className="text-[11px] font-semibold text-[#77736a]">
{t("blockerLanes.label")}
</div>